diff --git a/API_NetFramework/bin/BarcodeLib.dll b/API_NetFramework/bin/BarcodeLib.dll index f516114b..2e63cd02 100644 Binary files a/API_NetFramework/bin/BarcodeLib.dll and b/API_NetFramework/bin/BarcodeLib.dll differ diff --git a/API_NetFramework/bin/BarcodeLib.pdb b/API_NetFramework/bin/BarcodeLib.pdb index 9ce038de..9f0f8897 100644 Binary files a/API_NetFramework/bin/BarcodeLib.pdb and b/API_NetFramework/bin/BarcodeLib.pdb differ diff --git a/API_NetFramework/bin/DOCGEN.dll b/API_NetFramework/bin/DOCGEN.dll index cc18791a..6dd3e681 100644 Binary files a/API_NetFramework/bin/DOCGEN.dll and b/API_NetFramework/bin/DOCGEN.dll differ diff --git a/API_NetFramework/bin/DOCGEN.pdb b/API_NetFramework/bin/DOCGEN.pdb index 9d8fee28..bc3ce954 100644 Binary files a/API_NetFramework/bin/DOCGEN.pdb and b/API_NetFramework/bin/DOCGEN.pdb differ diff --git a/API_NetFramework/bin/OfficePrinter.dll b/API_NetFramework/bin/OfficePrinter.dll index 338635de..386de618 100644 Binary files a/API_NetFramework/bin/OfficePrinter.dll and b/API_NetFramework/bin/OfficePrinter.dll differ diff --git a/API_NetFramework/bin/OfficePrinter.pdb b/API_NetFramework/bin/OfficePrinter.pdb index 0cd4f248..6d263317 100644 Binary files a/API_NetFramework/bin/OfficePrinter.pdb and b/API_NetFramework/bin/OfficePrinter.pdb differ diff --git a/API_NetFramework/bin/OnDocOffice.dll b/API_NetFramework/bin/OnDocOffice.dll index d2f725f6..ab0815e0 100644 Binary files a/API_NetFramework/bin/OnDocOffice.dll and b/API_NetFramework/bin/OnDocOffice.dll differ diff --git a/API_NetFramework/bin/OnDocOffice.pdb b/API_NetFramework/bin/OnDocOffice.pdb index 3210dd03..42135c73 100644 Binary files a/API_NetFramework/bin/OnDocOffice.pdb and b/API_NetFramework/bin/OnDocOffice.pdb differ diff --git a/API_NetFramework/bin/OnDoc_NetFramework.dll b/API_NetFramework/bin/OnDoc_NetFramework.dll index aa02a393..c5c364e7 100644 Binary files a/API_NetFramework/bin/OnDoc_NetFramework.dll and b/API_NetFramework/bin/OnDoc_NetFramework.dll differ diff --git a/API_NetFramework/bin/OnDoc_NetFramework.pdb b/API_NetFramework/bin/OnDoc_NetFramework.pdb index 7fe6176f..bd9686bb 100644 Binary files a/API_NetFramework/bin/OnDoc_NetFramework.pdb and b/API_NetFramework/bin/OnDoc_NetFramework.pdb differ diff --git a/API_NetFramework/bin/VBOffice.dll b/API_NetFramework/bin/VBOffice.dll new file mode 100644 index 00000000..b5f5edd6 Binary files /dev/null and b/API_NetFramework/bin/VBOffice.dll differ diff --git a/API_NetFramework/bin/VBOffice.pdb b/API_NetFramework/bin/VBOffice.pdb new file mode 100644 index 00000000..38759ea1 Binary files /dev/null and b/API_NetFramework/bin/VBOffice.pdb differ diff --git a/API_NetFramework/bin/VBOffice.xml b/API_NetFramework/bin/VBOffice.xml new file mode 100644 index 00000000..bfffb245 --- /dev/null +++ b/API_NetFramework/bin/VBOffice.xml @@ -0,0 +1,26 @@ + + + + +VBOffice + + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + diff --git a/API_NetFramework/bin/vbBarcodes.dll b/API_NetFramework/bin/vbBarcodes.dll index b5f44b4d..10b0a86b 100644 Binary files a/API_NetFramework/bin/vbBarcodes.dll and b/API_NetFramework/bin/vbBarcodes.dll differ diff --git a/API_NetFramework/bin/vbBarcodes.pdb b/API_NetFramework/bin/vbBarcodes.pdb index 0f6a4e0c..ecc2b08b 100644 Binary files a/API_NetFramework/bin/vbBarcodes.pdb and b/API_NetFramework/bin/vbBarcodes.pdb differ diff --git a/API_NetFramework/log.txt b/API_NetFramework/log.txt index 942d193e..b1385270 100644 --- a/API_NetFramework/log.txt +++ b/API_NetFramework/log.txt @@ -3249,3 +3249,11 @@ Parametername: encoder 2025-01-26 11:04:42.7351|DEBUG|OnDoc| 2025-01-26 11:04:42.7621|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG4116 2025-01-26 11:04:42.7621|INFO|OnDoc|Unterschrift-Bezug: TG4116 +2025-01-27 11:01:55.4901|DEBUG|OnDoc| +2025-01-27 11:01:55.5177|DEBUG|OnDoc| +2025-01-27 11:01:55.5424|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: 1234 +2025-01-27 11:01:55.5424|INFO|OnDoc|Unterschrift-Bezug: 1234 +2025-01-27 11:01:55.6505|DEBUG|OnDoc| +2025-01-27 11:01:55.6505|DEBUG|OnDoc| +2025-01-27 11:01:55.6771|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG9665 +2025-01-27 11:01:55.6771|INFO|OnDoc|Unterschrift-Bezug: TG9665 diff --git a/API_NetFramework/obj/Debug/API_NetFramework.csproj.AssemblyReference.cache b/API_NetFramework/obj/Debug/API_NetFramework.csproj.AssemblyReference.cache index db1a81c1..61baa74b 100644 Binary files a/API_NetFramework/obj/Debug/API_NetFramework.csproj.AssemblyReference.cache and b/API_NetFramework/obj/Debug/API_NetFramework.csproj.AssemblyReference.cache differ diff --git a/API_NetFramework/obj/Debug/API_NetFramework.csproj.FileListAbsolute.txt b/API_NetFramework/obj/Debug/API_NetFramework.csproj.FileListAbsolute.txt index 0f7cdac2..d698e60a 100644 --- a/API_NetFramework/obj/Debug/API_NetFramework.csproj.FileListAbsolute.txt +++ b/API_NetFramework/obj/Debug/API_NetFramework.csproj.FileListAbsolute.txt @@ -310,3 +310,6 @@ E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\Syncfusion.XlsIO.Base.xml E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\Syncfusion.Pdf.Base.xml E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\Syncfusion.Compression.Base.xml E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\Syncfusion.OfficeChart.Base.xml +E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\VBOffice.dll +E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\VBOffice.pdb +E:\Software-Projekte\OnDoc\OnDoc\API_NetFramework\bin\VBOffice.xml diff --git a/API_NetFramework/obj/Debug/OnDoc_NetFramework.dll b/API_NetFramework/obj/Debug/OnDoc_NetFramework.dll index aa02a393..c5c364e7 100644 Binary files a/API_NetFramework/obj/Debug/OnDoc_NetFramework.dll and b/API_NetFramework/obj/Debug/OnDoc_NetFramework.dll differ diff --git a/API_NetFramework/obj/Debug/OnDoc_NetFramework.pdb b/API_NetFramework/obj/Debug/OnDoc_NetFramework.pdb index 7fe6176f..bd9686bb 100644 Binary files a/API_NetFramework/obj/Debug/OnDoc_NetFramework.pdb and b/API_NetFramework/obj/Debug/OnDoc_NetFramework.pdb differ diff --git a/BarcodeLib/bin/Debug/BarcodeLib.dll b/BarcodeLib/bin/Debug/BarcodeLib.dll index f516114b..2e63cd02 100644 Binary files a/BarcodeLib/bin/Debug/BarcodeLib.dll and b/BarcodeLib/bin/Debug/BarcodeLib.dll differ diff --git a/BarcodeLib/bin/Debug/BarcodeLib.pdb b/BarcodeLib/bin/Debug/BarcodeLib.pdb index 9ce038de..9f0f8897 100644 Binary files a/BarcodeLib/bin/Debug/BarcodeLib.pdb and b/BarcodeLib/bin/Debug/BarcodeLib.pdb differ diff --git a/BarcodeLib/clsBarI25.cs b/BarcodeLib/clsBarI25.cs index 0a1bd924..c8401b8a 100644 --- a/BarcodeLib/clsBarI25.cs +++ b/BarcodeLib/clsBarI25.cs @@ -74,19 +74,27 @@ namespace BarcodeLib } public Image DrawText1(Color foreColor, Color backColor, string fontName, int fontSize, string txt, int width, int height, string zusatz,string zusatzfontname, int zusatzfontsize , int rotation) { + //width = 320; + //height = 50; + + string barcodetext = txt; + barcodetext = Bar25I(txt); Bitmap img = new Bitmap(width, height); Graphics Gimg = Graphics.FromImage(img); Font imgFont = new Font(fontName, fontSize); - PointF imgPoint = new PointF(5, 5); + PointF imgPoint = new PointF(0, 0); SolidBrush bForeColor = new SolidBrush(foreColor); SolidBrush bBackColor = new SolidBrush(backColor); Gimg.FillRectangle(bBackColor, 0, 0, width, height); - Gimg.DrawString(txt, imgFont, bForeColor, imgPoint); + Gimg.DrawString(barcodetext, imgFont, bForeColor, imgPoint); + + + Font fzFont = new Font(zusatzfontname, zusatzfontsize); - SizeF textSize = Gimg.MeasureString(zusatz, fzFont, 50); + SizeF textSize = Gimg.MeasureString(zusatz, fzFont,30); - PointF imgPointZusatz = new PointF(width - textSize.Width - 15, 30); + PointF imgPointZusatz = new PointF(width - textSize.Width , 25); Gimg.DrawString(zusatz, fzFont, bForeColor, imgPointZusatz); return RotateImage(img, rotation, true, true, Color.White); diff --git a/BarcodeLib/obj/Debug/BarcodeLib.csproj.AssemblyReference.cache b/BarcodeLib/obj/Debug/BarcodeLib.csproj.AssemblyReference.cache index 2d8e3bbf..cb1900ca 100644 Binary files a/BarcodeLib/obj/Debug/BarcodeLib.csproj.AssemblyReference.cache and b/BarcodeLib/obj/Debug/BarcodeLib.csproj.AssemblyReference.cache differ diff --git a/BarcodeLib/obj/Debug/BarcodeLib.dll b/BarcodeLib/obj/Debug/BarcodeLib.dll index f516114b..2e63cd02 100644 Binary files a/BarcodeLib/obj/Debug/BarcodeLib.dll and b/BarcodeLib/obj/Debug/BarcodeLib.dll differ diff --git a/BarcodeLib/obj/Debug/BarcodeLib.pdb b/BarcodeLib/obj/Debug/BarcodeLib.pdb index 9ce038de..9f0f8897 100644 Binary files a/BarcodeLib/obj/Debug/BarcodeLib.pdb and b/BarcodeLib/obj/Debug/BarcodeLib.pdb differ diff --git a/BarcodeLib/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/BarcodeLib/obj/Debug/DesignTimeResolveAssemblyReferences.cache index 005c0369..2f8a9d32 100644 Binary files a/BarcodeLib/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/BarcodeLib/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Client/Diverses/SplashScreen.Designer.cs b/Client/Diverses/SplashScreen.Designer.cs index 964e133b..a2319454 100644 --- a/Client/Diverses/SplashScreen.Designer.cs +++ b/Client/Diverses/SplashScreen.Designer.cs @@ -64,7 +64,7 @@ this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(168, 26); this.label2.TabIndex = 2; - this.label2.Text = "21. Januar 2025"; + this.label2.Text = "27. Januar 2025"; // // SplashScreen // diff --git a/Client/Program.cs b/Client/Program.cs index 7f84a81a..b47f9c3c 100644 --- a/Client/Program.cs +++ b/Client/Program.cs @@ -13,6 +13,7 @@ using System.IO; using Syncfusion.Windows.Forms.Spreadsheet.Commands; using OnDoc.UICintrols; using OnDoc.UIControls; +using System.Linq.Expressions; namespace OnDoc @@ -36,7 +37,11 @@ namespace OnDoc { ExternalCall.sourceparam = ""; - + try + { + MessageBox.Show(args[0]); + } + catch { } if (args.Length > 0) { @@ -51,6 +56,7 @@ namespace OnDoc mitarbeiter = mitarbeiter.Replace("i", ""); mitarbeiter = mitarbeiter.Replace("I", ""); mitarbeiter = mitarbeiter.Substring(mitarbeiter.IndexOf("\\") + 1); + Logging.Logging.Debug("EDK-Umleitung", args[0], ""); AppParams.currenttgnummer = mitarbeiter; db.Get_Tabledata("Select count(*) from ondoc_edk_routing where aktiv=1 and tgnummer='" + AppParams.currenttgnummer + "'", false, true); if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]) > 0) diff --git a/Client/Start.cs b/Client/Start.cs index 26b73b48..2c07556d 100644 --- a/Client/Start.cs +++ b/Client/Start.cs @@ -112,7 +112,7 @@ namespace OnDoc Logging.Logging.Debug("Start - Ende", "start.cs", ""); AppParams.StartApp = false; - dokList1.refresh_dokumente(); + //dokList1.refresh_dokumente(); } diff --git a/Client/bin/Debug/BarcodeLib.dll b/Client/bin/Debug/BarcodeLib.dll index f516114b..2e63cd02 100644 Binary files a/Client/bin/Debug/BarcodeLib.dll and b/Client/bin/Debug/BarcodeLib.dll differ diff --git a/Client/bin/Debug/BarcodeLib.pdb b/Client/bin/Debug/BarcodeLib.pdb index 9ce038de..9f0f8897 100644 Binary files a/Client/bin/Debug/BarcodeLib.pdb and b/Client/bin/Debug/BarcodeLib.pdb differ diff --git a/Client/bin/Debug/DOCGEN.dll b/Client/bin/Debug/DOCGEN.dll index cc18791a..6dd3e681 100644 Binary files a/Client/bin/Debug/DOCGEN.dll and b/Client/bin/Debug/DOCGEN.dll differ diff --git a/Client/bin/Debug/DOCGEN.pdb b/Client/bin/Debug/DOCGEN.pdb index 9d8fee28..bc3ce954 100644 Binary files a/Client/bin/Debug/DOCGEN.pdb and b/Client/bin/Debug/DOCGEN.pdb differ diff --git a/Client/bin/Debug/OfficePrinter.dll b/Client/bin/Debug/OfficePrinter.dll index 338635de..386de618 100644 Binary files a/Client/bin/Debug/OfficePrinter.dll and b/Client/bin/Debug/OfficePrinter.dll differ diff --git a/Client/bin/Debug/OfficePrinter.pdb b/Client/bin/Debug/OfficePrinter.pdb index 0cd4f248..6d263317 100644 Binary files a/Client/bin/Debug/OfficePrinter.pdb and b/Client/bin/Debug/OfficePrinter.pdb differ diff --git a/Client/bin/Debug/OnDoc.exe b/Client/bin/Debug/OnDoc.exe index c7d6b173..b3ef8010 100644 Binary files a/Client/bin/Debug/OnDoc.exe and b/Client/bin/Debug/OnDoc.exe differ diff --git a/Client/bin/Debug/OnDoc.pdb b/Client/bin/Debug/OnDoc.pdb index 293ea1c7..785440bb 100644 Binary files a/Client/bin/Debug/OnDoc.pdb and b/Client/bin/Debug/OnDoc.pdb differ diff --git a/Client/bin/Debug/OnDocClient.zip b/Client/bin/Debug/OnDocClient.zip index ebf548ec..fb42801c 100644 Binary files a/Client/bin/Debug/OnDocClient.zip and b/Client/bin/Debug/OnDocClient.zip differ diff --git a/Client/bin/Debug/OnDocOffice.dll b/Client/bin/Debug/OnDocOffice.dll index d2f725f6..ab0815e0 100644 Binary files a/Client/bin/Debug/OnDocOffice.dll and b/Client/bin/Debug/OnDocOffice.dll differ diff --git a/Client/bin/Debug/OnDocOffice.pdb b/Client/bin/Debug/OnDocOffice.pdb index 3210dd03..42135c73 100644 Binary files a/Client/bin/Debug/OnDocOffice.pdb and b/Client/bin/Debug/OnDocOffice.pdb differ diff --git a/Client/bin/Debug/VBOffice.dll b/Client/bin/Debug/VBOffice.dll new file mode 100644 index 00000000..b5f5edd6 Binary files /dev/null and b/Client/bin/Debug/VBOffice.dll differ diff --git a/Client/bin/Debug/VBOffice.pdb b/Client/bin/Debug/VBOffice.pdb new file mode 100644 index 00000000..38759ea1 Binary files /dev/null and b/Client/bin/Debug/VBOffice.pdb differ diff --git a/Client/bin/Debug/VBOffice.xml b/Client/bin/Debug/VBOffice.xml new file mode 100644 index 00000000..bfffb245 --- /dev/null +++ b/Client/bin/Debug/VBOffice.xml @@ -0,0 +1,26 @@ + + + + +VBOffice + + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + diff --git a/Client/bin/Debug/_Zipit.bat b/Client/bin/Debug/_Zipit.bat index e8c87b78..ee3b8052 100644 --- a/Client/bin/Debug/_Zipit.bat +++ b/Client/bin/Debug/_Zipit.bat @@ -1,5 +1,5 @@ delete EDKB02DMS.zip -"C:\Program Files\7-Zip\7z.exe" -pshu*tkb98125 a OnDocClient.zip OnDoc.exe OnDocOffice.dll Docgen.dll database.dll barcodelib.dll Helper.dll Logging.dll Model.dll OfficePrinter.dll VBFileManagement.dll vbbarcodes.dll BarcodeLibVBDatamatrix.dll +"C:\Program Files\7-Zip\7z.exe" -pshu*tkb98125 a OnDocClient.zip OnDoc.exe OnDocOffice.dll Docgen.dll database.dll barcodelib.dll Helper.dll Logging.dll Model.dll OfficePrinter.dll VBFileManagement.dll vbbarcodes.dll BarcodeLibVBDatamatrix.dll, vboffice.dll copy OnDocClient.zip H:\NextCloud\ZZDownload pause \ No newline at end of file diff --git a/Client/bin/Debug/de-DE/OnDoc.resources.dll b/Client/bin/Debug/de-DE/OnDoc.resources.dll index 35799445..1f12cb10 100644 Binary files a/Client/bin/Debug/de-DE/OnDoc.resources.dll and b/Client/bin/Debug/de-DE/OnDoc.resources.dll differ diff --git a/Client/bin/Debug/vbBarcodes.dll b/Client/bin/Debug/vbBarcodes.dll index b5f44b4d..10b0a86b 100644 Binary files a/Client/bin/Debug/vbBarcodes.dll and b/Client/bin/Debug/vbBarcodes.dll differ diff --git a/Client/bin/Debug/vbBarcodes.pdb b/Client/bin/Debug/vbBarcodes.pdb index 0f6a4e0c..ecc2b08b 100644 Binary files a/Client/bin/Debug/vbBarcodes.pdb and b/Client/bin/Debug/vbBarcodes.pdb differ diff --git a/Client/obj/Debug/Client.csproj.AssemblyReference.cache b/Client/obj/Debug/Client.csproj.AssemblyReference.cache index aa2f3b00..9ac9bf72 100644 Binary files a/Client/obj/Debug/Client.csproj.AssemblyReference.cache and b/Client/obj/Debug/Client.csproj.AssemblyReference.cache differ diff --git a/Client/obj/Debug/Client.csproj.FileListAbsolute.txt b/Client/obj/Debug/Client.csproj.FileListAbsolute.txt index b3b2e74d..1a62b51f 100644 --- a/Client/obj/Debug/Client.csproj.FileListAbsolute.txt +++ b/Client/obj/Debug/Client.csproj.FileListAbsolute.txt @@ -368,3 +368,6 @@ E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.UIControls.Administrator E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.DocMgmt.SerienbriefTemplateLoad.resources E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.DocMgmt.frmDokumentpaketNeugenerierung.resources E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.DocMgmt.frmSerienbrief.resources +E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\VBOffice.dll +E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\VBOffice.pdb +E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\VBOffice.xml diff --git a/Client/obj/Debug/Client.csproj.GenerateResource.cache b/Client/obj/Debug/Client.csproj.GenerateResource.cache index e7458bcf..83b3c43e 100644 Binary files a/Client/obj/Debug/Client.csproj.GenerateResource.cache and b/Client/obj/Debug/Client.csproj.GenerateResource.cache differ diff --git a/Client/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Client/obj/Debug/DesignTimeResolveAssemblyReferences.cache index d6b8b6c5..ceb0058b 100644 Binary files a/Client/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/Client/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Client/obj/Debug/OnDoc.exe b/Client/obj/Debug/OnDoc.exe index c7d6b173..b3ef8010 100644 Binary files a/Client/obj/Debug/OnDoc.exe and b/Client/obj/Debug/OnDoc.exe differ diff --git a/Client/obj/Debug/OnDoc.pdb b/Client/obj/Debug/OnDoc.pdb index 293ea1c7..785440bb 100644 Binary files a/Client/obj/Debug/OnDoc.pdb and b/Client/obj/Debug/OnDoc.pdb differ diff --git a/Client/obj/Debug/de-DE/OnDoc.resources.dll b/Client/obj/Debug/de-DE/OnDoc.resources.dll index 35799445..1f12cb10 100644 Binary files a/Client/obj/Debug/de-DE/OnDoc.resources.dll and b/Client/obj/Debug/de-DE/OnDoc.resources.dll differ diff --git a/DOCGEN/Klassen/SyncFWord.cs b/DOCGEN/Klassen/SyncFWord.cs index be78f662..d045d491 100644 --- a/DOCGEN/Klassen/SyncFWord.cs +++ b/DOCGEN/Klassen/SyncFWord.cs @@ -861,7 +861,26 @@ namespace DOCGEN.Klassen //int rotation = 0; //if (docData.barcode_horizontal == 0) { rotation = 270; } barcodeimage = Barcode.Get_LinerBarcode(Barcoded.Symbology.I2of5, docData.Dokumentid.Substring(6, 16), docData.Dokumentid.Substring(6, 16) + docData.barcode_zusatz, docData.barcode_textposition, docData.Zusatz_Font, Convert.ToInt32(docData.Zusatz_FontSize), 0); - //barcodeimage = AutoSizeImage(barcodeimage, docData.barcode_width, docData.barcode_height,false); + + BarcodeLib.clsBarI25 barbarcode = new BarcodeLib.clsBarI25(); + //barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 36, 350, 50, " "+docData.barcode_zusatz, docData.Zusatz_Font, Convert.ToInt32(docData.Zusatz_FontSize), 0); + //barcodeimage = AutoSizeImage(barcodeimage, docData.barcode_width, docData.barcode_height, false); + + //barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), docData.barcode_font, docData.barcode_fontsize, docData.barcode_width*2, docData.barcode_height+10, " " + docData.barcode_zusatz, docData.Zusatz_Font, docData.Zusatz_FontSize, 0); + + //barcodeimage = AutoSizeImage(barcodeimage, docData.barcode_width*3, docData.barcode_height*3,false); + + if (docData.barcode_horizontal == 0) + { + barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 300, 50, " U", "Futur Book", 8,270); + + } + else + { + barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 300, 50, " U", "Futur Book", 8, 0); + + } + //barcodeimage = ScaleImage(barcodeimage, docData.barcode_width, docData.barcode_height); //barcodeimage = resizeImage(barcodeimage, new Size(docData.barcode_width,docData.barcode_height)); @@ -906,9 +925,9 @@ namespace DOCGEN.Klassen //picture.Height = barcodeimage.Height; if (docData.barcode_horizontal == 0) { - picture.Rotation = 270; - // picture.Height = docData.barcode_height; - // picture.Width = docData.barcode_width; + picture.Rotation = 0; + picture.Height = docData.barcode_width; + picture.Width = docData.barcode_height; picture.VerticalPosition = docData.barcode_top; ; picture.HorizontalPosition = docData.barcode_left; @@ -917,8 +936,8 @@ namespace DOCGEN.Klassen else { picture.Rotation = 0; - //picture.Height = docData.barcode_height; - //picture.Width = docData.barcode_width; + picture.Height = docData.barcode_height; + picture.Width = docData.barcode_width; picture.VerticalPosition = docData.barcode_top; ; picture.HorizontalPosition = docData.barcode_left; @@ -929,8 +948,8 @@ namespace DOCGEN.Klassen } if (docData.barcode_type == "0") { - picture.Width = docData.barcode_width; - picture.Height = docData.barcode_height; + // picture.Width = docData.barcode_width; + // picture.Height = docData.barcode_height; } WPicture picture2 = new WPicture(document); diff --git a/DOCGEN/bin/Debug/BarcodeLib.dll b/DOCGEN/bin/Debug/BarcodeLib.dll index f516114b..2e63cd02 100644 Binary files a/DOCGEN/bin/Debug/BarcodeLib.dll and b/DOCGEN/bin/Debug/BarcodeLib.dll differ diff --git a/DOCGEN/bin/Debug/BarcodeLib.pdb b/DOCGEN/bin/Debug/BarcodeLib.pdb index 9ce038de..9f0f8897 100644 Binary files a/DOCGEN/bin/Debug/BarcodeLib.pdb and b/DOCGEN/bin/Debug/BarcodeLib.pdb differ diff --git a/DOCGEN/bin/Debug/DOCGEN.dll b/DOCGEN/bin/Debug/DOCGEN.dll index cc18791a..6dd3e681 100644 Binary files a/DOCGEN/bin/Debug/DOCGEN.dll and b/DOCGEN/bin/Debug/DOCGEN.dll differ diff --git a/DOCGEN/bin/Debug/DOCGEN.pdb b/DOCGEN/bin/Debug/DOCGEN.pdb index 9d8fee28..bc3ce954 100644 Binary files a/DOCGEN/bin/Debug/DOCGEN.pdb and b/DOCGEN/bin/Debug/DOCGEN.pdb differ diff --git a/DOCGEN/bin/Debug/OfficePrinter.dll b/DOCGEN/bin/Debug/OfficePrinter.dll index 338635de..386de618 100644 Binary files a/DOCGEN/bin/Debug/OfficePrinter.dll and b/DOCGEN/bin/Debug/OfficePrinter.dll differ diff --git a/DOCGEN/bin/Debug/OfficePrinter.pdb b/DOCGEN/bin/Debug/OfficePrinter.pdb index 0cd4f248..6d263317 100644 Binary files a/DOCGEN/bin/Debug/OfficePrinter.pdb and b/DOCGEN/bin/Debug/OfficePrinter.pdb differ diff --git a/DOCGEN/bin/Debug/OnDocOffice.dll b/DOCGEN/bin/Debug/OnDocOffice.dll index d2f725f6..ab0815e0 100644 Binary files a/DOCGEN/bin/Debug/OnDocOffice.dll and b/DOCGEN/bin/Debug/OnDocOffice.dll differ diff --git a/DOCGEN/bin/Debug/OnDocOffice.pdb b/DOCGEN/bin/Debug/OnDocOffice.pdb index 3210dd03..42135c73 100644 Binary files a/DOCGEN/bin/Debug/OnDocOffice.pdb and b/DOCGEN/bin/Debug/OnDocOffice.pdb differ diff --git a/DOCGEN/bin/Debug/VBOffice.dll b/DOCGEN/bin/Debug/VBOffice.dll new file mode 100644 index 00000000..b5f5edd6 Binary files /dev/null and b/DOCGEN/bin/Debug/VBOffice.dll differ diff --git a/DOCGEN/bin/Debug/VBOffice.pdb b/DOCGEN/bin/Debug/VBOffice.pdb new file mode 100644 index 00000000..38759ea1 Binary files /dev/null and b/DOCGEN/bin/Debug/VBOffice.pdb differ diff --git a/DOCGEN/bin/Debug/VBOffice.xml b/DOCGEN/bin/Debug/VBOffice.xml new file mode 100644 index 00000000..bfffb245 --- /dev/null +++ b/DOCGEN/bin/Debug/VBOffice.xml @@ -0,0 +1,26 @@ + + + + +VBOffice + + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + diff --git a/DOCGEN/bin/Debug/vbBarcodes.dll b/DOCGEN/bin/Debug/vbBarcodes.dll index b5f44b4d..10b0a86b 100644 Binary files a/DOCGEN/bin/Debug/vbBarcodes.dll and b/DOCGEN/bin/Debug/vbBarcodes.dll differ diff --git a/DOCGEN/bin/Debug/vbBarcodes.pdb b/DOCGEN/bin/Debug/vbBarcodes.pdb index 0f6a4e0c..ecc2b08b 100644 Binary files a/DOCGEN/bin/Debug/vbBarcodes.pdb and b/DOCGEN/bin/Debug/vbBarcodes.pdb differ diff --git a/DOCGEN/obj/Debug/DOCGEN.csproj.FileListAbsolute.txt b/DOCGEN/obj/Debug/DOCGEN.csproj.FileListAbsolute.txt index 75f963db..648ab560 100644 --- a/DOCGEN/obj/Debug/DOCGEN.csproj.FileListAbsolute.txt +++ b/DOCGEN/obj/Debug/DOCGEN.csproj.FileListAbsolute.txt @@ -148,3 +148,6 @@ E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\MW6.SDK.dll E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\BarcodeLibVBDatamatrix.dll E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\BarcodeLibVBDatamatrix.pdb E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\BarcodeLibVBDatamatrix.xml +E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\VBOffice.dll +E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\VBOffice.pdb +E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\VBOffice.xml diff --git a/DOCGEN/obj/Debug/DOCGEN.dll b/DOCGEN/obj/Debug/DOCGEN.dll index cc18791a..6dd3e681 100644 Binary files a/DOCGEN/obj/Debug/DOCGEN.dll and b/DOCGEN/obj/Debug/DOCGEN.dll differ diff --git a/DOCGEN/obj/Debug/DOCGEN.pdb b/DOCGEN/obj/Debug/DOCGEN.pdb index 9d8fee28..bc3ce954 100644 Binary files a/DOCGEN/obj/Debug/DOCGEN.pdb and b/DOCGEN/obj/Debug/DOCGEN.pdb differ diff --git a/DOCGEN/obj/Debug/DocGen.csproj.AssemblyReference.cache b/DOCGEN/obj/Debug/DocGen.csproj.AssemblyReference.cache index 49769c5a..8fbd27b3 100644 Binary files a/DOCGEN/obj/Debug/DocGen.csproj.AssemblyReference.cache and b/DOCGEN/obj/Debug/DocGen.csproj.AssemblyReference.cache differ diff --git a/OfficePrinter/Class1.cs b/OfficePrinter/Class1.cs index 8deac2c2..3bbf515c 100644 --- a/OfficePrinter/Class1.cs +++ b/OfficePrinter/Class1.cs @@ -42,7 +42,13 @@ namespace OfficePrinter wordDocument = appWord.Documents.Open(Filename); Thread.Sleep(OfficeSleep); appWord.Visible = true; - + appWord.Activate(); + wordDocument.Activate(); + Microsoft.Office.Interop.Word.Window window = appWord.ActiveWindow; + window.SetFocus(); + window.Activate(); + appWord.WindowState = WdWindowState.wdWindowStateMinimize; + appWord.WindowState = WdWindowState.wdWindowStateMaximize; if (printmacro == "") return ""; try { @@ -50,6 +56,7 @@ namespace OfficePrinter } catch (Exception e) { error = e.Message.ToString()+" / "+printmacro; + } Thread.Sleep(OfficeSleep); wordDocument.Close(); diff --git a/OfficePrinter/OfficePrinter.csproj b/OfficePrinter/OfficePrinter.csproj index a8f50d09..be0ccdf1 100644 --- a/OfficePrinter/OfficePrinter.csproj +++ b/OfficePrinter/OfficePrinter.csproj @@ -32,6 +32,9 @@ 4 + + ..\Client\bin\Debug\Logging.dll + ..\packages\Microsoft.Office.Interop.Word.15.0.4797.1004\lib\net20\Microsoft.Office.Interop.Word.dll True diff --git a/OfficePrinter/bin/Debug/Logging.dll b/OfficePrinter/bin/Debug/Logging.dll new file mode 100644 index 00000000..b06584a3 Binary files /dev/null and b/OfficePrinter/bin/Debug/Logging.dll differ diff --git a/OfficePrinter/bin/Debug/Logging.pdb b/OfficePrinter/bin/Debug/Logging.pdb new file mode 100644 index 00000000..ef926ad9 Binary files /dev/null and b/OfficePrinter/bin/Debug/Logging.pdb differ diff --git a/OfficePrinter/bin/Debug/NLog.Database.dll b/OfficePrinter/bin/Debug/NLog.Database.dll new file mode 100644 index 00000000..432bb42a Binary files /dev/null and b/OfficePrinter/bin/Debug/NLog.Database.dll differ diff --git a/OfficePrinter/bin/Debug/NLog.dll b/OfficePrinter/bin/Debug/NLog.dll new file mode 100644 index 00000000..bc10e37b Binary files /dev/null and b/OfficePrinter/bin/Debug/NLog.dll differ diff --git a/OfficePrinter/bin/Debug/OfficePrinter.dll b/OfficePrinter/bin/Debug/OfficePrinter.dll index 338635de..386de618 100644 Binary files a/OfficePrinter/bin/Debug/OfficePrinter.dll and b/OfficePrinter/bin/Debug/OfficePrinter.dll differ diff --git a/OfficePrinter/bin/Debug/OfficePrinter.pdb b/OfficePrinter/bin/Debug/OfficePrinter.pdb index 0cd4f248..6d263317 100644 Binary files a/OfficePrinter/bin/Debug/OfficePrinter.pdb and b/OfficePrinter/bin/Debug/OfficePrinter.pdb differ diff --git a/OfficePrinter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/OfficePrinter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index f86c41c4..70f4cb4e 100644 Binary files a/OfficePrinter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/OfficePrinter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/OfficePrinter/obj/Debug/OfficePrinter.csproj.AssemblyReference.cache b/OfficePrinter/obj/Debug/OfficePrinter.csproj.AssemblyReference.cache index 838383b2..a55eefd2 100644 Binary files a/OfficePrinter/obj/Debug/OfficePrinter.csproj.AssemblyReference.cache and b/OfficePrinter/obj/Debug/OfficePrinter.csproj.AssemblyReference.cache differ diff --git a/OfficePrinter/obj/Debug/OfficePrinter.csproj.CoreCompileInputs.cache b/OfficePrinter/obj/Debug/OfficePrinter.csproj.CoreCompileInputs.cache index 171cf730..cb8fd62a 100644 --- a/OfficePrinter/obj/Debug/OfficePrinter.csproj.CoreCompileInputs.cache +++ b/OfficePrinter/obj/Debug/OfficePrinter.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -e00516c95ac2185abce4d5a9b57f77ce0dde43a3c9cef3b199e9ef42746933f1 +aa46558934c57c1dee0d62ddc8c2c4c41e93018c41a69ed585458eb2e1549ea2 diff --git a/OfficePrinter/obj/Debug/OfficePrinter.csproj.FileListAbsolute.txt b/OfficePrinter/obj/Debug/OfficePrinter.csproj.FileListAbsolute.txt index 85df6705..77be6b90 100644 --- a/OfficePrinter/obj/Debug/OfficePrinter.csproj.FileListAbsolute.txt +++ b/OfficePrinter/obj/Debug/OfficePrinter.csproj.FileListAbsolute.txt @@ -14,3 +14,7 @@ E:\Software-Projekte\OnDoc\OnDoc\OfficePrinter\obj\Debug\OfficePrinter.csproj.Co E:\Software-Projekte\OnDoc\OnDoc\OfficePrinter\obj\Debug\OfficePr.6C7E73FF.Up2Date E:\Software-Projekte\OnDoc\OnDoc\OfficePrinter\obj\Debug\OfficePrinter.dll E:\Software-Projekte\OnDoc\OnDoc\OfficePrinter\obj\Debug\OfficePrinter.pdb +E:\Software-Projekte\OnDoc\OnDoc\OfficePrinter\bin\Debug\Logging.dll +E:\Software-Projekte\OnDoc\OnDoc\OfficePrinter\bin\Debug\NLog.dll +E:\Software-Projekte\OnDoc\OnDoc\OfficePrinter\bin\Debug\NLog.Database.dll +E:\Software-Projekte\OnDoc\OnDoc\OfficePrinter\bin\Debug\Logging.pdb diff --git a/OfficePrinter/obj/Debug/OfficePrinter.dll b/OfficePrinter/obj/Debug/OfficePrinter.dll index 338635de..386de618 100644 Binary files a/OfficePrinter/obj/Debug/OfficePrinter.dll and b/OfficePrinter/obj/Debug/OfficePrinter.dll differ diff --git a/OfficePrinter/obj/Debug/OfficePrinter.pdb b/OfficePrinter/obj/Debug/OfficePrinter.pdb index 0cd4f248..6d263317 100644 Binary files a/OfficePrinter/obj/Debug/OfficePrinter.pdb and b/OfficePrinter/obj/Debug/OfficePrinter.pdb differ diff --git a/OnDoc.sln b/OnDoc.sln index 18e4d7f6..b46e730a 100644 --- a/OnDoc.sln +++ b/OnDoc.sln @@ -61,6 +61,8 @@ Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "BarcodeLibVBDatamatrix", "B EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZZ_BarcpdeFromFont", "ZZ_BarcpdeFromFont\ZZ_BarcpdeFromFont.csproj", "{913D34B6-1F69-4232-8AE6-7790794F5871}" EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VBOffice", "VBOffice\VBOffice.vbproj", "{63578D09-CC5F-4224-A877-FC2FB12C0A20}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -171,6 +173,10 @@ Global {913D34B6-1F69-4232-8AE6-7790794F5871}.Debug|Any CPU.Build.0 = Debug|Any CPU {913D34B6-1F69-4232-8AE6-7790794F5871}.Release|Any CPU.ActiveCfg = Release|Any CPU {913D34B6-1F69-4232-8AE6-7790794F5871}.Release|Any CPU.Build.0 = Release|Any CPU + {63578D09-CC5F-4224-A877-FC2FB12C0A20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {63578D09-CC5F-4224-A877-FC2FB12C0A20}.Debug|Any CPU.Build.0 = Debug|Any CPU + {63578D09-CC5F-4224-A877-FC2FB12C0A20}.Release|Any CPU.ActiveCfg = Release|Any CPU + {63578D09-CC5F-4224-A877-FC2FB12C0A20}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/OnDocOffice/DialogGenerate.Designer.cs b/OnDocOffice/DialogGenerate.Designer.cs index 9bec0b04..00b6b24a 100644 --- a/OnDocOffice/DialogGenerate.Designer.cs +++ b/OnDocOffice/DialogGenerate.Designer.cs @@ -32,6 +32,7 @@ this.label1 = new System.Windows.Forms.Label(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // label1 @@ -45,9 +46,9 @@ // // progressBar1 // - this.progressBar1.Location = new System.Drawing.Point(12, 76); + this.progressBar1.Location = new System.Drawing.Point(15, 97); this.progressBar1.Name = "progressBar1"; - this.progressBar1.Size = new System.Drawing.Size(390, 23); + this.progressBar1.Size = new System.Drawing.Size(419, 23); this.progressBar1.TabIndex = 1; // // label2 @@ -55,19 +56,31 @@ this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(12, 49); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(0, 13); + this.label2.Size = new System.Drawing.Size(28, 13); this.label2.TabIndex = 2; + this.label2.Text = "Text"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(12, 67); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(34, 13); + this.label3.TabIndex = 3; + this.label3.Text = "Detail"; // // DialogGenerate // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(440, 111); + this.ClientSize = new System.Drawing.Size(440, 132); + this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.progressBar1); this.Controls.Add(this.label1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "DialogGenerate"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Dokumenterstellung mit Office"; this.Load += new System.EventHandler(this.DialogGenerate_Load); this.ResumeLayout(false); @@ -80,5 +93,6 @@ private System.Windows.Forms.Label label1; private System.Windows.Forms.ProgressBar progressBar1; private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; } } \ No newline at end of file diff --git a/OnDocOffice/DialogGenerate.cs b/OnDocOffice/DialogGenerate.cs index 6886d84a..766779bb 100644 --- a/OnDocOffice/DialogGenerate.cs +++ b/OnDocOffice/DialogGenerate.cs @@ -21,6 +21,7 @@ namespace OnDocOffice { InitializeComponent(); this.label2.Text = bez; + this.label3.Text = ""; } private void DialogGenerate_Load(object sender, EventArgs e) { @@ -29,15 +30,25 @@ namespace OnDocOffice progressBar1.Value = 0; } - public void set_progress(int value) + public void set_progress(int value, string text) { - progressBar1.Value = value; + this.label3.Text=text; + try + { + progressBar1.Value = value; + } + catch { } Application.DoEvents(); } - public void add_progress(int value) + public void add_progress(int value, string text) { - progressBar1.Value += value; + this.label3.Text = text; + try + { + progressBar1.Value += value; + } + catch { } Application.DoEvents(); } } diff --git a/OnDocOffice/OnDocOffice.csproj b/OnDocOffice/OnDocOffice.csproj index 57aa26e6..fec959e2 100644 --- a/OnDocOffice/OnDocOffice.csproj +++ b/OnDocOffice/OnDocOffice.csproj @@ -83,6 +83,9 @@ False ..\VBFileManagement\bin\Debug\VBFileManagement.dll + + ..\VBOffice\bin\Debug\VBOffice.dll + diff --git a/OnDocOffice/bin/Debug/BarcodeLib.dll b/OnDocOffice/bin/Debug/BarcodeLib.dll index f516114b..2e63cd02 100644 Binary files a/OnDocOffice/bin/Debug/BarcodeLib.dll and b/OnDocOffice/bin/Debug/BarcodeLib.dll differ diff --git a/OnDocOffice/bin/Debug/BarcodeLib.pdb b/OnDocOffice/bin/Debug/BarcodeLib.pdb index 9ce038de..9f0f8897 100644 Binary files a/OnDocOffice/bin/Debug/BarcodeLib.pdb and b/OnDocOffice/bin/Debug/BarcodeLib.pdb differ diff --git a/OnDocOffice/bin/Debug/OnDocOffice.dll b/OnDocOffice/bin/Debug/OnDocOffice.dll index d2f725f6..ab0815e0 100644 Binary files a/OnDocOffice/bin/Debug/OnDocOffice.dll and b/OnDocOffice/bin/Debug/OnDocOffice.dll differ diff --git a/OnDocOffice/bin/Debug/OnDocOffice.pdb b/OnDocOffice/bin/Debug/OnDocOffice.pdb index 3210dd03..42135c73 100644 Binary files a/OnDocOffice/bin/Debug/OnDocOffice.pdb and b/OnDocOffice/bin/Debug/OnDocOffice.pdb differ diff --git a/OnDocOffice/bin/Debug/VBOffice.dll b/OnDocOffice/bin/Debug/VBOffice.dll new file mode 100644 index 00000000..b5f5edd6 Binary files /dev/null and b/OnDocOffice/bin/Debug/VBOffice.dll differ diff --git a/OnDocOffice/bin/Debug/VBOffice.pdb b/OnDocOffice/bin/Debug/VBOffice.pdb new file mode 100644 index 00000000..38759ea1 Binary files /dev/null and b/OnDocOffice/bin/Debug/VBOffice.pdb differ diff --git a/OnDocOffice/bin/Debug/VBOffice.xml b/OnDocOffice/bin/Debug/VBOffice.xml new file mode 100644 index 00000000..bfffb245 --- /dev/null +++ b/OnDocOffice/bin/Debug/VBOffice.xml @@ -0,0 +1,26 @@ + + + + +VBOffice + + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + diff --git a/OnDocOffice/bin/Debug/vbBarcodes.dll b/OnDocOffice/bin/Debug/vbBarcodes.dll index b5f44b4d..10b0a86b 100644 Binary files a/OnDocOffice/bin/Debug/vbBarcodes.dll and b/OnDocOffice/bin/Debug/vbBarcodes.dll differ diff --git a/OnDocOffice/bin/Debug/vbBarcodes.pdb b/OnDocOffice/bin/Debug/vbBarcodes.pdb index 0f6a4e0c..ecc2b08b 100644 Binary files a/OnDocOffice/bin/Debug/vbBarcodes.pdb and b/OnDocOffice/bin/Debug/vbBarcodes.pdb differ diff --git a/OnDocOffice/clsoffice.cs b/OnDocOffice/clsoffice.cs index fc11a71a..22bb26b9 100644 --- a/OnDocOffice/clsoffice.cs +++ b/OnDocOffice/clsoffice.cs @@ -22,6 +22,7 @@ using System.IO; using Microsoft.VisualBasic; using System.Net.NetworkInformation; using System.Net; +using Microsoft.VisualBasic.CompilerServices; namespace OnDocOffice @@ -408,8 +409,9 @@ namespace OnDocOffice dv.used = 0; foreach (Syncfusion.DocIO.DLS.Bookmark bm in bookmarks) { - dv.used = 1; - break; + if (bm.Name == dv.TMBeginn.ToString()) { dv.used = 1;break; } + //dv.used = 1; + //break; } } //foreach (Syncfusion.DocIO.DLS.Bookmark bm in bookmarks) @@ -454,13 +456,46 @@ namespace OnDocOffice return Convert.ToBase64String(imageArray); } + + public string convert_wordfelder(string x) + { + + string convert_wordfelderRet = default; + + + string s; + string s1; + int i; + s = x; + i = Strings.InStr(s, Conversions.ToString('\r')); + while (i > 0) + { + s = Strings.Left(s, i - 1) + "#" + Strings.Right(s, Strings.Len(s) - i); + if (Strings.Mid(s, i + 1, 1) == Conversions.ToString('\n')) + { + s = Strings.Left(s, i) + Strings.Right(s, Strings.Len(s) - (i + 1)); + } + i = Strings.InStr(s, Conversions.ToString('\r')); + } + i = Strings.InStr(s, "#"); + while (i > 0) + { + s = Strings.Left(s, i - 1) + '\v' + Strings.Right(s, Strings.Len(s) - i); + i = Strings.InStr(s, "#"); + } + convert_wordfelderRet = s; + return convert_wordfelderRet; + + + } + public string Generate_Word_in_Office(ref clsDocData docdata, ref clsdok dok, string vorlage, string connectionstring, string tempdir, string dokumentid, string apptype, string extension, int OfficeSleep, int bookmarks_docio, bool vbfilemanagment, bool editdoc) { connectstring = connectionstring; DialogGenerate dialogGenerate = new DialogGenerate(docdata.Bezeichnung.ToString()); dialogGenerate.Show(); System.Windows.Forms.Application.DoEvents(); - dialogGenerate.set_progress(10); + dialogGenerate.set_progress(10,"Datei bereit stellen"); this.dokumentid = docdata.Dokumentid; string filename = tempdir + dokumentid + "." + extension; @@ -484,10 +519,9 @@ namespace OnDocOffice fh.SaveBase64ToFile(vorlage, filename); get_bookmakrs(fh.Base64FromFile(filename), ref docdata); Logging.Logging.Debug("Generate_Word_in_Office", "clsOffice", dokumentid); - dialogGenerate.set_progress(20); + dialogGenerate.set_progress(20,"Datei öffnen"); Start_Application(); - // Thread.Sleep(OfficeSleep); worddoc = word.Documents.Open(filename); Thread.Sleep(OfficeSleep); @@ -581,7 +615,7 @@ namespace OnDocOffice worddoc = word.ActiveDocument; worddoc.Save(); word.NormalTemplate.Saved = true; - dialogGenerate.set_progress(30); + dialogGenerate.set_progress(30, "Datei konvertiert und geöffnet"); //word.ActiveDocument.Close(false); Thread.Sleep(OfficeSleep); //worddoc = word.Documents.Open(filename); @@ -592,187 +626,254 @@ namespace OnDocOffice worddoc.Unprotect(Password: "Australia"); is_protected = true; } - - bool cursorpositionieren = false; - if (docdata.Kopfzeile_generieren == true) - { - Kopfzeile_generieren(); - } - //word.Visible = false; - dialogGenerate.set_progress(40); - //word.ScreenUpdating = false; - if (bookmarks_docio == 1) - { - worddoc.Save(); - worddoc.Close(); - Fill_Bookmarks_from_Word(filename, docdata, "", ""); - worddoc = word.Documents.Open(filename); - } - else + int usecount = 0; + Logging.Logging.Debug("VB Fill","OnDoc",dokumentid); + foreach (clsDocValue dv in docdata.DocValues) { - - - float progressstep = 1; - try + //dv.used = 0; + if (dv.TMBeginn.Contains("CompanyBBEB99")) { dv.used = 1; }; + if (dv.TMBeginn.Contains("EDKCursor")) { - float b = 60; - progressstep = b / (float)docdata.DocValues.Count(); + dv.used = 1; + cursortm = dv.TMBeginn; } - catch + if (dv.FieldName.Contains("TGEDKCursor")) { - + dv.used = 1; + cursorfeld = dv.FieldName; } - cursortm = ""; - foreach (clsDocValue dv in docdata.DocValues) - { - dv.used = 0; - if (dv.TMBeginn.Contains("CompanyBBEB99")) { dv.used = 1; }; - if (dv.TMBeginn.Contains("EDKCursor")) - { - dv.used = 1; - cursortm = dv.TMBeginn; - } - if (dv.FieldName.Contains("TGEDKCursor")) - { - dv.used = 1; - cursorfeld = dv.FieldName; - } - if (dv.FieldName.ToString() != "") { dv.used = 1; }; + if (dv.FieldName.ToString() != "") { dv.used = 1; }; + if (dv.used == 1) { usecount++; } - } + } + float progressstep = 1; + try + { + float b = 50; + progressstep = b / (float)usecount; + progressstep = progressstep + 1; + } + catch + { } - foreach (Microsoft.Office.Interop.Word.Bookmark bm in worddoc.Bookmarks) - { - clsDocValue dv = docdata.DocValues.Find(x => x.TMBeginn == bm.Name); - if (dv != null) { dv.used = 1; } - } - foreach (clsDocValue dv in docdata.DocValues) - { - if (dv.used == 0) { continue; } - try - { - if (dv.TMBeginn.ToString().Contains("TGEDKCursor")) - { - cursorpositionieren = true; - cursortm = dv.TMBeginn.ToString(); - } - if (dv.FieldName.ToString().Contains("TGEDKCursor")) - { - cursorpositionieren = true; - cursorfeld = dv.FieldName.ToString(); - } - } - catch { } - // Logging.Logging.Debug(dv.TMBeginn.ToString() + " / " + dv.TMEnd.ToString(), dv.Value.ToString(), dokumentid); - dialogGenerate.add_progress((int)progressstep); + VBOffice.VBOffice vbo = new VBOffice.VBOffice(); - //20250119 - nur befüllte werte übermitteln' - if (dv.Value.ToString().Trim() != "") - { - if (dv.TMBeginn.ToString() != "" && dv.TMEnd.ToString() == "" && !dv.TMBeginn.ToString().Contains("TGEDKCurosr")) - { - if (dv.TMBeginn.Contains("Zustel")) - { - int a = 1; - } + vbo.Fill_Word(ref word, ref docdata, editdoc, dialogGenerate,(float)progressstep); + vbo = null; + Logging.Logging.Debug("VB Fill Ende", "OnDoc", dokumentid); - try - { - worddoc.Bookmarks[dv.TMBeginn.ToString()].Select(); - pos = worddoc.Bookmarks[dv.TMBeginn.ToString()].Start; - word.Selection.Text = dv.Value.ToString(); - pos2 = word.Selection.End; + bool cursorpositionieren = false; + //if (docdata.Kopfzeile_generieren == true) + //{ + // Kopfzeile_generieren(); + //} + ////word.Visible = false; + //dialogGenerate.set_progress(40); + //word.ScreenUpdating = false; + //if (bookmarks_docio == 1) + //{ + // worddoc.Save(); + // worddoc.Close(); + // Fill_Bookmarks_from_Word(filename, docdata, "", ""); + // worddoc = word.Documents.Open(filename); + //} + //else + //{ + // //float progressstep = 1; + // //try + // //{ + // // float b = 60; + // // progressstep = b / (float)docdata.DocValues.Count(); + // //} + // //catch + // //{ + + // //} + // int usecount = 0; + // cursortm = ""; + // Logging.Logging.Debug("Festlegung Used", "OnDoc", dokumentid); + // foreach (clsDocValue dv in docdata.DocValues) + // { + // //dv.used = 0; + // if (dv.TMBeginn.Contains("CompanyBBEB99")) { dv.used = 1; }; + // if (dv.TMBeginn.Contains("EDKCursor")) + // { + // dv.used = 1; + // cursortm = dv.TMBeginn; + // } + // if (dv.FieldName.Contains("TGEDKCursor")) + // { + // dv.used = 1; + // cursorfeld = dv.FieldName; + // } + // if (dv.FieldName.ToString() != "") { dv.used = 1; }; + // if (dv.used == 1) { usecount++; } + // } + // float progressstep = 1; + // try + // { + // float b = 40; + // progressstep = b / (float)usecount; + // } + // catch + // { - if (dv.TMBeginn.Contains("TGEDKDirektTelefonB") || dv.TMBeginn.Contains("TGEDKVornameNameBetreue") || dv.TMBeginn.Contains("TGEDKDirektTelefonZ")) - { - word.Selection.MoveLeft(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 1); - if (editdoc) word.Selection.TypeText(Text: " "); - word.Selection.SetRange(pos + 1, pos2 + 1); - var withBlock = worddoc.Bookmarks; - withBlock.Add(Range: word.Selection.Range, Name: dv.TMBeginn.ToString()); - withBlock.DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName; - withBlock.ShowHidden = false; - } - else - { - if (dv.TMBeginn.Contains("TGEDKDirektTelefonDokZ") || dv.TMBeginn.Contains("TGEDKVornameNameDokZ")) - { - word.Selection.Text = dv.Value.ToString(); - word.Selection.MoveLeft(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 1); - word.Selection.TypeText(Text: " "); - word.Selection.SetRange(Start: pos + 1, End: pos2 + 1); - - var withBlock = worddoc.Bookmarks; - withBlock.Add(Range: word.Selection.Range, Name: dv.TMBeginn.ToString()); - withBlock.DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName; - withBlock.ShowHidden = false; - } - else - { - word.Selection.SetRange(pos, pos2); - var withBlock = worddoc.Bookmarks; - withBlock.Add(Range: word.Selection.Range, Name: dv.TMBeginn.ToString()); - withBlock.DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName; - withBlock.ShowHidden = false; - } - } - word.Selection.MoveLeft(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 1); - word.Selection.MoveLeft(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 2, Extend: Microsoft.Office.Interop.Word.WdMovementType.wdExtend); - if (word.Selection.Text == " ") - { - word.Selection.MoveRight(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 1); - word.Selection.MoveLeft(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 1, Extend: Microsoft.Office.Interop.Word.WdMovementType.wdExtend); - word.Selection.Delete(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 1); - } - } - catch { } - } - if (dv.TMBeginn.ToString() != "" && dv.TMEnd.ToString() != "" && !dv.TMBeginn.ToString().Contains("TGEDKCursor")) - { - try - { - worddoc.Bookmarks[dv.TMBeginn.ToString()].Select(); - pos = worddoc.Bookmarks[dv.TMBeginn.ToString()].Start; - worddoc.Bookmarks[dv.TMEnd.ToString()].Select(); - pos2 = worddoc.Bookmarks[dv.TMEnd.ToString()].Start; - word.Selection.SetRange(pos, pos2); - word.Selection.TypeText(Text: dv.Value.ToString()); - var withBlock = worddoc.Bookmarks; - withBlock.Add(Range: word.Selection.Range, Name: dv.TMBeginn.ToString()); - withBlock.DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName; - withBlock.ShowHidden = false; - } - catch { } - } - if (dv.FieldName.ToString() != "" && !dv.FieldName.Contains("TGEDKCursor")) - { - try - { - if (dv.FieldName.Contains("cc_")) - { - word.ActiveDocument.SelectContentControlsByTag(dv.FieldName)[1].Range.Text = dv.Value; - } - if (worddoc.FormFields[dv.FieldName].TextInput.Width != 0) - { - int fieldlen = worddoc.FormFields[dv.FieldName].TextInput.Width; - worddoc.FormFields[dv.FieldName].TextInput.Width = fieldlen + 5; - } - worddoc.FormFields[dv.FieldName.ToString()].Result = dv.Value; - } - catch { } - } - } - } - } - //word.ScreenUpdating = true; + // } + // Logging.Logging.Debug("Used 1 Ende", "OnDoc", dokumentid); + + // foreach (clsDocValue dv in docdata.DocValues) + // { + // dialogGenerate.add_progress((int)progressstep); + // if (dv.used == 0) { continue; } + // try + // { + // if (dv.TMBeginn.ToString().Contains("TGEDKCursor")) + // { + // cursorpositionieren = true; + // cursortm = dv.TMBeginn.ToString(); + // } + // if (dv.FieldName.ToString().Contains("TGEDKCursor")) + // { + // cursorpositionieren = true; + // cursorfeld = dv.FieldName.ToString(); + // } + // } + // catch { } + // // Logging.Logging.Debug(dv.TMBeginn.ToString() + " / " + dv.TMEnd.ToString(), dv.Value.ToString(), dokumentid); + // dialogGenerate.add_progress((int)progressstep); + + // //20250119 - nur befüllte werte übermitteln' + + // // if (dv.Value.ToString().Trim() != "") + // //{ + // Logging.Logging.Debug(dv.TMBeginn.ToString() + " / " + dv.TMEnd.ToString() + " / " + dv.FieldName.ToString() + " => " + dv.Value.ToString(), "OnDoc", dokumentid); + // if (dv.TMBeginn.ToString() != "" && dv.TMEnd.ToString() == "" && !dv.TMBeginn.ToString().Contains("TGEDKCurosr")) + // { + + // try + // { + // worddoc.Bookmarks[dv.TMBeginn.ToString()].Select(); + // pos = worddoc.Bookmarks[dv.TMBeginn.ToString()].Start; + // word.Selection.Text = dv.Value.ToString(); + // pos2 = word.Selection.End; + + // if (dv.TMBeginn.Contains("TGEDKDirektTelefonB") || dv.TMBeginn.Contains("TGEDKVornameNameBetreue") || dv.TMBeginn.Contains("TGEDKDirektTelefonZ")) + // { + // Logging.Logging.Debug("1S - " + dv.TMBeginn.ToString(), "", dokumentid); + + // word.Selection.MoveLeft(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 1); + // if (editdoc) word.Selection.TypeText(Text: " "); + // word.Selection.SetRange(pos + 1, pos2 + 1); + // //var withBlock = worddoc.Bookmarks; + // //withBlock.Add(Range: word.Selection.Range, Name: dv.TMBeginn.ToString()); + // //withBlock.DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName; + // //withBlock.ShowHidden = false; + // worddoc.Bookmarks.Add(Range: word.Selection.Range, Name: dv.TMBeginn.ToString()); + // Logging.Logging.Debug("1E - " + dv.TMBeginn.ToString(), "", dokumentid); + // } + // else + // { + // if (dv.TMBeginn.Contains("TGEDKDirektTelefonDokZ") || dv.TMBeginn.Contains("TGEDKVornameNameDokZ")) + // { + // Logging.Logging.Debug("2S - " + dv.TMBeginn.ToString(), "", dokumentid); + + // word.Selection.Text = dv.Value.ToString(); + // word.Selection.MoveLeft(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 1); + // word.Selection.TypeText(Text: " "); + // word.Selection.SetRange(Start: pos + 1, End: pos2 + 1); + + // //var withBlock = worddoc.Bookmarks; + // //withBlock.Add(Range: word.Selection.Range, Name: dv.TMBeginn.ToString()); + // //withBlock.DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName; + // //withBlock.ShowHidden = false; + // worddoc.Bookmarks.Add(Range: word.Selection.Range, Name: dv.TMBeginn.ToString()); + // Logging.Logging.Debug("2E - " + dv.TMBeginn.ToString(), "", dokumentid); + + // } + // else + // { + // Logging.Logging.Debug("3S - " + dv.TMBeginn.ToString(), "", dokumentid); + + // word.Selection.SetRange(Start: pos, End: pos2); + // //var withBlock = worddoc.Bookmarks; + // //withBlock.Add(Range: word.Selection.Range, Name: dv.TMBeginn.ToString()); + // //withBlock.DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName; + // //withBlock.ShowHidden = false; + // worddoc.Bookmarks.Add(Range: word.Selection.Range, Name: dv.TMBeginn.ToString()); + + // Logging.Logging.Debug("3E - " + dv.TMBeginn.ToString(), "", dokumentid); + + // } + // } + // Logging.Logging.Debug("4S - " + dv.TMBeginn.ToString(), "", dokumentid); + + // word.Selection.MoveLeft(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 1); + // word.Selection.MoveLeft(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 2, Extend: Microsoft.Office.Interop.Word.WdMovementType.wdExtend); + // if (word.Selection.Text == " ") + // { + // word.Selection.MoveRight(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 1); + // word.Selection.MoveLeft(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 1, Extend: Microsoft.Office.Interop.Word.WdMovementType.wdExtend); + // word.Selection.Delete(Unit: Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count: 1); + // } + // Logging.Logging.Debug("4E - " + dv.TMBeginn.ToString(), "", dokumentid); + + // } + // catch { } + // } + // if (dv.TMBeginn.ToString() != "" && dv.TMEnd.ToString() != "" && !dv.TMBeginn.ToString().Contains("TGEDKCursor")) + // { + // try + // { + // Logging.Logging.Debug("5S - " + dv.TMBeginn.ToString(), "", dokumentid); + + // worddoc.Bookmarks[dv.TMBeginn.ToString()].Select(); + // pos = worddoc.Bookmarks[dv.TMBeginn.ToString()].Start; + // worddoc.Bookmarks[dv.TMEnd.ToString()].Select(); + // pos2 = worddoc.Bookmarks[dv.TMEnd.ToString()].Start; + // word.Selection.SetRange(pos, pos2); + // word.Selection.TypeText(Text: dv.Value.ToString()); + // var withBlock = worddoc.Bookmarks; + // withBlock.Add(Range: word.Selection.Range, Name: dv.TMBeginn.ToString()); + // withBlock.DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName; + // withBlock.ShowHidden = false; + // Logging.Logging.Debug("5E - " + dv.TMBeginn.ToString(), "", dokumentid); + + // } + // catch { } + // } + // if (dv.FieldName.ToString() != "" && !dv.FieldName.Contains("TGEDKCursor")) + // { + // try + // { + // Logging.Logging.Debug("6S - " + dv.TMBeginn.ToString(), "", dokumentid); + + // if (dv.FieldName.Contains("cc_")) + // { + // word.ActiveDocument.SelectContentControlsByTag(dv.FieldName)[1].Range.Text = dv.Value; + // } + // if (worddoc.FormFields[dv.FieldName].TextInput.Width != 0) + // { + // int fieldlen = worddoc.FormFields[dv.FieldName].TextInput.Width; + // worddoc.FormFields[dv.FieldName].TextInput.Width = fieldlen + 5; + // } + // worddoc.FormFields[dv.FieldName.ToString()].Result = convert_wordfelder(dv.Value); + // Logging.Logging.Debug("6E - " + dv.TMBeginn.ToString(), "", dokumentid); + + // } + // catch { } + // } + // //} + // } + //} + word.ScreenUpdating = true; Logging.Logging.Debug("Word Befüllen Ende", "clsOffice", dokumentid); if (docdata.Barcode == true) { Generate_Barcodes(ref docdata, tempdir); } @@ -788,9 +889,10 @@ namespace OnDocOffice } word.Visible = true; word.Activate(); + dialogGenerate.set_progress(90,"Macros ausführen"); Logging.Logging.Debug("Start Macros", "clsOffice", dokumentid); - if(!editdoc) run_macros(ref docdata, connectionstring); + if (!editdoc) run_macros(ref docdata, connectionstring); if (cursorpositionieren) { @@ -810,10 +912,11 @@ namespace OnDocOffice Thread.Sleep(OfficeSleep); string b64 = fh.Base64FromFile(filename); - - word.Documents.Open(filename); - word.Activate(); - Logging.Logging.Debug("Word geöffnet", "clsOffice", dokumentid); + + word.Documents.Open(filename); + word.Activate(); + dialogGenerate.set_progress(100,"Generierung beendet"); + Logging.Logging.Debug("Word geöffnet", "clsOffice", dokumentid); word = null; Logging.Logging.Debug("Generierung abgeschlossen", "clsOffice", dokumentid); @@ -826,6 +929,7 @@ namespace OnDocOffice private void Kopfzeile_generieren() { + Logging.Logging.Debug("Kopfzeile", "OnDoc", dokumentid); word.Selection.HomeKey(Unit: Microsoft.Office.Interop.Word.WdUnits.wdStory); if (word.ActiveWindow.View.SplitSpecial != Microsoft.Office.Interop.Word.WdSpecialPane.wdPaneNone) { @@ -1338,7 +1442,7 @@ namespace OnDocOffice //TextBodyPart bookmarkContent = bookmarkNavigator.GetBookmarkContent(); //string bookmarkText = ((Syncfusion.DocIO.DLS.WParagraph)bookmarkContent.BodyItems.FirstItem).Text; - + } } diff --git a/OnDocOffice/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/OnDocOffice/obj/Debug/DesignTimeResolveAssemblyReferences.cache index 2f8a9d32..5a13ae12 100644 Binary files a/OnDocOffice/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/OnDocOffice/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/OnDocOffice/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/OnDocOffice/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index a6bbcbe5..aabd2a51 100644 Binary files a/OnDocOffice/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/OnDocOffice/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/OnDocOffice/obj/Debug/OnDocOffice.csproj.AssemblyReference.cache b/OnDocOffice/obj/Debug/OnDocOffice.csproj.AssemblyReference.cache index b4f8b652..8cc00dab 100644 Binary files a/OnDocOffice/obj/Debug/OnDocOffice.csproj.AssemblyReference.cache and b/OnDocOffice/obj/Debug/OnDocOffice.csproj.AssemblyReference.cache differ diff --git a/OnDocOffice/obj/Debug/OnDocOffice.csproj.CoreCompileInputs.cache b/OnDocOffice/obj/Debug/OnDocOffice.csproj.CoreCompileInputs.cache index aa0a5024..d303be14 100644 --- a/OnDocOffice/obj/Debug/OnDocOffice.csproj.CoreCompileInputs.cache +++ b/OnDocOffice/obj/Debug/OnDocOffice.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -c5101a36c8fddf8e12fe66879b3f3cfcf71f4a32fa59c9ab8791bdea561115f3 +a3b1708a192291b2c2e876acac3f1b51e683a976d7596dfaa1794f125f3a970e diff --git a/OnDocOffice/obj/Debug/OnDocOffice.csproj.FileListAbsolute.txt b/OnDocOffice/obj/Debug/OnDocOffice.csproj.FileListAbsolute.txt index c7087d82..8e0f8852 100644 --- a/OnDocOffice/obj/Debug/OnDocOffice.csproj.FileListAbsolute.txt +++ b/OnDocOffice/obj/Debug/OnDocOffice.csproj.FileListAbsolute.txt @@ -43,3 +43,6 @@ E:\Software-Projekte\OnDoc\OnDoc\OnDocOffice\bin\Debug\vbBarcodes.dll E:\Software-Projekte\OnDoc\OnDoc\OnDocOffice\bin\Debug\vbBarcodes.pdb E:\Software-Projekte\OnDoc\OnDoc\OnDocOffice\bin\Debug\vbBarcodes.xml E:\Software-Projekte\OnDoc\OnDoc\OnDocOffice\bin\Debug\MW6.SDK.dll +E:\Software-Projekte\OnDoc\OnDoc\OnDocOffice\bin\Debug\VBOffice.dll +E:\Software-Projekte\OnDoc\OnDoc\OnDocOffice\bin\Debug\VBOffice.pdb +E:\Software-Projekte\OnDoc\OnDoc\OnDocOffice\bin\Debug\VBOffice.xml diff --git a/OnDocOffice/obj/Debug/OnDocOffice.csproj.GenerateResource.cache b/OnDocOffice/obj/Debug/OnDocOffice.csproj.GenerateResource.cache index 44d190df..7c6aa654 100644 Binary files a/OnDocOffice/obj/Debug/OnDocOffice.csproj.GenerateResource.cache and b/OnDocOffice/obj/Debug/OnDocOffice.csproj.GenerateResource.cache differ diff --git a/OnDocOffice/obj/Debug/OnDocOffice.dll b/OnDocOffice/obj/Debug/OnDocOffice.dll index d2f725f6..ab0815e0 100644 Binary files a/OnDocOffice/obj/Debug/OnDocOffice.dll and b/OnDocOffice/obj/Debug/OnDocOffice.dll differ diff --git a/OnDocOffice/obj/Debug/OnDocOffice.pdb b/OnDocOffice/obj/Debug/OnDocOffice.pdb index 3210dd03..42135c73 100644 Binary files a/OnDocOffice/obj/Debug/OnDocOffice.pdb and b/OnDocOffice/obj/Debug/OnDocOffice.pdb differ diff --git a/OnDocWPF/obj/Debug/net8.0-windows/OnDocWPF.AssemblyInfo.cs b/OnDocWPF/obj/Debug/net8.0-windows/OnDocWPF.AssemblyInfo.cs index f6cd585a..4aa37eac 100644 --- a/OnDocWPF/obj/Debug/net8.0-windows/OnDocWPF.AssemblyInfo.cs +++ b/OnDocWPF/obj/Debug/net8.0-windows/OnDocWPF.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("OnDocWPF")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+3e36dd541b11e3e8942c22617c519c25904bd77b")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+3f765247ee134f49933fac6b869ebcef1fafe573")] [assembly: System.Reflection.AssemblyProductAttribute("OnDocWPF")] [assembly: System.Reflection.AssemblyTitleAttribute("OnDocWPF")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/OnDocWPF/obj/Debug/net8.0-windows/OnDocWPF.AssemblyInfoInputs.cache b/OnDocWPF/obj/Debug/net8.0-windows/OnDocWPF.AssemblyInfoInputs.cache index d1d3ff08..6407eeb0 100644 --- a/OnDocWPF/obj/Debug/net8.0-windows/OnDocWPF.AssemblyInfoInputs.cache +++ b/OnDocWPF/obj/Debug/net8.0-windows/OnDocWPF.AssemblyInfoInputs.cache @@ -1 +1 @@ -a19bace92e9de4f8b4437cb71f8e59f3727a08c4ba35c8ff09ab48db3155595b +81feb0337159ee1b6ddf947cb75b7a297b2cfdbbf925b437eb0c11e651b926d8 diff --git a/VBOffice/Class1.vb b/VBOffice/Class1.vb new file mode 100644 index 00000000..88d7af10 --- /dev/null +++ b/VBOffice/Class1.vb @@ -0,0 +1,258 @@ +Imports Microsoft.Office.Interop.Word +Imports Microsoft.Toolkit.Uwp.Notifications +Imports Model + +Public Class VBOffice + + Private WithEvents objWord As Microsoft.Office.Interop.Word.Application + Private WithEvents docWord As Microsoft.Office.Interop.Word.Document + Dim Cursor_Positionieren As Boolean = False + Dim Dokumentdaten As New System.Data.DataTable + Dim CreateDoc As Boolean + Dim dg As Object + Dim Progressvalue As Double + Dim Progressbarvalue As Integer + + Public Sub Fill_Word(ByRef word As Microsoft.Office.Interop.Word.Application, ByRef docata As clsDocData, create As Boolean, dialoggenerate As Object, progessvalue As Double) + objWord = word + docWord = word.ActiveDocument + dg = dialoggenerate + Progressbarvalue = 30 + Me.Progressvalue = progessvalue + + Me.CreateDoc = create + objWord.WindowState = Microsoft.Office.Interop.Word.WdWindowState.wdWindowStateMinimize + objWord.ScreenUpdating = False + + Dokumentdaten.Columns.Add("beginntextmarke") + Dokumentdaten.Columns.Add("endetextmarke") + Dokumentdaten.Columns.Add("used") + Dokumentdaten.Columns.Add("aktiv") + Dokumentdaten.Columns.Add("xvalue") + Dokumentdaten.Columns.Add("feldname") + + + For i As Integer = 0 To docata.DocValues.Count - 1 + Dim dr As System.Data.DataRow = Dokumentdaten.NewRow + dr(0) = docata.DocValues(i).TMBeginn + dr(1) = docata.DocValues(i).TMEnd + dr(2) = 1 + dr(3) = 1 + dr(4) = docata.DocValues(i).Value + dr(5) = docata.DocValues(i).FieldName + Dokumentdaten.Rows.Add(dr) + + + Next + Dokumentdaten.AcceptChanges() + + + If docata.Kopfzeile_generieren = True Then Insert_Kopfzeile() + Dokumentwerte_Uebertragen(False) + word.ScreenUpdating = True + + End Sub + + Private Sub Insert_Kopfzeile() + On Error Resume Next + objWord.Selection.HomeKey(Unit:=Microsoft.Office.Interop.Word.WdUnits.wdStory) + If objWord.ActiveWindow.View.SplitSpecial <> Microsoft.Office.Interop.Word.WdSpecialPane.wdPaneNone Then + objWord.ActiveWindow.Panes.Item(2).Close() + End If + If objWord.ActiveWindow.ActivePane.View.Type = Microsoft.Office.Interop.Word.WdViewType.wdNormalView Or objWord.ActiveWindow.ActivePane.View.Type = Microsoft.Office.Interop.Word.WdViewType.wdOutlineView Then + objWord.ActiveWindow.ActivePane.View.Type = Microsoft.Office.Interop.Word.WdViewType.wdPrintView + End If + objWord.ActiveWindow.ActivePane.View.SeekView = Microsoft.Office.Interop.Word.WdSeekView.wdSeekCurrentPageHeader + set_headerbookmark() + objWord.ActiveWindow.ActivePane.View.SeekView = Microsoft.Office.Interop.Word.WdSeekView.wdSeekMainDocument + End Sub + + Private Sub set_headerbookmark() + Try + docWord.Bookmarks.Item("TGEDKCompanyBBEB99").Select() + Catch + objWord.Selection.MoveDown(Unit:=Microsoft.Office.Interop.Word.WdUnits.wdLine, Count:=1) + With objWord.ActiveDocument.Bookmarks + .Add(Range:=objWord.Selection.Range, Name:="TGEDKCompanyBBEB99") + .DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName + .ShowHidden = False + End With + End Try + End Sub + + Private Sub Dokumentwerte_Uebertragen(ByVal AusParametrisierung As Boolean) + + Dim i As Long + Dim pos As Long + Dim pos2 As Long + Dim Fieldlen As Long + For i = 0 To Dokumentdaten.Rows.Count - 1 + dg.set_progress(Me.Progressbarvalue + (i * Progressvalue), Dokumentdaten.Rows(i).Item("beginntextmarke").ToString) + '.add_progress(Progressvalue, Dokumentdaten.Rows(i).Item("beginntextmarke").ToString) + 'Threading.Thread.CurrentThread.Sleep(400) + 'Beginn-Textmarke + If Dokumentdaten.Rows(i).Item("aktiv") = True Then + If Dokumentdaten.Rows(i).Item("beginntextmarke") Is System.DBNull.Value Then + Dokumentdaten.Rows(i).Item("beginntextmarke") = "" + End If + If Dokumentdaten.Rows(i).Item("endetextmarke") Is System.DBNull.Value Then + Dokumentdaten.Rows(i).Item("endetextmarke") = "" + End If + If Dokumentdaten.Rows(i).Item("feldname") Is System.DBNull.Value Then + Dokumentdaten.Rows(i).Item("feldname") = "" + End If + + If Dokumentdaten.Rows(i).Item("beginntextmarke") = "TGEDKCursor" Or + Dokumentdaten.Rows(i).Item("beginntextmarke") = "TGEDKCursorB" Or + Dokumentdaten.Rows(i).Item("feldname") = "TGEDKCursorB" Or + Dokumentdaten.Rows(i).Item("feldname") = "TGEDKCursor" Then + Cursor_Positionieren = True + Else + + + If Dokumentdaten.Rows(i).Item("beginntextmarke") <> "" And + Dokumentdaten.Rows(i).Item("endetextmarke") = "" Then + Try + docWord.Bookmarks.Item(Dokumentdaten.Rows(i).Item("beginntextmarke")).Select() + pos = docWord.Bookmarks.Item(Dokumentdaten.Rows(i).Item("beginntextmarke")).Start + If AusParametrisierung Then + objWord.Selection.Text = Dokumentdaten.Rows(i).Item("testdaten") + Else + If Dokumentdaten.Rows(i).Item("used") = 1 Then + 'If Dokumentdaten.Rows(i).Item("xvalue") <> "" Then + ' If Microsoft.VisualBasic.Left(Dokumentdaten.Rows(i).Item("beginntextmarke"), 19) = "TGEDKDirektTelefonB" Or _ + ' Microsoft.VisualBasic.Left(Dokumentdaten.Rows(i).Item("beginntextmarke"), 19) = "TGEDKDirektTelefonZ" Then + ' objword.Visible = True + ' objword.Selection.Text = Dokumentdaten.Rows(i).Item("xvalue") + " " + ' Else + objWord.Selection.Text = Dokumentdaten.Rows(i).Item("xvalue") + ' End If + End If + End If + pos2 = objWord.Selection.End + If Microsoft.VisualBasic.Left(Dokumentdaten.Rows(i).Item("beginntextmarke"), 19) = "XTGEDKDirektTelefonB" Or + Microsoft.VisualBasic.Left(Dokumentdaten.Rows(i).Item("beginntextmarke"), 23) = "XTGEDKVornameNameBetreue" Or + Microsoft.VisualBasic.Left(Dokumentdaten.Rows(i).Item("beginntextmarke"), 19) = "XTGEDKDirektTelefonZ" Then + objWord.Selection.MoveLeft(Unit:=Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count:=1) + 'hutter + If Me.CreateDoc Then objWord.Selection.TypeText(Text:=" ") + objWord.Selection.SetRange(Start:=pos + 1, End:=pos2 + 1) + With docWord.Bookmarks + .Add(Range:=objWord.Selection.Range, Name:=Dokumentdaten.Rows(i).Item("beginntextmarke")) + .DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName + .ShowHidden = False + End With + Else + If Microsoft.VisualBasic.Left(Dokumentdaten.Rows(i).Item("beginntextmarke"), 22) = "XTGEDKDirektTelefonDokZ" Or + Microsoft.VisualBasic.Left(Dokumentdaten.Rows(i).Item("beginntextmarke"), 20) = "XTGEDKVornameNameDokZ" Then + objWord.Selection.Text = Dokumentdaten.Rows(i).Item("xvalue") + objWord.Selection.MoveLeft(Unit:=Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count:=1) + objWord.Selection.TypeText(Text:=" ") + objWord.Selection.SetRange(Start:=pos + 1, End:=pos2 + 1) + With docWord.Bookmarks + .Add(Range:=objWord.Selection.Range, Name:=Dokumentdaten.Rows(i).Item("beginntextmarke")) + .DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName + .ShowHidden = False + End With + Else + objWord.Visible = True + objWord.Selection.SetRange(Start:=pos, End:=pos2) + With docWord.Bookmarks + .Add(Range:=objWord.Selection.Range, Name:=Dokumentdaten.Rows(i).Item("beginntextmarke")) + .DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName + .ShowHidden = False + End With + End If + End If + objWord.Selection.MoveLeft(Unit:=Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count:=1) + objWord.Selection.MoveLeft(Unit:=Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count:=2, Extend:=Microsoft.Office.Interop.Word.WdMovementType.wdExtend) + If objWord.Selection.Text = " " Then + objWord.Selection.MoveRight(Unit:=Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count:=1) + objWord.Selection.MoveLeft(Unit:=Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count:=1, Extend:=Microsoft.Office.Interop.Word.WdMovementType.wdExtend) + objWord.Selection.Delete(Unit:=Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count:=1) + End If + + Catch + End Try + 'EDEX Banklagernd + End If + + + 'Beginn- und Ende-Textmarke + If Dokumentdaten.Rows(i).Item("beginntextmarke") <> "" And + Dokumentdaten.Rows(i).Item("endetextmarke") <> "" Then + Try + docWord.Bookmarks.Item(Dokumentdaten.Rows(i).Item("beginntextmarke")).Select() + pos = docWord.Bookmarks.Item(Dokumentdaten.Rows(i).Item("beginntextmarke")).Start + docWord.Bookmarks.Item(Dokumentdaten.Rows(i).Item("endetextmarke")).Select() + pos2 = docWord.Bookmarks.Item(Dokumentdaten.Rows(i).Item("endetextmarke")).Start + objWord.Selection.SetRange(Start:=pos, End:=pos2) + If AusParametrisierung Then + objWord.Selection.TypeText(Text:=Dokumentdaten.Rows(i).Item("testdaten")) + Else + If Dokumentdaten.Rows(i).Item("used") = 1 Then + ' If Dokumentdaten.Rows(i).Item("xvalue") <> "" Then + objWord.Selection.TypeText(Text:=Dokumentdaten.Rows(i).Item("xvalue")) + End If + End If + With docWord.Bookmarks + .Add(Range:=objWord.Selection.Range, Name:=Dokumentdaten.Rows(i).Item("beginntextmarke")) + .DefaultSorting = Microsoft.Office.Interop.Word.WdBookmarkSortBy.wdSortByName + .ShowHidden = False + End With + Catch + End Try + End If + 'Felder + If Dokumentdaten.Rows(i).Item("feldname") <> "" Then + Try + 'contentcontrols + If Dokumentdaten.Rows(i).Item("feldname").ToString.Substring(0, 3) = "cc_" Then + objWord.ActiveDocument.SelectContentControlsByTag(Dokumentdaten.Rows(i).Item("feldname")).Item(1).Range.Text = Dokumentdaten.Rows(i).Item("xvalue") + End If + If docWord.FormFields.Item(Dokumentdaten.Rows(i).Item("feldname")).TextInput.Width <> 0 Then + Fieldlen = docWord.FormFields.Item(Dokumentdaten.Rows(i).Item("feldname")).TextInput.Width + docWord.FormFields.Item(Dokumentdaten.Rows(i).Item("feldname")).TextInput.Width = Fieldlen + 5 + End If + If AusParametrisierung Then + docWord.FormFields.Item(Dokumentdaten.Rows(i).Item("feldname")).Result = convert_wordfelder(Dokumentdaten.Rows(i).Item("testdaten")) + Else + If Dokumentdaten.Rows(i).Item("used") = 1 Then + ' If Dokumentdaten.Rows(i).Item("xvalue") <> "" Then + docWord.FormFields.Item(Dokumentdaten.Rows(i).Item("feldname")).Result = convert_wordfelder(Dokumentdaten.Rows(i).Item("xvalue")) + End If + End If + Catch + End Try + End If + End If + End If + Next + + End Sub + Function convert_wordfelder(ByVal x As String) As String + + + Dim s As String + Dim s1 As String + Dim i As Integer + s = x + i = InStr(s, Chr(13)) + While i > 0 + s = Left(s, i - 1) & "#" & Right(s, Len(s) - (i)) + If Mid(s, i + 1, 1) = Chr(10) Then + s = Left(s, i) & Right(s, Len(s) - (i + 1)) + End If + i = InStr(s, Chr(13)) + End While + i = InStr(s, "#") + While i > 0 + s = Left(s, i - 1) & Chr(11) & Right(s, Len(s) - (i)) + i = InStr(s, "#") + End While + convert_wordfelder = s + + + End Function + +End Class diff --git a/VBOffice/My Project/Application.Designer.vb b/VBOffice/My Project/Application.Designer.vb new file mode 100644 index 00000000..88dd01c7 --- /dev/null +++ b/VBOffice/My Project/Application.Designer.vb @@ -0,0 +1,13 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + diff --git a/VBOffice/My Project/Application.myapp b/VBOffice/My Project/Application.myapp new file mode 100644 index 00000000..758895de --- /dev/null +++ b/VBOffice/My Project/Application.myapp @@ -0,0 +1,10 @@ + + + false + false + 0 + true + 0 + 1 + true + diff --git a/VBOffice/My Project/AssemblyInfo.vb b/VBOffice/My Project/AssemblyInfo.vb new file mode 100644 index 00000000..b9f66d84 --- /dev/null +++ b/VBOffice/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' Allgemeine Informationen über eine Assembly werden über die folgenden +' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, +' die einer Assembly zugeordnet sind. + +' Werte der Assemblyattribute überprüfen + + + + + + + + + + +'Die folgende GUID wird für die typelib-ID verwendet, wenn dieses Projekt für COM verfügbar gemacht wird. + + +' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: +' +' Hauptversion +' Nebenversion +' Buildnummer +' Revision +' +' Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, +' indem Sie "*" wie unten gezeigt eingeben: +' + + + diff --git a/VBOffice/My Project/Resources.Designer.vb b/VBOffice/My Project/Resources.Designer.vb new file mode 100644 index 00000000..49e54904 --- /dev/null +++ b/VBOffice/My Project/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("VBOffice.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/VBOffice/My Project/Resources.resx b/VBOffice/My Project/Resources.resx new file mode 100644 index 00000000..af7dbebb --- /dev/null +++ b/VBOffice/My Project/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/VBOffice/My Project/Settings.Designer.vb b/VBOffice/My Project/Settings.Designer.vb new file mode 100644 index 00000000..3588cf19 --- /dev/null +++ b/VBOffice/My Project/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.VBOffice.My.MySettings + Get + Return Global.VBOffice.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/VBOffice/My Project/Settings.settings b/VBOffice/My Project/Settings.settings new file mode 100644 index 00000000..85b890b3 --- /dev/null +++ b/VBOffice/My Project/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/VBOffice/VBOffice.vbproj b/VBOffice/VBOffice.vbproj new file mode 100644 index 00000000..f31898f5 --- /dev/null +++ b/VBOffice/VBOffice.vbproj @@ -0,0 +1,123 @@ + + + + + Debug + AnyCPU + {63578D09-CC5F-4224-A877-FC2FB12C0A20} + Library + VBOffice + VBOffice + 512 + Windows + v4.8 + true + + + true + full + true + true + bin\Debug\ + VBOffice.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + pdbonly + false + true + true + bin\Release\ + VBOffice.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + On + + + Binary + + + Off + + + On + + + + False + True + ..\Client\bin\Debug\Microsoft.Office.Interop.Excel.dll + + + False + True + ..\Client\bin\Debug\Microsoft.Office.Interop.Word.dll + + + ..\Client\bin\Debug\Microsoft.Toolkit.Uwp.Notifications.dll + + + ..\Model\bin\Debug\Model.dll + + + ..\..\..\EDOKA\Cleint_Erneuerung_DMS_Framwork48\EDOKA\bin\MW6.SDK.dll + + + + + + + + + + + + + + + + + + + + + + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + \ No newline at end of file diff --git a/VBOffice/bin/Debug/MW6.SDK.dll b/VBOffice/bin/Debug/MW6.SDK.dll new file mode 100644 index 00000000..bed1c51c Binary files /dev/null and b/VBOffice/bin/Debug/MW6.SDK.dll differ diff --git a/VBOffice/bin/Debug/Microsoft.Toolkit.Uwp.Notifications.dll b/VBOffice/bin/Debug/Microsoft.Toolkit.Uwp.Notifications.dll new file mode 100644 index 00000000..45056807 Binary files /dev/null and b/VBOffice/bin/Debug/Microsoft.Toolkit.Uwp.Notifications.dll differ diff --git a/VBOffice/bin/Debug/Microsoft.Toolkit.Uwp.Notifications.pdb b/VBOffice/bin/Debug/Microsoft.Toolkit.Uwp.Notifications.pdb new file mode 100644 index 00000000..1c0c5313 Binary files /dev/null and b/VBOffice/bin/Debug/Microsoft.Toolkit.Uwp.Notifications.pdb differ diff --git a/VBOffice/bin/Debug/Model.dll b/VBOffice/bin/Debug/Model.dll new file mode 100644 index 00000000..6721748c Binary files /dev/null and b/VBOffice/bin/Debug/Model.dll differ diff --git a/VBOffice/bin/Debug/Model.pdb b/VBOffice/bin/Debug/Model.pdb new file mode 100644 index 00000000..b46440a6 Binary files /dev/null and b/VBOffice/bin/Debug/Model.pdb differ diff --git a/VBOffice/bin/Debug/System.ValueTuple.dll b/VBOffice/bin/Debug/System.ValueTuple.dll new file mode 100644 index 00000000..4ce28fde Binary files /dev/null and b/VBOffice/bin/Debug/System.ValueTuple.dll differ diff --git a/VBOffice/bin/Debug/VBOffice.dll b/VBOffice/bin/Debug/VBOffice.dll new file mode 100644 index 00000000..b5f5edd6 Binary files /dev/null and b/VBOffice/bin/Debug/VBOffice.dll differ diff --git a/VBOffice/bin/Debug/VBOffice.pdb b/VBOffice/bin/Debug/VBOffice.pdb new file mode 100644 index 00000000..38759ea1 Binary files /dev/null and b/VBOffice/bin/Debug/VBOffice.pdb differ diff --git a/VBOffice/bin/Debug/VBOffice.xml b/VBOffice/bin/Debug/VBOffice.xml new file mode 100644 index 00000000..bfffb245 --- /dev/null +++ b/VBOffice/bin/Debug/VBOffice.xml @@ -0,0 +1,26 @@ + + + + +VBOffice + + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + diff --git a/VBOffice/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.vb b/VBOffice/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.vb new file mode 100644 index 00000000..e7dcac55 --- /dev/null +++ b/VBOffice/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.vb @@ -0,0 +1,7 @@ +' + Option Strict Off + Option Explicit On + + Imports System + Imports System.Reflection + diff --git a/VBOffice/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/VBOffice/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 00000000..4f00d159 Binary files /dev/null and b/VBOffice/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/VBOffice/obj/Debug/VBOffice.Resources.resources b/VBOffice/obj/Debug/VBOffice.Resources.resources new file mode 100644 index 00000000..6c05a977 Binary files /dev/null and b/VBOffice/obj/Debug/VBOffice.Resources.resources differ diff --git a/VBOffice/obj/Debug/VBOffice.dll b/VBOffice/obj/Debug/VBOffice.dll new file mode 100644 index 00000000..b5f5edd6 Binary files /dev/null and b/VBOffice/obj/Debug/VBOffice.dll differ diff --git a/VBOffice/obj/Debug/VBOffice.pdb b/VBOffice/obj/Debug/VBOffice.pdb new file mode 100644 index 00000000..38759ea1 Binary files /dev/null and b/VBOffice/obj/Debug/VBOffice.pdb differ diff --git a/VBOffice/obj/Debug/VBOffice.vbproj.AssemblyReference.cache b/VBOffice/obj/Debug/VBOffice.vbproj.AssemblyReference.cache new file mode 100644 index 00000000..5538491f Binary files /dev/null and b/VBOffice/obj/Debug/VBOffice.vbproj.AssemblyReference.cache differ diff --git a/VBOffice/obj/Debug/VBOffice.vbproj.CoreCompileInputs.cache b/VBOffice/obj/Debug/VBOffice.vbproj.CoreCompileInputs.cache new file mode 100644 index 00000000..9953154f --- /dev/null +++ b/VBOffice/obj/Debug/VBOffice.vbproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +9bfcf0d1d5c59c34683f0c205a14d9156cbf7edb12e7c7a3d02fc257a6be412e diff --git a/VBOffice/obj/Debug/VBOffice.vbproj.FileListAbsolute.txt b/VBOffice/obj/Debug/VBOffice.vbproj.FileListAbsolute.txt new file mode 100644 index 00000000..1a78138a --- /dev/null +++ b/VBOffice/obj/Debug/VBOffice.vbproj.FileListAbsolute.txt @@ -0,0 +1,17 @@ +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\obj\Debug\VBOffice.vbproj.AssemblyReference.cache +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\obj\Debug\VBOffice.Resources.resources +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\obj\Debug\VBOffice.vbproj.GenerateResource.cache +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\obj\Debug\VBOffice.vbproj.CoreCompileInputs.cache +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\VBOffice.dll +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\VBOffice.pdb +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\VBOffice.xml +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\Microsoft.Toolkit.Uwp.Notifications.dll +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\Model.dll +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\MW6.SDK.dll +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\System.ValueTuple.dll +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\Microsoft.Toolkit.Uwp.Notifications.pdb +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\bin\Debug\Model.pdb +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\obj\Debug\VBOffice.vbproj.Up2Date +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\obj\Debug\VBOffice.dll +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\obj\Debug\VBOffice.xml +E:\Software-Projekte\OnDoc\OnDoc\VBOffice\obj\Debug\VBOffice.pdb diff --git a/VBOffice/obj/Debug/VBOffice.vbproj.GenerateResource.cache b/VBOffice/obj/Debug/VBOffice.vbproj.GenerateResource.cache new file mode 100644 index 00000000..1a598239 Binary files /dev/null and b/VBOffice/obj/Debug/VBOffice.vbproj.GenerateResource.cache differ diff --git a/VBOffice/obj/Debug/VBOffice.vbproj.Up2Date b/VBOffice/obj/Debug/VBOffice.vbproj.Up2Date new file mode 100644 index 00000000..e69de29b diff --git a/VBOffice/obj/Debug/VBOffice.xml b/VBOffice/obj/Debug/VBOffice.xml new file mode 100644 index 00000000..bfffb245 --- /dev/null +++ b/VBOffice/obj/Debug/VBOffice.xml @@ -0,0 +1,26 @@ + + + + +VBOffice + + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + diff --git a/ZZ_BarcpdeFromFont/Form1.Designer.cs b/ZZ_BarcpdeFromFont/Form1.Designer.cs index ad8a74f7..f337bd29 100644 --- a/ZZ_BarcpdeFromFont/Form1.Designer.cs +++ b/ZZ_BarcpdeFromFont/Form1.Designer.cs @@ -32,6 +32,32 @@ this.label1 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.textBox5 = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.textBox6 = new System.Windows.Forms.TextBox(); + this.label6 = new System.Windows.Forms.Label(); + this.button2 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.label7 = new System.Windows.Forms.Label(); + this.textBox7 = new System.Windows.Forms.TextBox(); + this.label8 = new System.Windows.Forms.Label(); + this.textBox8 = new System.Windows.Forms.TextBox(); + this.textBox9 = new System.Windows.Forms.TextBox(); + this.label9 = new System.Windows.Forms.Label(); + this.label10 = new System.Windows.Forms.Label(); + this.textBox10 = new System.Windows.Forms.TextBox(); + this.label11 = new System.Windows.Forms.Label(); + this.textBox11 = new System.Windows.Forms.TextBox(); + this.textBox12 = new System.Windows.Forms.TextBox(); + this.label12 = new System.Windows.Forms.Label(); + this.textBox13 = new System.Windows.Forms.TextBox(); + this.label13 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // @@ -54,7 +80,7 @@ // // button1 // - this.button1.Location = new System.Drawing.Point(113, 78); + this.button1.Location = new System.Drawing.Point(31, 88); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 2; @@ -64,17 +90,267 @@ // // pictureBox1 // - this.pictureBox1.Location = new System.Drawing.Point(31, 148); + this.pictureBox1.Location = new System.Drawing.Point(31, 243); this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(643, 483); + this.pictureBox1.Size = new System.Drawing.Size(643, 443); this.pictureBox1.TabIndex = 3; this.pictureBox1.TabStop = false; // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(435, 33); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(69, 20); + this.textBox2.TabIndex = 4; + this.textBox2.Text = "793"; + // + // textBox3 + // + this.textBox3.Location = new System.Drawing.Point(435, 59); + this.textBox3.Name = "textBox3"; + this.textBox3.Size = new System.Drawing.Size(69, 20); + this.textBox3.TabIndex = 5; + this.textBox3.Text = "360"; + // + // textBox4 + // + this.textBox4.Location = new System.Drawing.Point(579, 33); + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(69, 20); + this.textBox4.TabIndex = 6; + this.textBox4.Text = "200"; + // + // textBox5 + // + this.textBox5.Location = new System.Drawing.Point(579, 59); + this.textBox5.Name = "textBox5"; + this.textBox5.Size = new System.Drawing.Size(69, 20); + this.textBox5.TabIndex = 7; + this.textBox5.Text = "33"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(372, 36); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(26, 13); + this.label2.TabIndex = 8; + this.label2.Text = "Top"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(520, 36); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(35, 13); + this.label3.TabIndex = 9; + this.label3.Text = "Width"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(372, 62); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(25, 13); + this.label4.TabIndex = 10; + this.label4.Text = "Left"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(520, 56); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(38, 13); + this.label5.TabIndex = 11; + this.label5.Text = "Height"; + // + // textBox6 + // + this.textBox6.Location = new System.Drawing.Point(435, 122); + this.textBox6.Name = "textBox6"; + this.textBox6.Size = new System.Drawing.Size(69, 20); + this.textBox6.TabIndex = 12; + this.textBox6.Text = "0"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(373, 125); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(56, 13); + this.label6.TabIndex = 13; + this.label6.Text = "Rotatation"; + // + // button2 + // + this.button2.Location = new System.Drawing.Point(31, 119); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(75, 23); + this.button2.TabIndex = 14; + this.button2.Text = "Syncfusion"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // button3 + // + this.button3.Location = new System.Drawing.Point(31, 148); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(75, 23); + this.button3.TabIndex = 15; + this.button3.Text = "Word"; + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(373, 151); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(45, 13); + this.label7.TabIndex = 17; + this.label7.Text = "BC-Font"; + // + // textBox7 + // + this.textBox7.Location = new System.Drawing.Point(435, 148); + this.textBox7.Name = "textBox7"; + this.textBox7.Size = new System.Drawing.Size(69, 20); + this.textBox7.TabIndex = 16; + this.textBox7.Text = "Bar 25i c HR"; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(517, 151); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(45, 13); + this.label8.TabIndex = 19; + this.label8.Text = "BC-Font"; + // + // textBox8 + // + this.textBox8.Location = new System.Drawing.Point(579, 148); + this.textBox8.Name = "textBox8"; + this.textBox8.Size = new System.Drawing.Size(69, 20); + this.textBox8.TabIndex = 18; + this.textBox8.Text = "Futura Book"; + // + // textBox9 + // + this.textBox9.Location = new System.Drawing.Point(579, 122); + this.textBox9.Name = "textBox9"; + this.textBox9.Size = new System.Drawing.Size(69, 20); + this.textBox9.TabIndex = 20; + this.textBox9.Text = "F"; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(520, 122); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(39, 13); + this.label9.TabIndex = 21; + this.label9.Text = "Zusatz"; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(373, 99); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(49, 13); + this.label10.TabIndex = 23; + this.label10.Text = "Img-With"; + // + // textBox10 + // + this.textBox10.Location = new System.Drawing.Point(435, 96); + this.textBox10.Name = "textBox10"; + this.textBox10.Size = new System.Drawing.Size(69, 20); + this.textBox10.TabIndex = 22; + this.textBox10.Text = "350"; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(517, 99); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(35, 13); + this.label11.TabIndex = 25; + this.label11.Text = "Img-H"; + // + // textBox11 + // + this.textBox11.Location = new System.Drawing.Point(579, 96); + this.textBox11.Name = "textBox11"; + this.textBox11.Size = new System.Drawing.Size(69, 20); + this.textBox11.TabIndex = 24; + this.textBox11.Text = "50"; + // + // textBox12 + // + this.textBox12.Location = new System.Drawing.Point(435, 174); + this.textBox12.Name = "textBox12"; + this.textBox12.Size = new System.Drawing.Size(44, 20); + this.textBox12.TabIndex = 26; + this.textBox12.Text = "36"; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(372, 177); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(27, 13); + this.label12.TabIndex = 27; + this.label12.Text = "Size"; + // + // textBox13 + // + this.textBox13.Location = new System.Drawing.Point(579, 177); + this.textBox13.Name = "textBox13"; + this.textBox13.Size = new System.Drawing.Size(44, 20); + this.textBox13.TabIndex = 28; + this.textBox13.Text = "9"; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(520, 181); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(45, 13); + this.label13.TabIndex = 29; + this.label13.Text = "BC-Font"; + // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 707); + this.Controls.Add(this.label13); + this.Controls.Add(this.textBox13); + this.Controls.Add(this.label12); + this.Controls.Add(this.textBox12); + this.Controls.Add(this.label11); + this.Controls.Add(this.textBox11); + this.Controls.Add(this.label10); + this.Controls.Add(this.textBox10); + this.Controls.Add(this.label9); + this.Controls.Add(this.textBox9); + this.Controls.Add(this.label8); + this.Controls.Add(this.textBox8); + this.Controls.Add(this.label7); + this.Controls.Add(this.textBox7); + this.Controls.Add(this.button3); + this.Controls.Add(this.button2); + this.Controls.Add(this.label6); + this.Controls.Add(this.textBox6); + this.Controls.Add(this.label5); + this.Controls.Add(this.label4); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.textBox5); + this.Controls.Add(this.textBox4); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.textBox2); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.button1); this.Controls.Add(this.label1); @@ -94,6 +370,32 @@ private System.Windows.Forms.Label label1; private System.Windows.Forms.Button button1; private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.TextBox textBox4; + private System.Windows.Forms.TextBox textBox5; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox textBox6; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.TextBox textBox7; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.TextBox textBox8; + private System.Windows.Forms.TextBox textBox9; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.TextBox textBox10; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.TextBox textBox11; + private System.Windows.Forms.TextBox textBox12; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.TextBox textBox13; + private System.Windows.Forms.Label label13; } } diff --git a/ZZ_BarcpdeFromFont/Form1.cs b/ZZ_BarcpdeFromFont/Form1.cs index 51ac6539..360d9d84 100644 --- a/ZZ_BarcpdeFromFont/Form1.cs +++ b/ZZ_BarcpdeFromFont/Form1.cs @@ -1,4 +1,5 @@ -using System; +using Microsoft.Office.Interop.Word; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; @@ -7,9 +8,17 @@ using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.Drawing.Text; using System.Linq; +using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; +using Syncfusion.DocIO; +using Syncfusion.DocIO.DLS; +using Shape = Syncfusion.DocIO.DLS.Shape; +using System.IO; +using BarcodeLib; +using System.Xml.Linq; +using Microsoft.Office.Core; namespace ZZ_BarcpdeFromFont @@ -21,13 +30,60 @@ namespace ZZ_BarcpdeFromFont InitializeComponent(); } + public string barcode_font; + public string barcode_fontsize; + public string zusatz_font; + public string zusatz_size; + + public string width; + public string height; + public string top; + public string left; + + public string imagewith; + public string imageheight; + + public string inhalt; + public string zusatz; + public string rotation; private void button1_Click(object sender, EventArgs e) { string inp = Bar25I(this.textBox1.Text); - Font f = new Font("Bar 25i c", 46); + //Font f = new Font("Bar 25i c", 46); BarcodeLib.clsBarI25 barbarcode = new BarcodeLib.clsBarI25(); + BarcodeLib.Barcode Barcode = new BarcodeLib.Barcode(); + + barcode_font = textBox7.Text; + barcode_fontsize = textBox12.Text; + zusatz_font = textBox8.Text; + zusatz_size = textBox13.Text; + + width = textBox4.Text; + height = textBox5.Text; + top = textBox2.Text; + left = textBox3.Text; + + imagewith = textBox10.Text; + imageheight = textBox11.Text; + + inhalt = textBox1.Text; + zusatz = textBox9.Text; + rotation = textBox6.Text; + + // pictureBox1.Image = barbarcode.GetBarI25(Color.Black, Color.White, inp, "Bar 25i c HR", 36, 350, 50, " U", "Futur Book", 8,0); + + System.Drawing.Image barcodeimage; + barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, inhalt, barcode_font, Convert.ToInt32(barcode_fontsize), Convert.ToInt32(imagewith), Convert.ToInt32(imageheight), zusatz, zusatz_font, Convert.ToInt32(zusatz_size), Convert.ToInt32(rotation)); + //barcodeimage = ScaleImage(barcodeimage, Convert.ToInt32(this.imageheight)); + // barcodeimage = ScaleImage(barcodeimage, 200, 33); + //barcodeimage = Barcode.Get_LinerBarcode(Barcoded.Symbology.I2of5, inhalt,inhalt + " "+zusatz,"Below", zusatz_font, Convert.ToInt32(zusatz_size),Convert.ToInt32(rotation)); + //barcodeimage = Barcode.Get_LinerBarcode(Barcoded.Symbology.I2of5, inhalt, inhalt + " " + zusatz, "Below", zusatz_font, Convert.ToInt32(zusatz_size), Convert.ToInt32(rotation)); + barcodeimage = Barcode.Get_LinerBarcode(Barcoded.Symbology.I2of5C ,inhalt, inhalt + " " + zusatz, "Below", zusatz_font, Convert.ToInt32(zusatz_size), Convert.ToInt32(rotation)); + // barcodeimage = AutoSizeImage(barcodeimage, Convert.ToInt32(width), Convert.ToInt32(height),false); + barcodeimage = ScaleImage(barcodeimage, 50); + pictureBox1.Image = barcodeimage; + pictureBox1.Image.Save(@"x:\gaga.png"); - pictureBox1.Image = barbarcode.GetBarI25(Color.Black, Color.White, inp, "Bar 25i c HR", 36, 350, 50, " U", "Futur Book", 8,270); //pictureBox1.Image= DrawText(inp, f, Color.Black, 140,textBox1.Text+ " U"); //pictureBox1.Image = DrawText1(Color.Black, Color.White, "Bar 25i c HR", 36, inp, 350, 50, " U",0); @@ -123,7 +179,7 @@ namespace ZZ_BarcpdeFromFont //} - public Image DrawText(String text, Font font, Color textColor, int maxWidth, String path) + public Image DrawText(String text, System.Drawing.Font font, Color textColor, int maxWidth, String path) { //first, create a dummy bitmap just to get a graphics object Image img = new Bitmap(1, 1); @@ -142,7 +198,7 @@ namespace ZZ_BarcpdeFromFont int multi = 4; //create a new image of the right size - img = new Bitmap((int)textSize.Width*multi, (int)textSize.Height); + img = new Bitmap((int)textSize.Width * multi, (int)textSize.Height); drawing = Graphics.FromImage(img); //Adjust for high quality @@ -158,9 +214,9 @@ namespace ZZ_BarcpdeFromFont //create a brush for the text Brush textBrush = new SolidBrush(textColor); - Font ftext = new Font("Arial", 15,FontStyle.Bold); - drawing.DrawString(text, font, textBrush, new RectangleF(0, 0, textSize.Width*multi, textSize.Height), sf); - drawing.DrawString(path, ftext, textBrush, new RectangleF(50, 50, textSize.Width*multi , textSize.Height ), sf); + System.Drawing.Font ftext = new System.Drawing.Font("Arial", 15, FontStyle.Bold); + drawing.DrawString(text, font, textBrush, new RectangleF(0, 0, textSize.Width * multi, textSize.Height), sf); + drawing.DrawString(path, ftext, textBrush, new RectangleF(50, 50, textSize.Width * multi, textSize.Height), sf); drawing.Save(); @@ -176,20 +232,20 @@ namespace ZZ_BarcpdeFromFont { Bitmap img = new Bitmap(width, height); Graphics Gimg = Graphics.FromImage(img); - Font imgFont = new Font(fontName, fontSize); + System.Drawing.Font imgFont = new System.Drawing.Font(fontName, fontSize); PointF imgPoint = new PointF(5, 5); SolidBrush bForeColor = new SolidBrush(foreColor); SolidBrush bBackColor = new SolidBrush(backColor); Gimg.FillRectangle(bBackColor, 0, 0, width, height); Gimg.DrawString(txt, imgFont, bForeColor, imgPoint); - Font fzFont = new Font("Arial", 9); + System.Drawing.Font fzFont = new System.Drawing.Font("Arial", 9); SizeF textSize = Gimg.MeasureString(zusatz, fzFont, 50); - PointF imgPointZusatz= new PointF(width-textSize.Width-15, 30); + PointF imgPointZusatz = new PointF(width - textSize.Width - 15, 30); Gimg.DrawString(zusatz, fzFont, bForeColor, imgPointZusatz); - return RotateImage(img, rotation,true,true,Color.White); + return RotateImage(img, rotation, true, true, Color.White); //img.Save(imagePath, ImageFormat.Jpeg); } @@ -279,7 +335,7 @@ namespace ZZ_BarcpdeFromFont gfx.InterpolationMode = InterpolationMode.HighQualityBicubic; //now draw our new image onto the graphics object - gfx.DrawImage(img, new Point(0, 0)); + gfx.DrawImage(img, new System.Drawing.Point(0, 0)); //dispose of our Graphics object gfx.Dispose(); @@ -291,6 +347,213 @@ namespace ZZ_BarcpdeFromFont { } - } + public System.Drawing.Image AutoSizeImage(System.Drawing.Image oBitmap, int maxWidth, int maxHeight, bool bStretch = false) + { + + // Größenverhältnis der max. Dimension + float maxRatio = (float)(maxWidth / (double)maxHeight); + + // Bildgröße und aktuelles Größenverhältnis + int imgWidth = oBitmap.Width; + int imgHeight = oBitmap.Height; + float imgRatio = (float)(imgWidth / (double)imgHeight); + + // Bild anpassen? + if (imgWidth > maxWidth | imgHeight > maxHeight | bStretch) + { + if (imgRatio <= maxRatio) + { + // Größenverhältnis des Bildes ist kleiner als die + // maximale Größe, in der das Bild angezeigt werden kann. + // In diesem Fall muss die Bildbreite angepasst werden. + imgWidth = (int)Math.Round(imgWidth / (imgHeight / (double)maxHeight)); + imgHeight = maxHeight; + } + else + { + // Größenverhältnis des Bildes ist größer als die + // maximale Größe, in der das Bild angezeigt werden kann. + // In diesem Fall muss die Bildhöhe angepasst werden. + imgHeight = (int)Math.Round(imgHeight / (imgWidth / (double)maxWidth)); + imgWidth = maxWidth; + } + + // Bitmap-Objekt in der neuen Größe erstellen + var oImage = new Bitmap(imgWidth, imgHeight); + + // Bild interpolieren, damit die Qualität erhalten bleibt + using (Graphics g = Graphics.FromImage(oImage)) + { + g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic; + g.DrawImage(oBitmap, new System.Drawing.Rectangle(0, 0, imgWidth, imgHeight)); + } + + // neues Bitmap zurückgeben + return oImage; + } + else + { + // unverändertes Originalbild zurückgeben + return oBitmap; + } + } + public static System.Drawing.Image ScaleImage(System.Drawing.Image image, int maxWidth, int maxHeight) + { + var ratioX = (double)maxWidth / image.Width; + var ratioY = (double)maxHeight / image.Height; + var ratio = Math.Min(ratioX, ratioY); + + var newWidth = (int)(image.Width * ratio); + var newHeight = (int)(image.Height * ratio); + + var newImage = new Bitmap(newWidth, newHeight); + + using (var graphics = Graphics.FromImage(newImage)) + graphics.DrawImage(image, 0, 0, newWidth, newHeight); + + return newImage; + } + + public static Image ScaleImage(Image image, int height) + { + double ratio = (double)height / image.Height; + int newWidth = (int)(image.Width * ratio); + int newHeight = (int)(image.Height * ratio); + Bitmap newImage = new Bitmap(newWidth, newHeight); + using (Graphics g = Graphics.FromImage(newImage)) + { + g.DrawImage(image, 0, 0, newWidth, newHeight); + } + image.Dispose(); + return newImage; + } + + private void button3_Click(object sender, EventArgs e) + { + Microsoft.Office.Interop.Word.Application word = new Microsoft.Office.Interop.Word.Application(); + word.Documents.Open(@"E:\Software-Projekte\OnDoc\Excel_Dateien\empty.docx"); + FindAndReplaceImages(word.ActiveDocument, @"x:\gaga.png"); + word.Visible = true; + + + } + private void FindAndReplaceImages(Document wordDoc, string imagePath) + { + var sec = wordDoc.Application.Selection.Sections[1]; + + + foreach (Section wordSection in wordDoc.Sections) + { + var footer = sec.Footers[WdHeaderFooterIndex.wdHeaderFooterPrimary]; + //var footerImage = footer.Shapes.AddShape(1, 0, 0, 594, 280); + var footerImage = footer.Shapes.AddShape(1, Convert.ToInt32(this.left), Convert.ToInt32(this.top), Convert.ToInt32(this.width), Convert.ToInt32(this.height)); + footerImage.Fill.UserPicture(imagePath); + footerImage.WrapFormat.Type = WdWrapType.wdWrapThrough; + footerImage.WrapFormat.AllowOverlap = -1; + footerImage.WrapFormat.Side = WdWrapSideType.wdWrapBoth; + + footerImage.RelativeHorizontalPosition = WdRelativeHorizontalPosition.wdRelativeHorizontalPositionPage; + footerImage.RelativeVerticalPosition = WdRelativeVerticalPosition.wdRelativeVerticalPositionPage; + footerImage.Top = (float)Convert.ToInt32(this.top); + } + } + + public void Lic() + { + // 25. string lickey = "Ngo9BigBOggjHTQxAR8/V1NCaF5cXmZCf1FpRmJGdld5fUVHYVZUTXxaS00DNHVRdkdnWXdecXRdQ2heUU13XUI=" + //string lickey = "Ngo9BigBOggjHTQxAR8/V1NCaF5cXmZCf1FpRmJGdld5fUVHYVZUTXxaS00DNHVRdkdnWXZeeXRQR2NZUEZ2WkE="; + string lickey = "MzYzODg2NkAzMjM4MmUzMDJlMzBTOWljRmxNelA1d1VGOHpGR0lxQzB6UTAwKzIxK2VBNEhBZFp5alcxb1NVPQ=="; + Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense(lickey); + } + + private void button2_Click(object sender, EventArgs e) + { + WordDocument document = new WordDocument(); + document.Open(@"E:\Software-Projekte\OnDoc\Excel_Dateien\empty.docx"); + + IWParagraph paragraph = document.Sections[0].Paragraphs[0]; + if (document.Sections.Count < 1) + { + document.AddSection(); + } + IWParagraph footerparagraph; + if (document.Sections[0].HeadersFooters.Footer.Paragraphs.Count < 1) + { + footerparagraph = document.Sections[0].HeadersFooters.Footer.AddParagraph(); + } + footerparagraph = document.Sections[0].HeadersFooters.Footer.Paragraphs[0]; + System.Drawing.Image sfimage = Image.FromFile(@"x:\gaga.png"); + //sfimage = AutoSizeImage(sfimage, Convert.ToInt32(this.width), Convert.ToInt32(this.height), false); + //sfimage = ScaleImage(sfimage, Convert.ToInt32(this.width), Convert.ToInt32(this.height)); + + Shape rectangle = footerparagraph.AppendShape(AutoShapeType.Rectangle, Convert.ToInt32(this.width), Convert.ToInt32(this.height)); + paragraph = rectangle.TextBody.AddParagraph() as WParagraph; + rectangle.LineFormat.Line = false; + + + IWPicture pic = paragraph.AppendPicture(sfimage); + pic.Width = 160; + pic.Height = 28; + + + rectangle.VerticalPosition = (Convert.ToInt32(this.top)/150 * 2.83465f); + rectangle.HorizontalPosition = Convert.ToInt32(this.left); + //rectangle.LineFormat.DashStyle = LineDashing.Dot; + //rectangle.LineFormat.Color = Color.DarkGray; + //IWParagraph rectangleparagraph = rectangle.TextBody.AddParagraph(); + //IWPicture picture = rectangleparagraph.AppendPicture(sfimage); + //footerparagraph.AppendShape + document.Save(@"x:\gaga.docx"); + document.Close(); + System.Diagnostics.Process.Start("winword.exe", "/w " + @"x:\gaga.docx"); + + return; + //WordDocument document = new WordDocument(); + //document.Open(@"E:\Software-Projekte\OnDoc\Excel_Dateien\empty.docx"); + ////Add a new section to the document. + //IWSection section = document.AddSection(); + ////Add a new paragraph to the section. + //IWParagraph paragraph = section.AddParagraph() as WParagraph; + //Shape rectangle = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100); + //rectangle.VerticalPosition = 72; + //rectangle.HorizontalPosition = 72; + //paragraph = section.AddParagraph() as WParagraph; + //paragraph = rectangle.TextBody.AddParagraph() as WParagraph; + //System.Drawing.Image sfimage = Image.FromFile(@"x:\gaga.png"); + //paragraph.AppendPicture(sfimage); + //IWTextRange text = paragraph.AppendText("This text is in rounded rectangle shape"); + //text.CharacterFormat.TextColor = Color.Green; + //text.CharacterFormat.Bold = true; + ////Apply fill color for shape. + //rectangle.FillFormat.Fill = true; + //rectangle.FillFormat.Color = Color.LightGray; + ////Set transparency (opacity) to the shape fill color. + //rectangle.FillFormat.Transparency = 75; + ////Apply wrap formats. + //rectangle.WrapFormat.TextWrappingStyle = TextWrappingStyle.Square; + //rectangle.WrapFormat.TextWrappingType = TextWrappingType.Right; + ////Set horizontal and vertical origin. + //rectangle.HorizontalOrigin = HorizontalOrigin.Margin; + //rectangle.VerticalOrigin = VerticalOrigin.Page; + ////Set line format. + //rectangle.LineFormat.DashStyle = LineDashing.Dot; + //rectangle.LineFormat.Color = Color.DarkGray; + ////Set the left internal margin for the shape. + //rectangle.TextFrame.InternalMargin.Left = 30; + ////Set the right internal margin for the shape. + //rectangle.TextFrame.InternalMargin.Right = 24; + ////Set the bottom internal margin for the shape. + //rectangle.TextFrame.InternalMargin.Bottom = 18; + ////Set the top internal margin for the shape. + //rectangle.TextFrame.InternalMargin.Top = 6; + ////Saves the Word document to MemoryStream + + //document.Save(@"x:\gaga.docx", FormatType.Docx); + ////Closes the Word document + //document.Close(); + + + } + } } diff --git a/ZZ_BarcpdeFromFont/ZZ_BarcpdeFromFont.csproj b/ZZ_BarcpdeFromFont/ZZ_BarcpdeFromFont.csproj index 798c2ddd..7f3b540f 100644 --- a/ZZ_BarcpdeFromFont/ZZ_BarcpdeFromFont.csproj +++ b/ZZ_BarcpdeFromFont/ZZ_BarcpdeFromFont.csproj @@ -36,6 +36,24 @@ ..\BarcodeLib\bin\Debug\BarcodeLib.dll + + False + True + ..\Client\bin\Debug\Microsoft.Office.Interop.Word.dll + + + False + True + ..\Client\bin\Debug\Office.dll + + + False + C:\Program Files (x86)\Syncfusion\Essential Studio\Windows\28.1.33\Assemblies\4.6.2\Syncfusion.DocIO.Base.dll + + + False + ..\DOCGEN\bin\Debug\Syncfusion.Licensing.dll + @@ -47,6 +65,9 @@ + + ..\vbBarcodes\bin\Debug\vbBarcodes.dll + diff --git a/ZZ_BarcpdeFromFont/bin/Debug/BarcodeLib.dll b/ZZ_BarcpdeFromFont/bin/Debug/BarcodeLib.dll index f516114b..b272b585 100644 Binary files a/ZZ_BarcpdeFromFont/bin/Debug/BarcodeLib.dll and b/ZZ_BarcpdeFromFont/bin/Debug/BarcodeLib.dll differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/BarcodeLib.pdb b/ZZ_BarcpdeFromFont/bin/Debug/BarcodeLib.pdb index 9ce038de..73893a25 100644 Binary files a/ZZ_BarcpdeFromFont/bin/Debug/BarcodeLib.pdb and b/ZZ_BarcpdeFromFont/bin/Debug/BarcodeLib.pdb differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Database.dll b/ZZ_BarcpdeFromFont/bin/Debug/Database.dll index 92d273ba..3f4307df 100644 Binary files a/ZZ_BarcpdeFromFont/bin/Debug/Database.dll and b/ZZ_BarcpdeFromFont/bin/Debug/Database.dll differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Database.pdb b/ZZ_BarcpdeFromFont/bin/Debug/Database.pdb index aa95d7a6..687ac543 100644 Binary files a/ZZ_BarcpdeFromFont/bin/Debug/Database.pdb and b/ZZ_BarcpdeFromFont/bin/Debug/Database.pdb differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/MW6.SDK.dll b/ZZ_BarcpdeFromFont/bin/Debug/MW6.SDK.dll new file mode 100644 index 00000000..bed1c51c Binary files /dev/null and b/ZZ_BarcpdeFromFont/bin/Debug/MW6.SDK.dll differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Model.dll b/ZZ_BarcpdeFromFont/bin/Debug/Model.dll index 69e9105c..6721748c 100644 Binary files a/ZZ_BarcpdeFromFont/bin/Debug/Model.dll and b/ZZ_BarcpdeFromFont/bin/Debug/Model.dll differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Model.pdb b/ZZ_BarcpdeFromFont/bin/Debug/Model.pdb index c6224b79..b46440a6 100644 Binary files a/ZZ_BarcpdeFromFont/bin/Debug/Model.pdb and b/ZZ_BarcpdeFromFont/bin/Debug/Model.pdb differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.Compression.Base.dll b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.Compression.Base.dll new file mode 100644 index 00000000..21af3f76 Binary files /dev/null and b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.Compression.Base.dll differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.Compression.Base.xml b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.Compression.Base.xml new file mode 100644 index 00000000..9c9e3344 --- /dev/null +++ b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.Compression.Base.xml @@ -0,0 +1,15279 @@ + + + + Syncfusion.Compression.Base + + + + + Checksum calculator, based on Adler32 algorithm. + + + + + Bits offset, used in adler checksum calculation. + + + + + Lagrest prime, less than 65535 + + + + + Count of iteration used in calculated of the adler checksumm. + + + + + Updates checksum by calculating checksum of the + given buffer and adding it to current value. + + Current checksum. + Data byte array. + Offset in the buffer. + Length of data to be used from the stream. + + + + Generates checksum by calculating checksum of the + given buffer. + + Data byte array. + Offset in the buffer. + Length of data to be used from the stream. + + + + Reader, that reads stream with compressed data + + + + + Mask for compression method to be decoded from 16-bit header. + + + + + Mask for compression info to be decoded from 16-bit header. + + + + + Mask for check bits to be decoded from 16-bit header. + + + + + Mask for dictionary presence to be decoded from 16-bit header. + + + + + Mask for compression level to be decoded from 16-bit header. + + + + + Maximum size of the data window. + + + + + Maximum length of the repeatable block. + + + + + End of the block sign. + + + + + Minimal length code. + + + + + Maximal length code. + + + + + Maximal distance code. + + + + + Minimum count of repetions. + + + + + Bits, that responds for different repetion modes. + + + + + Length bases. + + + + + Length extended bits count. + + + + + Distance bases. + + + + + Distance extanded bits count. + + + + + Input stream. + + + + + Currently calculated checksum, + based on Adler32 algorithm. + + + + + Currently read 4 bytes. + + + + + Count of bits that are in buffer. + + + + + Temporary buffer. + + + + + 32k buffer for unpacked data. + + + + + No wrap mode. + + + + + Window size, can not be larger than 32k. + + + + + Current position in output stream. + Current in-block position can be extracted by applying Int16.MaxValue mask. + + + + + Data length. + Current in-block position can be extracted by applying Int16.MaxValue mask. + + + + + Sign of uncompressed data reading. + + + + + Size of the block with uncompressed data. + + + + + Specifies wheather next block can to be read. + Reading can be denied because the header of the last block have been read. + + + + + Specifies wheather user can read more data from stream. + + + + + Current lengths huffman tree. + + + + + Current distances huffman tree. + + + + + Specifies wheather checksum has been read. + + + + + TODO: place correct comment here + + + + + + Creates new reader for streams with compressed data. + + + + + + + Resets current checksum to 1. + + + + + Updates checksum by calculating checksum of the + given buffer and adding it to current value. + + Data byte array. + Offset in the buffer. + Length of data to be used from the stream. + + + + Discards left-most partially used byte. + + + + + Reads array of bytes. + + Output buffer. + Offset in output buffer. + Length of the data to be read. + Count of bytes actually read to the buffer. + + + + Fill`s empty parts of the buffer. + + + + + Reads specified count of bits without adjusting position. + + Count of bits to be read. + Read value. + + + + Skips specified count of bits. + + Count of bits to be skipped. + + + + Reads specified count of bits from stream. + + Count of bits to be read. + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + TODO: place correct comment here + + + + + Reads ZLib header with compression method and flags. + + + + + TODO: place correct comment here + + + TODO: place correct comment here + + + + + + + Reades dynamic huffman codes from block header. + + Literals/Lengths tree. + Distances tree. + + + + Reads and decodes block of data. + + True if buffer was empty and new data was read, otherwise - False. + + + + Decodes huffman codes. + + True if some data was read. + + + + Reads data to buffer. + + Output buffer for data. + Offset in output data. + Length of the data to be read. + Count of bytes actually read. + + + + GET count of bits available + + + + + Get count of full bytes available. + + + + + Compression level. + + + + + Pack without compression + + + + + Use high speed compression, reduce of data size is low + + + + + Something middle between normal and BestSpeed compressions + + + + + Use normal compression, middle between speed and size + + + + + Pack better but require a little more time + + + + + Use best compression, slow enough + + + + + Represents the compressed stream writer + + + + + Start template of the zlib header. + + + + + Memory usage level. + + + + + Size of the pending buffer. + + + + + Size of the buffer for the huffman encoding. + + + + + Length of the literal alphabet(literal+lengths). + + + + + Distances alphabet length. + + + + + Length of the code-lengths tree. + + + + + Code of the symbol, than means the end of the block. + + + + + Maximum window size. + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Internal compression engine constant + + + + + Output stream. + + + + + Pending buffer for writing. + + + + + Length of the unflushed data. + + + + + Bits cache for pending buffer. + + + + + Count of bits in pending buffer cache. + + + + + If true, no zlib header will be written to the stream. + + + + + Current checksum. + + + + + Current compression level. + + + + + Current tree for literals. + + + + + Current tree for distances. + + + + + Current tree for code lengths. + + + + + Current position in literals and distances buffer. + + + + + Recorded literals buffer. + + + + + Recorded distances buffer. + + + + + Count of the extra bits. + + + + + Static array of the literal codes. + + + + + Static array of the lengths of the literal codes. + + + + + Static array of the distance codes. + + + + + Static array of the lengths of the distance codes. + + + + + If true, no futher writings can be performed. + + + + + Current hash. + + + + + Hash m_HashHead. + + + + + Previous hashes. + + + + + Start of the matched part. + + + + + Length of the matched part. + + + + + Previous match available. + + + + + Start of the data window. + + + + + String start in data window. + + + + + Lookahead. + + + + + Data window. + + + + + Maximum chain length. + + + + + Maximum distance of the search with "lazy" algotithm. + + + + + Nice length of the block. + + + + + Good length of the block. + + + + + Current compression function. + + + + + Current block of the data to be compressed. + + + + + Total count of bytes, that were compressed. + + + + + Offset in the input buffer, where input starts. + + + + + Offset in the input buffer, where input ends. + + + + + If true, stream will be closed after the last block. + + + + + Initializes statical data for huffman compression. + + + + + Initializes compressor and writes ZLib header if needed. + + Output stream. + If true, ZLib header and checksum will not be written. + Compression level. + If true, output stream will be closed after the last block has been written. + + + + Initializes compressor and writes ZLib header if needed. + Compression level is set to normal. + + Output stream. + If true, ZLib header and checksum will not be written. + If true, output stream will be closed after the last block has been written. + + + + Initializes compressor and writes ZLib header. + + Output stream. + Compression level. + If true, output stream will be closed after the last block has been written. + + + + Initializes compressor and writes ZLib header. + + Output stream. + If true, output stream will be closed after the last block has been written. + + + + Compresses data and writes it to the stream. + + Data to compress + offset in data array + length of data to compress + True - write last compress block in stream, + otherwise False + + + + Writes ZLib header to stream. + + + + + Fill the window + + + + + Slides current window, and data, associated with it. + + + + + Updates hash. + + + + + Inserts string to the hash. + + + + + + Searches for the longest match. + + + + + + + Store data without compression. + + + + + + + + Compress with a maximum speed. + + + + + + + + Compress, using maximum compression level. + + + + + + + + CompressData drives actual compression of data + + + + + Reset internal state + + + + + Calculates length code from length. + + Length. + Length code. + + + + Calculates distance code from distance. + + Distance. + Distance code. + + + + Write all trees to pending buffer + + + + + Compress current buffer writing data to pending buffer + + + + + Flush block to output with no compression + + Data to write + Index of first byte to write + Count of bytes to write + True if this is the last block + + + + Flush block to output with compression + + Data to flush + Index of first byte to flush + Count of bytes to flush + True if this is the last block + + + + Add literal to buffer. + + + Value indicating internal buffer is full + + + + Add distance code and length to literal and distance trees + + Distance code + Length + Value indicating if internal buffer is full + + + + write a byte to buffer + + + value to write + + + + + Write a short value to buffer LSB first + + + value to write + + + + + write an integer LSB first + + value to write + + + + Write a block of data to buffer + + data to write + offset of first byte to write + number of bytes to write + + + + Align internal buffer on a byte boundary + + + + + Write bits to internal buffer + + source of bits + number of bits to write + + + + Write a short value to internal buffer most significant byte first + + value to write + + + + Flushes the pending buffer into the given output array. If the + output array is to small, only a partial flush is done. + + + + + Flushes fully recorded bytes to buffer array. + + Count of bytes, added to buffer. + + + + Convert internal buffer to byte array. + Buffer is empty on completion + + + converted buffer contents contents + + + + + Total data processed. + + + + + Return true if input is needed + + + + + Checks, wheather huffman compression buffer is full. + + True if buffer is full. + + + + The number of bits written to the buffer + + + + + Indicates if buffer has been flushed + + + + + Type of the block. + + + + + Data simply stored as is + + + + + An option to use Fixed Huffman tree codes + + + + + An option to use Dynamically built Huffman codes + + + + + Represents the Huffman Tree. + + + + + Frequences of the codes. + + + + + Codes itself. + + + + + Bit counts, needed to encode different codes. + + + + + Count of codes with some lengths. + Index - length, value - count. + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + Data compressor. + + + + + Create a new Huffman tree + + + + + + + + + Resets all code data in tree. + + + + + Writes code to the compressor output stream. + + Code to be written. + + + + Checks wheather tree is empty. + If tree is not empty, then exception will be raised. + + + + + Specifies new arrays of codes and their lengths. + + Array of codes. + Array of code lengths. + + + + Calculates codes from their frequences. + + + + + Build tree with lengths. + + + + + + Builds tree. + + + + + Calculates length of the compressed data. + + Count of bits, the data will occupy. + + + + Calculates code frequences. + + Tree. + + + + Writes tree to output stream. + + Tree to be written. + + + + Length of the tree. + + + + + Lengths of codes in tree. + + + + + Code frequences. + + + + + Huffman tree, used for decompression. + + + + + Maximum count of bits. + + + + + Build huffman tree. + + + + + Huffman tree for encoding and decoding lengths. + + + + + huffman tree for encoding and decoding distances. + + + + + Generates fixed huffman trees. + + + + + Creates huffman tree. + + + + + + Prepares data for generating huffman tree. + + Array of counts of each code length. + Numerical values of the smallest code for each code length. + Array of code lengths. + Calculated tree size. + Code. + + + + Generates huffman tree. + + Array of counts of each code length. + Numerical values of the smallest code for each code length. + Precalculated code. + Array of code lengths. + Calculated size of the tree. + Generated tree. + + + + Builds huffman tree from array of code lengths. + + Array of code lengths. + + + + Reads and decompresses one symbol. + + + + + + + GET huffman tree for encoding and decoding lengths. + + + + + GET huffman tree for encoding and decoding distances. + + + + + Dispose a ArabicShapeRenderer instance. + + + + + Represent a text splitter class and it can be used to split the input text based on the FontScriptType. + + + + + Check whether specified script is EastAsia script or not. + + Represent a FontScriptType to check. + + + + + Check whether specified script is complex script or not. + + Represent a FontScriptType to check. + + + + + Gets a FontScriptType of input character. + + Represent a input character to check. + Returns a FontScriptType of input character. + + + + Gets the fontscript subtype of an input character. + + The input character to check. + The fontscript subtype of the input character. + + + + Get Unicode range for a given font script type. + + Represent the font script type. + Represent whether to get start unicode range or not. + + + + + Split the input text based on the FontScriptType. + + Represent the input text to split. + Represent the FontScriptType of a splitted text. + Retruns the array of splitted text. + + + + Split the input text based on the fontscript type. + + Represent the input text to split. + Represent the fontscript type of a splitted text. + Represent whether to split textrange based on fontscript subtype. + Retruns the array of splitted text. + + + + Split the text by consicutive LTR and RTL + + Represent the source text to split + Represent text range bidi + Represent bidi language of text range + Represent characterRangeType collection + Represent whether previous text is LTR or not + + + + + To check whether the specified character is RTL character or not. + + Specify the character + Return true if the specified character is RTL character + + + + To check whether the specified string is non-word split character (%$#). + + Specify the string to check + Return true if the string is non-word split character + + + + To check whether the specified character is act as non-word split character or not. + + Specify the character to check + Specify the text range bidi value + + + + + To check whether the specified character is word split character ([/;) or not. + + Specify the character + Return true if the specified character is word split character + + + + To check whether the specified character is Arabic character or not. + + Specify the character + Return true if the specified character is Arabic character + + + + To check whether the specified character is Hebrew character or not. + + Specify the character + Return true if the specified character is Hebrew character + + + + To check whether the specified character is Hindi character or not. + + Specify the character + Return true if the specified character is Hindi character + + + + To check whether the specified character is Korean character or not. + + Specify the character + Return true if the specified character is Korean character + + + + To check whether the specified character is Japanese character or not. + + Specify the character + Return true if the specified character is Japanese character + + + + To check whether the specified character is Thai character or not. + + Specify the character + Return true if the specified character is Thai character + + + + To check whether the specified character is Chinese character or not. + + Specify the character + Return true if the specified character is Chinese character + + + + FallbackFont class used to represent a start, end Unicode ranges and font names of fall back font. + + + + + Create a instance of FallbackFont class. + + Represent a start Unicode range of fall back font. + Represent a end Unicode range of fall back font. + Represent a fall back font name or names (split by comma). + + + + Check whether any character of input text is with in the start and end Unicode ranges. + + Represent a input text to check. + Returns true, if any character of input text is in-between start and end Unicode range; Otherwise false. + + + + Get the fallback font script type. + + Returns the script type of a fallback font if is valid range. Otherwise, it is unknown for the custom Unicode ranges. + + + + Check if the start and end Unicode ranges for Arabic are the same. + + Return true if the specified range are same. + + + + Check if the start and end Unicode ranges for Hebrew are the same. + + Return true if the specified ranges are same. + + + + Check if the start and end Unicode ranges for Hindi are the same. + + Return true if the specified ranges are same. + + + + Check if the start and end Unicode ranges for Korean are the same. + + Return true if the specified ranges are same. + + + + Check if the start and end Unicode ranges for Japanese are the same. + + Return true if the specified ranges are same. + + + + Check if the start and end Unicode ranges for Thai are the same. + + Return true if the specified ranges are same. + + + + Check if the start and end Unicode ranges for Chinese are the same. + + Return true if the specified ranges are same. + + + + Gets or Sets a Unicode range of start character which use a fall back font. + + + + + Gets or Sets a Unicode range of end character which use a fall back font. + + + + + Gets the of the fallback font. + + Script type is unknown for the custom Unicode ranges. + + + + Gets or Sets a fall back font names (split by comma). + + + + + Represents a collection of . + + + + + Adds a set of fallback fonts based on given script type. + + Represents a . + Represents a fall back font name or names (split by a comma). + + + + Adds a fallback font to the collection. + + Represent a start Unicode range of fallback font. + Represent a end Unicode range of fallback font. + Represent a fallback font names. + + + + Initializes a set of default fallback fonts. + + + + + Specifies the local ID's. + + + + + African. + + + + + Albanian. + + + + + Amharic. + + + + + Alsatian. + + + + + Arabic Algerian. + + + + + Arabic Bahraini. + + + + + Arabic Egyptian. + + + + + Arabic Iraqi. + + + + + Arabic Jordanian. + + + + + Arabic Kuwaiti. + + + + + Arabic Lebanese. + + + + + Arabic Libyan. + + + + + Arabic Moroccan. + + + + + Arabic Omani. + + + + + Arabic Qatari. + + + + + Arabic Saudi. + + + + + Arabic Syrian. + + + + + Arabic Tunisian. + + + + + Arabic United Arab Emirates. + + + + + Arabic Yemeni. + + + + + Armenian. + + + + + Assamese. + + + + + Azeri Cyrillic. + + + + + Azeri Latin. + + + + + Bashkir. + + + + + Basque. + + + + + Belarusian. + + + + + Bengali (Bangladesh). + + + + + Bengali (India). + + + + + Bosnian (Cyrillic, Bosnia and Herzegovina). + + + + + Bosnian (Bosnia/Herzegovina). + + + + + Bulgarian. + + + + + Breton. + + + + + Burmese. + + + + + Catalan. + + + + + Cherokee - United States. + + + + + Chinese - Hong Kong SAR. + + + + + Chinese - Macao SAR. + + + + + Chinese - People's Republic of China. + + + + + Chinese - Singapore. + + + + + Chinese - Taiwan. + + + + + Corsican. + + + + + Croatian (Bosnia/Herzegovina). + + + + + Croatian. + + + + + Czech. + + + + + Danish. + + + + + Dari. + + + + + Divehi. + + + + + Dutch - Belgium. + + + + + Dutch - Netherlands. + + + + + Edo. + + + + + Estonian. + + + + + English - Australia. + + + + + English - Belize. + + + + + English - Canada. + + + + + English - Caribbean. + + + + + English - Hong Kong SAR. + + + + + English - India. + + + + + English - Indonesia. + + + + + English - Ireland. + + + + + English - Jamaica. + + + + + English - Malaysia. + + + + + English - New Zealand. + + + + + English - Philippines. + + + + + English - Singapore. + + + + + English - South Africa. + + + + + English - Trinidad. + + + + + English - United Kingdom. + + + + + English - United States. + + + + + English - Zimbabwe. + + + + + Faroese. + + + + + Filipino. + + + + + Finnish. + + + + + French - Belgium. + + + + + French - Cameroon. + + + + + French - Canada. + + + + + French - Democratic Rep. of Congo. + + + + + French - Cote d'Ivoire. + + + + + French - France. + + + + + French - Haiti. + + + + + French - Luxembourg. + + + + + French - Mali. + + + + + French - Monaco. + + + + + French - Morocco. + + + + + French - Reunion. + + + + + French - Senegal. + + + + + French - Switzerland. + + + + + French - West Indies. + + + + + Frisian - Netherlands. + + + + + Fulfulde - Nigeria. + + + + + Scottish Gaelic. + + + + + Galician. + + + + + Georgian. + + + + + German - Austria. + + + + + German - Germany. + + + + + German - Liechtenstein. + + + + + German - Luxembourg. + + + + + German - Switzerland. + + + + + Greek. + + + + + Guarani - Paraguay. + + + + + Gujarati. + + + + + Greenlandic. + + + + + Hausa - Nigeria. + + + + + Hawaiian - United States. + + + + + Hebrew. + + + + + Hindi. + + + + + Hungarian. + + + + + Ibibio - Nigeria. + + + + + Icelandic. + + + + + Igbo - Nigeria. + + + + + Indonesian. + + + + + Inuktitut (Latin, Canada). + + + + + Inuktitut. + + + + + Italian - Italy. + + + + + Italian - Switzerland. + + + + + Irish. + + + + + Xhosa. + + + + + Zulu. + + + + + Kannada (India). + + + + + Kanuri - Nigeria. + + + + + Kashmiri. + + + + + Kashmiri (Arabic). + + + + + Kazakh. + + + + + Khmer. + + + + + Konkani. + + + + + Korean. + + + + + Kyrgyz (Cyrillic). + + + + + K'iche. + + + + + Kinyarwanda. + + + + + Lao. + + + + + Latin. + + + + + Latvian. + + + + + Lithuanian. + + + + + Lower Sorbian (Germany). + + + + + Luxembourgish. + + + + + FYRO Macedonian. + + + + + Malay - Brunei Darussalam. + + + + + Malay - Malaysia. + + + + + Malayalam. + + + + + Maltese. + + + + + Manipuri. + + + + + Maori - New Zealand. + + + + + Marathi. + + + + + Mapudungun. + + + + + Mongolian (Cyrillic). + + + + + Mongolian (Mongolian). + + + + + Nepali. + + + + + Nepali - India. + + + + + Norwegian (Bokml). + + + + + Norwegian (Nynorsk). + + + + + Occitan. + + + + + Oriya. + + + + + Oromo. + + + + + Papiamentu. + + + + + Pashto. + + + + + Farsi. + + + + + Polish. + + + + + Portuguese - Brazil. + + + + + Portuguese - Portugal. + + + + + Punjabi (India). + + + + + Punjabi (Pakistan). + + + + + Quecha - Bolivia. + + + + + Quecha - Ecuador. + + + + + Quecha - Peru. + + + + + Romanian. + + + + + Romanian - Moldava. + + + + + Rhaeto-Romanic. + + + + + Russian. + + + + + Russian - Moldava. + + + + + Sami, Inari (Finland). + + + + + Sami, Lule (Norway). + + + + + Sami, Lule (Sweden). + + + + + Sami, Northern (Finland). + + + + + Sami (Lappish). + + + + + Sami, Northern (Sweden). + + + + + Sami, Skolt (Finland). + + + + + Sami, Southern (Norway). + + + + + Sami, Southern (Sweden). + + + + + Sanskrit - India. + + + + + Serbian (Cyrillic, Bosnia and Herzegovina). + + + + + Serbian (Cyrillic). + + + + + Serbian (Latin, Bosnia and Herzegovina). + + + + + Serbian (Latin, Serbia and Montenegro (Former)). + + + + + Serbian (Latin). + + + + + Tswana. + + + + + Sindhi - Pakistan. + + + + + Sindhi - India. + + + + + Sinhalese - Sri Lanka. + + + + + Slovak. + + + + + Slovenian. + + + + + Somali. + + + + + Spanish - Argentina. + + + + + Spanish - Bolivia. + + + + + Spanish - Chile. + + + + + Spanish - Colombia. + + + + + Spanish - Costa Rica. + + + + + Spanish - Dominican Republic. + + + + + Spanish - Ecuador. + + + + + Spanish - El Salvador. + + + + + Spanish - Guatemala. + + + + + Spanish - Honduras. + + + + + Spanish - Mexico. + + + + + Spanish - Nicaragua. + + + + + Spanish - Panama. + + + + + Spanish - Paraguay. + + + + + Spanish - Peru. + + + + + Spanish - Puerto Rico. + + + + + Spanish - International Sort. + + + + + Spanish - Spain (Traditional Sort). + + + + + Spanish - United States. + + + + + Spanish - Uruguay. + + + + + Spanish - Venezuela. + + + + + Sutu. + + + + + Swahili. + + + + + Swedish - Finland. + + + + + Swedish. + + + + + Syriac. + + + + + Tajik. + + + + + Tamazight. + + + + + Tamazight (Latin). + + + + + Tamil. + + + + + Tatar. + + + + + Telugu. + + + + + Thai. + + + + + Tibetan (PRC). + + + + + Tigrigna (Eritrea). + + + + + Tigrigna (Ethiopia). + + + + + Tsonga. + + + + + Turkish. + + + + + Turkmen. + + + + + Uighur - China. + + + + + Ukrainian. + + + + + Sorbian. + + + + + Urdu. + + + + + Uzbek (Cyrillic). + + + + + Uzbek (Latin). + + + + + Venda. + + + + + Vietnamese. + + + + + Welsh. + + + + + Wolof. + + + + + Yakut. + + + + + Yi. + + + + + Yiddish. + + + + + Yoruba. + + + + + Japanese. + + + + + Specifies the script, or language. + + + + + Unknown script type. + + + + + Hindi. + + + + + Korean. + + + + + Chinese. + + + + + Arabic. + + + + + Hebrew. + + + + + Japanese. + + + + + Thai. + + + + + Used to represent the font script type of the text. + + + + + Used to represent the character range type of the text. + + + + + Represents the crop properties used to define the portion of an image to be cropped. + + + + + Gets or sets the x-axis offset of the image to be cropped. + + + Thrown if the specified value for is outside the valid range of -169092 to 169092. + + + The bounding box properties (, , , ) must be set before this cropping property for proper functionality. + + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + + + + Gets or sets the y-axis offset of the image to be cropped. + + + Thrown if the specified value for is outside the valid range of -169092 to 169092. + + + The bounding box properties (, , , ) must be set before this cropping property for proper functionality. + + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + + + + Gets or sets the width of the image to be cropped. + + + Thrown if the specified value for is outside the valid range of 0 to 169092. + + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + + + + Gets or sets the height of the image to be cropped. + + + Thrown if the specified value for is outside the valid range of 0 to 169092. + + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + + + + Gets or sets the location of the left side of a shape used to crop an image. + + + Thrown if the specified value for is outside the valid range of -169092 to 169092. + + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + + + + Gets or sets the location of the top of a shape used to crop an image. + + + Thrown if the specified value for is outside the valid range of -169092 to 169092. + + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + + + + Gets or sets the width of a shape used to crop an image. + + + Thrown if the specified value for is outside the valid range of 0 to 169092. + + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + + + + Gets or sets the height of a shape used to crop an image. + + + Thrown if the specified value for is outside the valid range of 0 to 169092. + + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + //Apply bounding box size and position. + picture.Crop.ContainerWidth = 280.8F; + picture.Crop.ContainerHeight = 180F; + picture.Crop.ContainerLeft = 360F; + picture.Crop.ContainerTop = 180.5F; + //Apply cropping size and offsets. + picture.Crop.Width = 410.4F; + picture.Crop.Height = 252F; + picture.Crop.OffsetX = -28.8F; + picture.Crop.OffsetY = 7.2F; + + + + + + Represents the crop properties used to define the portion of an image to be cropped. + + + + + Creates a copy of the instance. + + A cloned instance of the object. + + + + Releases all resources used by the current instance of the class. + + + + + Gets or sets the value representing the bottom crop of an image. + + + + + Gets or sets the value representing the left crop of an image. + + + + + Gets or sets the value representing the right crop of an image. + + + + + Gets or sets the value representing the top crop of an image. + + + + + Gets or sets the x-axis offset of the image to be cropped. + + + Thrown if the specified value for is outside the valid range of -169092 to 169092. + + + The bounding box properties (, , , ) must be set before this cropping property for proper functionality. + + + + + Gets or sets the y-axis offset of the image to be cropped. + + + Thrown if the specified value for is outside the valid range of -169092 to 169092. + + + The bounding box properties (, , , ) must be set before this cropping property for proper functionality. + + + + + Gets or sets the width of the image to be cropped. + + + Thrown if the specified value for is outside the valid range of 0 to 169092. + + + + + Gets or sets the height of the image to be cropped. + + + Thrown if the specified value for is outside the valid range of 0 to 169092. + + + + + Gets or sets the location of the left side of a shape used to crop an image. + + + Thrown if the specified value for is outside the valid range of -169092 to 169092. + + + + + Gets or sets the location of the top of a shape used to crop an image. + + + Thrown if the specified value for is outside the valid range of -169092 to 169092. + + + + + Gets or sets the width of a shape used to crop an image. + + + Thrown if the specified value for is outside the valid range of 0 to 169092. + + + + + Gets or sets the height of a shape used to crop an image. + + + Thrown if the specified value for is outside the valid range of 0 to 169092. + + + + + Represents the shape properties. + + + + + Gets or sets left value. + + + + + Gets or sets top value. + + + + + Gets or sets width value. + + + + + Gets or sets height value. + + + + + Closes this instance. + + + + + Compares the properies of effect Format. + + + + + + + Gets the properties text for Word comparison + + + + + Flag to identify the shadow effect + + + + + Flag to identify the glow effect + + + + + Flag to identify the reflection effect + + + + + Flag to identify the soft edges effect + + + + + Flag to state there is no soft edges + + + + + Flag to identify the ThreeD Scene effect + + + + + Flag to identify the ThreeD shape effects + + + + + Flag to state the shape contains effect list + + + + + Holds the shadow properties of the shape + + + + + Holds the glow properties of the shape + + + + + Holds the ThreeD properties of the shape + + + + + Holds the reflection properties of the shape + + + + + Holds the soft edge radius + + + + + Collection to maintain the effect extensions + + + + + Keys. + + + + + Initializes the IsTextEffect property with the value passed to the constructor + + + + + Check for the property key from the property collection + + + + + Clones this instance. + + + + + Compares the properies of the shadow format. + + + + + + + Gets the properties text for Word comparison + + + + + Checks whether the shadow effect present or not + + + + + Holds the shadow Offset X + + + + + Holds the shadow Offset X in choiceitem + + + + + Holds the shadow Offset Y + + + + + Holds the shadow Offset Y in choiceitem + + + + + Holds the Shadow Secondary Offset X + + + + + Holds the Shadow Secondary Offset Y + + + + + Holds the Shadow Origin X + + + + + Holds the Shadow Origin Y + + + + + Holds the Shadow Matrix + + + + + Holds the Horizontal Skew Angle + + + + + Holds the Vertical Skew Angle + + + + + Holds the Horizontal Scaling Factor + + + + + Holds the Vertical Scaling Factor + + + + + Either to rotate the shadow effect along with shape + + + + + Holds the Direction angle + + + + + Holds the Distance of shadow from the shape + + + + + Holds the Blur radius of the shadow + + + + + Holds the Shadow alignment + + + + + Holds the shadow color + + + + + Holds the shadow back color + + + + + Holds the name of the shape for which the shadow effect has been applied + + + + + Conveys the type of the shadow applied + + + + + Flag to denote the shadow visiblity + + + + + Holds the value of the shadow opacity + + + + + Flag to denote the shadow transparency to be applied + + + + + Initializes a new instance of the class. + + The shape base. + + + + Clones this instance. + + + + + Clones the list of stream values. + + + + + Clones the stream. + + + + + Compares the properies of the three D format. + + + + + + + Gets the properties text for Word comparison + + + + + Flag to identify the ThreeD scene effects + + + + + Flag to identify the ThreeD shape effects + + + + + Check the threeDeffect is present or not + + + + + Holds the value for the ThreeD Contour Width. + + + + + Holds the value for the ThreeD Extrusion height. + + + + + Tells about the ThreeD Material Type + + + + + Holds the distance of the ThreeD effect from the shape's ground. + + + + + Holds the value for the Bevel Bottom Height. + + + + + Holds the value for the Bevel Bottom Width. + + + + + Bevel Bottom Preset Type + + + + + Holds the value for Bevel Top Height. + + + + + Holds the value for the Bevel Top Width. + + + + + Bevel Top Preset Type + + + + + Holds the color of the contour. + + + + + Holds the Contour opacity value + + + + + Holds the Extrusion Color + + + + + Holds the Extrusion Opacity + + + + + Holds the value of Backdrop's Anchor X'axis + + + + + Holds the value of Backdrop's Anchor Y'axis + + + + + Holds the value of Backdrop's Anchor Z'axis + + + + + Holds the value of Backdrop's Normal X'axis + + + + + Holds the value of Backdrop's Normal Y'axis + + + + + Holds the value of Backdrop's Normal Z'axis + + + + + Holds the value of Backdrop's Up X'axis + + + + + Holds the value of Backdrop's Up Y'axis + + + + + Holds the value of Backdrop's Up Z'axis + + + + + Holds the view value + + + + + Camera preset type + + + + + Holds the value for percentage + + + + + Holds the value of camera rotaton X'axis + + + + + Holds the value of camera rotaton Y'axis + + + + + Holds the value of camera rotaton Z'axis + + + + + LightRig type + + + + + LigthRig Direction + + + + + Holds the value of lightrig rotaton X'axis + + + + + Holds the value of lightrig rotaton Y'axis + + + + + Holds the value of lightrig rotaton Z'axis + + + + + Brightness value for ThreeD effect + + + + + Holds the value of color mode + + + + + Holds the value for diffusity + + + + + Holds the value of Edge + + + + + Holds the value of Facet + + + + + Fore Depth value + + + + + Back Depth value + + + + + Light Level value + + + + + Secondary Light Level value + + + + + LightRig secondary rotation x axis + + + + + LightRig secondary rotation y axis + + + + + LightRig secondary rotation z axis + + + + + Rotation x axis + + + + + Rotation y axis + + + + + Rotation z axis + + + + + Rotation Orientation angle + + + + + Extrusion Plane type + + + + + Extrusion Tyoe + + + + + Extrusion Rendering mode + + + + + Rotation angle x axis + + + + + Rotation angle y axis + + + + + Rotation Center x axis + + + + + Rotation Center y axis + + + + + Rotation center z axis + + + + + Value of Shininess + + + + + Skew Amount + + + + + Skew Angle + + + + + Value for Specularity + + + + + View Point X axis + + + + + View Point Y axis + + + + + Rotation Z axis + + + + + View Point Origin x axis + + + + + View Point Origin Y axis + + + + + Boolean flag for ThreeD Effect Visiblity + + + + + Boolean flag for Light face + + + + + Boolean flag for Light harsh + + + + + Boolean flag for secondary light harsh + + + + + Flag to lock the rotaion center + + + + + Boolean flag to apply metal effect + + + + + Boolean flag for auto rotation center + + + + + Extrusion string + + + + + To Convey the shape has back drop effect + + + + + To Convey the shape has camera effect + + + + + To Convey the shape has light rig effect + + + + + To Convey the shape has bevel bottom + + + + + To Convey the shape has bevel top + + + + + To Convey the shape has contour color + + + + + To Convey the shape has extrusion color + + + + + ThreeD Effects properties + + + + + ThreeD effects extensions. + + + + + Initializes a new instance of the class. + + The shape base. + + + + Compares the properies of the glow format. + + + + + + + Gets the properties text for Word comparison + + + + + Clones this instance. + + + + + checks that glow format present or not + + + + + Key values + + + + + Clones this instance. + + + + + Compares the properies of the reflection format. + + + + + + + Gets the properties text for Word comparison + + + + + Checks whether the reflection effect present or not + + + + + Reflection blur radius + + + + + Specifies the direction to offset the shadow + + + + + Specifies the how far to offset the shadow + + + + + Specifies the start reflection opacity + + + + + Specifies the start position of start opacity + + + + + + Specifies the end reflection opacity + + + + + Specifies the end position of end opacity + + + + + Specifies the fade direction of reflected shadow + + + + + Specifies the angle of horizontal skew + + + + + Specifies the angle of vertical skew + + + + + Specifies the percentage of horizontal ratio + + + + + Specifies the percentage of vertical ratio + + + + + Specifies the if reflection rotates with shape + + + + + Reflected shadow alignment + + + + + Provides the base implementation for all the classes with holder behavior. + + + + + Represents Office Math entity. + + + + + Gets the owner. + + + + + Specifies the OwnerHolder. + + + + + Initializes a new instance of the class. + + + + + Sets the owner. + + + + + Closes this instance. + + + + + Gets the owner. + + + + + Clones the item + + + + + + Closes the instances. + + + + + Gets an integer that represents the number of columns the property is applied to + + + + + Gets or sets a MathHorizontalAlignment constant that represents the horizontal alignment for arguments in a matrix column. + + + + + Represents the collection interface. + + + + + Represents base interface for collections. + + + + + Removes the item from the collection. + + Represents a to remove. + + + + Removes all items from the collection. + + + + + Gets the number of items in collection. + + The integer represents the count of the items. + + + + Initializes a new instance of the class. + + + + + Closes this instance. + + + + + Adds the item in collection + + + + + Removes the item in collection + + Represents a to remove. + + + + Removes all items from the collection. + + + + + Gets the number of Math in the document. + + + + + Gets the innerList. + + + + + Represents an abstract class to read MathML item and its format in document + + + + + Parse the control properties of MathML elements. + + + + + Parse the MathML run elements. + + + + + Represents an abstract class to write the MathML item and its format in document + + + + + Serializes the character format of Math run element + + + + + Serializes control properties of all functions in mathematical equation + + Represents a math function + + + + Serializes paragraph items. + + + + + Represents an equation with a bar above or below the base. + + + + + Represents the Mathematical function. + + + + + Gets the type of the mathematical function.Read-Only. + + + + + Gets or sets a boolean that represents the position of a bar in a bar object. + + + + + Gets a object that represents the base of the specified equation object. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents an interface for border box. + + + + + Gets or sets a value that represents whether to hide the top border of an equation's bounding box. + + True if to hide the top border; otherwise, false. + + + + Gets or sets a value that represents whether to hide the bottom border of an equation's bounding box. + + True if to hide the bottom border; otherwise, false. + + + + Gets or sets a value that represents whether to hide the right border of an equation's bounding box. + + True if to hide the right border; otherwise, false. + + + + Gets or sets a value that represents whether to hide the left border of an equation's bounding box. + + True if to hide the left border; otherwise, false. + + + + Gets or sets a value that represents a diagonal strikethrough from lower left to upper right. + + True if diagonal strikethrough from lower left to upper right; otherwise, false. + + + + Gets or sets a value that represents a diagonal strikethrough from upper left to lower right. + + True if diagonal strikethrough from upper left to lower right; otherwise, false. + + + + Gets or sets a value that represents a vertical strikethrough. + + True if vertical strikethrough ; otherwise, false. + + + + Gets or sets a value that represents a Horizontal strikethrough. + + True if horizontal strikethrough; otherwise, false. + + + + Specifies a object that represents the base of the specified equation object. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents an interface for Box function. + + + + + Gets or sets a value that represents if the operator emulator must be used as an alignment point from which the next line operator emulator starts. + + True if the operator emulator must be used as an alignment point; otherwise, false. + + + + Gets or sets a value that states whether the box acts as the mathematical differential. + + True if the box acts as the mathematical differential; otherwise, false. + + + + Gets or sets a value whether breaks are allowed inside the box object. + + True if breaks are allowed inside the box object; otherwise, false. + + + + Gets or sets a value that states if the box and its contents behave as a single operator and inherit the properties of an operator. + + True if the box and its contents behave as a single operator and inherit the properties of an operator; otherwise, false. + + + + Represents individual line breaks in an equation. + + + + + Specifies a object that represents the base of the specified equation object. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents an interface for Delimiter function. + + + + + Gets or sets a string that represents the beginning delimiter character. + + + + + Gets or sets a string that represents the ending delimiter character. + + + + + Gets or sets a value that represents whether delimiter characters grow to the full height of the arguments that they contain. + + True if delimiter characters grow to the full height of the arguments that they contain; otherwise, false. + + + + Gets or sets a string that represents the separator character in a Math delimiter object when the Math delimiter object contains two or more arguments. + + + + + Gets or sets a mathShapeType constant that represents the appearance of delimiters. + + + + + Specifies a object that represents the base of the specified equation object. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents a mathematical equation array object, consisting of one or more equations that can be vertically justified as a unit respect to surrounding text on the line. + + + + + Gets or sets the vertical alignment for an equation array. + + The member that specifies vertical alignment for an equation array. + + + + Gets or sets a boolean that represents whether the equations in an equation array are distributed equally within the margins of its container, such as a column, cell, or page width. + + The container for an equation array may be the margins of a page, the margins of a table cell, or another container in which the equation may exist. + + + + Gets or sets a boolean that represents whether the equations in an equation array are spaced to the maximum width of the equation array. + + + + + Gets or sets an float that represents the spacing between the rows in an equation array. + + + + + Gets or sets spacing for an equation array. + + The member that specifies the spacing in an equation array. + + + + Returns an object that represents the base of the specified equation object. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents a fraction, consisting of a numerator and denominator separated by a fraction bar. + + + + + Gets or sets a constant that represents the layout of a fraction. Default value is bar. + + + + + Gets an object that represents the denominator for an equation that contains a fraction. + + + + + Gets an object that represents the numerator for a fraction. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents the application of a function or an argument in an equation that consists of a function name, such as sin or cos, and an argument. + + + + + Gets a object that represents the base of the specified equation object. + + + + + Gets a object that represents the name of a mathematical function, such as sin or cos. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents a group character object, consisting of a character drawn above or below text, often with the purpose of visually grouping items. + + + + + Gets or sets a value that represents whether the grouping character is aligned vertically with the surrounding text or whether the base text that is either above or below the grouping character is aligned vertically with the surrounding text. Read/write. + + True if the grouping character is aligned vertically with the surrounding text ; otherwise, false. + + + + Gets or sets a string that represents the character placed above or below text in a group character object. Read/write. + + + + + Gets or sets a valuen that represents whether the grouping character is placed above the base text of the group character object. Read/write. + + True if the grouping character is placed above the base text of the group character object; otherwise, false. + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents the interface of an equation that contains a superscript or subscript to the left of the base. + + + + + Gets the subscript for a Leftscript object. Read-only. + + + + + Gets the superscript for a Leftscript object. Read-only. + + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents an interface for MathML limit equation. + + + + + Gets the type of the limit. + + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets an object that represents the limit of the lower or upper limit object. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents an interface for mathematical matrix, which contain elements in set of rows and columns. + + + + + Gets or sets MathVerticalAlignment constant that represents the vertical alignment for a matrix. + + + + + Gets or sets a float that represents the spacing between columns in a matrix. + + + + + Gets or sets a MathSpacingRule constant that represents the spacing rule for the space that appears between columns in a matrix. + + + + + Gets a object that represents the columns in a matrix. + + + + + Gets or sets an float that represents the spacing for columns in a matrix. + + + + + Gets or sets a boolean that represents whether placeholders in a matrix are hidden from display + + True placeholders do not appear in the matrix; otherwise, falseplaceholders appear in the matrix. + + + + Specifies the object that represent a matrix Row. + + + + + Gets or sets an float that represents the spacing for rows in a matrix. + + + + + Gets or sets a MathSpacingRule constant that represents the spacing rule for rows in a matrix. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents an interface for MathMatrixColumns + + + + + Adds instance to the collection at specified index. + + The Index, where to add the instance. + Returns the newly added . + + + + Adds instance to the collection. + + Returns the newly added . + + + + Gets the specified item in the collection. + + + + + Represents an interface for matrix rows. + + + + + Adds instance to the collection at specified index. + + The Index, where to add the instance. + Returns the newly added . + + + + Adds instance to the collection. + + Returns the newly added . + + + + Gets the specified item in the collection. + + + + + Represents mathematical n-ary object, consisting of an n-ary object, a base (or operand), and optional upper limits and lower limits. + + + + + Gets or sets a string that represents a character used as the n-ary operator. Default value is integral. + + + + + Gets or sets a boolean that represents whether n-ary operators grow to the full height of the arguments that they contain.Default value is false. + + + + + Gets or sets a boolean that represents whether to hide the lower limit of an n-ary operator. Default value is false. + + + + + Gets or sets a boolean that represents whether to hide the upper limit of an n-ary operator. Default value is false. + + + + + Gets or sets a boolean that represents the positioning of n-ary limits in the subscript-superscript or upper limit-lower limit position. Default value is true for integral and false for all other object. + + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets an object that represents the lower limit of an n-ary operator. + + + + + Gets an object that represents the upper limit of an n-ary operator. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents the OfficeMathPara that can be used to format a top level MathML element. + + + + + Gets or sets Office . + + + + + Gets a collection of equations. Use the object to access individual members of the collection. + + + + + Gets the owner. + + + + + + Represents a phantom object, which has two primary uses: (1) adding the spacing of the phantom base without displaying that base or (2) suppressing part of the glyph from spacing considerations + + + + + Gets or sets a boolean that represents whether the contents of a phantom object are visible. + + True phantom base is shown; otherwise, falsephantom base is hidden. + + + + Gets or sets a boolean that represents that the contents of the phantom are visible but that the height is not taken into account in the spacing of the layout. + + True phantom base is shown; otherwise, falsephantom base is hidden. + bool Smash { get; set; } + + Gets or sets a boolean that represents whether a phantom object is transparent. + + True phantom object is transparent; otherwise, falsephantom object is not transparent . + + + + Gets or sets a boolean that represents whether the ascent of the phantom contents is ignored in the spacing of the layout. + + True ascent of the contents of the phantom is not taken into account during layout; otherwise, falsephantom does have ascent. + + + + Gets or sets a boolean that represents whether the descent of the phantom contents is ignored in the spacing of the layout. + + True descent of the contents of the phantom is taken into account during layout.; otherwise, falsephantom does have descent. + + + + Gets or sets a boolean that represents whether the width of a phantom object is ignored in the spacing of the layout. + + Truewidth of the contents of the phantom is not taken into account during layout.; otherwise, falsephantom does have width. + + + + Gets a object that represents the base of the specified equation object. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents an interface for radical function. + + + + + Gets the math object that represents the degree for a radical. Read-only. + + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets or sets a value that represents whether to hide the degree for a radical. + + True if to hide the degree for a radical; otherwise, false. + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents an interface for MathML collection. + + + + + Adds instance to the collection at specified index. + + The Index, where to add the instance. + Returns the newly added . + + + + Adds instance to the collection. + + Returns the newly added . + + + + Represents the specified item in the collection. + + + + + Represents an interface to maintain break between the equation. + + + + + Gets or sets the integer that represents the operator in one line. + + + + + Represents an interface for function collection. + + + + + Adds instance to the collection at specified index. + + The Index, where to add the instance. + Represents the type of function to add. + Returns the newly added . + + + + Adds instance to the collection. + + Returns the newly added . + + + + Represents the specified item in the collection. + + + + + Returns an object that represents a base character with a combining accent mark. Read-only. + + + + + Gets or sets a string that represents the accent character for the object. Read/write. + + + + + Gets a object that represents the base of the specified equation object. Read-only. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents an interface to maintain character format of . + + + + + Creates a duplicate copy of character format + + The reference of the newly created object. + This API is used for internal purpose to clone . + + + + Releases all resources used by the object. + + This API is used for internal purpose to dispose the resources used by . + + + + Represents the object that can be used for formatting the character of the mathematical text. + + + + + Gets or sets a boolean that represents the alignment property. When multiple alignment point is set, lastly set alignment point is considered. Default value is false. + + + + + Gets or sets individual line breaks in an equation. + + + + + Gets or sets a boolean that represents whether the characters in the run are literal (i.e., they are to be interpreted literally and not be built up based on any implied mathematical meaning). Default value is false. + + + + + Gets or sets a boolean that represents whether the run is normal text, i.e., math italics and math spacing are not applied. Default value is false. + + + + + Gets or sets the script applied to the characters in the run. Default value is Roman. + + + + + Gets or sets the style applied to the characters in the run. Default style is italic. + + + + + Represents an interface for Math break collection. + + + + + Adds instance to the collection at specified index. + + The Index, where to add the instance. + Returns the newly added . + + + + Adds instance to the collection. + + Returns the newly added . + + + + Gets mathBreak object that represents the specified item in the collection. + + + + + Represents an equation with a base that contains a superscript or subscript. + + + + + Gets or sets a boolean that represents whether to horizontally align subscripts and superscripts in the object. Read/write. + + + + + Gets an object that represents the subscript for a object. Read-only. + + + + + Gets an object that represents the superscript for a object. Read-only. + + + + + Gets an object that represents the base of the specified equation object. Read-only. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents an equation with a base that contains a subscript or superscript. + + + + + Gets or sets a type to represent either a subscript or superscript. + + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets the type of the script. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents object that provides the base implementation for all items. + + + + + Gets or sets the object that represents a mathematical text. + + + + + Gets the object that can be used for formatting the character of the mathematical text. + + + + + Represents an equation. Math objects are members of the collection. + + + + + Represents an equation. Math objects are members of the collection. + + + + + Gets or sets an integer that represents the script size of an argument. + + The int that specifies the script size of an argument. + + + + Gets or sets an collection that represents the functions contained within an equation. Read-only. + + + + + Gets a object that represents the parent column in a matrix. Read-only. + + + + + Gets a object that represents the parent element. Read-only. + + + + + Gets a object that represents the parent row in a matrix. Read-only. + + + + + Gets a collection that represents the line breaks in an equation.Read-only. + + + + + Specifies an collection that represents the functions contained within an equation. + + + + + Specifies the object that represents the parent column in a matrix. + + + + + Specifies the object that represents the parent row in a matrix. + + + + + Specifies a collection that represents the line breaks in an equation.Read-only. + + + + + Gets the owner math of the object. + + + + + Converts all equations in the collection to professional format. + + + + + Converts all equations in the collection to literal text. + + + + + Converts all equations in the collection to math text. + + + + + Converts all equations in the collection to normal text. + + + + + Converts all equations in the collection to linear format. + + + + + Removes an equation from the collection of equations in a document, range, or selection. + + + + + Closes the object + + + + + Clones the item + + + + + + Gets the property value. + + + + + Sets the property value. + + + + + Return default value of the respective key. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Gets or sets an integer that represents the character position of the alignment point in the equation. Read/write. + + + + + Gets or sets an integer that represents the script size of an argument. + + The int that specifies the script size of an argument. + + + + Gets or sets an collection that represents the functions contained within an equation. Read-only. + + + + + Gets an integer that represents the nesting level for an object. Read-only. + + + + + Gets a object that represents the parent column in a matrix. Read-only. + + + + + Gets a object that represents the parent element. Read-only. + + + + + Gets a object that represents the parent row in a matrix. Read-only. + + + + + Gets a collection that represents the line breaks in an equation.Read-only. + + + + + Gets the propertieshash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Represents an equation with a bar above or below the base. + + + + + Represents the Mathematical function. + + + + + Initializes a new instance of the class with + the owner instance. + + The owner. + + + + Get default control properties of function. + + + + + + Get math paragraph + + + + + + + Gets the type of the mathematical function.Read-Only. + + + + + Keys. + + + + + Specifies a object that represents the base of the specified equation object. + + + + + Holds the collection of properties values and its keys. + + + + + Initializes a new instance of the class. + + + + + Clones the item + + + + + Gets the property value. + + The prop key. + + + + + Sets the property value. + + The property key. + The value. + + + + Sets the default properties. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Closes the instance. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Gets or sets a boolean that represents the position of a bar in a bar object. + + True mathematical overbar.falsemathematical underbar. + + + + Gets a object that represents the base of the specified equation object. + + + + + Gets the PropertiesHash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Represents the class for border box. + + + + + Member that represents the Math object. + + + + + Member to hold the collection of properties values and its keys. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Gets the property value. + + + + + Sets the property value. + + + + + Return default value of the respective key. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Clones the item + + + + + + Closes this Instance. + + + + + Gets or sets a value that represents whether to hide the top border of an equation's bounding box. + + Trueif to hide the top border; otherwise,false. + + + + Gets or sets a value that represents whether to hide the bottom border of an equation's bounding box. + + True if to hide the bottom border; otherwise, false. + + + + Gets or sets a value that represents whether to hide the right border of an equation's bounding box. + + True if to hide the right border; otherwise, false. + + + + Gets or sets a value that represents whether to hide the left border of an equation's bounding box. + + True if to hide the left border; otherwise, false. + + + + Gets or sets a value that represents a diagonal strikethrough from lower left to upper right. + + True if diagonal strikethrough from lower left to upper right; otherwise, false. + + + + Gets or sets a value that represents a diagonal strikethrough from upper left to lower right. + + True if diagonal strikethrough from upper left to lower right; otherwise, false. + + + + Gets or sets a value that represents a Vertical strikethrough. + + True if vertical strikethrough ; otherwise, false. + + + + Gets or sets a value that represents a Horizontal strikethrough. + + True if horizontal strikethrough ; otherwise, false. + + + + Specifies a object that represents the base of the specified equation object.Read-Only. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents the class for Box function. + + + + + Member that represents the Math Object. + + + + + Member that represents individual line breaks in an equation. + + + + + Member to hold the collection of properties values and its keys. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Gets the property value. + + + + + Sets the property value. + + + + + Return default value of the respective key. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Clones the item + + + + + Closes this Instance. + + + + + Gets or sets a value that represents if the operator emulator must be used as an alignment point from which the next line operator emulator starts. + + True if the operator emulator must be used as an alignment point; otherwise, false. + + + + Gets or sets a value that states whether the box acts as the mathematical differential. + + True if the box acts as the mathematical differential; otherwise, false. + + + + Gets or sets a value whether breaks are allowed inside the box object. + + True if breaks are allowed inside the box object; otherwise, false. + + + + Gets or sets a value that states if the box and its contents behave as a single operator and inherit the properties of an operator. + + True if the box and its contents behave as a single operator and inherit the properties of an operator; otherwise, false. + + + + Represents an individual line breaks in an equation. + + + + + Specifies a object that represents the base of the specified equation object. + + + + + Gets the PropertiesHash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents the MathML delimiter equation. + + + + + Member to hold the collection of properties values and its keys. + + + + + Specifies a object that represents the base of the specified equation object. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Gets the property value. + + + + + Sets the property Value. + + + + + Return default value of the respective key. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Clones the item + + + + + Closes this Instance. + + + + + Gets or sets a short that represents the beginning delimiter character. + + + + + Gets or sets a short that represents the ending delimiter character. + + + + + Gets or sets a value that represents whether delimiter characters grow to the full height of the arguments that they contain. + + True if delimiter characters grow to the full height of the arguments that they contain; otherwise, false. + + + + Gets or sets a short that represents the separator character in a math delimiter object when the math delimiter object contains two or more arguments. + + + + + Gets or sets a MathDelimiterShapeType constant that represents the appearance of delimiters. + + + + + Gets a object that represents the base of the specified equation object. Read-only. + + + + + Gets the PropertiesHash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents a mathematical equation array object, consisting of one or more equations that can be vertically justified as a unit respect to surrounding text on the line. + + + + + Specifies an object that represents the base of the specified equation object. + + + + + Holds the collection of properties values and its keys. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Gets the property value. + + The prop key. + + + + + Sets the property value. + + The property key. + The value. + + + + Sets the default properties. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Clones the item + + + + + Closes the instances. + + + + + Gets a object that represents the base of the specified equation object. + + + + + Gets or sets the vertical alignment for an equation array. + + The member that specifies vertical alignment for an equation array. + + + + Gets or sets a boolean that represents whether the equations in an equation array are distributed equally within the margins of its container, such as a column, cell, or page width. + + + + + Gets or sets a boolean that represents whether the equations in an equation array are spaced to the maximum width of the equation array. + + + + + Gets or sets an float that represents the spacing between the rows in an equation array. + + + + + Gets or sets spacing for an equation array. + + The member that specifies the spacing in an equation array. + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Gets the PropertiesHash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Represents a fraction, consisting of a numerator and denominator separated by a fraction bar. + + + + + Specifies an object that represents the denominator for an equation that contains a fraction. + + + + + Specifies a object that represents the numerator for a fraction. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Closes this instance. + + + + + Gets the property value. + + + + + Sets the property value. + + + + + Return default value of the respective key. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Clones the item + + + + + Gets or sets a constant that represents the layout of a fraction. Default value is bar. + + + + + Gets an object that represents the denominator for an equation that contains a fraction. + + + + + Gets an object that represents the numerator for a fraction. + + + + + Gets the propertieshash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents the application of a function or an argument in an equation that consists of a function name, such as sin or cos, and an argument. + + + + + Specifies a object that represents the base of the specified equation object. + + + + + Gets a object that represents the name of a mathematical function, such as sin or cos. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Clones the item + + + + + Gets a object that represents the base of the specified equation object. + + + + + Gets a object that represents the name of a mathematical function, such as sin or cos. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + + Member to hold the collection of properties values and its keys. + + + + + Specifies an object that represents the base of the specified equation object. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Gets the property value. + + + + + Sets the property value. + + + + + Return default value of the respective key. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Clones the item + + + + + Closes this Instance. + + + + + Gets or sets a value that represents whether the grouping character is aligned vertically with the surrounding text or whether the base text that is either above or below the grouping character is aligned vertically with the surrounding text. Read/write. + + True if the grouping character is aligned vertically with the surrounding text ; otherwise, false. + + + + Gets or sets a short that represents the character placed above or below text in a group character object. Read/write. + + + + + Gets or sets a value that represents whether the grouping character is placed above the base text of the group character object. Read/write. + + True if the grouping character is placed above the base text of the group character object; otherwise, false. + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets the PropertiesHash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents the class of an equation that contains a superscript or subscript to the left of the base. + + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets the subscript for a Leftscript object. Read-only. + + + + + Gets the superscript for a Leftscript object. Read-only. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Closes this Instance. + + + + + Clones the item + + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets the subscript for leftscript object. Read-only. + + + + + Gets the superscript for a leftscript object. Read-only. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents the MathLimit Function. + s + + + + Specifies a type to represent either a lower or upperLimit. + + + + + Specifies an object that represents the base of the specified equation object. + + + + + Returns an math object that represents the limit . + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Closes this Instance. + + + + + Clones the item + + + + + Gets or sets a type to represent either a low and upper limit. + + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents an interface for mathematical matrix, which contain elements in set of rows and columns. + + + + + Keys. + + + + + Specifies the object that represent a matrix row. + + + + + Specifies the object that represent a matrix column. + + + + + Holds the collection of properties values and its keys. + + + + + Represents the character format + + + + + Gets the property value. + + The prop key. + + + + + Sets the property value. + + The property key. + The value. + + + + Sets the default properties. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Clones the item + + + + + Removes the items in matrix + + Start column index in range + Start row index in range + End column index in range + End row index in range + + + + Applies the column properties collection values to each column + + + + + Updates the values of column properties collection using column property values. + + + + + Gets the range of arguments. + + + + + Creates an empty arguments for matrix + + Start column index in range + Start row index in range + End column index in range + End row index in range + + + + Updates the number of matrix columns based on the number of cells present in the rows of the matrix. + + + + + Gets the maximum cell count. + + + + + Closes this Instance. + + + + + Gets or sets that represents the vertical alignment for a matrix. + + + + + Gets or sets a float that represents the spacing between columns in a matrix. + + + + + Gets or sets a that represents the spacing rule for the space that appears between columns in a matrix. + + + + + Gets a object that represents the columns in a matrix. + + + + + Gets or sets an float that represents the spacing for columns in a matrix. + + + + + Gets or sets a boolean that represents whether placeholders in a matrix are hidden from display + + True placeholders do not appear in the matrix; otherwise, falseplaceholders appear in the matrix. + + + + Gets or sets the properties of an in an + + + + + Gets or sets the object that represent a matrix Row. + + + + + Gets or sets an float that represents the spacing for rows in a matrix. + + + + + Gets or sets a that represents the spacing rule for rows in a matrix. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Gets the PropertiesHash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Adds instance to the collection at specified index. + + The Index, where to add the instance. + Returns the newly added . + + + + Adds instance to the collection. + + Returns the newly added . + + + + Clone the items in collection + + + + + + Removes the item in collection + + + + + Initializes a new instance of the class. + + + + + Gets the specified item in the collection. + + + + + Removes the item in collection + + + + + Adds instance to the collection at specified index. + + The Index, where to add the instance. + Returns the newly added . + + + + Adds instance to the collection. + + Returns the newly added . + + + + Clone the items in collection + + + + + Initializes a new instance of the class. + + + + + Gets the specified item in the collection. + + + + + Represents the parser for MathML items. + + + + + Maximum opaque limit (100%) and 0% transparent. + + + + + EMUs in one point + + + + + Positive Fixed Angle 60000ths of a degree. + + + + + Hundredths unit + + + + + Positive Fixed Angle 60000ths of a degree. + + + + + Lakh unit + + + + + Space character + + + + + Parse OMathPara which holds the MathML item. + + Represents the reader to read MathML + Represents OfficeMathPara to hold MathML element + Represents documentparser + + + + Parse officemath which holds the mathml functions + + Represents the reader to read mathml + Represents officemath element + + + + Parse officemath which holds the mathml functions + + Represents the reader to read mathml + Represents officemath element + + + + Parse argument properties + + + + + parse the math properties. + + + + + parse the NAry limit location type. + + + + + parse the integral limit location type of math properties. + + + + + parse the default justification of math properties. + + + + + parse the break on subtract operator of math properties. + + + + + parse the break on binary operator of math properties. + + + + + parse the math limit. + + + + + Parse MathML limit properties. + + + + + Parse MathML phantom function. + + + + + Parser MathML phantom properties. + + + + + Parser MathML matrix function. + + + + + Parser MathML matrix properties. + + + + + Parser MathML math matrix. + + + + + Parser MathML matrix column. + + + + + Parser MathML matrix column properties. + + + + + Parser MathML matrix column justification. + + + + + Parser spacing rule of mathematical equation + + + + + Parser MathML matrix justification. + + + + + Parser MathML matrix row. + + + + + Parser MathML NAry function. + + + + + Parse MathML NAry properties. + + + + + Parse MathML radical function. + + + + + Parse MathML radical properties. + + + + + Parse MathML math right script function. + + + + + Parse MathML math right script properties. + + + + + Parse MathML math left script function. + + + + + Parse MathML math left script properties. + + + + + Parse MathML math script function. + + + + + Parser MathML script properties. + + + + + Parser MathML Eqarray function. + + + + + Parser MathML EqArray Properties. + + + + + Parser MathML EqArray justification. + + + + + Parser MathML groupchar function. + + + + + Parse the MathML groupchar properties. + + + + + Parse the MathML bar function. + + + + + Parse the MathML bar properties. + + + + + Parse the MathML accent function. + + + + + Parse the MathML accent properties. + + + + + Parse the control properties of MathML. + + + + + Parse the MathML run format. + + + + + Parser MathML run format script. + + + + + Parser MathML run format style. + + + + + Parse the mathpara properties. + + Represents the reader to read mathml + Represents officemathpara to hold mathml element + + + + Parse the mathpara justication type. + + Represents the reader to read MathML + Represents officemathpara to hold mathml element + + + + Parse the mathbox. + + Represents the reader to read mathml + Represents officemathbox + + + + Parse the mathbox properties. + + Represents the reader to read mathml + Represents officemathbox + + + + Parse the mathborder box. + + Represents the reader to read mathml + Represents officemathborderbox + + + + Parse the mathborderbox properties. + + Represents the reader to read mathml + Represents officemathborderbox + + + + Parse the mathdelimiter. + + Represents the reader to read mathml + Represents officemathdelimiter + + + + Parse the mathdelimiter properties. + + Represents the reader to read mathml + Represents officemathdelimiter + + + + Parse the mathfraction. + + Represents the reader to read mathml + Represents officemathfraction + + + + Parse the mathfraction properties. + + Represents the reader to read mathml + Represents officemathfraction + + + + Parse the mathfraction type. + + Represents the reader to read mathml + Represents officemathfraction + + + + Parse the mathfunc. + + Represents the reader to read mathml + Represents officemathfunc + + + + Parse the mathfunc properties. + + Represents the reader to read mathml + + + + Parse the mathdelimiter shape. + + Represents the reader to read mathml + Represents officemathdelimiter + + + + Parse the mathbreak attributes. + + Represents the reader to read mathml + Represents mathbreak + + + + Returns the boolean value from the current node + + Represents the reader to read mathml + + + + To validate for the Numeric values alone in font size + + + + + To get the float value + + + + + Returns the spacing value based on spacing rule type. + + + + + Skip whitespaces and moves the reader to the next node. + + The xml reader + + + + Parse the Glow Effect + + + + + Parse the Reflection Effect + + + + + Parse the reflection effect of a text range. + + The XmlReader to read attributes and child elements of reflection. + The reflectionFormat object to store parse values. + + + + Gets the point value. + + + + + + + Parse the shadow effect. + + + + + Parse shadow attributes + + + + + Parse the shadow effect of a text range. + + The XmlReader to read attributes and child elements of shadow. + The shadowFormat object to store parse values. + + + + Gets the shadowalignment based on the string value. + + The string value of an alignment. + The corresponding shadowalignment value. + + + + Parse the threeD effect of the textrange. + + The XmlReader to read attributes and child elements of ThreeD. + The threeDFormat object to store parse values. + + + + Parse the threeD properties of the textrange. + + The XmlReader to read attributes and child elements of ThreeD. + The threeDFormat object to store parse values. + + + + Parse the Scene ThreeD properties(scene3d) + + + + + Parse the light rig + + + + + Parse the ThreeD rotation effects + + + + + Parse the camera settings + + + + + Parse the ThreeD back drops + + + + + Parses the color. + + The reader. + The parent element. + The opacity. + + + + + Parses the color transform. + + The reader. + The parent element. + Color of the theme. + The opacity. + + + + Parses the color transform. + + The reader. + Color of the theme. + + + + + Gets the color of the scheme. + + The reader. + + + + + Gets theme color + + + + + + + Gets the hexadecimal color. + + The color. + + + + + Gets the color of the system. + + The reader. + + + + + + + + + + + + Creates xml writer to read data from the stream. + + Data to read. + Created xml writer. + + + + Gets the bool value. + + The value. + + + + + Implemented alternative method to improve the performance + + + + + + + + Gets the percentage. + + The value. + + + + + Converts the linear RGB to RGB. + + The value. + + + + + Converts the color of the HSL to. + + The hue. + The saturation. + The luminance. + + + + + Hues to RGB. + + The n1. + The n2. + The hue. + + + + + Converts based on modulation. + + The value. + The percent. + + + + + Converts the RGB to linear RGB. + + The value. + + + + + Converts based on offset. + + The value. + The percent. + + + + + Converts the colorto HSL. + + The color. + The hue. + The saturation. + The luminance. + + + + Converts based on hue mod. + + The color. + The ratio. + + + + Converts based on hue offset. + + The color. + The angle. + + + + Converts based on sat. + + The color. + The percent. + + + + Converts based on sat mod. + + The color. + The percent. + + + + Converts based on sat offset. + + The color. + The percent. + + + + Converts based on lum. + + The color. + The percent. + + + + Converts based on lum mod. + + The color. + The percent. + + + + Converts based on lum offset. + + The color. + The percent. + + + + Complements the color. + + The color. + + + + + Gammas the color. + + The color. + + + + + Grays the color. + + The color. + + + + + Inverses the color. + + The color. + + + + + Inverses the color of the gamma. + + The color. + + + + + Converts the color by tint. + + The color. + The tint. + + + + + Converts the color by shade. + + The color. + The shade. + + + + + Shades the specified color value. + + The color value. + The shade. + + + + + Applies tint to the specified color value. + + The color value. + The tint. + + + + + Inverses the specified color value. + + The color value. + + + + + Loads an XML document from XmlTextReader. + + The XmlDocument. + The textReader to be loaded + + + + Loads an XML document from a stream. + + The XmlDocument. + The stream to be loaded + + + + Loads an XML document from a file path. + + The XmlDocument. + The filePath to be loaded + + + + Creates and configures an instance of . + + An instance of with DTD processing enabled and XML resolver set to null. + + + + Release the resources occupied by this instance. + + + + + Represents a class to maintain constants for mathematical equation + + + + + Represents the serializer for MathML items. + + + + + Serializes the MathPara. + + + + + Serializes the MathParaProperties. + + + + + Serializes math para justification + + Represents the math para + + + + Serializes the Math element. + + + + + Serializes the Math element in MathPara. + + + + + Serializes the Math function. + + + + + Serializes the math properties. + + + + + Serializes the NAry limit location of math properties. + + + + + Serializes the Intergral limit location of math properties. + + + + + Serializes the default justification of math properties. + + + + + Serializes the break on subtract operator of math properties. + + + + + Serializes the break on binary operator of math properties. + + + + + Serializes the Math upper limit function. + + + + + Serializes the Math upper limit properties. + + + + + Serializes the Math lower limit function. + + + + + Serializes the Math lower limit properties. + + + + + Serializes the Math right script. + + + + + Serializes the Math right script properties. + + + + + Serializes the Math left script function. + + + + + Serializes the Math left script properties. + + + + + Serializes the Math SuperScript. + + + + + Serializes the Math SuperScript properties. + + + + + Serializes the Math SubScript. + + + + + Serializes the Math SubScript properties. + + + + + Serializes the Math equation text. + + + + + Serializes the math run properties. + + + + + Serializes the math format script. + + + + + Serializes the math format style. + + + + + Serializes the Math Accent. + + Represents math accent + + + + Serializes the mathaccent properties. + + Represents math accent + + + + Serializes the math bar. + + Represents math bar + + + + Serializes the math bar properties. + + Represents math bar + + + + Serializes the math box. + + Represents math box + + + + Serializes the mathbox properties. + + Represents math box + + + + Serializes the mathbreak. + + Represents math break + + + + Serializes the math borderbox. + + Represents math borderbox + + + + Serializes the mathborderbox properties. + + Represents math borderbox + + + + Serializes the math delimiter. + + Represents math delimiter + + + + Serializes the mathdelimiter properties. + + Represents math delimiter + + + + Serializes the mathdelimiter shape. + + + + + Serializes the math equation array. + + Represents math eqArray + + + + Serializes the math equation array properties. + + Represents math eqArray + + + + Serializes the math equation spacing rule. + + + + + Serializes the math equation array alignment. + + Represents math eqArray + + + + Serializes the math fraction. + + Represents math fraction + + + + Serializes the math fraction properties. + + Represents math fraction + + + + Serializes the math fraction type. + + + + + Serializes the math func. + + + + + Serializes the math func properties. + + + + + Serializes the math groupchar. + + Represents math groupchar + + + + Serializes the math groupchar properties. + + Represents math groupchar + + + + Serializes the math matrix. + + Represents math matrix + + + + Serializes the math matrix properties. + + Represents math matrix + + + + Serialize the row spacing + + + + + Serializes math matrix align + + Represents math matrix + + + + Serializes math matrix columns + + Represents math matrix + + + + Serializes math matrix column properties + + Represents math matrix column + + + + Serializes math matrix column alignment + + Represents math matrix column + + + + Serializes a math matrix row + + + + + + Serializes math nary + + Represents math nary + + + + Serializes math nary properties + + Represents math nary + + + + Serializes math radical + + + + + + Serializes the math radical properties + + Represents the math radical + + + + Serializes the math phantom + + + + + + Serializes math phantom properties + + Represents math phantom + + + + Serializes the bool property + + Tag name + if set to true [value]. + + + + Convert the float value to string. + + float value + + + + + Represents the parser for MathML items from LaTeX string. + + + + + Parse OMathPara which holds the MathML item using the LaTeX string. + + LaTex string to parse + MathPara to store the parsed LaTeX string + DocIO LaTeX parser instance + + + + Parse the math para according to the math function type + + + + + Parse Math Accent equation. + + + + + Parse Math Bar equation. + + + + + Parse Math Box equation. + + + + + Parse Math BorderBox equation. + + + + + Parse math delimiter equation + + + + + Check whether the LaTeX string has proper delimiter syntax + + + + + + Returns true, if the syntax matches; else false + + + + Get the delimiter string + + Returns the delimiter string to set + + + + Parse math equation array + + + + + Split the equation array into list of equations. + + The entire equation string of the equation array. + + + + Parse math fraction + + + + + Parse math NoFractionBar FractionType. + + Numerator of fraction equation + LaTex string start position + + + + Parse math Function equation + + + + + Parse Group Character equation. + + + + + Parse the math limit. + + Equation text of math limit + The math limit start position + + + + Parse Math Matrix + + + + + Check the matrix equation syntax + + + + + + + + Parse Math N-Array. + + + + + Parse math radical + + + + + Check the radical syntax + + + + + + + Check whether the current group start have proper group end + + Returns the string between the group start and group end + + + + Check whether the current group start have proper group end + + Returns the string between the group start and group end + + + + Parse the group start ("{"). + + + + + Parse Math SubSuperscript + + SubSuperscript equation run element text string value. + Group start index position + + + + Parse math LeftSubSuperScript + + Script text inside the group + Previous position of group start. + + + + Parse the math RightSubSuperScript. + + Equation run element string + The script string can be sub or super script. + Previous script type + LaTex string first start position. + + + + Parse the run element. + + + + + Set the run element for the given string + + + + + + Reset the global values and parse the math for the given string + + + + + + + Get the equation string. + + The equation string. If equation not in proper group or invalid characters return null. + + + + Get the each LaTex element from LaTex string. + + Returns the each LaTex element + + + + Reset the values once the parsing is done. + + + + + Get the equal symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return the same laTexString + + + + Get the equal basic math symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the equal greek letters symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the equal letter-like symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the equal basic math symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the equal common binary opertaors symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the equal common relational operators symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the equal basic N-ary operators symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the advanced binary operators symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the equal advanced relational operator symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the equal arrows symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the equal negated relations symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the equal geometry symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the equal non renderable symbol for LatexString. + + LaTex string to convert symbol + Return the equal symbol for laTexString, if equal symbol not found then return null + + + + Get the LaTeX string. + + + + + Process IOfficeMath. + + + + + Process IOfficeMathBaseCollection. + + + + + Process IOfficeMathFunctionBase. + + + + + Process Math Accent. + + + + + Process Math Bar. + + + + + Process Math Box. + + + + + Process Math Border Bar. + + + + + Process Math Fraction. + + + + + Process Math Function. + + + + + Process Math Delimiter. + + + + + Helper method to append the delimiter character. + + + + + + Process Math Group Character. + + + + + Process Math Limit. + + + + + Process Math Matrix. + + + + + Process Math NArray. + + + + + Process Math Radical. + + + + + Process Math SubSuperscript. + + + + + Process Math LeftSubSuperscript. + + + + + Process Math RightSubSuperscript. + + + + + Process Equation Array Element + + + + + Process Run Element. + + + + + Processes the math font type and appends corresponding LaTeX string. + + + + + Processes the math style type and appends corresponding LaTeX string. + + + + + Processes the hasNormalText flag and appends corresponding LaTeX string. + + + + + Process Symbols. + + + LaTeX string for the symbols. + + + + Process Basic Math symbols. + + + LaTeX string for the Basic Math symbols. + + + + Process Greek Letter symbols. + + + LaTeX string for the Greek Letter symbols. + + + + Process Letter-Like symbols. + + + LaTeX string for the Letter-Like symbols. + + + + Process Common Binary Operator symbols. + + + LaTeX string for the Common Binary Operator symbols. + + + + Process Common Relational Operator symbols. + + + LaTeX string for the Common Relational Operator symbols. + + + + Process Advanced Binary Operator symbols. + + + LaTeX string for the Advanced Binary Operator symbols. + + + + Process Advanced Relational Operator symbols. + + + LaTeX string for the Advanced Relational Operator symbols. + + + + Process Arrow symbols. + + + LaTeX string for the Arrow symbols. + + + + Process Negated Relation symbols. + + + LaTeX string for the Negated Relation symbols. + + + + Process Geometry symbols. + + + LaTeX string for the Geometry symbols. + + + + LaTeX parser to connect the DocIO LaTeX parser and LaTeXParser. + + + + + Specifies an object that represents the base of the specified equation object. + + + + + Specifies an object that represents the lower limit of an n-ary operator. + + + + + Specifies an object that represents the upper limit of an n-ary operator. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Closes this instance. + + + + + Gets the property value. + + + + + Sets the property value. + + + + + Return default value of the respective key. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Clones the item + + + + + Gets or sets a short that represents a character used as the n-ary operator. Default value is integral. + + + + + Gets or sets a boolean that represents whether n-ary operators grow to the full height of the arguments that they contain.Default value is false. + + + + + Gets or sets a boolean that represents whether to hide the lower limit of an n-ary operator. Default value is false. + + + + + Gets or sets a boolean that represents whether to hide the upper limit of an n-ary operator. Default value is false. + + + + + Gets or sets a boolean that represents the positioning of n-ary limits in the subscript-superscript or upper limit-lower limit position. Default value is true for integral and false for all other object. + + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets an object that represents the lower limit of an n-ary operator. + + + + + Gets an object that represents the upper limit of an n-ary operator. + + + + + Gets the propertieshash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents the OfficeMathPara that can be used to format a top level MathML element. + + + + + Specifies a . + + + + + Member to hold the collection of properties values and its keys. + + + + + Converts the LaTeX to MathML. + + LaTeX string to convert + DocIO LaTeX parser instance + + + + Clones the item + + + + + Sets the owner. + + + + + Gets the property value. + + + + + Sets the property value. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Return default value of the respective key. + + + + + Gets or sets . + + + + + Gets a collection of equations. Use the object to access individual members of the collection. + + + + + Gets the Owner. + + + + + Gets the PropertiesHash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Gets or sets whether format is default. + + + + + Represents the default character format for functions in mathematical equation + + + + + + Get the instance of LaTeXConverter. + + + + + Represents object that provides the base implementation for all items. + + + + + Specifies the object that can be used for formatting the character of the mathematical text. + + + + + Initializes a new instance of the class. + + + + + Clones the item + + + + + Gets or sets the object that represents a mathematical text. + + + + + Gets the object that can be used for formatting the character of the mathematical text. + + + + + Represents a phantom object, which has two primary uses: (1) adding the spacing of the phantom base without displaying that base or (2) suppressing part of the glyph from spacing considerations + + + + + Keys. + + + + + Specifies a object that represents the base of the specified equation object. + + + + + Holds the collection of properties values and its keys. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Gets the property value. + + The prop key. + + + + + Sets the property value. + + The property key. + The value. + + + + Sets the default properties. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Clones the item + + + + + Gets or sets a boolean that represents whether the contents of a phantom object are visible. + + True phantom base is shown; otherwise, falsephantom base is hidden. + + + + Gets or sets a boolean that represents that the contents of the phantom are visible but that the height is not taken into account in the spacing of the layout. + + True contents of the phantom are visible but that the height is not taken into account in the spacing of the layout; otherwise, false + + + + Gets or sets a boolean that represents whether a phantom object is transparent. + + True phantom object is transparent; otherwise, falsephantom object is not transparent . + + + + Gets or sets a boolean that represents whether the ascent of the phantom contents is ignored in the spacing of the layout. + + True ascent of the contents of the phantom is not taken into account during layout; otherwise, falsephantom does have ascent. + + + + Gets or sets a boolean that represents whether the descent of the phantom contents is ignored in the spacing of the layout. + + True descent of the contents of the phantom is taken into account during layout.; otherwise, falsephantom does have descent. + + + + Gets or sets a boolean that represents whether the width of a phantom object is ignored in the spacing of the layout. + + Truewidth of the contents of the phantom is not taken into account during layout.; otherwise, falsephantom does have width. + + + + Gets a object that represents the base of the specified equation object. + + + + + Gets or sets whether format is default. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Gets the PropertiesHash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Represents the MathML properties. + + + + + Member to hold the collection of properties values and its keys. + + + + + Gets the property value. + + + + + Sets the property Value. + + + + + Return default value of the respective key. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Gets or set a value which indicates how binary operators are treated when they coincide with a line break. + + + + + Gets or set a value which indicates how the subtraction operator is treated when it coincides with a line break, when brkBin is set to repeat. + + + + + Gets or set a value which indicates the default justification of display math, at the document level. + + + + + Gets or set a value which indicates the document-level property to overwrite paragraph settings for mathematical text. + + + + + Gets or set a value which indicates spacing between equations, expressions, or other instances of mathematical text within a display math paragraph, in twips. + + + + + Gets or set a value which indicates the document setting for the default placement of integral limits. + + + + + Gets or set a value which indicates the spacing between adjacent display math paragraphs, in twips. + + + + + + Gets or set a value which indicates the default math font to be used in the document. + + + + + Gets or set a value which indicates the document setting for the default placement of n-ary limits other than integrals. + + + + + Gets or set a value which indicates the spacing after a math paragraph, in twips. + + + + + Gets or set a value which indicates the spacing before a math paragraph, in twips. + + + + + Gets or set a value which indicates the right margin for math. + + + + + Gets or set a value which indicates a reduced fraction size display math, such that the numerator and denominator are written in script size instead of at the size of regular text. + + + + + + Gets or set a value which indicates the right justification of the wrapped line of an instance of mathematical text. + + + + + Gets or sets whether format is default. + + + + + Gets the PropertiesHash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Represents class for radical function + + + + + Member to hold the collection of properties values and its keys. + + + + + Member that represents the degree for a radical. + + + + + Member that represents the math object. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Gets the property value. + + + + + Sets the property value. + + + + + Return default value of the respective key. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Clones the item + + + + + Closes this Instance. + + + + + Gets the object that represents the degree for a radical. Read-only. + + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets or sets a value that represents whether to hide the degree for a radical. + + True if to hide the degree for a radical; otherwise, false. + + + + Gets the PropertiesHash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents a collection of Math. + + + + + Initializes a new instance of the class. + the owner instance. + + The owner. + + + + Adds instance to the collection at specified index. + + The Index, where to add the instance. + Returns the newly added . + + When adding arguments in or , it throws exception. + Add new and to add new argument in + + + + + Adds instance to the collection. + + Returns the newly added . + + When adding arguments in or , it throws exception. + Add new and to add new argument in + + + + + Adds an item + + + When adding arguments in or , it throws exception. + Add new or to add new argument in + + + + + Check the condition before insert a math + + + + + Clones the item in collection + + + + + Clears the object. + + + + + Represents the specified item in the collection. + + + + + Represents a matrix column. + + + + + Gets an integer that represents the ordinal position of a column within the collection of columns in a matrix. + + + + + Gets a object that represents the arguments in a matrix column. + + + + + Gets or sets a MathHorizontalAlignment constant that represents the horizontal alignment for arguments in a matrix column. + + + + + Represents a interface matrix row. + + + + + Gets an integer that represents the ordinal position of a row within the collection of rows in a matrix. + + + + + Gets a object that represents the arguments in a matrix row. + + + + + Returns an object that represents a base character with a combining accent mark. Read-only. + + + + + Specifies a object that represents the base of the specified equation object. + + + + + Initializes a new instance of the class. + + + + + Closes this instance. + + + + + Clones the item + + + + + + Gets the property value. + + + + + Sets the property value. + + + + + Return default value of the respective key. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Gets or sets a string that represents the accent character for the object. Read/write. + + + + + Gets a object that represents the base of the specified equation object. Read-only. + + + + + Gets the propertieshash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents a class to maintain break between the equation. + + + + + Member to hold the collection of properties values and its keys. + + + + + Initializes a new instance of the class. + + + + + Gets the property value. + + + + + Sets the property Value. + + + + + Return default value of the respective key. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Clones the item + + + + + Closes this Instance. + + + + + Gets or sets an integer that represents the operator in one line. + + + + + Gets the PropertiesHash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Represents the object that can be used for formatting the character of the mathematical text. + + + + + Closes this instance. + + + + + Gets the property value. + + + + + Sets the property value. + + + + + Return default value of the respective key. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Clones the item + + + + + Gets or sets a boolean that represents the alignment property. When multiple alignment point is set, lastly set alignment point is considered. Default value is false. + + + + + Gets or sets individual line breaks in an equation. + + + + + Gets or sets a boolean that represents whether the characters in the run are literal (i.e., they are to be interpreted literally and not be built up based on any implied mathematical meaning). Default value is false. + + + + + Gets or sets a boolean that represents whether the run is normal text, i.e., math italics and math spacing are not applied. Default value is false. + + + + + Gets or sets the script applied to the characters in the run. Default value is Roman. + + + + + Gets or sets the style applied to the characters in the run. Default style is italic. + + + + + Gets the propertieshash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Gets or sets whether format is default. + + + + + Represents the Math break collection. + Represents the Math break collection. + + + + + Initializes a new instance of the class. + + The owner. + + + + Adds instance to the collection at specified index. + + The Index, where to add the instance. + Returns the newly added . + + + + Adds instance to the collection. + + Returns the newly added . + + + + Clone the items in collection + + + + + + Clears the object. + + + + + Returns object that represents the specified item in the collection. + + + + + Represents a Collection of function. + + + + + Initializes a new instance of the class with + the owner instance. + + The owner. + + + + Adds instance to the collection at specified index. + + The Index, where to add the instance. + Represents the type of function to add. + Returns the newly added . + + + + Adds instance to the collection. + + Returns the newly added . + + + + Clone the items in collection + + + + + + Clone the items in collection from start index to end index + + + Represent the start index to clone from. + Represent the end index to clone until. + + + + Clears the object. + + + + + Represents the specified item in the Collection. + + + + + Represents a matrix column. + + + + + Keys. + + + + + Gets a object that represents the arguments in a matrix row. + + + + + Holds the collection of properties values and its keys. + + + + + Initializes a new instance of the class. + + + + + Gets the property value. + + The prop key. + + + + + Sets the property value. + + The property key. + The value. + + + + Sets the default properties. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + After added a column in matrix. + + + + + Clones the item + + + + + + Closes the instances. + + + + + Gets an Integer that represents the ordinal position of a column within the collection of columns in a matrix. + + + + + Gets a object that represents the arguments in a matrix column. + + + + + Gets or sets a MathHorizontalAlignment constant that represents the horizontal alignment for arguments in a matrix column. + + + + + Gets the PropertiesHash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Represents a matrix row. + + + + + Gets a object that represents the arguments in a matrix row. + + + + + Initializes a new instance of the class. + + + + + Clones the item + + + + + Closes the instances. + + + + + After row added into the matrix. + + + + + Gets an integer that represents the ordinal position of a row within the collection of rows in a matrix. + + + + + Gets a object that represents the arguments in a matrix row. + + + + + Represents an equation with a base that contains a superscript or subscript. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Converts an equation with a base superscript or subscript to an equation with a superscript or subscript to the left of the base. + + + + + Removes the subscript for an equation and returns an object that represents the updated equation without the subscript. + + + + + Removes the superscript for an equation and returns an object that represents the updated equation without the superscript. + + + + + Closes this instance. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Gets the property value. + + + + + Sets the property value. + + + + + Return default value of the respective key. + + + + + Clones the item + + + + + Gets or sets a boolean that represents whether to horizontally align subscripts and superscripts in the object. Read/write. + + + + + Gets an object that represents the subscript for a object. Read-only. + + + + + Gets an object that represents the superscript for a object. Read-only. + + + + + Gets an object that represents the base of the specified equation object. Read-only. + + + + + Gets the propertieshash value. + + + + + Gets or sets the value for the property with specified key. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Represents an equation with a base that contains a subscript or superscript. + + + + + Specifies a represent either a subscript or superscript. + + + + + Specifies an object that represents the base of the specified equation object. + + + + + Gets the type of the script. + + + + + Represents the character format + + + + + Initializes a new instance of the class. + + + + + Closes this Instance. + + + + + Clones the item + + + + + Gets or sets a type to represent either a subscript or superscript. + + + + + Gets an object that represents the base of the specified equation object. + + + + + Gets the type of the script. + + + + + Gets or sets the object that represent the control property of MathML function. + + + + + Specifies the justification of the equation. + + + + + Center as a group. + + + + + Center. + + + + + Left. + + + + + Right. + + + + + Specifies the script applied to the characters in the run. + + + + + Double-struck. + + + + + Fractur. + + + + + Monospace. + + + + + Roman. + + + + + Sans-serif. + + + + + Script. + + + + + Specifies the style of the characters in the run. + + + + + Italic. + + + + + Bold-italic. + + + + + Bold. + + + + + Plain. + + + + + Specifies the type of the MathML function. + + + + + Specifies equation accent mark. + + + + + Specifies equation fraction bar. + + + + + Specifies border box. + + + + + Specifies box. + + + + + Specifies equation delimiters. + + + + + Specifies equation array. + + + + + Specifies equation fraction. + + + + + Specifies equation function. + + + + + Specifies Group character. + + + + + Specifies lower and upper limit. + + + + + Specifies equation matrix. + + + + + Specifies equation N-array operator. + + + + + Specifies equation phantom. + + + + + Specifies equation base expression. + + + + + Specifies Left subScript. + + + + + Specifies subScript and superScript. + + + + + Specifies SubSuperScrpit. + + + + + Specifies Equation text. + + + + + Specifies the type that represents the appearance of delimiters. + + + + + Vertically centers delimiters around the entire height of the equation causing delimiters grow equally above and below their midpoint. + + + + + Matches the shape of the delimiters to the size of their contents. + + + + + Specifies the type of fraction bar. + + + + + Normal fraction bar. + + + + + No fraction bar. + + + + + Skewed fraction bar. + + + + + Show fraction inline. + + + + + Specifies the horizontal alignment for arguments in a matrix column. + + + + + Center. + + + + + Left. + + + + + Right. + + + + + Specifies the vertical alignment for a matrix. + + + + + Center. + + + + + Top. + + + + + Bottom. + + + + + Specifies the spacing rule for the space that appears between two columns or two rows in a mathematical equation. + + + + + Single line. + + + + + One and half line. + + + + + Double line. + + + + + Exact line. + + + + + Multiple line. + + + + + Specifies the script type of equation. + + + + + SuperScript. + + + + + SubScript. + + + + + Specifies the type that represents the limit. + + + + + Specifies the lower limit. + + + + + Specifies the upper limit. + + + + + Specifies how binary operators are treated when they coincide with a line break. + + + + + Specifies the binary operator appears after the break. + + + + + Specifies the binary operator appears before the break. + + + + + Specifies the binary operator appears on both sides of the break. + + + + + Specifies how the subtraction operator is treated when it coincides with a line break, when brkBin is set to repeat. + + + + + Specifies the repetition of subtraction sign after a line-wrapping break is plus on the first line and minus on the second line. + + + + + Specifies the repetition of subtraction sign after a line-wrapping break is minus on the first line and plus on the second line. + + + + + Specifies the repetition of subtraction sign after a line-wrapping break is minus on the first and second lines. + + + + + Represent the limit location of integral and n-ary. + + + + + Subscript-Superscript location + + + + + Under-Over location. + + + + + Specifies type of the shadow type. + + + + + Specifies single shadow. + + + + + Specifies double shadow. + + + + + Specifies top alignment. + + + + + Specifies the shadow which is shape relative. + + + + + Specifies the shadow which is drawing relative. + + + + + Specifies emboss shadow. + + + + + Specifies type of the Extrusion Preset Type. + + + + + Specifies Parallel type + + + + + Specifies Perspective type + + + + + Specifies type of the Extrusion Plane Preset Type. + + + + + Specifies XY Plane + + + + + Specifies YZ plane + + + + + Specifies ZX plane + + + + + Specifies type of the Extrusion Render Mode Type. + + + + + Specifies Solid mode + + + + + Specifies Wireframe mode. + + + + + Specifies Bounding cube. + + + + + Specifies type of the LightRig Direction. + + + + + Specifies top direction. + + + + + Specifies top left direction. + + + + + Specifies top right direction. + + + + + Specifies center direction. + + + + + Specifies bottom direction. + + + + + Specifies bottom left direction. + + + + + Specifies bottom right direction. + + + + + Specifies Left direction. + + + + + Specifies right direction. + + + + + Specifies type of the Bevel Preset Type. + + + + + Specifies Isometric Bottom type + + + + + Specifies Two Pt type. + + + + + Specifies Three Pt type. + + + + + Specifies Sunrise type. + + + + + Specifies Soft type. + + + + + Specifies Morning type. + + + + + Specifies Legacy Normal 1 type. + + + + + Specifies Legacy Normal 2 type. + + + + + Specifies Legacy Normal 3 type. + + + + + Specifies Legacy Normal 4 type. + + + + + Specifies Legacy Harsh 1 type. + + + + + Specifies Legacy Harsh 2 type. + + + + + Specifies Legacy Harsh 3 type. + + + + + Specifies Legacy Harsh 4 type. + + + + + Specifies Legacy Flat 1 type. + + + + + Specifies Legacy Flat 2 type. + + + + + Specifies Legacy Flat 3 type. + + + + + Specifies Legacy Flat 4 type. + + + + + Specifies Harsh type. + + + + + Specifies Glow type. + + + + + Specifies Freezing type. + + + + + Specifies Flood type. + + + + + Specifies Flat type. + + + + + Specifies Contrasting type. + + + + + Specifies Chilly type. + + + + + Specifies BrightRoom type. + + + + + Specifies Balanced type. + + + + + Specifies type of the Bevel Preset Type. + + + + + Specifies Isometric Bottom type + + + + + Specifies Isometric BottomUp type. + + + + + Specifies Isometric LeftDown type. + + + + + Specifies Isometric LeftUp type. + + + + + Specifies Isometric OffAxis 1 Left type. + + + + + Specifies Isometric OffAxis 1 Right type. + + + + + Specifies Isometric OffAxis 1 Top type. + + + + + Specifies Isometric OffAxis 2 Left type. + + + + + Specifies Isometric OffAxis 2 Right type. + + + + + Specifies Isometric OffAxis 2 Top type. + + + + + Specifies Isometric Top Up type. + + + + + Specifies Perspective Front type. + + + + + Specifies Perspective Left type. + + + + + Specifies Perspective Right type. + + + + + Specifies Perspective Below type. + + + + + Specifies Perspective Above type. + + + + + Specifies Perspective Relaxed Moderately type. + + + + + Specifies Perspective Relaxed type. + + + + + Specifies Perspective Contrasting Left type. + + + + + Specifies Perspective Contrasting Right type. + + + + + Specifies Perspective Heroic Extreme Left type. + + + + + Specifies Perspective Heroic Extreme Right type. + + + + + Specifies Oblique TopLeft type. + + + + + Specifies Oblique TopRight type. + + + + + Specifies Oblique BottomLeft type. + + + + + Specifies Oblique BottomRight type. + + + + + Specifies Orthographic Front type. + + + + + Specifies Isometric OffAxis3 Bottom type. + + + + + Specifies Isometric OffAxis3 Left type. + + + + + Specifies Isometric OffAxis3 Right type. + + + + + Specifies Isometric OffAxis4 Bottom type. + + + + + Specifies Isometric OffAxis4 Left type. + + + + + Specifies Isometric OffAxis4 Right type. + + + + + Specifies Isometric RightDown type. + + + + + Specifies Isometric RightUp type. + + + + + Specifies Isometic TopDown type. + + + + + Specifies Legacy Oblique Bottom type. + + + + + Specifies Legacy Oblique BottomLeft type. + + + + + Specifies Legacy Oblique BottomRight type. + + + + + Specifies Legacy Oblique Front type. + + + + + Specifies Legacy Oblique Left type. + + + + + Specifies Legacy Oblique Right type. + + + + + Specifies Legacy Oblique Top type. + + + + + Specifies Legacy Oblique TopLeft type. + + + + + Specifies Legacy Oblique TopRight type. + + + + + Specifies Legacy Perspective Bottom type. + + + + + Specifies Legacy Perspective BottomLeft type. + + + + + Specifies Legacy Perspective BottomRight type. + + + + + Specifies Legacy Perspective Front type. + + + + + Specifies Legacy Perspective Left type. + + + + + Specifies Legacy Perspective Right type. + + + + + Specifies Legacy Perspective Top type. + + + + + Specifies Legacy Perspective TopLeft type. + + + + + Specifies Legacy Perspective TopRight type. + + + + + Specifies Oblique Bottom type. + + + + + Specifies Oblique Left type. + + + + + Specifies Oblique Right type. + + + + + Specifies Oblique Top type. + + + + + Specifies Perspective Above LeftFacing type. + + + + + Specifies Perspective Above RightFacing type. + + + + + Specifies Perspective Contrasting LeftFacing type. + + + + + Specifies Perspective Contrasting RightFacing type. + + + + + Specifies Perspective Heroic Extreme LeftFacing type. + + + + + Specifies Perspective Heroic Extreme RightFacing type. + + + + + Specifies Perspective Heroic LeftFacing type. + + + + + Specifies Perspective Heroic RightFacing type. + + + + + Specifies type of the Bevel Preset Type. + + + + + Specifies Angle type + + + + + Specifies Art Deco type. + + + + + Specifies Circle type. + + + + + Specifies Convex type. + + + + + Specifies Cool Slant type. + + + + + Specifies Cross type. + + + + + Specifies Divot type. + + + + + Specifies Hard Edge type. + + + + + Specifies Relaxed Inset type. + + + + + Specifies Riblet type. + + + + + Specifies Slope type. + + + + + Specifies Soft Round type. + + + + + Specifies type of the 3D Material type. + + + + + Specifies Clear type + + + + + Specifies Dark Edge type. + + + + + Specifies flat type. + + + + + Specifies Legacy Matte type. + + + + + Specifies Legacy Metal type. + + + + + Specifies Legacy plastic type. + + + + + Specifies Legacy Wireframe type. + + + + + Specifies Matte type. + + + + + Specifies Metal type. + + + + + Specifies Platic type. + + + + + Specifies Powder type. + + + + + Specifies Soft Edge type. + + + + + Specifies Soft Metal type. + + + + + Specifies Translucent Powder type. + + + + + Specifies Warm Matte type. + + + + + Specifies the texture alignment. + + + + + Not Supported. + + + + + Aligned at bottom. + + + + + Aligned at bottom left. + + + + + Aligned at bottom right. + + + + + Aligned at center. + + + + + Aligned at left. + + + + + Aligned at right. + + + + + Aligned at top. + + + + + Aligned at top left. + + + + + Aligned at top right. + + + + + Aligned at None. + + + + + Specifies type of the shadow alignment. + + + + + Specifies top alignment. + + + + + Specifies top left alignment. + + + + + Specifies top right alignment. + + + + + Specifies center alignment. + + + + + Specifies bottom alignment. + + + + + Specifies bottom left alignment. + + + + + Specifies bottom right alignment. + + + + + Specifies Left alignment. + + + + + Specifies right alignment. + + + + + Specifies None alignment. + + + + + Represents an interface for math run elements + + + + + Creates a duplicate copy of . + + The reference of the newly created object. + + + + Releases all resources used by the object. + + + + + Reserved for internal use. + + + + + None. This is default style. + + + + + Heading 1 + + + + + Heading 2 + + + + + Heading 3 + + + + + Heading 4 + + + + + Heading 5 + + + + + Heading 6 + + + + + Block quote + + + + + Specifies type of the sub and super script. + + + + + No subscript or superscript. + + + + + Specifies superscript format. + + + + + Specifies subscript format. + + + + + Specifies type of alignment for table column. + + + + + Left alignment + + + + + Right alignment + + + + + Center alignment. + + + + + Represents an interface for Block in Markdown + + + + + Represents an interface for inlline in Markdown. + + + + + Represents a class to maintain Markdown document. + + + + + Adds the to the Markdown. + + The reference to the newly created paragraph. + + + + Adds the to the Markdown. + + The reference to the newly created thematicbreak. + + + + Adds the to the Markdown. + + Returns new MdCodeBlock. + + + + Adds the to the Markdown. + + /// The reference to the newly created table. + + + + Disposes the document. + + + + + Gets or sets list of blocks in Markdown + + + + + Converts word document Markdown. + + + + + Carriage return followed by line feed character: "\x000d\x000a" or "\r\n". + + + + + Space character + + + + + Iterates through MarkdownTable and writes the contents of table. + + The contents of table + + + + Returns Inline Items. + + + + + Validate the opening and closing delimiters along with symbols + + Paragraph text + Space to be add after delimiter + Current textrange text + Next sibiling of current textrange + + + + Represents a class to maintain text format of markdown. + + + + + Clone the instance + + + + + + Gets or sets a value indicating whether text is bold or not. + + + + + Gets or sets a value indicating whether text is italic or not. + + + + + Gets or sets a value indicating whether text is code spanned text. + + + + + Gets or sets a value indicating whether text is formatted with strikethrough. + + + + + Gets or sets a value indicating whether text is Hidden or not. + + + + + Gets or sets the subscript or superscript for the text. + + + + + Represents the markdown syntax characters. + + + + + Represents horizontal rule syntax. + + + + + Represents the syntax of indent code block in Markdown + + + + + Represents the syntax of fenced code block in Markdown + + + + + Represents the another syntax of fenced code block in Markdown as tilde character + + + + + Represents the syntax of table which start and end with this char in Markdown + + + + + Represents the syntax of hyphen which seprate table cell in Markdown + + + + + Represents the start comment element in the markdown + + + + + Represents the HTML end comment element in the markdown. + + + + + Bold syntax in Markdown. + + + + + Italic syntax in markdown. + + + + + Code span syntax in markdown + + + + + Strikeout syntax in markdown + + + + + Superscript open tag + + + + + Subscript open tag + + + + + Superscript close tag + + + + + Subscript close tag + + + + + Represents checked task item syntax. + + + + + Represents unchecked task item syntax. + + + + + Represents the control characters contants. + + + + + Carriage return character: "\x000d" or "\r". Same as ParagraphBreak. + + + + + Carriage return followed by line feed character: "\x000d\x000a" or "\r\n". + Not used as such in Microsoft Word documents, but commonly used in text files for + paragraph breaks. + + + + + Line feed string: "\x000a" or "\n". Same as Line feed. + + + + + Space character + + + + + Backtick character + + + + + Tilde character + + + + + Hash character + + + + + Minus character + + + + + Plus character + + + + + Star character + + + + + Period character + + + + + Open square bracket character + + + + + Close square bracket character + + + + + Open parenthesis character + + + + + Close parenthesis character + + + + + Double quote character + + + + + Comma character + + + + + Exclamatory character + + + + + Exclamatory character + + + + + Lesser than character + + + + + Represents a class to parse Markdown document. + + + + + Parse the Markdown stream and create Markdown DOM. + + + + + + Validate the current line has proper hyperlink syntax. + + Current line + Display text of hyperlink or alttext of image. + Url of hyperlink or source path of image. + Screentip of hyperlink + Index at end of bracket + True, if it satisfies image or hyperlink syntax, else false. + + + + Validate whether having balancing open and close character and get the content within them. + + Text to check + Start index of opening character. + End index of closing character + Opening character + Closing character + Text within the opening and closing character + Returns true, once balancing character reached. And also stop the traversing once balancing found. + + + + Check whether the line is start with fenced code block. + + + + + Read the line from the textlines. + + + + + Reset the current line to previous line and also update the previous line, index. + + + + + Parse indented code block. + + + + + Parse fenced code block. + + + + + Parse table cell. + + + + + Move parsed inline items from paragraph to cell and set bold for first row + + Source paragraph + Destination table cell + Whether it is first row column + + + + Check whether the current line is a table or not. + + + + + Check whether the current line contains table syntax. + + + + + + Parse paragraph. + + + + + Process line in first stage + + + + + + Close the SuperScript and Subscript delimiter + + List of text and textformats + Current Text + Current Position Index + Current Character + End index + Open delimiter + Close Delimiter + + + + Procee hyperlink or image syntax + + + + + Create syntax of hyperlink and add in keyvaluepair collection for 2nd stage of processing. + + + + + Create syntax of image and add in keyvaluepair collection for 2nd stage of processing. + + + + + Check whether the given text satisfies basic syntax of hyperlink or image + + + + + Add the given text as literal text value and reset the text to parse next text. + + + + + Add the delimiter as closing tag in KeyValuePair and convert invalid openers as literal text + + Collection to add close tag. + Index of opener in the list. + Delimiter syntax + Delimiter to add as close + + + + Remove the item at given index and add new item using given key and value + + + + + Check the given keyvalue pair is opener of any supported delimiters + + + + + + + Gets the image using the given string. + + + + + Check current line is comment + + + + + + Get list value + + + + + Check whether the current line is list or not + + + + + True if need to check curent line is list or not. False, if need to check current line is list or not and also get the list values + + + + + Check whether the current line is indented for the nested list or not. + + + + + Get the continuous number characters from the beginning of given string. + + + + + + + Check whether the current line is indent code block start line. + + + + + Check whether the fenced code end occur. + + + + + Get the continues given character in a string. + + + + + Split the line with given character, but not followed by "\" + + + + + Convert the colletion of syntax to inline items. + + List holding the collection of items and style. + + + + Add MdTextRange in paragraph with format. + + + + + Apply current format to the given text textrange + + + + + Push the new style + + + + + Replace the symbols followed with a backslash + + Current text + Return the text after removing the backslash + + + + Check the current line is thematic break item or not. + + + + + + Closes this instance. + + + + + Indicates whether the next line is exist or not in the markdown file. + + + + + Gets or sets the previous line + + + + + Gets or sets the previous line + + + + + Gets the current format + + + + + + Execute the image node visited event. + + + + + + + Represents whether image node event is subscribed. + + + + + + + + + + Represents a code block in Markdown. + + + + + Closes the code block. + + + + + Gets or sets lines of code in code block. + + + + + Gets or sets a value indicating whether lines of code are indented or fenced code. Default it is true. + + + + + Represents a hyperlink in Markdown. + + + + + Gets or sets the MdTextFormat + + + + + Gets or sets hyperlink + + + + + Gets or sets display text of hyperlink + + + + + Gets or sets screen tip of hyperlink + + + + + Represents list format for a line in Markdown. + + + + + Gets or sets a value indicating whether line is numbered. Default it is false. + + + + + Gets a value used for bulleted list marker in Markdown. + + + + + Gets a value used for Numbered List Marker in Markdown + + + + + Gets or sets a value used for representing the list including the nested list in Markdown + + + + + Gets or sets a value used for representing the list level in Markdown + + List level must be less than equal to 8 and greater then equal to 0(0-8) + + + + Represents a line in Markdown. + + + + + Defines methods to add MdTextRange to Inlines in the markdown document. + + + + + Defines methods to add MdHyperlink to Inlines in the markdown document. + + + + + Defines methods to add MdPicture to Inlines in the markdown document. + + + + + Applies Paragraph style to MdParagraph. + + + + + Returns the character for Paragraph style. + + + + + Closes the paragraph. + + + + + Gets or sets list of inline items for a line. + + + + + Gets or sets style for a line. + + + + + Gets or sets list format for a line. + + + + + Gets or sets the task item properties of a line. + + + + + Gets or sets a value indicating horizontal rule in Markdown. + + + + + Represents an image in a Markdown. + + + + + Closes the picture. + + + + + Gets or sets alternate text for an image. + + + + + Gets or sets image bytes + + + + + Gets or sets the image format + + + + + Gets or sets the image url + + + + + Represents a table in Markdown. + + + + + Adds table row to rows collection. + + + + + Get or sets the rows in table. + + + + + Gets or sets the alignments for each columns in table. + + + + + Represents a table cell in Markdown. + + + + + Gets or sets the collection of inline items to be preserved in cell. + + + + + Represents a table row in Markdown. + + + + + Adds table cell to cells collection for the particular row. + + + + + Gets or sets the collection of cells for the particular row. + + + + + Represents the properties for task item in Markdown. This property applies if a paragraph starts with checkbox. + + + + + Gets or sets a value indicating whether task item is checked. Default is false. + + + + + Gets or sets a string used for checked task item marker in Markdown + + + + + Gets or sets a string used for unchecked task item marker in Markdown + + + + + Represents a text with formatting in Markdown + + + + + Gets or sets the MdTextFormat + + + + + Gets or sets a text in a line. + + + + + Gets or sets a value indicating LineBreak. + + + + + Represents a thematic break or horizontal rule in Markdown. + + + + + Gets a string which is used to add horizontal rule in Markdown. + + + + + Utility Class + + + + + Bit-indexes for reversing. + + + + + Code lengths for the code length alphabet. + + + + + Reverses bit. + + + + + + + Number regex used for pattern + + + + + Read-Only static whitespace characters + + + + + Convert the string to byte value + + input string + the byte value + + + + Convert the string to Int16 value + + input string + the Int16 value + + + + Convert the string to Int32 value + + input string + the Int32 value + + + + Convert the string to Int64 value + + input string + the Int64 value + + + + Convert the string to UInt16 value + + input string + the UInt16 value + + + + Convert the string to UInt32 value + + input string + the UInt32 value + + + + Trim a string using XML whitespace characters + + input string value + the trimmed string + + + + Convert the string to Single value + + input string + the Single value + + + + Convert the string to Double value + + input string + the Double value + + + + Convert the string to Boolean value + + input string + the Boolean value + + + + Try to get the number value from misplaced string + + the input string + the maximum value + the extracted value + + + + Convert the string to DateTimeOffset value + + input string + the DateTimeOffset value + + + + Check whether the string having only whitespace + + the input string + the boolean value + + + + Convert the string to DateTime value + + input string + Xsd mode for date time + the DateTime value + + + + List with collection items. + + + + + Initializes a new instance of the class with the default initial capacity. + + + + + Initializes a new instance of the class with the specified capacity. + + The number of elements that the new list can initially store. + + + + Removes all objects from the System.Collections.CollectionBase instance. + + + + + Inserts an element into the list at the specified index. + + The zero-based index at which item should be inserted. + The object to insert. The value can be null for reference types. + + + + Returns an enumerator that iterates through this instance. + + An enumerator for this instance. + + + + Performs additional custom processes when clearing the contents of this instance. + + + + + Performs additional custom processes after clearing the contents of this instance. + + + + + Performs additional custom processes before inserting a new element into this instance. + + The zero-based index at which to insert value. + The new value of the element at index. + + + + Performs additional custom processes after inserting a new element into this instance. + + The zero-based index at which to insert value. + The new value of the element at index. + + + + Performs additional custom processes when removing an element from this instance. + + The zero-based index at which value can be found. + The value of the element to remove from index. + + + + Performs additional custom processes after removing an element from this instance. + + The zero-based index at which value can be found. + The value of the element to remove from index. + + + + Performs additional custom processes before setting a value in this instance. + + The zero-based index at which oldValue can be found. + The value to replace with newValue. + The new value of the element at index. + + + + Performs additional custom processes after setting a value in this instance. + + The zero-based index at which oldValue can be found. + The value to replace with newValue. + The new value of the element at index. + + + + Removes the element at the specified index of this instance. + + The zero-based index of the element to remove. + + + + Creates copy of the collection. + + Count for the new collection. + A copy of the collection. + + + + Gets or sets the number of elements that the System.Collections.CollectionBase can contain. + + + + + Gets the number of elements contained in the System.Collections.CollectionBase instance. + + + + + Gets the list of elements in the instance. + + + + + Gets the list of elements in the instance. + + + + + Represents a collection of properties describing the metadata stored in a document. + + + + + Finds a metadata property in the collection with specified display name. + + + + + + + Initializes a new instance of the class with the specified + instance. + + + + + Adds the specified Metaproperty. + + The metaProperty. + + + + Removes the specified MetaProperty. + + The metaProperty. + + + + Clears the object. + + + + + Gets the at the specified index. + + The integer that represents the position of the metadata property in the document to get. + The at the specified index. + The index is not valid in the + + + + Gets the number of items in the collection. + + The integer that specifies the count of items. + + + + Gets the inner list. + + The inner list. + + + + Specifies the metadata property type. + + + + + Represents an unknown value. + + + + + Represents a Boolean value. + + + + + Represents a value from one or more choices. + + + + + Represents a Currency value. + + + + + Represents a DateTime value. + + + + + Represents a value used to lookup another value. + + + + + Represents a value of one or more sentences. + + + + + Represents a generic number data type. + + + + + Represents a Text value. + + + + + Represents a URL. + + + + + Represents a category of user. + + + + + Specifies the type of system + + + + + 16 bit Windows. + + + + + 32 bit Windows + + + + + Macintosh + + + + + 64 bit Windows + + + + + Specifies the Vba module type + + + + + Module + + + + + Class module + + + + + User form + + + + + Workbook or Worksheet code + + + + + Specifies the Vba reference type + + + + + Control reference + + + + + Original reference + + + + + Register reference + + + + + Project reference + + + + + Interface for using Vba project module + + + + + Specifies the Vba module name + + + + + Indicates the Vba module type. + + + + + Specifies the Vba code for the module + + + + + Specifies the Vba project Form module designer. + + + + + Add a Vba module to the Vba project module collection + + Name + Type + + + + + Removes a Vba module with the specified name + + Name + + + + Removes a Vba module at the specified index. + + Index + + + + Clears Vba Module Collection + + + + + Specifies the number of Vba modules in the collection. + + + + + Get the Vba module at the specified index. + + Index + Vba Module + + + + Get the Vba module with the specified name. + + Name + Vba Module + + + + Interface used for Vba project in the workbook. + + + + + Specifies the Vba project name. + + + + + Specifies the Vba project description details. + + + + + Specifies the vba project contants. + + + + + Specifies the path of the Help file. + + + + + Indicates the help context id in the help file. + + + + + Contains the Vba project module collection. + + + + + Represents a single property in a collection of properties describing the metadata stored in a document. + + + + + Map the content type meta data properties. + + + + + + + + + + + + Parse the meta data property value. + + + + + + + + + Parse meta properties from contentTypeSchema. + + + + + + + Checks whether the user setting value is valid or not. + + + + + + + Gets the proper value based on the metaproperty data type. + + + + + + + + Set value to the XmlDocument element after changing of the MetaProperty data. + + + + + Validate the value of boolean metaproperty type. + + + + + + + Validate the value of lookup metaproperty type. + + + + + + + Validate the value of user metaproperty type. + + + + + + + Validate the value of url metaproperty type. + + + + + + + Validate the value of datetime metaproperty type. + + + + + + + Validate the value of number and currency metaproperty type. + + + + + + + Validate the value of text,note,choice,unknown metaproperty type. + + + + + + + Gets the ID of the MetaProperty object. + + + + + Gets a Boolean value that specifies whether the meta property is read-only + + + + + Gets a Boolean value that specifies whether the meta property is required. + + + + + Gets the name of the MetaProperty object. + + + + + Gets the data type of the MetaProperty object. + + + + + Gets or sets the value of metadata property. + + + + + Gets the owner of the MetaProperty. + + The that specifies the owner. + + + + Control reference record. + + + + + Vba reference record + + + + + Parse reference record. + + + + + + Serialize reference record. + + + + + + Clone. + + + + + Reference name + + + + + Reference encoding type + + + + + Id + + + + + Libid twiddled + + + + + Extended Libid + + + + + Original + + + + + Cookie + + + + + Reference name + + + + + Encoding type + + + + + Parses Control Reference. + + Dir Stream + + + + Serializes Control reference + + Dir Stream + + + + Id + + + + + Libid Twiddled + + + + + Extended Libid + + + + + Original + + + + + Cookie value + + + + + Reference name + + + + + Encoding Type + + + + + Original Reference record + + + + + ID + + + + + Libid + + + + + Encoding type + + + + + Reference name + + + + + Parses the original reference. + + Dir Stream + + + + Serializes the original reference. + + Dir Stream + + + + Id + + + + + Libid value + + + + + Reference name + + + + + Encoding type + + + + + Project reference record + + + + + Id + + + + + Libid Absolute + + + + + Libid Relative + + + + + Major Version + + + + + Minor Version + + + + + Encoding type + + + + + Reference name + + + + + Parses the Project reference record. + + Dir stream + + + + Serializes the project reference record. + + Dir Stream + + + + Id + + + + + Libid Absolute + + + + + Libid Relative + + + + + Major version of project + + + + + Minor version of Project + + + + + Reference Name + + + + + Encoding Type + + + + + Reference Records Collection + + + + + Parent Vba Project + + + + + Add a reference with the specified type. + + Reference type + Reference + + + + Dispose + + + + + Clone + + Vba reference collection + + + + Register reference record. + + + + + Id + + + + + Libid + + + + + Reference name + + + + + Encoding type + + + + + Parses register reference. + + Dir Stream + + + + Serializes register reference. + + Dir Stream + + + + Id + + + + + Libid + + + + + Reference name + + + + + Encoding type + + + + + Vba attribute + + + + + Name + + + + + Value + + + + + Indicates whether the value is string type + + + + + Clone + + VbaAttribute + + + + Specifies the name of the attribute + + + + + Specifies the value for a attribute + + + + + Indicates whether the attribute value is string. + + + + + Vba attribute collection + + + + + Parent Vba Module + + + + + Initializes a Vba Attribute + + + + + + Add a attribute to the collection + + Name of the attribute + Value of the attribute + Indicates whether the value is a text + + + + + Clone + + + + + + Gets the attribute with the specified name + + Name of the attribute + Vba Attribute + + + + Vba data process + + + + + Compression a data using Vba Compression algorithm + + DeCompressed data + Compressed data + + + + Decompression a data using Vba decompression algorithm + + Compressed data + Decompressed data + + + + Decrypting a data using Vba decryption + + Encrypted data + Decrypted data + + + + Erypting a data using Vba Encryption + + Decrypted data + Encrypted data + + + + Vba Module base + + + + + Specifies the name of the module. + + + + + Module description + + + + + Module stream name + + + + + Module offset + + + + + Help context id + + + + + Vba attributes collection + + + + + Designer storage + + + + + Designer packages. + + + + + Vba module type. + + + + + Vb Program code. + + + + + Vba Module collection + + + + + Instantiate a Vba Module + + + + + + Initializes Vba attributes collection. + + module name + Class Id + Attributes collection + + + + Parses Vba module. + + Module stream + + + + Serializes module record + + + + + + Dispose + + + + + Name changing event hanler. + + + + + Specifies the module name + + + + + Indicates the module type. + + + + + Specifies the Vba code for the module + + + + + Help context id + + + + + Specifies the project description. + + + + + Specifies the module stream name. + + + + + Indicates the starting position of the data in the module stream + + + + + Vba code attributes + + + + + Designer storage + + + + + Designer module package + + + + + Name change event handler + + sender + new name + + + + VbaProject object + + + + + Initializes a Vba module collection. + + Vba Project + + + + Add a Vba module to the Vba project module collection + + Name + Type + + + + + Removes a Vba module with the specified name + + Name + + + + Dispose + + + + + Clone Vba Modules Collection + + Parent + Vba Modules + + + + Parent Vba project + + + + + Get the Vba module with the specified name + + Name + Vba Module + + + + Get the Vba module at the specified index. + + Index + Vba Module + + + + Vba project base + + + + + Vba modules collection. + + + + + Vba project references. + + + + + Parent + + + + + System Kind + + + + + Vba project name. + + + + + Project description. + + + + + Password + + + + + Project constants. + + + + + Indicates whether to lock the project view + + + + + Primary Help File + + + + + Secondary help file. + + + + + Help topic context id; + + + + + LCID + + + + + LCInvoke + + + + + Code page of the project + + + + + Major version + + + + + Minor version + + + + + Project Class Id + + + + + Data preserved for protection. + + + + + Data preserved for password + + + + + Data preserved for lock view. + + + + + Initializes the Vba Project. + + + + + Parse Dir Stream + + Stream + + + + Parse Module Stream + + + + + + Parse Project stream + + Vba root storage + + + + Parse project properties. + + Dir stream + + + + Parse project references + + Dir stream + + + + Creates Vba Project stream + + Root storage + + + + Creates Dir stream + + + + + Writes project properties into Dir stream + + Dir stream + + + + Serialize refereces + + Dir stream + + + + Serialize modules + + Die Stream + + + + Creates module stream + + + + + Creates project stream. + + Root storage + + + + Creates project wm stream + + Root storage + + + + Converts Hex string into byte array + + Hex value + byte array + + + + Converts the byte array into Hex string + + byte array + Hex value + + + + Extracts UInt32 value from the stream. + + Stream to read data from. + Extracted value. + + + + Extracts UInt16 value from the stream. + + Stream to read data from. + Extracted value. + + + + Extracts unsigned UInt16 value from the stream. + + Stream to read data from. + Extracted value. + + + + Dispose + + + + + Clone + + Vba Project Base + + + + Specifies the type of System that the Vba project created. + + + + + Specifies the Vba project name. + + + + + Specifies the Vba project description details. + + + + + Specifies the password for the Vba project. + + + + + Specifies the vba project contants. + + + + + Indicates whether to lock the project view. + + + + + Specifies the path of the Help file. + + + + + Specifies the secondary help file. + + + + + Indicates the help context id in the help file. + + + + + LCID of the project. + + + + + LC Invoke + + + + + Specifies the code page no of the Encoding used in the Vba project. + + + + + Major version + + + + + Minor version + + + + + Encoding used in the Vba project. + + + + + Vba project Class Id + + + + + Contains the Vba project module collection. + + + + + Contains the Vba project references. + + + + + Implemenation of IFileNamePreprocessor interface that simply removes + some string from the name start and converts all \ characters into /. + + + + + Preprocesses file name before ZipArchiveItem saving. Used to convert full item path into local one. + + + + + Somehow converts full path into name that will be stored in the zip archive. + + Name to process. + Converted name. + + + + String to remove from the name start. + + + + + Initializes new instance of the name preprocessor. + + String to remove from the name start. + + + + Somehow converts full path into name that will be stored in the zip archive. + + Name to process. + Converted name. + + + + Class contains all constants that are required by ZipArchive. + + + + + Zip header signature. + + + + + Number of bytes in HeaderSignature constant. + + + + + Buffer size. + + + + + Version needed to extract. + + + + + Version made by. + + + + + Size of the short value in bytes. + + + + + Size of the int value in bytes. + + + + + Central header signature. + + + + + End of central directory signature. + + + + + Initial value for CRC-32 evaluation. + + + + + Offset to the size field in the End of central directory record. + + + + + Start byte of the Header signature. + + + + + Default constructor to prevent users from creating instances of this class. + + + + + The kind of compression used for an entry in an archive + + + + + The file is stored (no compression). + + + + + The file is Shrunk. + + + + + The file is Reduced with compression factor 1. + + + + + The file is Reduced with compression factor 2. + + + + + The file is Reduced with compression factor 3. + + + + + The file is Reduced with compression factor 4. + + + + + The file is Imploded. + + + + + Reserved for Tokenizing compression algorithm. + + + + + The file is Deflated. + + + + + Enhanced Deflating using Deflate64(tm). + + + + + PKWARE Data Compression Library Imploding (old IBM TERSE). + + + + + File is compressed using BZIP2 algorithm. + + + + + LZMA (EFS). + + + + + File is compressed using IBM TERSE (new). + + + + + IBM LZ77 z Architecture (PFS). + + + + + PPMd version I, Rev 1. + + + + + General purpose bit flag. + + + + + If this bit is set, the fields crc-32, compressed size and uncompressed + size are set to zero in the local header. The correct values are put + in the data descriptor immediately following the compressed data. + (Note: PKZIP version 2.04g for DOS only recognizes this bit for method 8 + compression, newer versions of PKZIP recognize this bit for any compression method.) + + + + + Language encoding flag (EFS). If this bit is set, the filename and + comment fields for this file must be encoded using UTF-8. + + + + + Class used for implementing Advanced Encryption Standard algorithm. + + + + + block size in 32-bit words. Always 4 for AES. (128 bits). + + + + + key size in 32-bit words. 4, 6, 8. (128, 192, 256 bits). + + + + + number of rounds. 10, 12, 14. + + + + + the seed key. size will be 4 * keySize . + + + + + Substitution box + + + + + inverse Substitution box + + + + + key schedule array. + + + + + Round constants + + + + + State matrix + + + + + AES key size + + + + + Salt value + + + + + Message Authentication Code Key + + + + + Stored Message Authentication Code + + + + + Computed Message Authentication Code + + + + + Encryption Key + + + + + Password verifier + + + + + Password + + + + + No of keyBytes + + + + + No of saltBytes + + + + + Initiates Aes + + + + + Initializes a new instance of the Aes class. + + Key size. + Key bytes + + + + Encipher 16 bit input + + 16 bit Input + Output value + + + + Decipher 16-bit input + + + + + + + SetNbNkNr() + + Keysize + + + + Building S-box + + + + + Building Inverse S-box + + + + + Builds Rotation array + + + + + Adds rounf Key + + No of Rounds + + + + SubBytes + + + + + InvSubBytes + + + + + ShiftRows() + + + + + InvShiftRows() + + + + + MixColumns + + + + + InvMixColumns + + + + + Key Expansion + + + + + Subword + + Word + resulted word + + + + Rotates word + + Input + Result + + + + Dump + + + + + Dump key. + + + + + + Dump two by two. + + + + + + + Generates a key for Encryption and Decryption + + + + + Generates Message Authentication Code + + data used for MAC + + + + Compares two bytes arrays + + First byte array + Second byte array + true if two arrays are same + + + + Set key and salt lengths for AES key + + + + + Decrypt the cipherData + + Encrypted data + Decrypted + + + + Encrypt the plain data + + Data needs to be encrypted + Encrypted data + + + + Counter Mode Encryption + + Encrypted data + Decrypted data to get + AES encryption Key + + + + + Possible key sizes. + + + + + 128-bit. + + + + + 192-bit. + + + + + 256-bit. + + + + + Implementation Rfc2898Key generation + + + + + Block Number + + + + + Rfc Buffer + + + + + End Offset + + + + + No of Iterations + + + + + Salt Value + + + + + Start Offset + + + + + Password + + + + + BlockSize for SHA1 buffer + + + + + Inner buffer + + + + + Outer buffer + + + + + Indicates whether needs hash + + + + + Key Value + + + + + Buffer + + + + + No of hash + + + + + State of SHA1 + + + + + Expanded array + + + + + HMAC hash value + + + + + SHA1 hash value + + + + + Constructor + + Password + salt value to get key + No of iteration used + + + + Constructor + + Password + salt value to get key + No of iteration used + + + + Creates a byte array for input + + Input + Converted byte array for input + + + + Derives key + + key + + + + Generates the byte array based on the given length + + Length of the array + Byte array + + + + Initializes the RFC to initial state + + + + + Updates the m_inner and m_outer arrays + + + + + Initializes the key value + + + + + + Computes hash code for the given data + + input data + return hash in bytes + + + + Computes hash for the specified region from input for the given offset and copies the data to the output from the given offset + + Input array + input Offset + Length + Output array + output Offset + + + + + Computes hash for the specified region from input for the given offset. + + Input array + input Offset + Length + + + + Clears all value rom arrays + + + + + Initializes State values + + + + + Computes hash for the given input data from the specified offset and Length + + Input + start from the input array + length needs to be hashed + + + + + Computes the final hash code + + hash data + + + + Modifies the buffer using SHA + + input + State array + Blocks + + + + Expand the input array using SHA + + Input array + + + + Convert the BigEndian to DWORD + + Dword array + No of digits + Input block + + + + Convert Dword to BigEndian + + BigEndian array + Output array + no of digits + + + + Hash value + + + + + Contains security Constants + + + + + Password Verifier Length of AES Encryption + + + + + Message Authentication Code Length of AES Encryption + + + + + Password Length of ZipCrypto Encryption + + + + + Password verifier value position of ZipCrypto 0 based index + + + + + PKZip strong encryption header length + + + + + AES compression method + + + + + Block size for Rfc2898Key + + + + + Password iteration Count for AES + + + + + Aes Block Size + + + + + AES encryption header constants + + + + + ZipCrypto Encryption and Decryption + + + + + Data stream + + + + + Password + + + + + Crc value + + + + + Initial keys + + + + + ZipCrc32 + + + + + Constructor initializes Data stream and password + + Data + Password + + + + Initializes Password and Crc value + + Password + Crc value + + + + Initializes key and crc + + + + + Update password + + Password + + + + Update key values + + byte needed for key update + + + + Initializes the keys using Password + + Password of the zip file + + + + Key Update using password + + Password of the zip file + + + + Data Encryption + + Plain data + Cipher data + + + + Data Decryption + + Cipher data + Plain data + + + + Decrypt the data using ZipCrypto + + Cipher data + Plain data + + + + Encrypt the data using ZipCrypto + + Plain data + Cipher data + + + + Generates the Encryption and Decryption Byte + + byte value + + + + Encryption types. + + + + + No Encryption + + + + + AES-128 bit encryption + + + + + AES-192 bit encryption + + + + + AES-256 bit encryption + + + + + ZipCrypto Encryption + + + + + Represents zip archive. + + + + + Collection of archive items. + + + + + Dictionary that allows quick search operations by item name. + Key - item name, + Value - corresponding ZipArchiveItem. + + + + + File name preprocessor - object that converts full file/folder + name into value that will be written into zip archive. + + + + + Indicates whether we should check Crc value when reading item's data. Check + is performed when user gets access to decompressed data for the first time. + + + + + Default compression level. + + + + + Compresses files using custom NetCompressor. + + + + + Password for the zip File + + + + + Type of the Encryption + + + + + Indicates whether single file protection is enabled or not. + False by default. + + + + + Creates compressor. + + + + + Searches for integer value from the end of the stream. + + Stream to search value in. + Value to locate. + Maximum number of bytes to scan. + Offset to the value, or -1 if it wasn't found. + + + + Extracts Int32 value from the stream. + + Stream to read data from. + Extracted value. + + + + Extracts Int16 value from the stream. + + Stream to read data from. + Extracted value. + + + + Extracts unsigned Int16 value from the stream. + + Stream to read data from. + Extracted value. + + + + Extracts UInt32 value from the stream. + + Stream to read data from. + Extracted value. + + + + Adds empty directory to the archive. + + Directory path. + Item that has been added. + + + + Adds specified file to the archive. + + File to add. + Item that has been added. + + + + Adds the specified file to the zip archive with the password. + + File to add. + File password + Item that has been added. + + + + Adds new item to the archive + + Item name to add. + Items data stream (can be null for empty files or folders). + Indicates whether ZipArchive is responsible for stream closing. + File attributes. + Item that has been added. + + + + Adds a new item in the zip archive with the specified name and password. + + Item name to add. + Items data stream (can be null for empty files or folders). + Indicates whether ZipArchive is responsible for stream closing. + File attributes. + Item or file password + Item that has been added. + + + + Adds new item to the archive + + Item name to add. + Items data stream (can be null for empty files or folders). + Indicates whether ZipArchive is responsible for stream closing. + File attributes. + Item that has been added. + + + + Adds existing item to the archive. + + Item to add. + Added item. + + + + Removes item from the archive. + + Item name to remove. + + + + Removes item at the specified position. + + Item index to remove. + + + + Removes items that matches specified regular expression from the collection. + + Regular expression used to decide whether to remove item or not. + + + + Updates item inside existing archive. + + Item name to update. + New data for the item. + Indicates whether item should control its stream after update. + + + + Updates existing item or creates new one. + + Item to update or create. + New data for the item. + Indicates whether item should control its stream after update. + File attributes for the item. This argument is only used if item is created. + + + + Updates item inside existing archive. + + Item name to update. + New data for the item. + + + + Saves archive into specified file. + + Output file name. + + + + Saves archive into specified file. + + Output file name. + Indicates whether we should create full path to the file if it doesn't exist. + + + + Saves archive into specified stream. + + Output stream. + Indicates whether method should close stream after saving. + + + + Reads archive data from the file. + + Filename to read. + + + + Reads archive data from the stream. In the current implementation + stream must be seekable and readable to extract data. + + Stream to read data from. + Indicates whether method should close stream after reading. + + + + Clears all internal data. + + + + + Searches for the item with specified name. + + Item to find. + Zero-based item index if found; -1 otherwise. + + + + Searches for the item with specified name. + + Regular expression that defines item to find. + Zero-based item index if found; -1 otherwise. + + + + Writes central directory to the stream. + + Stream to write data into. + + + + Writes End of central directory record into stream. + + Stream to write data into. + Offset to the central directory start. + + + + Read central directory record from the stream. + + Stream to read from. + + + + Extracts items' data from the stream. + + Stream to read data from. + + + + Creates a copy of the current instance. + + A copy of the current instance. + + + + Protects the archived file with password using specified algorithm. + + Password to protect. + Type of encryption algorithm to be used. + + + + Removes password from the compressed file. + + + + + Raises the event to request a password for the specified file and returns the provided password. + + The name of the file for which the password is required. + The password provided for the specified file, or null if no password is set. + + + + Opens an encrypted zip file with password. + + File Name. + Password of the file to open. + + + + Reads archive data from the stream. In the current implementation + stream must be seekable and readable to extract data. + + Stream to read data from. + Indicates whether method should close stream after reading. + Password for the file to open. + + + + A method to release allocated unmanaged resources. + + + + + Class finilizer. + + + + + An event is raised when a unique password is required for the ZipArchiveItem. The event provides the file name and expects the handler to supply the password. + + + + + Returns single archive item from the collection. Read-only. + + Zero-based index of the item to return. + Single archive item from the collection. + + + + Returns item by its name. Null if item wasn't found. Read-only. + + + + + Returns number of items inside archive. Read-only. + + + + + Returns the items inside archive. Read-only. + + + + + Gets / sets file name preprocessor - object that converts full file/folder + name into value that will be written into zip archive. + + + + + Gets / sets default compression level - compression level for new items. + By default is equal to CompressionLevel.Best. + + + + + Indicates whether we should check Crc value when reading item's data. Check + is performed when user gets access to item's decompressed data for the first time. + + + + + Uses custom compressed stream reader and writer. + + + + + Returns the encryption algorithm used. Default value is NONE. + + + + + Password for ZipFile + + + + + Gets a value indicating whether the event has subscribers. + + + + + Represents the method that will handle the event related to requesting a password for a ZipArchiveItem. + + + + + + + Represents the data for the password needed event in ZipArchive. + + + + + The name of the item in the archive. + + + + + The password associated with the archive item. + + + + + Initializes a new instance of the class with the specified file name. + + The name of the item in the archive + + + + Gets the file name of the ZipArchiveItem for read only. + + + + + Gets or sets the password for the ZipArchiveItem. + + + + + Represents single item inside zip archive. It can be either folder or file. + + + + + Name of the archive item. + + + + + Compression method. + + + + + Compression level. + + + + + Crc. + + + + + Stream with item's data. + + + + + Compressed data size. + + + + + Original (not compressed) data size. + + + + + Indicates whether this item controls it's data stream. + + + + + Indicates whether internal stream contains compressed data. + + + + + Position of the size block inside local file header. + + + + + Offset to the local header. + + + + + General purpose bit flag. + + + + + Item's external attributes. + + + + + Indicates whether we should check crc value after decompressing item's data. + + + + + + + + + + Actual compression when Aes Encryption + + + + + Last modified date time + + + + + Default constructor. + + + + + Creates new instance of the zip item. + + Name of the item (can be relative or absolute path). + Stream data. + + Indicates whether item controls stream and must close it when item finish its work. + + + + + + + + + + + + Updates internal data stream. + + New stream to set. + Indicates whether item should conrol new stream. + + + + + + + + + This method saves item inside stream. + + Stream to save item into. + + + + Frees all internal resources and closes internal stream if necessary. + + + + + This method writes file header into Central directory record. + + Stream to write data into. + + + + Converts current datetime to Windows format. + + Current Date and time. + Value in Windows format. + + + + Converts Windows format to Date Time. + + Windows format Date and time. + Value in Date Time. + + + + + Read data from the stream based on the central directory. + + Stream to read data from, stream.Position must point at just after correct file header. + + + + Reads zipped data from the stream. + + Stream to read data from. + Indicates whether we should check crc value after data decompression. + + + + Extracts compressed data from the stream. + + Stream to read data from. + + + + Extracts local header from the stream. + + Stream to read data from. + + + + Decompressed internal data if necessary. + + + + + Writes local file header. + + Stream to write into. + + + + Writes zipped content inside stream. + + Stream to write into. + + + + Writes local file footer into stream. + + Stream to write into. + + + + Checks whether Crc field and stream data corresponds each other. + + + + + Sets the encryption algorithm for the archive. + + The encryption algorithm to be applied. + + + + Creates copy of the stream. + + Stream to copy. + Created stream. + + + + Checks for Latin characters in the Unicode string. + + Input Unicode string. + True if the Unicode string contain Latin characters. False otherwise. + + + + A method to release allocated unmanaged resources. + + + + + Finilizer. + + + + + Writes the header to Indicate the zip the file is encrypted. + + The data to write + + + + Data Encryption + + Data to be Encrypted + Encrypted data + + + + Data Decryption + + Data needs to be decrypted + Decrypted data + + + + Retrieves the password for the archive item, prioritizing the instance-level password if available. + + + The password specified in the current instance, or the archive's default password if the instance password is not set. + + + + + Checks whether the file has unicode characters. + + Name of the file. + + + + + Create a Random byte Array + + Length of the salt value + salt value + + + + Name of the archive item. + + + + + Compression method. + + + + + Gets/sets item's compression level. + + + + + Crc. + + + + + Stream with item's data. + + + + + Compressed data size. + + + + + Original (not compressed) data size. + + + + + Indicates whether this item controls it's data stream. + + + + + Indicates whether internal stream contains compressed data. + + + + + Gets / sets item's external attributes. + + + + + Gets or sets the item password + + + + + Gets current OEM code page. + + + + + Last modified date time + + + + + Crc32 implementation used in zip archive to verify data correctness. + + + + + Special pre-evaluated table used for faster crc evaluation. + Evaluated when crcNumber was 0xEDB88320. EvaluateTable method + can be used to evaluated table with different constant. + + + + Computes crc-32 value for the buffer. + Buffer to compute crc-32 for. + Offset to the data start. + Data length in bytes. + Initial crc-32 value. + Updated crc-32 value. + + + Computes crc-32 value for the stream. + Stream to compute crc-32 for. + Data length in bytes. + Crc-32 value. + + + + Evaluates crc table. + + "Magic" number. + Create table. + + + + Computes crc value for given number + + Number to calculate Crc value + Initial crc-32 value + Crc value + + + + This class represents exception type that is mostly raised when some + problems with zip extraction/creation occurs. + + + + + Initializes new instance of the exception class. + + Exception message. + + + + + + + + + + + + + + + + + + + + + + + + Initializes new instance of the stream. + + + + + Initializes new instance of the stream. + + + + + Clears all buffers for this stream and causes any buffered data to be written to the underlying device. + + + + + Reads a sequence of bytes from the current stream and advances the position + within the stream by the number of bytes read. + + An array of bytes. When this method returns, the buffer + contains the specified byte array with the values between offset and + (offset + count - 1) replaced by the bytes read from the current source. + The zero-based byte offset in buffer at which to begin + storing the data read from the current stream. + The maximum number of bytes to be read from the current stream. + The total number of bytes read into the buffer. This can be less + than the number of bytes requested if that many bytes are not currently + available, or zero (0) if the end of the stream has been reached. + + + + Sets the position within the current stream. + + A byte offset relative to the origin parameter. + A value of type SeekOrigin indicating the reference + point used to obtain the new position. + The new position within the current stream. + + + + Sets the length of the current stream. + + The desired length of the current stream in bytes. + + + + Writes a sequence of bytes to the current stream and advances the current + position within this stream by the number of bytes written. + + An array of bytes. This method copies count bytes + from buffer to the current stream. + The zero-based byte offset in buffer at which to begin + copying bytes to the current stream. + The number of bytes to be written to the current stream. + + + + Gets a value indicating whether the current stream supports reading. Read-only. + + + + + Gets a value indicating whether the current stream supports seeking. Read-only. + + + + + Gets a value indicating whether the current stream supports writing. Read-only. + + + + + Gets the length in bytes of the stream. Read-only. + + + + + Gets or sets the position within the current stream. Read-only. + + + + + This property returns stream with zipped content. It closes internal deflate + stream, so you won't be able to write anything in int. Read-only. + + + + + Returns computed crc32 value. Read-only. + + + + + Returns size of the unzipped data. Read-only. + + + + diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.DocIO.Base.dll b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.DocIO.Base.dll new file mode 100644 index 00000000..460b7eeb Binary files /dev/null and b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.DocIO.Base.dll differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.DocIO.Base.xml b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.DocIO.Base.xml new file mode 100644 index 00000000..388a1083 --- /dev/null +++ b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.DocIO.Base.xml @@ -0,0 +1,166873 @@ + + + + Syncfusion.DocIO.Base + + + + + + Contains utility methods for object cloning. + + + + + Clones int array. + + Array to clone + Returns cloned array. + + + + Clones ushort array. + + Array to clone. + Returns cloned array. + + + + Clones string array. + + Array to clone. + Returns cloned array. + + + + Clones object array. + + Array to clone. + Returns cloned array. + + + + Clones object that implements ICloneable interface. + + Object to clone. + A clone of the object. + + + + Clones byte array. + + Array to clone. + Return cloned array. + + + + Clone Dictionary. + + Dictionary to clone + Returns a copy of the Dictionary. + + + + Clone Dictionary. + + Dictionary to clone + Returns a copy of the Dictionary. + + + + Creates copy of the stream. + + Stream to copy. + Created stream. + + + + Summary description for DocumentPropertyImpl. + + + + + Represents single document property. + + + + + Indicates whether property is built-in. Read-only. + + + + + Returns property id for built-in properties. Read-only. + + + + + Returns property name. Read-only. + + + + + Gets / sets property value. + + + + + Gets / sets boolean value. + + + + + Gets / sets integer value. + + + + + Gets / sets 4-bytes signed integer value. + + + + + Gets / sets double value. + + + + + Gets / sets string value. + + + + + Gets / sets DateTime value. + + + + + Gets / sets TimeSpan value. + + + + + Returns or sets the source of a linked custom document property. Read/write String. + + + + + True if the value of the custom document property is linked to the content + of the container document. False if the value is static. Read/write Boolean. + + + + + Start index for Id2 PropVariant property. + + + + + Start year for FILETIME structure. + + + + + Property id. + + + + + Property name. + + + + + Property value. + + + + + Property type. + + + + + The source of a linked custom document property. Read/write String. + + + + + True if the value of the custom document property is linked to the content + of the container document. False if the value is static. Read/write Boolean. + + + + + Default constructor. + + + + + Initializes new instance of the class. + + Property name. + Property value. + + + + Initializes new instance of the class. + + Property id. + Property value. + + + + Initializes new instance of the document property. + + Variant that contains property data. + + Indicates whether property is from document summary or not (only for + built-int properties). + + + + Detects type of the string. + + String value to check. + Detected string type. + + + + Copies document property data into PropVariant. + + Destination object. + PropertyId for custom properties. + True if was able to fill variant; false otherwise. + + + + Converts propertyId into correct index. + + PropertyId to convert. + [out] Indicates whether this is document summary property of simply document property. + Correct property index. + + + + Tries to detect and set property type. + + + + + Sets value of LinkSource property. + + Variant that contains value to set. + + + + Saves property into IPropertyStorage. + + Storage to save into. + Property variant used as buffer. + Property id for custom properties. + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of this instance. + + + + Creates copy of the internal value. + + + + + Indicates whether property is built-in. Read-only. + + + + + Returns / sets property id for built-in properties. + + + + + Returns property name. Read-only. + + + + + Gets / sets property value. + + + + + Gets / sets boolean value. + + + + + Gets / sets integer value. + + + + + Gets / sets 4-bytes signed integer value. + + + + + Gets / sets double value. + + + + + Gets / sets string value. + + + + + Gets / sets DateTime value. + + + + + Gets / sets TimeSpan value. + + + + + Gets / sets Blob value. + + + + + Gets or sets clipboard data value. + + + + + Gets / sets array of strings. + + + + + Gets / sets array of objects. Supported object types are string and Int32. + + + + + Gets / sets document property type. + + + + + Returns or sets the source of a linked custom document property. Read/write String. + + + + + True if the value of the custom document property is linked to the content of the container document. False if the value is static. Read/write Boolean. + + + + + Internal name of the document property. + + + + + Property IDs for the SummaryInformation Property Set. + + + + + Title document property Id. + + + + + Subject document property Id. + + + + + Author document property Id. + + + + + Keywords document property Id. + + + + + Comments document property Id. + + + + + Template document property Id. + + + + + LastAuthor document property Id. + + + + + Revnumber document property Id. + + + + + EditTime document property Id. + + + + + LastPrinted document property Id. + + + + + CreationDate document property Id. + + + + + LastSaveDate document property Id. + + + + + PageCount document property Id. + + + + + WordCount document property Id. + + + + + CharCount document property Id. + + + + + Thumbnail document property Id. + + + + + ApplicationName document property Id. + + + + + Ssecurity document property Id. + + + + + Category Id. + + + + + Target format for presentation (35mm, printer, video, and so on) id. + + + + + ByteCount Id. + + + + + LineCount Id. + + + + + ParCount Id. + + + + + SlideCount Id. + + + + + NoteCount Id. + + + + + HiddenCount Id. + + + + + MmclipCount Id. + + + + + ScaleCrop property Id. + + + + + HeadingPair Id. + + + + + DocParts Id. + + + + + Manager Id. + + + + + Company Id. + + + + + LinksDirty Id. + + + + + The character count with space + + + + + Enumeration with all supported property types. + + + + + Indicates a Boolean value. + + + + + Indicates an integer value. + + + + + Indicates a 4-bytes signed integer value. + + + + + Indicates a 2-bytes signed interger value. + + + + + Indicates a 4-bytes unsigned interger value. + + + + + Indicates a wide string terminated by a null. + + + + + Indicates a string terminated by a null. + + + + + Indicates a FILETIME value. + + + + + Indicates length prefixed bytes. + + + + + Indicates a simple, counted array. + + + + + Indicates an object. + + + + + Indicates a double value. + + + + + Indicates an empty value. + + + + + Indicates null value. + + + + + Indicates clipboard data. + + + + + Indicates an array of strings. + + + + + Indicates an array of strings. + + + + + Indicates an array of objects. Supported types are string and integer values. + + + + + This interface represents stream in the compound file. + + + + + Name of the stream. + + + + + Initializes new instance of the compound stream object. + + Name of the stream. + + + + Copies stream content into another stream object. + + Stream to copy data into. + + + + Returns name of the stream. + + + + + This interface gives access to compound file functionality. + + + + + Flushes content into internal buffer. + + + + + Saves compound file into stream + + Stream to save data into. + + + + Saves compound file into file. + + Name of the file to save into. + + + + Returns root storage object for this file. + + + + + Gets the directory. + + The directory. + + + + This interface represents storage object in the compound file. + + + + + Creates new stream inside this storage. + + Name of the stream to create. + Created stream object. + + + + Opens existing stream inside this storage. + + Name of the stream to open. + + + + + Removes existing stream from this storage. + + Name of the stream to remove. + + + + Determines whether storage contains specified stream. + + Name of the stream to check. + true if storage contains specified stream. + + + + Creates new substorage inside this one. + + Name of the storage to create. + Created storage object. + + + + Opens existing substorage inside this one. + + Name of the storage to open. + Created storage object. + + + + Removes exisiting substorage from this one. + + Name of the storage to remove. + + + + Determines whether this storage contains substorage with specified name. + + Name of the storage to check. + true if storage contains substorage with specified name. + + + + Commits changes. + + + + + Inserts copy of the storage and all subitems inside current storage. + + Storage to copy. + + + + Inserts copy of the stream inside current storage. + + Stream to copy. + + + + Returns all stream names that are placed inside this stream. + + + + + Returns all storage names that are placed inside this stream. + + + + + Returns name of the storage. + + + + + This exception should be thrown when lock or share violation has occured. + Usually this happens when user tries to create storage on file opened by somebody else. + + + + + Default message. + + + + + Message for exception message with record code. + + + + + Initializes a new instance of the class with default error message. + + + + + Initializes a new instance of the class with a specified error message. + + Error message. + + + + Initializes a new instance of the Exception class with + a specified error message and a reference to the inner + exception that is the cause of this exception. + + + The error message that explains the reason for the exception. + + + The exception that is the cause of the current exception. + If the innerException parameter is not a NULL reference + (Nothing in Visual Basic), the current exception is raised + in a catch block that handles the inner exception. + + + + + Special wrapper class that allows users to control access to stream + and cache data. + + + + + Default buffer allocation size. + + + + + Underlying stream. Close sets _s to NULL. + + + + + Shared read / write buffer. Allocated on first use. + + + + + Read pointer within shared buffer. + + + + + Number of bytes read in buffer from _s. + + + + + Write pointer within shared buffer. + + + + + Length of internal buffer if it is allocated. + + + + + Stream position when the buffer is read. + + + + + Default constructor. Hidden to class users. + + + + + Initialize class by stream and DefaultBufferSize == 4096. + + Stream which our class must wrap. + + + + Initialize class by instance of stream and user defined cache size. + + Stream which our class must wrap. + User defined cache size. + Stream does not support Read and Write operations. + BufferSize is equal or less than zero. + + + + Reads data from the stream. If data is cached, the class will not call wrapped + stream and will simply return a copy of cached data. + + Output buffer. + Offset in output buffer where data from stream must be placed. + Count of bytes which class must return. + Quantity of read bytes. + + + + Reads a byte from the underlying stream. Returns an int (byte cast to an int) + or -1 if it is the end of the stream. + + Read byte. + + + + Writes portion of data into a wrapped stream. Data will be cached if it is possible. + It will then be saved to the wrapped stream on Flush. + + Array containing data. + Offset to the beginning of the portion of data. + Number of bytes in the portion of data. + + If array or stream is NULL. + + + If offset or count is less than zero. + + + If array does not contain the required element count. + + + + + Write one byte of information into stream. + + Value which must be written. + + If stream is NULL. + + + If can't write into stream. + + + + + On any Seek operation, data not written from cache will be + flushed to the wrapped stream. Using the Position property is better as + it is optimized for cache use. + + New offset of stream. + Start point of seek operation. + Current position. + + If stream is NULL. + + + If can't seek in the stream. + + + + + Saves all the data from cache and closes the stream. + + + + + Flushes data and resets the cache. + + + When stream is NULL. + + + + + The file is read in blocks, but a user could read 1 byte + from the buffer and write it. At that point, the Operating System's file + pointer is out of sync with the stream's position. Hence, all write + functions should call this function to preserve the position in the file. + + + + + Since Write is buffered, any time the buffer fills up + or the buffer switches to reading and there is dirty data + (_writePos > 0), this function must be called. + + + + + Sets length of wrapped stream. + + New length of stream. + + When value is less than zero. + + + When stream is NULL. + + + Cannot seek or cannot write into stream. + + + + + Indicates whether data can be read from the wrapped stream. + True if data can be read. + + Class instance was disposed. + + + + Indicates whether data can be written to wrapped stream. + + Class instance was disposed. + + + + Indicates whether the wrapped stream supports Seek operations. + + Class instance was disposed. + + + + Gets length of the wrapped stream. When this property is accessed, the data + that is not written to the stream is first flushed. + + Class instance was disposed. + + + + Gets the current position of stream. Position can be different from the value in wrapped + stream, because wrapped stream will point to the last byte of the + cached data. When this property is set, the data that is not written is flushed to the stream. + + Class instance was disposed. + Wrapped stream does not support seek operation. + + + + Get reference of stream wrapped by BufferStreamEx. + + + + + This is compound file implementation based on standard COM-objects. + + + + + Root storage. + + + + + Represents the locking bytes. + + + + + Default constructor. Creates native compound file in memory. + + + + + Creates new instance of the compound file based on the specified stream. + + Stream to extract data from. + + + + Creates new instance of the compound file based on the file name and open flags. + + Name of the file to parse. + Storage options. + + + + Flushes all internal buffers. + + + + + Cretes storage on ILockBytes. + + Created storage. + + + + Saves internal ILockBytes into stream. + + Stream to save into. + + + + Opens specified stream. + + Stream to open. + + + + Saves compound file into stream + + Stream to save data into. + + + + Saves compound file into file. + + Name of the file to save into. + + + + Frees all allocated resources. + + + + + Gets the directory + + + + + Returns root storage object for this file. + + + + + Summary description for ILockBytes. + + + + + The ReadAt method reads a specified number of bytes + starting at a specified offset from the beginning of the byte array object. + + Specifies the starting point from the beginning + of the byte array for reading data. + Pointer to the buffer into which the byte array is read. + The size of this buffer is contained in cb. + Specifies the number of bytes of data to attempt to read + from the byte array. + Pointer to a ULONG where this method writes the actual + number of bytes read from the byte array. You can set this pointer to NULL + to indicate that you are not interested in this value. In this case, this + method does not provide the actual number of bytes that were read. + S_OK - Indicates that the specified number of bytes were read, or the + maximum number of bytes were read to the end of the byte array. + E_FAIL - Data could not be read from the byte array. + E_PENDING - Asynchronous Storage only: Part or all of the data to be + read is currently unavailable. + STG_E_ACCESSDENIED - The caller does not have permission to access the byte array. + STG_E_READFAULT - The number of bytes to be read does not equal the number of bytes + that were actually read + + + + The WriteAt method writes the specified number of bytes starting at a specified offset + from the beginning of the byte array. + + Specifies the starting point from + the beginning of the byte array for the data to be written. + Pointer to the buffer containing the data to be written. + Specifies the number of bytes of data to attempt to write into + the byte array. + Pointer to a location where this method specifies the + actual number of bytes written to the byte array. You can set this pointer to + NULL to indicate that you are not interested in this value. In this case, this + method does not provide the actual number of bytes written. + S_OK - Indicates that the specified number of bytes were written. + E_FAIL - A general failure occurred during the write operation. + E_PENDING - Asynchronous Storage only: Part or all of the data to be + written is currently unavailable. + STG_E_ACCESSDENIED - The caller does not have enough permissions for writing + this byte array. + STG_E_WRITEFAULT - The number of bytes to be written does not equal the number + of bytes that were actually written. + STG_E_MEDIUMFULL - The write operation was not completed because there is no + space left on the storage device. The actual number of bytes written is still + returned in pcbWritten. + + + + The Flush method ensures that any internal buffers maintained by the ILockBytes + implementation are written out to the underlying physical storage. + + S_OK - The flush operation was successful. + STG_E_ACCESSDENIED - The caller does not have permission to access the byte array. + STG_E_MEDIUMFULL - The flush operation is not completed because there is no space + left on the storage device. + E_FAIL - General failure writing data. + STG_E_TOOMANYFILESOPEN - Under certain circumstances, the Flush method executes + a download-and-closeto flush, which can lead to a return value of + STG_E_TOOMANYFILESOPEN if no file handles are available. + STG_E_INVALIDHANDLE - An underlying file has been prematurely closed, or the + correct floppy disk has been replaced by an invalid one. + + + + The SetSize method changes the size of the byte array. + + Specifies the new size of the byte array as a number of bytes. + S_OK - The size of the byte array was successfully changed. + STG_E_ACCESSDENIED - The caller does not have permission to access the byte array. + STG_E_MEDIUMFULL - The byte array size is not changed because there is no + space left on the storage device. + + + + The LockRegion method restricts access to a specified range of bytes in the byte array. + + Specifies the byte offset for the beginning of the range. + Specifies, in bytes, the length of the range to be restricted. + Specifies the type of restrictions being requested on + accessing the range. This parameter uses one of the values from the LOCKTYPE enumeration. + S_OK - The specified range of bytes was locked + STG_E_INVALIDFUNCTION - Locking is not supported at all or the specific type of lock + requested is not supported. + STG_E_ACCESSDENIED - Access denied because the caller has insufficient permission, + or another caller has the file open and locked. + STG_E_LOCKVIOLATION - Access denied because another caller has the file open and locked. + STG_E_INVALIDHANDLE - An underlying file has been prematurely closed, or the + correct floppy disk has been replaced by an invalid one + + + + The UnlockRegion method removes the access restriction on a previously + locked range of bytes. + + Specifies the byte offset for the beginning of the range. + Specifies, in bytes, the length of the range that is restricted. + Specifies the type of access restrictions previously + placed on the range. This parameter uses a value from the LOCKTYPE enumeration. + S_OK - The byte range was unlocked. + STG_E_INVALIDFUNCTION - Locking is not supported at all or the specific type + of lock requested is not supported. + STG_E_LOCKVIOLATION The requested unlock cannot be granted. + + + + + The Stat method retrieves a STATSTG structure containing information for + this byte array object. + + Pointer to a STATSTG structure in which this method + places information about this byte array object. The pointer is NULL if + an error occurs. + Specifies whether this method should supply the + pwcsName member of the STATSTG structure through values taken from the + STATFLAG enumeration. If the STATFLAG_NONAME is specified, the pwcsName + member of STATSTG is not supplied, thus saving a memory-allocation operation. + The other possible value, STATFLAG_DEFAULT, indicates that all members of the + STATSTG structure be supplied. + S_OK - The STATSTG structure was successfully returned at + the specified location. + E_OUTOFMEMORY - The STATSTG structure was not returned due to a lack of memory + for the name member in the structure. + STG_E_ACCESSDENIED - The STATSTG structure was not returned because the caller + did not have access to the byte array. + STG_E_INSUFFICIENTMEMORY - The STATSTG structure was not returned, due to + insufficient memory. + STG_E_INVALIDFLAG - The value for the grfStateFlag parameter is not valid. + STG_E_INVALIDPOINTER - The value for the pStatStg parameter is not valid. + + + + + Implementation of compound stream based on standard COM object. + + + + + + + + + + Stream position. + + + + + Initializes new instance of the stream object. + + COM stream to use. + Name of the stream. + + + + Reads a sequence of bytes from the current stream and advances the position + within the stream by the number of bytes read. + + An array of bytes. When this method returns, the buffer contains + the specified byte array with the values between offset and (offset + count - 1) + replaced by the bytes read from the current source. + The zero-based byte offset in buffer at which to begin storing + the data read from the current stream. + The maximum number of bytes to be read from the current stream. + The total number of bytes read into the buffer. This can be less + than the number of bytes requested if that many bytes are not currently + available, or zero (0) if the end of the stream has been reached. + + + + Writes a sequence of bytes to the current stream and advances the current position + within this stream by the number of bytes written. + + An array of bytes. This method copies length bytes from buffer to the current stream. + The zero-based byte offset in buffer at which to begin copying bytes to the current stream. + The number of bytes to be written to the current stream. + + + + Sets the position within the current stream. + + A byte offset relative to the origin parameter. + A value of type SeekOrigin indicating the reference point used to obtain the new position. + The new position within the current stream. + + + + Sets the length of the current stream. + + The desired length of the current stream in bytes. + + + + Clears all buffers for this stream and causes any buffered data to be + written to the underlying device. + + + + + Releases the unmanaged resources used by the Stream and optionally releases the managed resources. + + true to release both managed and unmanaged resources; + false to release only unmanaged resources. + + + + Checks whether offset and length can be fit inside specified buffer. + + Buffer to check. + Offset to check. + Length to check. + + + + Gets the length in bytes of the stream. + + + + + Gets or sets the position within the current stream. + + + + + Gets a value indicating whether the current stream supports reading. + + + + + Gets a value indicating whether the current stream supports writing. + + + + + Gets a value indicating whether the current stream supports seeking. + + + + + The STGTY enumeration values are used in the type member of the STATSTG + structure to indicate the type of the storage element. + + + + + Indicates that the storage element is a storage object. + + + + + Indicates that the storage element is a stream object. + + + + + Indicates that the storage element is a byte-array object. + + + + + Indicates that the storage element is a property storage object. + + + + + The STREAM_SEEK enumeration values specify the origin from which to + calculate the new seek-pointer location. + + + + + The new seek pointer is an offset relative to the beginning of + the stream. In this case, the dlibMove parameter is the new seek + position relative to the beginning of the stream. + + + + + The new seek pointer is an offset relative to the current seek + pointer location. In this case, the dlibMove parameter is the + signed displacement from the current seek position. + + + + + The new seek pointer is an offset relative to the end of the stream. + In this case, the dlibMove parameter is the new seek position + relative to the end of the stream. + + + + + The LOCKTYPE enumeration values indicate the type of locking requested + for the specified range of bytes. + + + + + If this lock is granted, the specified range of bytes can be opened + and read any number of times, but writing to the locked range is + prohibited except for the owner who granted this lock. + + + + + If this lock is granted, writing to the specified range of bytes is + prohibited except by the owner granted this lock. + + + + + If this lock is granted, no other LOCK_ONLYONCE lock can be obtained + on the range. Usually this lock type is an alias for some other lock + type. Thus, specific implementations can have additional behavior + associated with this lock type. + + + + + The STGM enumeration values are used in the IStorage, IStream, and + IPropertySetStorage interfaces. These elements are often combined + using an OR operator. + + + + + Indicates that the object is read-only, meaning that modifications + cannot be made. + + + + + STGM_WRITE lets you save changes to the object, but does not permit + access to its data. + + + + + STGM_READWRITE allows you to both access and modify an object's data. + + + + + Specifies that subsequent openings of the object are not denied read + or write access. If no flag from the sharing group is specified, + this flag is assumed. + + + + + Prevents others from subsequently opening the object in STGM_READ mode. + It is typically used on a root storage object. + + + + + Prevents others from subsequently opening the object for STGM_WRITE + or STGM_READWRITE access. + + + + + Prevents others from subsequently opening the object in any mode. In + transacted mode, sharing of STGM_SHARE_DENY_WRITE or STGM_SHARE_EXCLUSIVE + can significantly improve performance since they don't require snapshotting. + + + + + Opens the storage object with exclusive access to the most recently + committed version. + + + + + Indicates that an existing storage object or stream should be removed + before the new one replaces it. + + + + + Creates the new object while preserving existing data in a stream + named "Contents". + + + + + Causes the create operation to fail if an existing object with the + specified name exists. + + + + + In direct mode, each change to a storage or stream element is + written as it occurs. + + + + + In transacted mode, changes are buffered and written only if an + explicit commit operation is called. + + + + + In transacted mode, a temporary scratch file is usually used to + save modifications until the Commit method is called. + + + + + This flag is used when opening a storage object with STGM_TRANSACTED + and without STGM_SHARE_EXCLUSIVE or STGM_SHARE_DENY_WRITE. + + + + + STGM_SIMPLE is a mode that provides a much faster implementation of + a compound file in a limited, but frequently used case. + + + + + The STGM_DIRECT_SWMR supports direct mode for single-writer, + multireader file operations. + + + + + Indicates that the underlying file is to be automatically destroyed + when the root storage object is released. + + + + + The STGFMT enumeration values specify the format of a storage object + and are used in the StgCreateStorageEx and StgOpenStorageEx functions + in the STGFMT parameter. + + + + + Indicates that the file must be a compound file. + + + + + Indicates that the file must not be a compound file. + + + + + Indicates that the system will determine the file type and use the + appropriate structured storage or property set implementation. + + + + + Indicates that the file must be a compound file and is similar to + the STGFMT_STORAGE flag, but indicates that the compound-file form + of the compound-file implementation must be used. + + + + + Error code which StgOpenStorage method can return after execution. + + + + + Success code. + + + + + Filed. + + + + + Access Denied. + + + + + File already exists. + + + + + File could not be found. + + + + + There is insufficient memory available to complete operation. + + + + + Invalid flag error. + + + + + Unable to perform requested operation. + + + + + Attempted an operation on an invalid object. + + + + + The name is not valid. + + + + + Invalid pointer error. + + + + + A lock violation has occurred. + + + + + The compound file was not created with the STGM_SIMPLE flag. + + + + + The compound file was produced with a newer version of storage. + + + + + The compound file was produced with an incompatible version of storage. + + + + + The path could not be found. + + + + + A share violation has occurred. + + + + + There are insufficient resources to open another file. + + + + + The STGC enumeration constants specify the conditions for performing + the commit operation in the IStorage::Commit and IStream::Commit methods. + + + + + You can specify this condition with STGC_CONSOLIDATE or some + combination of the other three flags in this list of elements. + + + + + The commit operation can overwrite existing data to reduce overall + space requirements. + + + + + Prevents multiple users of a storage object from overwriting each + other's changes. + + + + + Commits the changes to a write-behind disk cache, but does not save + the cache to the disk. + + + + + Microsoft Windows 2000/XP: Indicates that a storage should be + consolidated after it is committed, resulting in a smaller file on disk. + + + + + Property IDs for the SummaryInformation Property Set. + + + + + Title Id. + + + + + Subject Id. + + + + + Author Id. + + + + + Keywords Id. + + + + + Comments Id. + + + + + Template Id. + + + + + LastAuthor Id. + + + + + Revnumber Id. + + + + + EditTime Id. + + + + + LastPrinted Id. + + + + + Create_dtm Id. + + + + + LastSave_dtm Id. + + + + + Pagecount Id. + + + + + Wordcount Id. + + + + + Charcount Id. + + + + + Thumbnail Id. + + + + + Appname Id. + + + + + Doc_security Id. + + + + + Property IDs for the DocSummaryInformation Property Set. + + + + + Category Id. + + + + + PresFormat Id. + + + + + ByteCount Id. + + + + + LineCount Id. + + + + + ParCount Id. + + + + + SlideCount Id. + + + + + NoteCount Id. + + + + + HiddenCount Id. + + + + + MmclipCount Id. + + + + + Scale Id. + + + + + HeadingPair Id. + + + + + DocParts Id. + + + + + Manager Id. + + + + + Company Id. + + + + + LinksDirty Id. + + + + + Reserved global Property IDs. + + + + + PID_DICTIONARY Id. + + + + + PID_CODEPAGE Id. + + + + + PID_FIRST_USABLE Id. + + + + + PID_FIRST_NAME_DEFAULT Id. + + + + + PID_LOCALE Id. + + + + + PID_MODIFY_TIME Id. + + + + + PID_SECURITY Id. + + + + + PID_BEHAVIOR Id. + + + + + PID_ILLEGAL Id. + + + + + PID_MIN_READONLY Id. + + + + + PID_MAX_READONLY Id. + + + + + PRSPEC property ids. + + + + + INVALID Id. + + + + + LPWSTR Id. + + + + + PROPID Id. + + + + + The STATSTG structure contains statistical information about an open storage, + stream, or byte-array object. + + + + + Pointer to a NULL-terminated Unicode string containing the name. + Space for this string is allocated by the method called and freed by the caller + + + + + Indicates the type of storage object. This is one of the + values from the STGTY enumeration. + + + + + Specifies the size in bytes of the stream or byte array. + + + + + Indicates the last modification time for this storage, stream, or byte array. + + + + + Indicates the creation time for this storage, stream, or byte array. + + + + + Indicates the last access time for this storage, stream or byte array. + + + + + Indicates the access mode specified when the object was opened. + This member is only valid in calls to Stat methods. + + + + + Indicates the types of region locking supported by the stream or byte array. + See the LOCKTYPE enumeration for the values available. + This member is not used for storage objects. + + + + + Indicates the class identifier for the storage object; set to CLSID_NULL for new storage objects. + This member is not used for streams or byte arrays. + + + + + Indicates the current state bits of the storage object; that is, the value most + recently set by the IStorage::SetStateBits method. + This member is not valid for streams or byte arrays. + + + + + Reserved for future use. + + + + + Structure that is used by STG API. + + + + + Structure that is used by STG API. + + + + + uint parameter. + + + + + uint parameter. + + + + + OLECHAR parameter. + + + + + Macros for parsing the OS Version of the Property Set Header. + + + + + Time in UTC when this property set was last accessed. + + + + + CLSID associated with this property set, specified when the property set was initially created + and possibly modified thereafter with IPropertyStorage::SetClass. If not set, the value will be CLSID_NULL. + + + + + Time in UTC when this property set was created. + + + + + Os vorsion. + + + + + FMTID of the current property set, specified when the property set was initially created. + + + + + Flag values of the property set, as specified in IPropertySetStorage::Create. + + + + + Time in Universal Coordinated Time (UTC) when the property set was last modified. + + + + + + The STATPROPSTG structure contains data about a single property in a property set. + This data is the property ID and type tag, and the optional string name that may be associated with the property. + + + + + A wide-character null-terminated Unicode string that contains the optional string name + associated with the property. May be NULL. + + + + + A 32-bit identifier that uniquely identifies the property within the property set. + All properties within property sets must have unique property identifiers. + + + + + The property type. + + + + + The PROPSPEC structure is used by many of the methods of IPropertyStorage to specify a + property either by its property identifier (ID) or the associated string name. + + + + + Indicates the union member used. This member can be one of the following values. + + + + + Specifies the value of the property ID. Use either this value or the following lpwstr, not both. + + + + + This enumeration is used in VARIANT, TYPEDESC, OLE property sets, and safe arrays. + + + + + Variable type is not specified. + + + + + Variable type is 4-byte signed INT. + + + + + Variable type is date. + + + + + Variable type is binary string. + + + + + Variable type is Boolean; True=-1, False=0. + + + + + Variable type is VARIANT FAR*. + + + + + Variable type is int. + + + + + Variable type is LPSTR. + + + + + Variable type is LPWSTR + + + + + Variable type is FILENAME string. + + + + + Variable type is binary VECTOR. + + + + + The IEnumSTATSTG interface enumerates an array of STATSTG structures. + These structures contain statistical data about open storage, stream, or byte array objects. + IEnumSTATSTG has the same methods as all enumerator interfaces: Next, Skip, Reset, and Clone. + + + + + The Next method retrieves a specified number of STATSTG structures, + that follow subsequently in the enumeration sequence. + If there are fewer than the requested number of STATSTG structures left + in the enumeration sequence, it retrieves the remaining STATSTG structures. + + The number of STATSTG structures requested. + An array of STATSTG structures returned. + The number of STATSTG structures retrieved in the rgelt parameter. + S_OK - The number of STATSTG structures returned equals the number + specified in the celt parameter. + S_FALSE - The number of STATSTG structures returned is less than the number + specified in the celt parameter. + + + + The Skip method skips a specified number of STATSTG structures in the enumeration sequence. + + The number of STATSTG structures to skip. + S_OK - The specified number of STATSTG structures were successfully skipped. + S_FALSE - The number of STATSTG structures skipped is less than the celt parameter. + + + + The Reset method resets the enumeration sequence to the beginning of the STATSTG structure array. + + S_OK - The enumeration sequence was successfully reset to the + beginning of the enumeration. + + + + The Clone method creates a new enumerator that contains the same enumeration state as + the current STATSTG structure enumerator. Using this method, a client can record a + particular point in the enumeration sequence and then return to that point at a later time. + The new enumerator supports the same IEnumSTATSTG interface. + + A pointer to the variable that receives the IEnumSTATSTG interface pointer. + If the method is unsuccessful, the value of the ppenum parameter is undefined. + E_INVALIDARG - The ppenum parameter is NULL. + E_OUTOFMEMORY - Insufficient memory. + E_UNEXPECTED - An unexpected exception occurred. + + + + For more information, refer to documentation on MSDN for interface with the same name. + + + + + Reads a specified number of bytes from the stream object into memory starting + at the current seek pointer. + + [out] Pointer to the buffer into which the stream data is read. + [in] Specifies the number of bytes of data to attempt to read + from the stream object. + [out] Pointer to a ULONG variable that receives the actual + number of bytes read from the stream object. You can set this pointer to NULL to + indicate that you are not interested in this value. In this case, this method + does not provide the actual number of bytes read. + + S_OK + Data was successfully read from the stream object. + S_FALSE + The data could not be read from the stream object. + E_PENDING + Asynchronous storage only: Part or all of the data to be read is currently unavailable. For more information, see IFillLockBytes and Asynchronous Storage. + STG_E_ACCESSDENIED + The caller does not have enough permissions for reading this stream object. + STG_E_INVALIDPOINTER + One of the pointer values is not valid. + STG_E_REVERTED + The object has been invalidated by a revert operation above it in the transaction tree. + + + + + Writes a specified number of bytes into the stream object starting at the + current seek pointer. + + [in] Pointer to the buffer containing the data that is to be + written to the stream. A valid pointer must be provided for this parameter even + when cb is zero. + [in] The number of bytes of data to attempt to write into the + stream. Can be zero. + [out] Pointer to a ULONG variable where this method + writes the actual number of bytes written to the stream object. The caller can + set this pointer to NULL, in which case this method does not provide the actual + number of bytes written. + + S_OK + The data was successfully written to the stream object. + E_PENDING + Asynchronous Storage only: Part or all of the data to be written is currently + unavailable. For more information, see IFillLockBytes and Asynchronous Storage. + STG_E_MEDIUMFULL + The write operation was not completed because there is no space left on the storage + device. + STG_E_ACCESSDENIED + The caller does not have enough permissions for writing to this stream object. + STG_E_CANTSAVE + Data cannot be written for reasons other than improper access or insufficient space. + STG_E_INVALIDPOINTER + One of the pointer values is not valid. The pv parameter must contain a valid pointer + even if cb is zero. + STG_E_REVERTED + The object has been invalidated by a revert operation above it in the transaction tree. + STG_E_WRITEFAULT + The write operation was not completed due to a disk error. This value is also returned + when this method attempts to write to a stream that was opened in simple mode (using + the STGM_SIMPLE flag). + + + + + Changes the seek pointer to a new location relative to the beginning of + the stream, the end of the stream, or the current seek pointer. + + [in] Displacement to be added to the location indicated by + the dwOrigin parameter. If dwOrigin is STREAM_SEEK_SET, this is interpreted as an + unsigned value rather than a signed value. + [in] Specifies the origin for the displacement specified in + dlibMove. The origin can be the beginning of the file, the current seek pointer, + or the end of the file. See the STREAM_SEEK enumeration for the values. + [out] Pointer to the location where this method writes + the value of the new seek pointer from the beginning of the stream. You can set this + pointer to NULL to indicate that you are not interested in this value. In this case, + this method does not provide the new seek pointer. + + S_OK + The seek pointer has been successfully adjusted. + E_PENDING + Asynchronous Storage only: Part or all of the stream's data is currently unavailable. + For more information, see IFillLockBytes and Asynchronous Storage. + STG_E_INVALIDPOINTER + Indicates that the [out] parameter plibNewPosition points to invalid memory, because + plibNewPosition is not read. + STG_E_INVALIDFUNCTION + The dwOrigin parameter contains an invalid value or the dlibMove parameter contains + a bad offset value. For example, the result of the seek pointer is a negative offset + value. + STG_E_REVERTED + The object has been invalidated by a revert operation above it in the transaction tree. + + + + + Changes the size of the stream object. + + [in] Specifies the new size of the stream as a number + of bytes. + + + + + Copies a specified number of bytes from the current seek pointer in the stream to + the current seek pointer in another stream. + + [in] Pointer to the destination stream. The stream pointed to + by pstm can be a new stream or a clone of the source stream. + [in] Specifies the number of bytes to copy from the source + stream. + [out] Pointer to the location where this method writes the + actual number of bytes read from the source. You can set this pointer to NULL to + indicate that you are not interested in this value. In this case, this method + does not provide the actual number of bytes read. + [out] Pointer to the location where this method writes + the actual number of bytes written to the destination. You can set this pointer + to NULL to indicate that you are not interested in this value. In this case, + this method does not provide the actual number of bytes written. + + + + + Ensures that any changes made to a stream object open in transacted mode + are reflected in the parent storage. If the stream object is open in direct + mode, IStream::Commit has no effect other than flushing all memory buffers + to the next-level storage object. The COM compound file implementation of + streams does not support opening streams in transacted mode. + + [in] Controls how the changes for the stream + object are committed. See the STGC enumeration for a definition of these + values. + + + + + Discards all changes that have been made to a transacted stream since the + last call to IStream::Commit. + + + + + + Restricts access to a specified range of bytes in the stream. Supporting + this functionality is optional since some file systems do not provide it. + + + + + + + + + Removes the access restriction on a range of bytes previously restricted + with IStream::LockRegion. + + + + + + + + + Retrieves the STATSTG structure for this stream. + + + + + + + + Creates a new stream object that references the same bytes as the original + stream but provides a separate seek pointer to those bytes. + + + + + + + Call the methods of IStorage to manage substorages or streams within the current storage. + This management includes creating, opening, or destroying substorages or streams, + as well as managing aspects such as time stamps, names, and so forth. + + + + + The CreateStream method creates and opens a stream object with the specified + name contained in this storage object. All elements within a storage objects, + both streams and other storage objects, are kept in the same name space. + + A pointer to a wide character null-terminated Unicode + string that contains the name of the newly created stream. The name can be used + later to open or reopen the stream. The name must not exceed 31 characters in + length, not including the string terminator. The 000 through 01f characters, + serving as the first character of the stream/storage name, are reserved for use by OLE. + This is a compound file restriction, not a structured storage restriction. + Specifies the access mode to use when opening the newly + created stream. For more information and descriptions of the possible values, + see STGM Constants. + Reserved for future use; must be zero. + Reserved for future use; must be zero. + On return, pointer to the location of the new IStream interface pointer. + This is only valid if the operation is successful. + When an error occurs, this parameter is set to NULL. + + S_OK - The new stream was successfully created. + E_PENDING - Asynchronous Storage only: Part or all of the + necessary data is currently unavailable. For more information, + see IFillLockBytes and Asynchronous Storage. + STG_E_ACCESSDENIED - Not enough permissions to create stream. + STG_E_FILEALREADYEXISTS - The name specified for the stream already exists in the storage + object and the grfMode parameter includes the value STGM_FAILIFTHERE. + STG_E_INSUFFICIENTMEMORY - The stream was not created due to a lack of memory. + STG_E_INVALIDFLAG - The value specified for the grfMode parameter is not a valid STGM Constants value. + STG_E_INVALIDFUNCTION - The specified combination of flags in the grfMode parameter is not supported; + for example, when this method is called without the STGM_SHARE_EXCLUSIVE flag. + STG_E_INVALIDNAME - Invalid value for pwcsName. + STG_E_INVALIDPOINTER - The pointer specified for the stream object was invalid. + STG_E_INVALIDPARAMETER - One of the parameters was invalid. + STG_E_REVERTED - The storage object has been invalidated by a revert operation + above it in the transaction tree. + STG_E_TOOMANYOPENFILES - The stream was not created because there are too many open files. + + + + + The OpenStream method opens an existing stream object within this storage + object in the specified access mode. + + A pointer to a wide character null-terminated Unicode + string that contains the name of the stream to open. The 000 through 01f + characters, serving as the first character of the stream/storage name, are + reserved for use by OLE. This is a compound file restriction, not a structured + storage restriction. + Reserved for future use; must be NULL. + Specifies the access mode to be assigned to the open stream. + For more information and descriptions of possible values, see STGM Constants. + Other modes you choose must at least specify STGM_SHARE_EXCLUSIVE when calling this + method in the compound file implementation. + Reserved for future use; must be zero. + A pointer to IStream pointer variable that receives the + interface pointer to the newly opened stream object. If an error occurs, *ppstm must be set to NULL. + + S_OK - The stream was successfully opened. + E_PENDING - Asynchronous Storage only: Part or all of the stream data is currently unavailable. + STG_E_ACCESSDENIED - Not enough permissions to open stream. + STG_E_FILENOTFOUND - The stream with specified name does not exist. + STG_E_INSUFFICIENTMEMORY - The stream was not opened due to a lack of memory. + STG_E_INVALIDFLAG - The value specified for the grfMode parameter is not a valid STGM Constants value. + STG_E_INVALIDFUNCTION - The specified combination of flags in the grfMode parameter is not supported; + for example, when this method is called without the STGM_SHARE_EXCLUSIVE flag. + STG_E_INVALIDNAME - Invalid value for pwcsName. + STG_E_INVALIDPOINTER - The pointer specified for the stream object was not valid. + STG_E_INVALIDPARAMETER - One of the parameters was not valid. + STG_E_REVERTED - The storage object has been invalidated by a revert operation above it in the transaction tree. + STG_E_TOOMANYOPENFILES - The stream was not opened because there are too many open files. + + + + + The CreateStorage method creates and opens a new storage object nested within this storage + object with the specified name in the specified access mode. + + A pointer to a wide character null-terminated Unicode string that + contains the name of the newly created storage object. The name can be used later to + reopen the storage object. The name must not exceed 31 characters in length, not + including the string terminator. The 000 through 01f characters, serving as the + first character of the stream/storage name, are reserved for use by OLE. This is a + compound file restriction, not a structured storage restriction. + A value that specifies the access mode to use when opening + the newly created storage object. For more information and a description of possible values + Reserved for future use; must be zero. + Reserved for future use; must be zero. + A pointer, when successful, to the location of the IStorage pointer to + the newly created storage object. This parameter is set to NULL if an error occurs. + + S_OK - The storage object was created successfully. + E_PENDING - Asynchronous Storage only: Part or all of the necessary data is currently unavailable. + STG_E_ACCESSDENIED - Not enough permissions to create storage object. + STG_E_FILEALREADYEXISTS - The name specified for the storage object already exists in the + storage object and the grfMode parameter includes the flag STGM_FAILIFTHERE. + STG_E_INSUFFICIENTMEMORY - The storage object was not created due to a lack of memory. + STG_E_INVALIDFLAG - The value specified for the grfMode parameter is not a valid STGM Constants value. + STG_E_INVALIDFUNCTION - The specified combination of flags in the grfMode parameter is not supported. + STG_E_INVALIDNAME - Not a valid value for pwcsName. + STG_E_INVALIDPOINTER - The pointer specified for the storage object was not valid. + STG_E_INVALIDPARAMETER - One of the parameters was not valid. + STG_E_REVERTED - The storage object has been invalidated by a revert operation above it in the transaction tree. + STG_E_TOOMANYOPENFILES - The storage object was not created because there are too many open files. + STG_S_CONVERTED - The existing stream with the specified name was replaced with a new storage object + containing a single stream called CONTENTS. The new storage object will be added. + + + + + The OpenStorage method opens an existing storage object with the specified name in the specified access mode. + + A pointer to a wide character null-terminated Unicode string that + contains the name of the storage object to open. The 000 through 01f characters, + serving as the first character of the stream/storage name, are reserved for use by + OLE. This is a compound file restriction, not a structured storage restriction. + It is ignored if pstgPriority is non-NULL. + Must be NULL. A non-NULL value will return STG_E_INVALIDPARAMETER. + Specifies the access mode to use when opening the storage object. + For descriptions of the possible values, see STGM Constants. + Other modes you choose must at least specify STGM_SHARE_EXCLUSIVE when calling this method. + Must be NULL. A non-NULL value will return STG_E_INVALIDPARAMETER. + Reserved for future use; must be zero. + When successful, pointer to the location of an IStorage pointer to + the opened storage object. This parameter is set to NULL if an error occurs. + + S_OK - The storage object was opened successfully. + E_PENDING - Asynchronous Storage only: Part or all of the storage's data is currently unavailable. + STG_E_ACCESSDENIED - Not enough permissions to open storage object. + STG_E_FILENOTFOUND - The storage object with the specified name does not exist. + STG_E_INSUFFICIENTMEMORY - The storage object was not opened due to a lack of memory. + STG_E_INVALIDFLAG - The value specified for the grfMode parameter is not a valid STGM Constants value. + STG_E_INVALIDFUNCTION - The specified combination of flags in the grfMode parameter is not supported. + STG_E_INVALIDNAME - Not a valid value for pwcsName. + STG_E_INVALIDPOINTER - The pointer specified for the storage object was not valid. + STG_E_INVALIDPARAMETER - One of the parameters was not valid. + STG_E_REVERTED - The storage object has been invalidated by a revert operation above it in the transaction tree. + STG_E_TOOMANYOPENFILES - The storage object was not created because there are too many open files. + STG_S_CONVERTED - The existing stream with the specified name was replaced with a new storage + object containing a single stream called CONTENTS. In direct mode, the new storage is + immediately written to disk. In transacted mode, the new storage is written to a + temporary storage in memory and later written to disk when it is committed. + + + + + The CopyTo method copies the entire contents of an open storage object to another storage object. + + The number of elements in the array pointed to by rgiidExclude. + If rgiidExclude is NULL, then ciidExclude is ignored. + An array of interface identifiers (IIDs) that either the caller + knows about and does not want copied or that the storage object does not support but whose + state the caller will later explicitly copy. + A string name block (refer to SNB) that specifies a block of storage + or stream objects that are not to be copied to the destination. These elements are not created + at the destination. If IID_IStorage is in the rgiidExclude array, this parameter is ignored. + This parameter may be NULL. + Pointer to the open storage object into which this storage object is to be copied. + + S_OK - The storage object was successfully copied. + E_PENDING - Asynchronous Storage only: Part or all of the data to be copied is currently unavailable. + STG_E_ACCESSDENIED - The destination storage object is a child of the source storage object. + STG_E_INSUFFICIENTMEMORY - The copy was not completed due to a lack of memory. + Otherwise - Error code. + + + + + The MoveElementTo method copies or moves a substorage or stream from this storage + object to another storage object. + + Pointer to a wide character null-terminated Unicode string + that contains the name of the element in this storage object to be moved or copied. + IStorage pointer to the destination storage object. + Pointer to a wide character null-terminated unicode string + that contains the new name for the element in its new storage object. + Specifies whether the operation should be a move (STGMOVE_MOVE) + or a copy (STGMOVE_COPY). See the STGMOVE enumeration. + S_OK - The storage object was successfully copied or moved. + Otherwise error code. + + + + + The Commit method ensures that any changes made to a storage object open in transacted + mode are reflected in the parent storage. + + Controls how the changes are committed to the storage object. + + S_OK - Changes to the storage object were successfully committed to the parent level. + If STGC_CONSOLIDATE was specified, the storage was successfully consolidated, + or the storage was already too compact to consolidate further + Otherwise error code. + + + + + The Revert method discards all changes that have been made to the storage object since the last commit operation. + + + S_OK - The revert operation was successful. + Otherwise error code. + + + + + The EnumElements method retrieves a pointer to an enumerator object that can be used + to enumerate the storage and stream objects contained within this storage object. + + Reserved for future use; must be zero. + Reserved for future use; must be zero. + Reserved for future use; must be zero. + Pointer to IEnumSTATSTG* pointer variable that receives the + interface pointer to the new enumerator object. + + S_OK - The enumerator object was successfully returned. + Otherwise error code. + + + + + The DestroyElement method removes the specified storage or stream from this storage object. + + Pointer to a wide character null-terminated Unicode string that + contains the name of the storage or stream to be removed. + + S_OK - The element was successfully removed. + Otherwise error code. + + + + + The RenameElement method renames the specified substorage or stream in this storage object. + + Pointer to a wide character null-terminated Unicode string that + contains the name of the substorage or stream to be changed. + Pointer to a wide character null-terminated unicode string that + contains the new name for the specified substorage or stream. + S_OK - The element was successfully renamed. + Otherwise error code. + + + + The SetElementTimes method sets the modification, access, and creation times of the + specified storage element, if the underlying file system supports this method. + + The name of the storage object element whose times are to be modified. + If NULL, the time is set on the root storage rather than one of its elements. + Either the new creation time for the element or NULL + if the creation time is not to be modified. + Either the new access time for the element or NULL if the + access time is not to be modified. + Either the new modification time for the element or NULL + if the modification time is not to be modified. + + S_OK - The time values were successfully set. + Otherwise error code. + + + + + The SetClass method assigns the specified class identifier (CLSID) to this storage object. + + The CLSID that is to be associated with the storage object. + S_OK - The CLSID was successfully assigned. + Otherwise error code. + + + + + The SetStateBits method stores up to 32 bits of state information in this storage object. + This method is reserved for future use. + + Specifies the new values of the bits to set. No legal values are + defined for these bits; they are all reserved for future use and must not be used by applications. + A binary mask indicating which bits in grfStateBits are significant in this call. + S_OK - The state information was successfully set. + Otherwise error code. + + + + + The Stat method retrieves the STATSTG structure for this open storage object. + + On return, pointer to a STATSTG structure where this + method places information about the open storage object. This parameter is NULL if an error occurs. + Specifies that some of the members in the STATSTG structure + are not returned, thus saving a memory allocation operation. + Values are taken from the STATFLAG enumeration. + + S_OK - The STATSTG structure was successfully returned at the specified location. + Otherwise error code. + + + + + The IEnumSTATPROPSETSTG interface iterates through an array of STATPROPSETSTG structures. + + + + + The Next method retrieves a specified number of STATPROPSETSTG structures that follow + subsequently in the enumeration sequence. + + The number of STATPROPSETSTG structures requested. + An array of STATPROPSETSTG structures returned. + The number of STATPROPSETSTG structures retrieved in the rgelt parameter. + + + + The Skip method skips a specified number of STATPROPSETSTG structures in the enumeration sequence. + + The number of STATPROPSETSTG structures to skip. + + + + The Reset method resets the enumeration sequence to the beginning of the STATPROPSETSTG structure array. + + + + + The Clone method creates an enumerator that contains the same enumeration state as the current + STATPROPSETSTG structure enumerator. Using this method, a client can record a particular point + in the enumeration sequence and then return to that point later. + + A pointer to the variable that receives the IEnumSTATPROPSETSTG interface pointer. + + + + + + + + + The Next method retrieves a specified number of STATPROPSTG structures, that follow subsequently + in the enumeration sequence. + + The number of STATPROPSTG structures requested. + An array of STATPROPSTG structures returned. + The number of STATPROPSTG structures retrieved in the rgelt parameter. + + + + The Skip method skips the specified number of STATPROPSTG structures in the enumeration sequence. + + The number of STATPROPSTG structures to skip. + + + + The Reset method resets the enumeration sequence to the beginning of the STATPROPSTG structure array. + + + + + The Clone method creates an enumerator that contains the same enumeration state as the current + STATPROPSTG structure enumerator + + A pointer to the variable that receives the IEnumSTATPROPSTG interface pointer. + + + + + + + + + The vt + + + + + The int PTR + + + + + The byte value + + + + + The int value + + + + + The bool value + + + + + The file time + + + + + The double value + + + + + The short value + + + + + The int PTR2 + + + + + The IPropertyStorage interface manages the persistent properties of a single property set. + Persistent properties consist of information that can be stored persistently in a + property set, such as the summary information associated with a file. + + + + + The ReadMultiple method reads specified properties from the current property set. + + The numeric count of properties to be specified in the rgpspec array. + An array of PROPSPEC structures specifies which properties are read. + Properties can be specified either by a property ID or by an optional string name. + Caller-allocated array of a PROPVARIANT structure that, on return, + contains the values of the properties specified by the corresponding elements in the rgpspec array. + + + + The WriteMultiple method writes a specified group of properties to the current property set. + If a property with a specified name or property identifier already exists, it is replaced, + even when the old and new types for the property value are different. + + The number of properties set. The value of this parameter can be set to zero; + An array of the property IDs (PROPSPEC) to which properties are set. + An array (of size cpspec) of PROPVARIANT structures that contain the property values to be written. + The minimum value for the property IDs that the method must assign if the + rgpspec parameter specifies string-named properties for which no property IDs currently exist. + + + + The DeleteMultiple method deletes as many of the indicated properties as exist in this property set. + + The numerical count of properties to be deleted. The value of this parameter can + legally be set to zero, however that defeats the purpose of the method as no properties are thereby + deleted, regardless of the value set in rgpspec. + Properties to be deleted. A mixture of property identifiers and string-named + properties is permitted. There may be duplicates, and there is no requirement that properties be + specified in any order. + + + + The ReadPropertyNames method retrieves any existing string names for the specified property IDs. + + The number of elements on input of the array rgpropid. + The value of this parameter can be set to zero. + An array of property IDs for which names are to be retrieved. + A caller-allocated array of size cpropid of LPWSTR members. + On return, the implementation fills in this array. + + + + The WritePropertyNames method assigns string names to a specified array of property IDs in the current property set. + + The size on input of the array rgpropid. Can be zero. + However, making it zero causes this method to become non-operational. + An array of the property IDs for which names are to be set. + Array of new names to be assigned to the corresponding property + IDs in the rgpropid array. These names may not exceed 255 characters (not including the NULL terminator). + + + + The DeletePropertyNames method deletes specified string names from the current property set. + + The size on input of the array rgpropid. If 0, no property names are deleted. + Property identifiers for which string names are to be deleted. + + + + The IPropertyStorage::Commit method saves changes made to a property storage + object to the parent storage object. + + The flags that specify the conditions under which the commit is to be performed. + + + + The Revert method discards all changes to the named property set since it was last opened or + discards changes that were last committed to the property set. + + + + + The Enum method creates an enumerator object designed to enumerate data of type STATPROPSTG, + which contains information on the current property set. + + Pointer to IEnumSTATPROPSTG pointer variable that receives the interface + pointer to the new enumerator object. + + + + The SetTimes method sets the modification, access, and creation times of this property set, + if supported by the implementation. Not all implementations support all these time values. + + Pointer to the new creation time for the property set. May be NULL, + indicating that this time is not to be modified by this call. + Pointer to the new access time for the property set. May be NULL, + indicating that this time is not to be modified by this call. + Pointer to the new modification time for the property set. May be + NULL, indicating that this time is not to be modified by this call. + + + + The SetClass method assigns a new CLSID to the current property storage object, and + persistently stores the CLSID with the object. + + New CLSID to be associated with the property set. + + + + The Stat method retrieves information about the current open property set. + + Pointer to a STATPROPSETSTG structure, which contains + statistics about the current open property set. + + + + The ReadMultiple method reads specified properties from the current property set. + + The numeric count of properties to be specified in the rgpspec array. + An array of PROPSPEC structures specifies which properties are read. + Properties can be specified either by a property ID or by an optional string name. + Caller-allocated array of a PROPVARIANT structure that, on return, + contains the values of the properties specified by the corresponding elements in the rgpspec array. + + + + The WriteMultiple method writes a specified group of properties to the current property set. + If a property with a specified name or property identifier already exists, it is replaced, + even when the old and new types for the property value are different. + + The number of properties set. The value of this parameter can be set to zero; + An array of the property IDs (PROPSPEC) to which properties are set. + An array (of size cpspec) of PROPVARIANT structures that contain the property values to be written. + The minimum value for the property IDs that the method must assign if the + rgpspec parameter specifies string-named properties for which no property IDs currently exist. + + + + The IPropertyStorage::Commit method saves changes made to a property storage + object to the parent storage object. + + The flags that specify the conditions under which the commit is to be performed. + + + + The IPropertySetStorage interface creates, opens, deletes, and enumerates property set + storages that support instances of the IPropertyStorage interface. + + + + + The Create method creates and opens a new property set in the property set storage object. + + The FMTID of the property set to be created. For information about + FMTIDs that are well-known and predefined in the Platform SDK, see Predefined Property Set + Format Identifiers. + A pointer to the initial class identifier CLSID for this property set. + May be NULL, in which case it is set to all zeroes. + The values from PROPSETFLAG Constants. + An access mode in which the newly created property set is to be opened, + taken from certain values of STGM_Constants, as described in the following Remarks section. + A pointer to the output variable that receives the IPropertyStorage interface pointer. + + + + The Open method opens a property set contained in the property set storage object. + + The format identifier (FMTID) of the property set to be opened. + For more information about well-known and predefined FMTIDs in the Platform SDK + The access mode in which the newly created property set is to be + opened. These flags are taken from STGM Constants. + A pointer to the IPropertyStorage pointer variable that receives + the interface pointer to the requested property storage subobject. + + + + The Delete method deletes one of the property sets contained in the property set storage object. + + FMTID of the property set to be deleted. + + + + The Enum method creates an enumerator object which contains information on the + property sets stored in this property set storage. + + Pointer to IEnumSTATPROPSETSTG pointer variable that + receives the interface pointer to the newly created enumerator object. + + + + Class provide access to STG API functions. + + + + + To prevent user from creation of this class instances. + + + + + StgOpenStorage opens an existing root storage object in the file system. You + can use this function to open compound files but you cannot use it to open + directories, files, or summary catalogs. Nested storage objects can only be + opened using their parents' IStorage::OpenStorage method. + + [in] Pointer to the path of the NULL-terminated + Unicode string file containing the storage object to open. This parameter + is ignored if the pstgPriority parameter is not NULL. + Most often NULL. If not NULL, this parameter is + used instead of the pwcsName parameter to specify the pointer to the + IStorage interface on the storage object to open. It points to a previous + opening of a root storage object, most often one that was opened in priority + mode. After the StgOpenStorage function returns, the storage object specified + in the pstgPriority parameter on function entry is not valid and can no + longer be used. Instead, use the storage object specified in the ppStgOpen + parameter. + Specifies the access mode to use to open the + storage object. + If not NULL, pointer to a block of elements in + the storage that are to be excluded as the storage object is opened. The + exclusion occurs regardless of whether a snapshot copy happens on the open. + May be NULL. + Indicates reserved for future use; must be zero. + [out] Pointer IStorage* pointer variable that receives + the interface pointer to the opened storage. + + S_OK + Indicates that the storage object was successfully opened. + STG_E_FILENOTFOUND + Indicates that the specified file does not exist. + STG_E_ACCESSDENIED + Access denied because the caller does not have enough permissions, or another caller + has the file open and locked. + STG_E_LOCKVIOLATION + Access denied because another caller has the file open and locked. + STG_E_SHAREVIOLATION + Access denied because another caller has the file open and locked. + STG_E_FILEALREADYEXISTS + Indicates that the file exists but is not a storage object. + STG_E_TOOMANYOPENFILES + Indicates that the storage object was not opened because there are too many open files. + STG_E_INSUFFICIENTMEMORY + Indicates that the storage object was not opened due to inadequate memory. + STG_E_INVALIDNAME + Indicates a non-valid name in the pwcsName parameter. + STG_E_INVALIDPOINTER + Indicates a non-valid pointer in one of the parameters: snbExclude, pwcsName, + pstgPriority, or ppStgOpen. + STG_E_INVALIDFLAG + Indicates a non-valid flag combination in the grfMode parameter. + STG_E_INVALIDFUNCTION + Indicates STGM_DELETEONRELEASE specified in the grfMode parameter. + STG_E_OLDFORMAT + Indicates that the storage object being opened was created by the Beta 1 storage + provider. This format is no longer supported. + STG_E_NOTSIMPLEFORMAT + Indicates that the STGM_SIMPLE flag was specified in the grfMode parameter and the + storage object being opened was not written in simple mode. + STG_E_OLDDLL + The DLL being used to open this storage object is a version of the DLL that is older + than the one used to create it. + STG_E_PATHNOTFOUND + Specified path does not exist. + STG_E_SHAREVIOLATION + Access denied because another caller has the file open and locked. + + + + + Opens an existing root storage object in the file system. You can use this function + to open compound files and regular files. To create a new file, use the + StgCreateStorageEx function. + + [in] Pointer to the path of the NULL-terminated Unicode + string file containing the storage object. This string size must not exceed + MAX_PATH characters. + [in] Specifies the access mode to open the new storage object. + For more information, see the STGM enumeration. If the caller specifies transacted + mode together with STGM_CREATE or STGM_CONVERT, the overwrite or conversion takes + place when the commit operation is called for the root storage. If IStorage::Commit + is not called for the root storage object, previous contents of the file will be + restored. STGM_CREATE and STGM_CONVERT cannot be combined with the STGM_NOSNAPSHOT + flag, because a snapshot copy is required when a file is overwritten or converted + in the transacted mode. + [in] Specifies the storage file format. For more information, + see the STGFMT enumeration. + [in] Depends on the value of the stgfmt parameter. + STGFMT_DOCFILE should be zero (0) or FILE_FLAG_NO_BUFFERING. + [in, out] Pointer to a STGOPTIONS structure that contains + information about the storage object being opened. The pStgOptions parameter is + valid only if the stgfmt parameter is set to STGFMT_DOCFILE. + [in] Reserved for future use; must be zero. + [in] Specifies the Guid of the interface pointer to return. + [out] Address of an interface pointer variable that + receives a pointer for an interface on the storage object being opened; contains + NULL if operation failed. + + S_OK + Indicates that the storage object was successfully opened. + STG_E_INVALIDPOINTER + Indicates a non-valid pointer in the ppObjectOpen parameter. + STG_E_INVALIDPARAMETER + Indicates a non-valid value for the grfAttrs, reserved1, reserved2, grfMode, or + stgfmt parameters. Can occur if the FILE_FLAG_NO_BUFFERING flag is specified for + grfAttrs but the sector size of the file is not an integer multiple of the + underlying disk's sector size. + E_NOINTERFACE + Indicates that the specified interface is not supported. + STG_E_INVALIDFLAG + Indicates a non-valid flag combination in the grfMode pointer (includes both + STGM_DELETEONRELEASE and STGM_CONVERT flags). + STG_E_INVALIDNAME + Indicates a non-valid name in the pwcsName parameter. + STG_E_INVALIDFUNCTION + Indicates that the grfMode is set to STGM_DELETEONRELEASE. + STG_E_LOCKVIOLATION + Access denied because another caller has the file open and locked. + STG_E_SHAREVIOLATION + Access denied because another caller has the file open and locked. + STG_E_UNIMPLEMENTEDFUNCTION + Indicates that the StgOpenStorageEx function is not implemented by the operating + system. In this case, use the StgOpenStorage function instead. + STG_E_INCOMPLETE + Indicates that the file could not be opened because it is on a high-latency device. + This can only occur if the parameter is IID_IPropertySetStorage, and the + stgfmt parameter is STGFMT_FILE. + STG_E_ACCESSDENIED + Indicates that the file could not be opened because the underlying storage device + does not allow such access to the current user. When opening the storage object + in transacted mode (STGM_TRANSACTED), this error may also indicate that a temporary + file could not be created in the temporary directory as specified by the + GetTempPath function. The GetTempPath function retrieves the path of the directory + designated for temporary files. + + + + + StgCreateDocfile creates a new compound file storage object using the COM-provided + compound file implementation for the IStorage interface. + + [in] Pointer to a NULL-terminated Unicode string name for the + compound file being created. It is passed uninterpreted to the file system. This can + be a relative name or NULL. If NULL, a temporary compound file is allocated with a + unique name. + [in] Specifies the access mode to use when opening the new + storage object. For more information, see the STGM enumeration. If the caller + specifies transacted mode together with STGM_CREATE or STGM_CONVERT, the overwrite + or conversion takes place when the commit operation is called for the root storage. + If IStorage::Commit is not called for the root storage object, previous contents of + the file will be restored. STGM_CREATE and STGM_CONVERT cannot be combined with + the STGM_NOSNAPSHOT flag, because a snapshot copy is required when a file is + overwritten or converted in the transacted mode. + [in] Reserved for future use; must be zero. + [out] Pointer to the location of the IStorage pointer to + the new storage object. + + S_OK - Indicates that the compound file was successfully created. + STG_E_ACCESSDENIED - Access denied because the caller does not have enough permissions + or another caller has the file open and locked. + STG_E_FILEALREADYEXISTS + Indicates that the compound file already exists and grfMode is set to STGM_FAILIFTHERE. + STG_E_INSUFFICIENTMEMORY + Indicates that the compound file was not created due to inadequate memory. + STG_E_INVALIDFLAG + Indicates a non-valid flag combination in the grfMode parameter. + STG_E_INVALIDNAME + Indicates a non-valid name in the pwcsName parameter. + STG_E_INVALIDPOINTER + Indicates a non-valid pointer in the pwcsName parameter or the ppStgOpen parameter. + STG_E_LOCKVIOLATION + Access denied because another caller has the file open and locked. + STG_E_SHAREVIOLATION + Access denied because another caller has the file open and locked. + STG_E_TOOMANYOPENFILES + Indicates that the compound file was not created due to a lack of file handles. + STG_S_CONVERTED + Indicates that the specified file was successfully converted to storage format. + + + + + The StgCreatePropSetStg function creates a property set storage object from a specified storage object. + + Pointer to the storage object that contains or is to + contain one or more property sets. + Reserved for future use; must be zero. + Pointer to IPropertySetStorage* pointer variable that receives the + interface pointer to the property-set storage object. + S_OK - The property set storage object was successfully created. + + + + The StgCreatePropSetStg function creates a property set storage object from a specified storage object. + + Pointer to the storage object that contains or is to + contain one or more property sets. + Reserved for future use; must be zero. + Pointer to IPropertySetStorage* pointer variable that receives the + interface pointer to the property-set storage object. + S_OK - The property set storage object was successfully created. + + + + The CreateILockBytesOnHGlobal function creates a byte array object, using global memory + as the physical device, which is intended to be the compound file foundation. + + The memory handle allocated by the GlobalAlloc function. + A flag that specifies whether the underlying handle for + this byte array object should be automatically freed when the object is released. + The address of ILockBytes pointer variable that receives the interface + pointer to the new byte array object. + S_OK - The byte array object was created successfully. + + + + The StgCreateDocfileOnILockBytes function creates and opens a new compound file + storage object on top of a byte-array object provided by the caller. + + A pointer to the ILockBytes interface on the underlying + byte-array object on which to create a compound file. + Specifies the access mode to use when opening the new compound file. + For more information, see STGM Constants. + Reserved for future use; must be zero. + A pointer to the location of the IStorage pointer on the new storage object. + + S_OK - Indicates that the compound file was successfully created. + Otherwise error code. + + + + + The StgOpenStorageOnILockBytes function opens an existing storage object that does not reside in a + disk file, but instead has an underlying byte array provided by the caller. + + ILockBytes pointer to the underlying byte array object that contains the + storage object to be opened. + Most often NULL. If not NULL, this parameter is used instead of the + plkbyt parameter to specify the storage object to open. In this case, it points to the IStorage + interface on a previously opened root storage object, most often one that was opened in priority mode. + Specifies the access mode to use to open the storage object. + Can be NULL. If not NULL, this parameter points to a block of elements in this + storage that are to be excluded as the storage object is opened. This exclusion occurs independently of + whether a snapshot copy happens on the open. + Indicates reserved for future use; must be zero. + Points to the location of an IStorage pointer to the opened storage on successful return. + S_OK - The storage object was successfully opened. + Otherwise error code. + + + + + The GlobalAlloc function allocates the specified number of bytes from the heap. + Windows memory management does not provide a separate local heap and global heap. + + Memory allocation attributes. + Number of bytes to allocate. + + If the function succeeds, the return value is a handle to the newly + allocated memory object. If the function fails, the return value is NULL. + To get extended error information, call GetLastError. + + + + + + + + + + + + + + + + + + + + + Flags for GlobalAlloc function. + + + + + Allocates fixed memory. The return value is a pointer. + + + + + Allocates movable memory. Memory blocks are never moved in physical memory, + but they can be moved within the default heap. + + + + + Initializes memory contents to zero. + + + + + NO Discard memory. + + + + + Predefined Clipboard Formats. + + + + + Text clipboard format. + + + + + Bitmap clipboard format. + + + + + METAFILEPICT clipboard format. + + + + + Sylk clipboard format. + + + + + Dif clipboard format. + + + + + Tiff clipboard format. + + + + + Oemtext clipboard format. + + + + + Dib clipboard format. + + + + + Pallette clipboard format. + + + + + Pendata clipboard format. + + + + + Riff clipboard format. + + + + + Wave clipboard format. + + + + + Unicodetext clipboard format. + + + + + Enhmetafile clipboard format. + + + + + Hdrop clipboard format. + + + + + Locale clipboard format. + + + + + Max clipboard format. + + + + + Ownerdisplay clipboard format. + + + + + Dsptext clipboard format. + + + + + Dspbitmap clipboard format. + + + + + Dspmetafilepict clipboard format. + + + + + Dspenhmetafile clipboard format. + + + + + Privatefirst clipboard format. + + + + + Privatelast clipboard format. + + + + + Gdiobjfirst clipboard format. + + + + + Gdiobjlast clipboard format. + + + + + The DVASPECT enumeration values specify the desired data or view aspect of the object when drawing or getting data. + + + + + Provides a representation of an object so it can be displayed as an embedded object inside of a container. + + + + + Provides a thumbnail representation of an object so it can be displayed in a browsing tool. + + + + + Provides an iconic representation of an object. + + + + + Provides a representation of the object on the screen as though it were printed to a printer + using the Print command from the File menu. + + + + + The TYMED enumeration values indicate the type of storage medium being used in a data transfer. + + + + + No data is being passed. + + + + + The storage medium is a global memory handle (HGLOBAL). Allocate the global + handle with the GMEM_SHARE flag. + + + + + The storage medium is a disk file identified by a path. If the STGMEDIUM + punkForRelease member is NULL, the destination process should use OpenFile to delete the file. + + + + + The storage medium is a stream object identified by an IStream pointer. Use + ISequentialStream::Read to read the data. + + + + + The storage medium is a storage component identified by an IStorage pointer. + + + + + The storage medium is a GDI component (HBITMAP). If the STGMEDIUM punkForRelease member is + NULL, the destination process should use DeleteObject to delete the bitmap. + + + + + The storage medium is a metafile (HMETAFILE). Use the Windows or WIN32 functions to + access the metafile's data. + + + + + The storage medium is an enhanced metafile. If the STGMEDIUM punkForRelease member is NULL, + the destination process should use DeleteEnhMetaFile to delete the bitmap. + + + + + CSIDL values provide a unique system-independent way to identify special folders used frequently + by applications, but which may not have the same name or location on any given system. + + + + + The virtual folder representing the Windows desktop, the root of the namespace. + + + + + A virtual folder representing the Internet. + + + + + The file system directory that contains the user's program groups (which are themselves file system directories). + + + + + The virtual folder containing icons for the Control Panel applications. + + + + + The virtual folder containing installed printers. + + + + + The virtual folder representing the My Documents desktop item. + + + + + The file system directory that serves as a common repository for the user's favorite items. + + + + + The file system directory that corresponds to the user's Startup program group. + + + + + The file system directory that contains shortcuts to the user's most recently used documents. + + + + + The file system directory that contains Send To menu items. + + + + + The virtual folder containing the objects in the user's Recycle Bin. + + + + + The file system directory containing Start menu items. + + + + + The file system directory used to physically store file objects on the desktop. + + + + + The virtual folder representing My Computer, containing everything on the local + computer: storage devices, printers, and Control Panel. + + + + + A virtual folder representing Network Neighborhood, the root of the network namespace hierarchy. + + + + + A file system directory containing the link objects that may exist in the My Network Places virtual folder. + + + + + A virtual folder containing fonts. + + + + + The file system directory that serves as a common repository for document templates. + + + + + The file system directory that contains the programs and folders that appear on the Start menu for all users. + + + + + The file system directory that contains the directories for the common program groups that appear on the Start + menu for all users. + + + + + The file system directory that contains the programs that appear in the Startup folder for all users. + + + + + The file system directory that contains files and folders that appear on the desktop for all users. + + + + + The file system directory that serves as a common repository for application-specific data. + + + + + The file system directory that contains the link objects that + can exist in the Printers virtual folder. + + + + + The file system directory that serves as a data repository for local (nonroaming) applications. + + + + + The file system directory that corresponds to the user's nonlocalized Startup program group. + + + + + The file system directory that corresponds to the nonlocalized Startup program group for all users. + + + + + The file system directory that serves as a common repository for favorite items common to all users. + + + + + The file system directory that serves as a common repository for temporary Internet files. + + + + + The file system directory that serves as a common repository for Internet cookies. + + + + + The file system directory that serves as a common repository for Internet history items. + + + + + The file system directory containing application data for all users. + + + + + The Windows directory or SYSROOT. This corresponds to the %windir% or %SYSTEMROOT% + environment variables. + + + + + The Windows System folder. + + + + + The Program Files folder. + + + + + The file system directory that serves as a common repository for image files. + + + + + The file system directory containing user profile folders. + + + + + x86 system directory on RISC. + + + + + x86 C:\Program Files on RISC. + + + + + A folder for components that are shared across applications. + + + + + x86 Program Files\Common on RISC + + + + + The file system directory that serves as a common repository for document templates. + + + + + The file system directory that contains documents that are common to all users. + + + + + The file system directory containing administrative tools for all users of the computer. + + + + + The file system directory that is used to store administrative tools for an individual user. + + + + + Network and Dial-up Connections + + + + + Combine with CSIDL_ value to force folder creation in SHGetFolderPath(). + + + + + Combine with CSIDL_ value to return an unverified folder path. + + + + + Mask for all possible flag values. + + + + + Can be time intensive. + + + + + A platform-specific type that is used to represent a pointer to TYMED struct. + + + + + A platform-specific type that is used to represent a pointer or a handle to storage. + + + + + A platform-specific type that is used to represent a pointer or a handle to unknown. + + + + + The FORMATETC structure is a generalized Clipboard format. + + + + + Particular clipboard format of interest. + + + + + Pointer to a DVTARGETDEVICE structure containing information about the target + device for which the data is being composed. + + + + + One of the DVASPECT enumeration constants that indicate how much detail should + be contained in the rendering. + + + + + Part of the aspect when the data must be split across page boundaries. + + + + + One of the TYMED enumeration constants which indicate the type of storage medium + used to transfer the object's data. + + + + + The DATADIR enumeration values specify the direction of the data flow in the + dwDirection parameter of the IDataObject::EnumFormatEtc method. + + + + + Requests that IDataObject::EnumFormatEtc supply an enumerator for the + formats that can be specified in IDataObject::GetData. + + + + + Requests that IDataObject::EnumFormatEtc supply an enumerator for the + formats that can be specified in IDataObject::SetData. + + + + + + The IEnumFORMATETC interface is used to enumerate an array of FORMATETC structures. + + + + + This method creates another enumerator that contains the same enumeration state as the current one. + + Address of the IEnumFORMATETC* pointer variable that receives the interface + pointer to the enumeration object. + This method supports the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED. + + + + Retrieves the next celt items in the enumeration sequence. + + Number of elements being requested. + Array of size celt (or larger) of the elements of interest. + The type of this parameter depends on the item being enumerated. + Pointer to the number of elements actually supplied in rgelt. + The caller can pass in NULL if celt is 1. + S_OK is returned if the number of elements supplied is celt; S_FALSE otherwise. + + + + This method resets the enumeration sequence to the beginning. + + If the method succeeds, the return value is S_OK. + + + + This method skips over the next specified number of elements in the enumeration sequence. + + Number of elements to be skipped. + S_OK is returned if the number of elements skipped is celt; otherwise, S_FALSE. + + + + The IDataObject interface specifies methods that enable data transfer and notification of changes in data. + + + + + Called by a data consumer to obtain data from a source data object. + + Pointer to the FORMATETC structure that defines the + format, medium, and target device to use when passing the data. + Pointer to the STGMEDIUM structure that indicates the + storage medium containing the returned data through its tymed member, and the responsibility + for releasing the medium through the value of its pUnkForRelease member. + + S_OK - Data was successfully retrieved and placed in the storage medium provided. + Otherwise error code. + + + + + Called by a data consumer to obtain data from a source data object. This method differs + from the GetData method in that the caller must allocate and free the specified storage medium. + + Pointer to the FORMATETC structure that defines the format, medium, and target + device to use when passing the data. + Pointer to the STGMEDIUM structure that defines the storage medium + containing the data being transferred. + + S_OK - Data was successfully retrieved and placed in the storage medium provided. + Otherwise error code. + + + + + Determines whether the data object is capable of rendering the data described in the FORMATETC structure. + + Pointer to the FORMATETC structure defining the format, medium, and target + device to use for the query. + + S_OK - Subsequent call to IDataObject::GetData would probably be successful. + Otherwise error code. + + + + + Provides a standard FORMATETC structure that is logically equivalent to one that is more complex. + + Pointer to the FORMATETC structure that defines the format, medium, + and target device that the caller would like to use to retrieve data in a subsequent call such + as IDataObject::GetData. + Pointer to a FORMATETC structure that contains the most general information + possible for a specific rendering, making it canonically equivalent to pFormatetcIn. + + S_OK - The returned FORMATETC structure is different from the one that was passed. + Otherwise error code. + + + + + Called by an object containing a data source to transfer data to the object that implements this method. + + Pointer to the FORMATETC structure defining the format used by the data object + when interpreting the data contained in the storage medium. + Pointer to the STGMEDIUM structure defining the storage medium in which the + data is being passed. + If TRUE, the data object called, which implements IDataObject::SetData, owns + the storage medium after the call returns. This means it must free the medium after it has been used + by calling the ReleaseStgMedium function. + S_OK - Data was successfully transferred. + Otherwise error code. + + + + + Creates an object for enumerating the FORMATETC structures for a data object. + These structures are used in calls to IDataObject::GetData or IDataObject::SetData. + + Direction of the data through a value from the enumeration DATADIR. + Address of IEnumFORMATETC* pointer variable that receives + the interface pointer to the new enumerator object. + + S_OK - Enumerator object was successfully created. + E_NOTIMPL - The direction specified by dwDirection is not supported. + OLE_S_USEREG - Requests that OLE enumerate the formats from the registry. + + + + + Called by an object supporting an advise sink to create a connection between a data object and the advise sink. + + Pointer to a FORMATETC structure that defines the format, + target device, aspect, and medium that will be used for future notifications. + DWORD that specifies a group of flags for controlling the advisory connection. + Pointer to the IAdviseSink interface on the advisory sink that will + receive the change notification. + Pointer to a DWORD token that identifies this connection. + + S_OK - The advisory connection was created. + Otherwise error code. + + + + + Destroys a notification connection that had been previously set up. + + DWORD token that specifies the connection to + remove. Use the value returned by IDataObject::DAdvise when the connection was originally established. + + S_OK - The specified connection was successfully deleted. + OLE_E_NOCONNECTION - The specified dwConnection is not a valid connection. + OLE_E_ADVISENOTSUPPORTED - This IDataObject implementation does not support notification. + + + + + Creates an object that can be used to enumerate the current advisory connections. + + Address of IEnumSTATDATA* pointer variable that + receives the interface pointer to the new enumerator object. + + S_OK - The enumerator object is successfully instantiated or there are no connections. + OLE_E_ADVISENOTSUPPORTED - Advisory notifications are not supported by this object. + + + + + Error and succes codes + + + + + Success code. + + + + + Success code. + + + + + General access denied error. + + + + + Ran out of memory. + + + + + No such interface supported. + + + + + Catastrophic failure. + + + + + Invalid FORMATETC structure + + + + + This implementation doesn't take advises. + + + + + Class thet represents the data object entry. + + + + + Creates new instance of DataObjectEntry. + + Datadir object. + Parent StgMedium object. + Parent Formatec object. + + + + Class thet represents the enum formatec class. + + + + + Creates another connection point enumerator with the same state as the + current enumerator to iterate over the same list. + + Pointer to the returned IComEnumFORMATETC interface. + This method supports the standard return values + E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED. + + + + The RemoteNext method retrieves a specified number of HRESULT structures. + + The number of STATSTG structures requested. + An array of STATSTG structures returned. + The number of STATSTG structures retrieved in the rgelt parameter. + S_OK - The number of STATSTG structures returned equals the number + specified in the celt parameter. + Otherwise - error code. + + + + Resets the enumeration sequence to the beginning. + + S_OK + + + + Instructs the enumerator to skip the next celt elements in the enumeration + so that the next call to IEnumConnectionPoints::Next will not return those elements. + + Number of elements to be skipped. + S_OK if the number of elements skipped is celt; otherwise, S_FALSE. + + + + + ComDataObject class. + + + + + Retrieves data. + + Point to Formatec structure. + Point to Stgmedium sturcture. + Returns error code. + + + + Similar to GetData, except the client must allocate the STGMEDIUM structure. + + Point to FORMATETC sturcture. + Point to STGMEDIUM structure. + Returns E_NOTIMPL. + + + + Determines whether the data object supports a particular + FORMATETC structure for transferring data. + + Point to FORMATETC sturcture. + Returns E_NOTIMPL. + + + + Retrieves a logically equivalent FORMATETC structure to one that is more complex. + + Pointer to the FORMATETC structure that defines the format. + Pointer to a FORMATETC structure that contains + the most general information possible for a specific rendering. + Returns E_NOTIMPL. + + + + Sets the value for a specific data point. + + Pointer to the FORMATETC structure that defines the format. + Point to STGMEDIUM structure. + Int to relise. + Returns S_OK + + + + Creates an enumerator to iterate through the FORMATETC structures + supported by the data object. + + Direction of the data through a value from the enumeration DATADIR. + Address of IEnumFORMATETC* pointer variable that + receives the interface pointer to the new enumerator object. + Returns E_NOTIMPL. + + + + Establishes a connection between the data object and an advise sink. + + Pointer to a FORMATETC structure that defines the format. + DWORD that specifies a group of flags for + controlling the advisory connection. + Pointer to the IAdviseSink interface on the advisory sink + that will receive the change notification. + Pointer to a DWORD token that identifies this connection. + Returns E_ADVISENOTSUPPORTED. + + + + Terminates a connection previously established through DAdvise. + + DWORD token that specifies the connection to remove. + Use the value returned by IDataObject::DAdvise when the connection + was originally established. + Returns E_ADVISENOTSUPPORTED. + + + + Creates an enumerator to iterate through the current advisory connections. + + Address of IEnumSTATDATA* pointer variable + that receives the interface pointer to the new enumerator object. + Returns E_ADVISENOTSUPPORTED. + + + + Storage API wrapper classes provide access to storage data from .NET code. + + + + + Open storage in read-only mode. + + + + + Open storage stream in read-only mode. + + + + + Create a new stream in storage. + + + + + Open storage or stream in ReadWrite mode. + + + + + Default buffer size for stream copying. + + + + + Options to open storage in read-only mode. Used to open already opened file. + + + + + Reference in COM interface which provides access to stream in storage. + + + + + Reference in COM interface which provide access to storage. + + + + + True if class was disposed; otherwise False. + + + + + True if stream supports read operation; otherwise False. + + + + + True stream supports write operation; otherwise False. + + + + + True if stream supports seek operation; otherwise False. + + + + + True if stream opened in Transaction mode and on Flush method call + class must commit transaction; otherwise False. + + + + + Length of stream data. + + + + + List of streams names provided by storage. + + + + + List of storage names found in current storage. + + + + + File name of storage. + + + + + Stream name. + + + + + Sub-storage name opened by class. + + + + + Storage Mode: Open or Create. + + + + + Stream Mode: Open or Create. + + + + + Current stream position, used for optimization. Allows users + to skip Seek operations if required. + + + + + Represents the locking bytes. + + + + + Closes the stream. + + + + + Commit changes. + + + + + Commit changes. + + Commit code. + + When commit operation fails. + + + + + Discards all changes that have been made to the storage object + since the last commit operation. + + + + + Seek in stream. + + New offset. + Start point for Seek operation. + Current position. + + When seek operation fails. + + + + + Set stream length. + + New stream length + + When SetLength operation fails. + + + + + Read data from stream. + + Output stream. + Offset in output buffer. + Quantity of bytes to read. + Quantity of read bytes. + + When buffer is NULL. + + + When offset or count is less than zero. + + + When there are not enough items in the buffer. + + + When Read operation fails. + + + + + Write data to stream. + + Buffer with data. + Offset in input buffer from which data started. + Quantity of bytes which must be written. + + When buffer is NULL. + + + When offset or count is less than zero. + + + When there are not enough items in the buffer + or stream is in Read-only mode. + + + When Write operation fails. + + + + + To prevent class creation by default constructor. + + + + + Open storage/compound file. + + File name of storage. + Mode which must be used for open operation. + + When fileName is NULL. + + + Couldn't open the storage + + + + + Open storage and one stream of it. + + File name of storage. + Flags that are used for storage open. + Stream name. + Flags which used for stream in storage open. + + + + Open storage and its stream in Read-only mode. + + File name. + Stream name. + + + + Open storage in Read-only mode but do not open stream. To open + special stream, use OpenStream methods. + + Storage file name. + + + + Inherit stream storage and opens its stream in Read-only mode. + + Storage of stream. + Stream name to open. + + + + Inherit stream storage and opensits streams with the user specified flags. + + Storage to inherit. + Stream name. + Stream open flags. + + + + Open or create stream specified by user name. + + Inherited storage. + Stream name. + True to create stream; otherwise open. + + + + Inherit storage and open or create in it stream with spcified user name + + Inherited storage. + Stream name. + Stream open / create flags. + True to create stream; otherwise open. + + + + Create a new instance of StgStream. + + Base stream. + Flags for create stream. + + + + Create a new instance of StgStream by defoult flag. + + Base stream. + + + + Dispose stream. Close stream, release references on COM interfaces, and + free resources. + + + + + Open stream in Read-only mode. + + Stream name. + + + + Open stream from storage with specified flags. + + Stream name. + Stream open flags. + + When streamName is NULL. + + + When the specified stream could not be found in the storage. + + + When it was not possible to open the stream. + + + + + Opens sub storage. + + Storage name to open. + Returns stream of opened storage. + + + + Opens sub storage. + + Storage name to open. + Open flags. + Returns stream of opened storage. + + + + Creates sub storage. + + Storage name to Create. + Returns stream of opened storage. + + + + Creates sub storage. + + Storage name for create. + Create flags. + Returns stream for created storage. + + + + Create stream in opened storage with specified name. + + Stream name. + + + + Create stream in storage with specified name and flags. + + Stream name. + Stream flags. + + When its not possible to create stream. + + + + + Saves internal ILockBytes into stream. + + Stream to save into. + + + + Searches for stream name in the streams array ignoring case. + + Stream name to locate. + Name of the stream in the storage. + + + + Indicates whether storage contains required stream. + + Stream to search. + True if stream was found. + + + + Indicates whether storage contains required substorage. + + Storage to search. + True if stream was found. + + + + Removes the specified storage or stream from this storage object. + + Name of the storage or stream to be removed. + + 0 - The element was successfully removed. + Otherwise error code. + + + + + Copies one storage into another. + + Source stream. + Destination stream. + + + + Method to create new storage and return StgStream class for it. + + Storage file name. + Reference on instance which knows how to work with it. + + When compound file couldn't be created. + + + + + Cretes storage on ILockBytes. + + Created storage. + + + + Check storage availability. + + + If storage is NULL. + + + + + Check stream availability. + + + When stream is NULL. + + + + + Calculate stream length. + + Returns length of currently open stream. + + + + Returns list of streams stored in storage. + + List of stream names. + + When elements of the storage couldn't be enumerated . + + + When it is possible to get IEnumSTATSTG interface reference from storage. + + + + + Return list of sub-storages found in current storage. + + List of found storages. + + + + Calculates subItems names. + + + + + Adds data. + + Item to add. + Collection to add. + + + + Adds data as stream type. + + Item to add. + Collection where adding is. + + + + Adds data as all type. + + Item to add. + Collection where adding is. + + + + Calculates subItems. + + SubItem event handler. + User data. + + + + Indicates if stream supports Read operation. Read-only. + + + + + Indicates if stream supports Seek operation. Read-only. + + + + + Indicates if stream supports Write operation. Read-only. + + + + + Indicates if stream is opened in Transaction mode. Read-only. + + + + + Length of stream. Read-only. + + + + + Gets / sets current position of stream. + + + + + Gets list of stream names found in storage. Read-only. + + + + + Gets the array of string thet is a storages. + + + + + Reference in COM interface which provide access to storage. + + + + + Reference in COM interface which provide access to stream in storage. + + + + + Get name of stream opened by the class. + + + + + Get name of sub storage opened by the class. + + + + + Gets the IlockBytes interface that represen the locked bytes. + + + + + Gets the file name. + + + + + Delegate that represents subItem name event. + + + + + Compound storage implementation based on standard COM-object. + + + + + Default storage name. Used for root storage, others should assign some other value. + + + + + + + + + + Collection with storage names. + + + + + Collection with stream names. + + + + + Name of the storage. + + + + + Calculates subItems names. + + + + + Adds data. + + Item to add. + Collection to add. + + + + Adds data as stream type. + + Item to add. + Collection where adding is. + + + + Adds data as all type. + + Item to add. + Collection where adding is. + + + + Calculates subItems. + + SubItem event handler. + User data. + + + + Initializes new instance of the class. + + Name of the file to open. + Storage options. + + + + Initializes new instance of the storage. + + Root substorage. + + + + Initializes new instance of te storage. + + Root substorage. + Name of the storage. + + + + Destructor. + + + + + Creates new stream inside this storage. + + Name of the stream to create. + Created stream object. + + + + Opens existing stream inside this storage. + + Name of the stream to open. + + + + + Removes existing stream from this storage. + + Name of the stream to remove. + + + + Determines whether storage contains specified stream. + + Name of the stream to check. + true if storage contains specified stream. + + + + Creates new substorage inside this one. + + Name of the storage to create. + Created storage object. + + + + Opens existing substorage inside this one. + + Name of the storage to open. + Created storage object. + + + + Removes exisiting substorage from this one. + + Name of the storage to remove. + + + + Determines whether this storage contains substorage with specified name. + + Name of the storage to check. + true if storage contains substorage with specified name. + + + + Commits changes. + + + + + Inserts copy of the storage and all subitems inside current storage. + + Storage to copy. + + + + Inserts copy of the stream inside current storage. + + Stream to copy. + + + + + + + + + Returns internal COM storage. This property will be removed after implementing + some document properties reading. + + + + + Returns all stream names that are placed inside this stream. + + + + + Returns all storage names that are placed inside this stream. + + + + + Returns name of the storage. + + + + + Delegate that represents subItem name event. + + + + + The PropVariant is used for defining the type tag and + the value of a property in a property set. + + + + + Represents the property data. + + + + + Sets property value. + + Value to set. + Type of the property to set. + + + + Gets property value. + + + + + Sets type of the variant. Write-only. + + + + + Name of the property. + + + + + Gets property id. + + + + + Offset to the type of the PropVariant. + + + + + Offset to the first int of the data. + + + + + Size of the integer. + + + + + Mask to get type of property or each element of the arrya (if property contains an array). + + + + + Bit mask for lower int value. + + + + + Bit mask for higher int value. + + + + + Number of bits in every integer value. + + + + + Difference in ticks of FILETIME and DateTime. + + + + + Bit mask for LinkToContent property of the DocumentProperty class. + + + + + Size of the native windows PROPVARIANT structure. + + + + + Offset to the second int of the data. + + + + + Array of IntPtr that should be freed on dispose using Marshal.FreeCoTaskMem. + + + + + Array of IntPtr that should be freed on dispose using Marshal.FreeHGlobal. + + + + + Pointer to the PropVariant. + + + + + Specifies a property by its property identifier (ID). + + + + + Array of PropVariants that will be disposed in Dispose method. + + + + + If True, then memory for the structure was allocated by + this class and should be freed on Dispose; + otherwise, memory was not allocated by this class and should not be freed. + + + + + Default constructor. + + + + + Creates PropVariant with data pointed by ptr. + + + + + + Reads data from IPropertyStorage. + + Property description. + IPropertyStorage to read data from. + Indicates whether property is built-in or not. + + + + Returns array of strings. + + + + + Converts IntPtr to the string. + + Value to convert. + Converted string. + + + + Parses not unicode string. + + Pointer to the sring to parse. + + + + + Returns an array of objects. + + + + + Fills PropVariant with array of strings. + + + + + Fills PropVariant with array of objects. + + + + + Sets Blob property value. + + Value to set. + + + + Sets property name. + + Name to set. + + + + Sets property value. + + Value to set. + Type of the property to set. + + + + Frees all allocated resources. + + + + + Frees resuources allocated for property name storage. + + + + + + + + + + + Writes variant to the property storage. + + + Property storage that will receive PropVariant value. + + + + + Reads information from the storage. + + Property information. + Storage to read from. + Indicates whether property is built-in. + + + + Reads information from the storage. + + Storage to read from. + Indicates whether property is built-in. + + + + Performs tasks associated with freeing, releasing, + or resetting unmanaged resources. + + + + + Finilizer. + + + + + Gets or sets the int16. + + The int16. + + + + Fills PropVariant with integer value. + + + + + Fills PropVariant with integer value. + + + + + Gets / sets PropVariant memory. + + + + + ID of the property that will be written into property storage. + + + + + Same as PropId. + + + + + Fills PropVariant with FILETIME value. + + + + + Fills PropVariant with bool value. + + + + + Fills PropVariant with string value. + + + + + Fills PropVariant with string value. + + + + + Fills PropVariant with FILETIME value. + + + + + Fills PropVariant with double value. + + + + + Gets / sets property name. + + + + + Returns value of the property. Read-only. + + + + + Indicates whether it is property or just link to source of some property. Read-only. + + + + + Returns id of the parent property. Read-only. + + + + + Gets property id. + + + + + Sets first integer value of the variant. Write-only. + + + + + Sets second integer value of the variant. Write-only. + + + + + Sets type of the variant. Write-only. + + + + + Represents the clipboard data. + + + + + Clipboard format. + + + + + Clipboard data. + + + + + Createas copy of the current object. + + A copy of the current object. + + + + Saves clipboard data into stream. + + Stream to write data into. + Size of the written data. + + + + Extracts data from the stream. + + Stream to get data from. + + + + .Net compound file implementation. + + + + + Name of the root entry. + + + + + Source stream. + + + + + File header. + + + + + + + + + + + + + + + + + + + + Root storage. + + + + + Short stream. + + + + + Stream containing items described by minifat. + + + + + MiniFAT. + + + + + Indicates whether substreams should maintain their own stream or should write + directly into the file's stream. + + + + + + + + + + Writes directory structure into file. + + Destination path. + Directory to write. + + + + Writes storage to specified path + + Destination path. + Storage to write. + + + + Writes stream into file + + Destination path. + Stream name. + Parent storage object. + + + + Default constructor. + + + + + Default constructor. + + + + + Default constructor. + + + + + + + + + + + Initializes internal variables. + + + + + + + + + + + + + + + + + + + + + Sets stream data for directory entry. + + Directory entry to update stream data for. + Stream to set. + + + + Sets entrie's long stream. + + Entry to update data for. + Data to set. + + + + Sets entrie's short stream. + + Entry to update data for. + Data to set. + + + + Writes stream data into compound file main stream + + Main stream to write into. + Start sector to write. + Stream to write. + Fat object. + + + + Here we have to allocate required sectors number. + + Entry to allocate sectors for. + Number of already allocated sectors. + Number of required sectors. + FAT object. + + + + Allocates sectors. + + Start sector in the chain. + Number of already allocated sectors. + Number of required sectors. + Fat object. + Start sector of the added chain. + + + + Gets offset to the sector. + + Zero-based sector index. + Sector shift (2^sectorShift = sector size). + Offset to the required sector. + + + + Gets offset to the sector. + + Zero-based sector index. + Sector shift (2^sectorShift = sector size). + Size of the header. + Offset to the required sector. + + + + Checks whether stream header belongs to compound file. + + Stream to check. + True if stream probably contains compound file data. + + + + Allocates new directory entry. + + Name of the stream. + Entry type. + Created directory entry. + + + + Marks item as free. + + Directory entry to be removed/freed. + + + + Reads data from internal stream. + + Entry to read data from. + Position inside entry stream. + Buffer that will cotain read data. + Size of the data to read. + Number of actually read bytes. + + + + Writes data into internal stream. + + Entry to write data into. + Position inside entry stream. + Buffer containing data to write. + Offset inside buffer to the data to write. + Size of the data to write. + + + + Saves compound file into stream. + + Stream to save data into. + + + + Writes internal stream into specified one. + + Destination stream to write into. + + + + Saves mini stream data. + + + + + Serializes directory entries. + + + + + Saves compound file into file. + + Name of the file to save into. + + + + Performs application-defined tasks associated with freeing, + releasing, or resetting unmanaged resources. + + + + + + + + + + + + + + + Returns root storage. + + + + + + + + + + + + + + + Returns base stream. Read-only. + + + + + Gets or sets value indicating whether substreams should maintain their own stream + or should write directly into the file's stream. + + + + + Returns root storage object for this file. + + + + + This is exception thrown when experiencing problems with compound file. + + + + + Default exception message. + + + + + Default constructor. + + + + + Initializes new instance of the exception. + + Exception message. + + + + + + + + + RBTree with child elements. + + + + + + + + + + Initializes new instance of the storage. + + Parent file. + Name of the new storage. + Index to the directory entry that stores storage information. + + + + Initializes new instance of the storage. + + Parent compound file object. + Entry that describes current storage. + + + + + + + + + + Creates new stream. + + Name of the stream to create. + Created stream. + + + + Opens stream. + + Name of the stream to open. + Opened stream or null if there is no such stream. + + + + Removes stream from the storage, if it contains stream with such name. + + Stream name to delete. + + + + Checks whether storage contains stream with specified name. + + Name of the stream to check. + True if storage has stream with such name; false otherwise. + + + + Opens existing storage. + + Name of the storage to open. + Opened storage item or null if it was impossible to open it. + + + + Removes substorage from existing storage. + + Name of the storage to remove. + + + + + + + + + Checks whether this storage contains substorage with specified name. + + Name to check. + True if there is such storage; false otherwise. + + + + + + + + + Returns directory entry id that corresponds to the specified node. + + + + + + + Returns name of the storage. + + + + + Returns directory entry for this stream. + + + + + This is wrapper over compound stream object. Simply redirects all calls to it + with one exception - it doesn't dispose underlying stream object. + + + + + Wrapped storage object. + + + + + Initializes new instance of the wrapper. + + Object to wrap. + + + + Frees all allocated resources. + + + + + Creates new stream inside this storage. + + Name of the stream to create. + Created stream object. + + + + Opens existing stream inside this storage. + + Name of the stream to open. + + + + + Removes existing stream from this storage. + + Name of the stream to remove. + + + + Determines whether storage contains specified stream. + + Name of the stream to check. + true if storage contains specified stream. + + + + Creates new substorage inside this one. + + Name of the storage to create. + Created storage object. + + + + Opens existing substorage inside this one. + + Name of the storage to open. + Created storage object. + + + + Removes exisiting substorage from this one. + + Name of the storage to remove. + + + + Determines whether this storage contains substorage with specified name. + + Name of the storage to check. + true if storage contains substorage with specified name. + + + + Commits changes. + + + + + Returns all stream names that are placed inside this stream. + + + + + Returns all storage names that are placed inside this stream. + + + + + Returns name of the storage. + + + + + Returns directory entry for this stream. + + + + + .Net implementation of the compound stream. + + + + + .Net implementation of the compound stream. + + + + + Parent file item. + + + + + Directory entry of this stream. + + + + + Stream with data. If it is null, then data hasn't been read yet or stream is closed. + + + + + Initializes new instance of the stream. + + Parent file object. + Entry that describes this stream item. + + + + + + + + + Reads a sequence of bytes from the current stream and advances the position + within the stream by the number of bytes read. + + An array of bytes. When this method returns, the buffer + contains the specified byte array with the values between offset and + (offset + count - 1) replaced by the bytes read from the current source. + The zero-based byte offset in buffer at which to begin + storing the data read from the current stream. + The maximum number of bytes to be read from the current stream. + The total number of bytes read into the buffer. This can be less than + the number of bytes requested if that many bytes are not currently available, + or zero (0) if the end of the stream has been reached. + + + + writes a sequence of bytes to the current stream and advances the current + position within this stream by the number of bytes written. + + An array of bytes. This method copies count bytes + from buffer to the current stream. + The zero-based byte offset in buffer at which to + begin copying bytes to the current stream. + The number of bytes to be written to the current stream. + + + + Sets the position within the current stream. + + A byte offset relative to the origin parameter. + A value of type SeekOrigin indicating the reference + point used to obtain the new position. + The new position within the current stream. + + + + Sets the length of the current stream. + + The desired length of the current stream in bytes. + + + + Causes any buffered data to be written to the underlying compound file. + + + + + Releases the unmanaged resources used by the Stream and optionally releases the managed resources. + + true to release both managed and unmanaged resources; + false to release only unmanaged resources. + + + + Returns directory entry for this stream. + + + + + Gets the length in bytes of the stream. Read-only. + + + + + Gets or sets the position within the current stream. + + + + + Gets a value indicating whether the current stream supports reading. + + + + + Gets a value indicating whether the current stream supports seeking. + + + + + Gets a value indicating whether the current stream supports writing. + + + + + Stream position. + + + + + Initializes new instance of the stream. + + Parent file object. + Entry that describes this stream item. + + + + + + + + + Reads a sequence of bytes from the current stream and advances the position + within the stream by the number of bytes read. + + An array of bytes. When this method returns, the buffer + contains the specified byte array with the values between offset and + (offset + count - 1) replaced by the bytes read from the current source. + The zero-based byte offset in buffer at which to begin + storing the data read from the current stream. + The maximum number of bytes to be read from the current stream. + The total number of bytes read into the buffer. This can be less than + the number of bytes requested if that many bytes are not currently available, + or zero (0) if the end of the stream has been reached. + + + + writes a sequence of bytes to the current stream and advances the current + position within this stream by the number of bytes written. + + An array of bytes. This method copies count bytes + from buffer to the current stream. + The zero-based byte offset in buffer at which to + begin copying bytes to the current stream. + The number of bytes to be written to the current stream. + + + + Sets the position within the current stream. + + A byte offset relative to the origin parameter. + A value of type SeekOrigin indicating the reference + point used to obtain the new position. + The new position within the current stream. + + + + Sets the length of the current stream. + + The desired length of the current stream in bytes. + + + + Causes any buffered data to be written to the underlying compound file. + + + + + Gets the length in bytes of the stream. Read-only. + + + + + Gets or sets the position within the current stream. + + + + + This is wrapper over compound stream object. Simply redirects all calls to it + with one exception - it doesn't dispose underlying stream object. + + + + + Wrapped stream object. + + + + + Initializes new instance of the wrapper. + + Object to wrap. + + + + Causes any buffered data to be written to the underlying compound file. + + + + + Reads a sequence of bytes from the current stream and advances the position + within the stream by the number of bytes read. + + An array of bytes. When this method returns, the buffer + contains the specified byte array with the values between offset and + (offset + count - 1) replaced by the bytes read from the current source. + The zero-based byte offset in buffer at which to begin + storing the data read from the current stream. + The maximum number of bytes to be read from the current stream. + The total number of bytes read into the buffer. This can be less than + the number of bytes requested if that many bytes are not currently available, + or zero (0) if the end of the stream has been reached. + + + + Sets the position within the current stream. + + A byte offset relative to the origin parameter. + A value of type SeekOrigin indicating the reference + point used to obtain the new position. + The new position within the current stream. + + + + Sets the length of the current stream. + + The desired length of the current stream in bytes. + + + + writes a sequence of bytes to the current stream and advances the current + position within this stream by the number of bytes written. + + An array of bytes. This method copies count bytes + from buffer to the current stream. + The zero-based byte offset in buffer at which to + begin copying bytes to the current stream. + The number of bytes to be written to the current stream. + + + + + + + + + + Gets a value indicating whether the current stream supports reading. + + + + + Gets a value indicating whether the current stream supports seeking. + + + + + Gets a value indicating whether the current stream supports writing. + + + + + Gets the length in bytes of the stream. Read-only. + + + + + Gets or sets the position within the current stream. + + + + + Number of items in the file header. + + + + + List of all fat sector ids. + + + + + List with used Dif sectors. + + + + + Default constructor. + + + + + + + + + + + + Adds required number of DIF sectors. + + Number of sectors to add. + FAT object. + + + + + + + + + This class represents directory structure in the compound file. + + + + + List of directory entries. + + + + + Default constructor. + + + + + Initializes new instance of the directory. + + Data to parse. + + + + Searches for empty entry index. + + Index of the first empty directory entry. + + + + Adds new entry to the collection or replaces existing empty entry with this one. + + Entry to add. + + + + Saves directory entries into specified stream. + + Stream to save directory into. + + + + Returns list of directory entries. + + + + + Represents single directory entry in the compound file. + + + + + Size of a single directory entry. + + + + + Size of the stream name field. + + + + + Entry name. + + + + + Entry type. + + + + + Entry "color" in red-black tree. + + + + + Id of the left-sibling. + + + + + Id of the right-sibling. + + + + + Id of the child acting as the root of all the children of thes element (if entry type if Storage). + + + + + Storage CLSID. + + + + + User flags of this storage. + + + + + Create time-stamp for a storage. + + + + + Modify time-stamp for a storage. + + + + + Starting stream sector. + + + + + Stream size. + + + + + Reserved. Must be zero. + + + + + Entry id. + + + + + Last sector id. + + + + + Initializes new instance of the entry. + + Name of the new entry. + Type of the new entry. + Id of the new entry. + + + + Initializes new instance of the entry. + + Data of the new entry. + Offset to the entry data. + Entry id. + + + + Writes directory entry data inside specified stream. + + Stream to write data into. + + + + Entry name. + + + + + Entry type. + + + + + Entry "color" in red-black tree. + + + + + Id of the left-sibling. + + + + + Id of the right-sibling. + + + + + Id of the child acting as the root of all the children of thes element (if entry type if Storage). + + + + + Storage CLSID. + + + + + User flags of this storage. + + + + + Create time-stamp for a storage. + + + + + Modify time-stamp for a storage. + + + + + Starting stream sector. + + + + + Stream size. + + + + + Reserved. Must be zero. + + + + + Returns entry id. Read-only. + + + + + Possible entry types. + + + + + Invalid entry. + + + + + Entry is storage. + + + + + Entry is stream. + + + + + Root entry. + + + + + Document properties enumerator. + + + + + Offset to the first section. + + + + + List of all sections. + + + + + Default constructor. + + + + + Initializes new instance of the enumerator. + + Stream to parse. + + + + Extracts sections data from the stream. + + + + + + Extracts header information from the stream. + + + + + + Saves all sections into stream. + + Stream to save sections into. + + + + Extracts header information from the stream. + + + + + + Saves collection into stream. + + + + + + Returns list lf all sections. + + + + + This class represents FAT object in the compound file. + + + + + + + + + + List with free sectors. + + + + + Sector size. + + + + + + + + + + Default constructor. + + + + + Default constructor. + + + + + Initializes new instance of the fat. + + Parent compound file object. + Stream to extract fat from. + DIF object to help in parsing + File header object. + + + + Gets data of the compound file substream. + + Stream with compound file data. + First sector of the stream to get. + Parent compound file object. + + + + + Gets index of the next sector in the chain. + + Index of the current sector in the chain. + Next sector in the chain. + + + + Closes sectors chain by marking all those sectors as free starting from specified one. + + + + + + Enlarges existing sectors chain. + + Last sector in the chain that requires enlargment. + Number of sectors to add. + Index of the chain start (used when chain wasn't created before). + + + + Frees specified sector. + + Sector to free. + + + + Allocates required number of new sectors. + + Start sector index. + Number of sectors to allocate. + First sector in the new part of the chain. + + + + Allocates required number of free sectors. + + Start sector index (this value points to the last used sector after this operation). + Number of sectors to allocate. + First sector in the new part of the chain + + + + Saves fat data into stream. + + Stream to write fat data into. + DIF object to update after writing. + File header. + + + + Allocates required number of fat sectors. + + Number of sectors that must be allocated. + DIF structure that contains info about fat sectors sequence. + + + + Fills single fat sector. + + Index in the fat to start writing from. + Sector to fill. + First item that wasn't saved inside sector. + + + + Allocates new sector of the specified sector type. + + Sector type to allocate. + Allocated sector index. + + + + Adds single sector to the stream. + + Index of the added sector. + + + + Writes fat data directly into a stream. + + Stream to write data into. + Size of the sector to use for writing. + + + + Evaluates sector offset. + + Zero-based sector index to evaluate offset for. + Offset to the sector start. + + + + Evaluates number of sectors in the sector chain starting from the specified sector. + + Starting sector of the entry to enumerate. + Number of sectros in the sector chain. + + + + Sector size. + + + + + This class represents compound file header. + + + + + Size of the header. + + + + + Signature size. + + + + + Default (and the only supported) signature. + + + + + File signature. + + + + + Class id. + + + + + Minor version of the format. + + + + + Major version of the dll/format. + + + + + Byte order, 0xFFFE for Intel byte-ordering. + + + + + Size of sectors in power-of-two (typically 9). + + + + + Size of mini-sectors in power-of-two (typically 6). + + + + + Reserved, must be zero. + + + + + Reserved, must be zero. + + + + + Reserved, must be zero. + + + + + Number of sectors in the FAT chain. + + + + + First sector in the directory chain. + + + + + Signature used for transactioning, must be zero. + + + + + Maximum size for mini-streams. Typically 4096 bytes. + + + + + First sector in the mini-FAT chain. + + + + + Number of sectors in the mini-FAT chain. + + + + + First sector in the DIF chain. + + + + + Number of sectors in the DIF chain. + + + + + First 109 fat sectors. + + + + + Default constructor. + + + + + Initializes new instance of the file header and extracts data from the stream. + + Stream to extract header data from. + + + + Saves header into specified stream. + + Stream to write header into. + + + + Checks whether starting bytes of the stream are the same as signature of the compound file. + + Stream to check. + True if stream contains required signature. + + + + Checks whether signature is supported. + + + + + Checks whether signature is supported. + + Data to compare with default signature. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Size of the sector. Read-only. + + + + + Minor version of the format. + + + + + Major version of the dll/format. + + + + + Byte order, 0xFFFE for Intel byte-ordering. + + + + + Size of sectors in power-of-two (typically 9). + + + + + Size of mini-sectors in power-of-two (typically 6). + + + + + Reserved, must be zero. + + + + + Reserved, must be zero. + + + + + Reserved, must be zero. + + + + + Number of sectors in the FAT chain. + + + + + First sector in the directory chain. + + + + + Signature used for transactioning, must be zero. + + + + + Maximum size for mini-streams. Typically 4096 bytes. + + + + + First sector in the mini-FAT chain. + + + + + Number of sectors in the mini-FAT chain. + + + + + First sector in the DIF chain. + + + + + Number of sectors in the DIF chain. + + + + + First 109 fat sectors. + + + + + This comparer is used to compare item names inside storage. + + + + + Compares two objects and returns a value indicating whether one is less + than, equal to, or greater than the other. + + The first object to compare. + The second object to compare. + + Less than zero if x is less than y. + Zero if x equals y. + Greater than zero if x is greater than y. + + + + + Compares two objects and returns a value indicating whether one is less + than, equal to, or greater than the other. + + The first object to compare. + The second object to compare. + + Less than zero if x is less than y. + Zero if x equals y. + Greater than zero if x is greater than y. + + + + + Suitable Node colors used for 2-3-4 nodes detection. + + + + + Red color of node. + + + + + Black color of node. + + + + + Node class used for proper storing of data in the Map Collection. + + + + + Reference on left branch. + + + + + Reference on right branch. + + + + + Reference on parent branch. + + + + + Color of node branch. + + + + + Is current node Nil element or not? + + + + + Key part of stored in node data. + + + + + Value part of stored in node data. + + + + + Create red colored Tree node. + + Reference on left branch. + Reference on parent branch. + Refernce on right branch. + Key value of node. + Value part of node. + + + + Main constructor of class. + + Reference on left branch. + Reference on parent branch. + Refernce on right branch. + Key value of node. + Value part of node. + Color of node. + + + + Reference on left branch. + + + + + Reference on right branch. + + + + + Reference on parent branch. + + + + + Color of node branch. + + + + + Is current node Nil element or not? + + + + + Key part of stored in node data. + + + + + Value part of stored in node data. + + + + + Is current node set to red color? + + + + + Is current node set to black color? + + + + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + Create collection with specified comparer for Key values. + + Comparer for key values. + + + + Create Empty node for collection. + + + + + Clear collection. + + + + + Add item into collection. + + Key part. + Value. + + + + Check whether collection contains specified key. + + True if node with specified key is found; otherwise False. + Key for check. + + + + Remove from collection item with specified key. + + Key to identify item. + + + + TODO: place correct comment here + + + TODO: place correct comment here + + + + + Get minimum value for specified branch. + + Branch start node. + Reference on minimum value node. + + + + Get maximum value for specified branch. + + Branch start node. + Reference on maximum value node. + + + + Go to to next item in collection. + + Start node. + Reference on next item in collection or this.Empty if nothing found. + + + + Get previous item from collection. + + Start node. + Rererence on previous item in collection. + + + + Find node in collection by key value (search in lower side). + + Key of node to find. + Reference on found node, otherwise this.Empty value. + + + + Find node in collection by key value (search in upper side). + + Key of node to find. + Reference on found node, otherwise this.Empty value. + + + + Rotate branch into left side. + + Branch start node. + + + + Rotate branch into right side. + + Branch start node. + + + + Erase node from collection. + + Item to erase. + + + + Insert item into collection. + + Add into left side of tree or right. + Node for placement. + Key part of node. + Value part of node. + + + + Returns enumerator. + + Returns enumerator of current interface. + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + Bit mask for LinkToContent property of the DocumentProperty class. + + + + + Initializes new isntance of the PropertyData. + + + + + Initializes new instance of the property data. + + Id for the new property.. + + + + Extracts property data from the stream. + + Stream to get data from. + + + + Extracts property data from the stream. + + Stream to get data from. + + + + Determines whether [is valid property]. + + + + + + Extracts vector data from the stream. + + + + + + + + Extracts vector data from the stream. + + + + + + + + Creates array of the specified type. + + Item type. + Number of elements in the array. + Created array object. + + + + Extracts single value from the stream. + + + + + + + + + Extracts single value from the stream. + + + + + + + + + Gets DateTime object data from the stream. + + Stream to get data from. + Buffer used to extract blob parts. + Extracted DateTime data. + + + + Gets blob data from the stream. + + Stream to get blob data from. + Buffer used to extract blob parts. + Blob data. + + + + Gets clipboard data from the stream. + + Stream to get data from. + Buffer that can be used to extract clipboard data parts. + Clipboard data. + + + + Gets object value from the stream. + + Stream to get data from. + Maximum size of the data to extract. + Extracted object. + + + + Gets object value from the stream. + + Stream to get data from. + Maximum size of the data to extract. + Extracted object. + + + + Writes object into the stream. + + Stream to write data into. + Object to write. + Size of the written data. + + + + Writes property data into the stream. + + Stream to write data into. + Number of written bytes. + + + + Serializes names dictionary. + + Stream to serialize into. + Dictionary to serialize. + Size of the serialized data. + + + + Serializes vector data. + + + + + + + + Serializes single value into the stream. + + Stream to serialize into. + Value to serialize. + Value type. + Size of the written data. + + + + Serializes blob data. + + Stream to write blob into. + Blob value to write. + Size of the written data. + + + + Sets property value. + + Value to set. + Type of the property to set. + + + + Indicates whether it is property or just link to source of some property. Read-only. + + + + + Returns id of the parent property. Read-only. + + + + + GEts or sets property id. + + + + + Offset to the section header. + + + + + Section id. + + + + + Section size. + + + + + Contains all section properties. + + + + + Code page of the section. + + + + + Initializes new instance of the section. + + + + + + + Extracts properties from the stream. + + Stream to get section from. + + + + Parses dictionary based on the internal variables value. + + Stream to get dictionary from. + Dictionary to fill if necessary. + + + + Parses property names. + + Stream to get property data from. + Information about dictionary placement inside stream. + Parsed dictionary. + + + + Parses special properties (they shouldn't be visible to user and they contain some information). + + + + + + + + + Parses property names based on previously stored internal information. + + Stream to get data from. + Parsed dictionary. + + + + Saves section into stream. + + Stream to save section into. + + + + Prepares property name dictionary. + + Dictionary with property names. Key - property id, value - property name. + + + + Offset to the section header. + + + + + Section id. + + + + + Section size. + + + + + Properties count. + + + + + Gets list of all properties. + + + + + Contains constants that defines all known sector types. + + + + + Represents the stream helper. + + + + + Size of the Int32 in bytes. + + + + + Size of the Int162 in bytes. + + + + + Size of the Double in bytes. + + + + + Reads Int16 value from the stream. + + Stream to get data from. + Temporary buffer to put extracted bytes into. + Extracted Int32 value. + + + + Reads Int32 value from the stream. + + Stream to get data from. + Temporary buffer to put extracted bytes into. + Extracted Int32 value. + + + + Reads Double value from the stream. + + Stream to get data from. + Temporary buffer to put extracted bytes into. + Extracted Double value. + + + + Writes Int16 value from the stream. + + Stream to get data from. + Value to write. + Size of the written data. + + + + Writes Int32 value from the stream. + + Stream to write data into. + Value to write. + Size of the written data. + + + + Reads Double value from the stream. + + Stream to get data from. + Temporary buffer to put extracted bytes into. + Extracted Double value. + + + + Gets ASCII string from the stream starting from the current position. + + Stream to get data from. + Approximate string size. + Extracted string. + + + + Gets ASCII string from the stream starting from the current position. + + Stream to get data from. + Approximate string size. + Extracted string. + + + + Get the code page name for the current codepage + + + + + + Gets encoding information for the corresponding code page. + + + + + + Extracts unicode string from the stream. + + + + + + + + Gets ASCII string from the stream starting from the current position. + + Stream to get data from. + Approximate string size. + Extracted string. + + + + Writes unicode string into steram. + + Stream to write data into. + Value to write. + Size of the written data in bytes. + + + + Writes string into stream using specified encoding. + + Stream to write data into. + Value to write. + Encoding to use. + Size of the written data in bytes. + + + + Adds padding if necessary. + + + + + + + Removes last zero character from the string if it is present. + + Value to check. + String after removal. + + + + Generate default name. + + Start string. + Collection with names. + Returns new name. + + + + Field type is not Specifies. + + + + + Specifies Addins. + + + + + Offset subsequent text within a line to the left, right, up or down. + + + + + Prompt the user for text to assign to a bookmark. + + + + + The name of the document's author from Summary Info. + + + + + Insert an automatic number. + + + + + Insert an automatic number in legal format. + + + + + Insert an automatic number in outline format. + + + + + Insert an AutoText entry. + + + + + Insert text based on style. + + + + + Insert a delivery point barcode. + + + + + The comments from Summary Info. + + + + + Compares two values. + + + + + The date the document was created. + + + + + Specifies data. + + + + + Insert data from an external database. + + + + + Specified Today`s Date. + + + + + Specified Type as FieldDDE. + + + + + Specified Type as FieldDDEAuto. + + + + + Insert the value of the property. + + + + + Insert the value of the document variable. + + + + + The total document editing time. + + + + + Specifies OLE embedded object. + + + + + Specified Empty Field. + + + + + Specifies Field Expression. + + + + + The document's name. + + + + + The size on disk of the active document. + + + + + Prompt the user for text to insert in the document. + + + + + Specifies FieldType as FootnoteRef. + + + + + Specifies Check box control. + + + + + Specifies Drop Down box control. + + + + + Specifies Text control. + + + + + Calculates the result of an expression. + + + + + Specifies FieldGlossary. + + + + + Specifies GoToButton control. + + + + + Specifies HTMLActiveX control. + + + + + Specifies Hyperlink control. + + + + + Evaluate arguments conditionally. + + + + + Specifies FieldType as Import. + + + + + Specifies FieldType as Export. + + + + + Insert a picture from a file. + + + + + Insert text from a file. + + + + + Create an index. + + + + + Mark an index entry. + + + + + Data from Summary Info. + + + + + The keywords from Summary Info. + + + + + Name of user who last saved the document. + + + + + Linked OLE2 object. + + + + + Insert an element in a list. + + + + + Run a macro. + + + + + Insert a mail merge field. + + + + + The number of the current merge record. + + + + + Merge record sequence number. + + + + + Go to the next record in a mail merge. + + + + + Conditionally go to the next record in a mail merge. + + + + + Insert the number of a footnote or endnote. + + + + + The number of characters in the document. + + + + + The number of pages in the document. + + + + + The number of words in the document. + + + + + Represents an ActiveX control such as a command button etc. + + + + + Insert the number of the current page. + + + + + Insert the number of the page containing the specified bookmark. + + + + + Download commands to a printer. + + + + + The date the document was last printed. + + + + + Stores data for documents converted from other file formats. + + + + + Insert literal text. + + + + + Insert the text marked by a bookmark. + + + + + Create an index, table of contents, table of figures, and/or table of authorities by using multiple documents. + + + + + Insert the number of times the document has been saved. + + + + + The date the document was last saved. + + + + + Insert the number of the current section. + + + + + Insert the total number of pages in the section. + + + + + Insert an automatic sequence number. + + + + + Assign new text to a bookmark. + + + + + Conditionally skip a record in a mail merge. + + + + + Insert the text from a like-style paragraph. + + + + + The document's subject from Summary Info. + + + + + The document's Subscriber from Summary Info. + + + + + Insert a special character + + + + + The name of the template attached to the document. + + + + + The current time. + + + + + The document's title from Summary Info. + + + + + Create a table of authorities. + + + + + Make a table of authorities entry. + + + + + Create a table of contents. + + + + + Make a table of contents entry. + + + + + Address from Tools Options User Info. + + + + + Initials form Tools Options User Info. + + + + + Name from Tools Options User Info. + + + + + Specifies FieldType as Shape. + + + + + Specifies FieldType as BIDIOUTLINE. + + + + + Specifies AddressBlock + + + + + Specifies FieldType as Unknown. + + + + + Tab stop leader + + + + + No leader. + + + + + Dotted leader. + + + + + Hyphenated leader. + + + + + Single line leader. + + + + + Heavy line leader. + + + + + Specifies paragraph text is aligned to the left. + + + + + Specifies paragraph text is aligned to the center. + + + + + Specifies paragraph text is aligned to the right. + + + + + Specifies paragraph text is aligned to both left and right. + + + + + Specifies paragraph characters are distributed to fill the entire width of the paragraph. + + + + + Specifies paragraph uses medium-length Kashida, if the language is Arabic. In other languages, paragraph text is justified with a medium character compression ratio. + + + + + Specifies paragraph uses longer length Kashida, if the language is Arabic. In other languages, paragraph text is justified with a high character compression ratio. + + + + + Specifies paragraph uses small length Kashida, if the language is Arabic. In other languages, paragraph text is justified with a high character compression ratio. + + + + + Specifies paragraph text is justified with Thai distributed justification, if the language is Thai. In other languages, text is justified with a low character compression ratio. + + + + + Specifies the text wrap style. + + + + + In line with text. + + + + + Top and bottom. + + + + + Wraps text around the shape. Line continuation is on the opposite side of the shape. + + + + + Places shape in front of text. + + + + + Tight. + + + + + Through. + + + + + Places shape behind text. + + + + + Represents the caption angle type. + + + + + Fixed caption angle type. + + + + + Free caption angle type. + + + + + Represents the caption escape direction. + + + + + Horizontal caption escape direction. + + + + + Vertical caption escape direction. + + + + + Auto caption escape direction. + + + + + Represents the caption type. + + + + + Straight line caption type. + + + + + Angled line caption type. + + + + + Angled connector line caption type. + + + + + Represents the color mode. + + + + + Greyscale color mode. + + + + + Mono color mode. + + + + + Watermark color mode. + + + + + Represents the draw aspect. + + + + + Content draw aspect. + + + + + Thumbnail draw aspect. + + + + + Icon draw aspect. + + + + + Print view draw aspect. + + + + + Represents drawing fill type. + + + + + No fill. + + + + + Solid fill. + + + + + Bitmap fill. + + + + + Gradient fill. + + + + + Hatch fill. + + + + + Represents reference point for image. + + + + + Top left. + + + + + Top. + + + + + Top right. + + + + + Left. + + + + + Center. + + + + + Right. + + + + + Bottom left. + + + + + Bottom. + + + + + Bottom right. + + + + + Represents measure align type. + + + + + Autmatic measure align. + + + + + Left outside measure align. + + + + + Inside measure align. + + + + + Right outside measure align. + + + + + Represents vertical measure align. + + + + + Automatic vertical measure align. + + + + + Above vertical measure align. + + + + + Below vertical measure align. + + + + + Center vertical measure align. + + + + + Represents shadow. + + + + + Visible shadow. + + + + + Hidden shadow. + + + + + Represents stroke. + + + + + No stroke. + + + + + Dash stroke. + + + + + Solid stroke. + + + + + Represents stroke line join. + + + + + Miter join. + + + + + Round join. + + + + + Bevel join. + + + + + Middle join. + + + + + No join. + + + + + Inherited join. + + + + + Represents text area horizontal alignment. + + + + + Left align. + + + + + Center align. + + + + + Right align. + + + + + Justify. + + + + + Represents text area vertical alignment. + + + + + Top align. + + + + + Middle align. + + + + + Bottom align. + + + + + Justify. + + + + + Represents measure units. + + + + + Auto. + + + + + Millimeter (mm). + + + + + Centimeter (cm). + + + + + Meter (m). + + + + + Kilometer (km). + + + + + Point (pt). + + + + + Pica (pc). + + + + + Inch (inch). + + + + + Feet (ft). + + + + + Mile (mi). + + + + + Represents how fill property paints the shape. + + + + + if the result is zero then the point is outside the path. Otherwise, it is inside. + + + + + If this number is odd, the point is inside; if even, the point is outside. + + + + + Represents the shape to be used at the end of open subpaths when they are stroked. + + + + + Butt shape. + + + + + Square shape. + + + + + Round shape. + + + + + Closing the instance + + + + + Gets/Sets the Continuous section Textbody first item + + + + + Gets/Sets the Continuous section Textbody last item + + + + + Gets/Sets the section style name for the OTextbodyItem + + + + + Gets/Sets the list level number for the Paragraph + + + + + in percent + + + + + in percent + + + + + Sets the width scale, specific for parsers. + + The width scale. + + + + Sets the height scale, specific for parsers. + + The height scale. + + + + Gets or sets the picture height in points + + The float that specifies the height. + + + + Gets or sets the picture width in points. + + The float that specifies the width. + + + + Gets or sets the picture height scale factor in percent. + + The float that specifies the height scale factor. + + + + Gets or sets the picture width scale factor in percent. + + The float that specifies the width scale factor. + + + + Gets or sets the name of the picture. + + The string that represents the name. + + + + Gets or sets absolute horizontal position of the picture in points. + + The float that specifies the horizontal position. + + The horizontal position is relative to the . + + + + + Gets or sets absolute vertical position of the picture in points. + + The float that specifies the vertical position. + + The vertical position is relative to the . + + + + + Gets or sets the index of the order. + + The index of the order. + + + + Gets or Sets the id to the picture instance + + + + + Gets the HeaderFooterContent child items + + + + + Gets or sets the name of the object. + + + + + Gets the Even page footer + + + + + Gets the First page header content + + + + + Gets the First page footer content + + + + + Collection of all the styles in the workbook. + + + + + Adds specified style into this collection. + + Style that must be added. + + + + Collection of all the styles in the workbook. + + + + + Adds specified style into this collection. + + Style that must be added. + + + + Adds specified style into this collection. + + Style that must be added. + + + + Gets/Sets the current page layout columns count + + + + + Gets/Sets the current page layout columns gap + + + + + Collection of all the styles in the workbook. + + + + + Adds specified style into this collection. + + Style that must be added. + + + + First visible character. + + + + + Chars with codes less than 0x20 which are allowed to be used inside xml strings. + + + + + Saves the document to ODS format. + + + + + + Serializes doument manifest which specifies the files in the arhive. + + + + + Serializes the mimetype value. + + + + + Serializes meta data file. + + + + + Serialize the list elements + + + + + + + + To serialize TOC source entries + + + + + Serialize OPicture instance + + + + + + Serialize Merge Field + + The Merge Field + + + + Serialize Merge Field + + The Merge Field + + + + Serialize hyperlink field + + The Field + + + + Document default Paragraph properties + + + + + Document Default Text properties + + + + + Serializes teh Odd/First Page HeaderFooter contents + + + + + + + This class holds the name of the Syncfusion.DocIO.Base assembly and provides a helper + routine that helps with resolving types when loading a serialization stream and when + the framework probes for assemblies by reflection. + + + + + The full name of this assembly without version information: "Syncfusion.DocIO.Base". + + + + + A reference to the for the DocIO assembly. + + + + + The root namespace of this assembly. Used internally for locating resources within the assembly. + + + + + + + + + + Configuration class for the DocIO library. In the current version, there are no explicit settings. + Adding this component from the toolbar allows you to easily configure your project for MS Word support. + + + + + Initializes a new instance of the class. + + + + + Copyright notice for the library. + + + + + Closes this instance. + + + + + Represents a collection of items. + + + + + Represents the child shape of group shape in the Word document. + + + + + Represents the shape common. + + + + + Provides the base implementation for all paragraph items. + + + + + The base implementation of IWidget interface + + + + + Provides the base implementation for DLS entities. + + + + + + + + + + Provides the base implementation for all the classes with holder behavior. + + + + + Specifies the Word document instance. + + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified instance. + + The instance. + + + + Initializes a new instance of the class + with the specified instance and + instance. + + The doc. + The owner. + + + + Sets the owner. + + The owner. + + + + Sets the owner. + + The doc. + + + + Sets the owner. + + The doc. + The owner. + + + + "Listener" for state change. + + + + + Closes this instance. + + + + + Gets the owner document. Read-only. + + The instance. + + + + Gets the owner. + + The owner. + + + + Represents required functionality for serialization by XDLSReader/Writer. + Used for objects/items implementation + + + + + Object can writes by this method own "value" properties + + + + + + Object can writes by this method own complex/binary data. + + + + + + Object can reads by this method own "value" properties + + + + + + Object can reads by this method own complex/binary data. + + + + + + Object can use this method for restore references. + + + + + + + Gets special holder with child objects. + + + + + + + + + + Initializes a new instance of the class. + + The doc. + The entity. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clones itself. + + Returns cloned object. + + + + Clones the relations. + + The doc. + + + + Clones itself. + + + Returns cloned object. + + + + Writes object data as xml attributes. + + + The object. + + + + Writes object data as inside xml element. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + The value indicating the presence of xml content. + + + + Registers child objects in XDSL holder. + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + Represents an entity + + + + + Creates a duplicate of the entity. + + The object which is a copy of the current entity + + + + Gets the of this entity. + + + + + Gets the owner of the entity. + + The that specifies the owner. + + + + Gets the type of the entity. + + The of the current item. + + + + Gets the next sibling of the entity. + + The that represents the next sibling. + + + + Gets the previous sibling of the entity. + + The that represents the previous sibling. + + + + Gets a value indicating whether this instance is composite. + + True if this instance is composite, otherwise false. + + + + Represents the revision collection. + + + + + Represents the revision collection if the item is cloned and not added to document. + + + + + Determine whether the paraItem is in floating item or not. + + + + + + + Checks whether current floating is fallback item or not. + + + + + Determines whether the specified built in style type is character style or not. + + built in style. + trueif the built in style type is character style, otherwisefalse + + + + Initializes a new instance of the class. + + The object. + The that is the owner. + + + + Creates a duplicate copy of the entity. + + The object which is a copy of the current entity. + + + + Returns bool indiacting whether the text is in vertical direction + + + + + + Adds the self. + + + + + Attaches to document + + + + + Removes the self. + + + + + Gets the index in parent collection. + + + + + + Determines whether is parent of the specified entity. + + The entity. + + If it is parent of the specified entity, set to true. + + + + + To initialize the layoutinfo as null + + Last TOC Entry entity + Set to True if last TOC entry is reached + + + + Gets the owner textbody + + + + + + + Gets the base entity for shape. + + + + + + + Gets the base entity + + + + + + + Gets the hierarchical index of the entity. + + The hierarchicalIndex. + + + + + Get ZOrderIndex value for the entity + + + + + + Sort the floating item based on its DOM Position + + Second floating item + Truewhen we need to sort the floating item collection based on its position + + + + sort the floating items based on its owner table and paragraph + + first floating item owner paragrpah + second floating item owner paragrpah + + + + + sort the floating items based on its owner table + + first floating item owner table cell + second floating item owner cell + + + + + Gets the owner section of given entity + + Entity + Owner section of current entity + + + + Gets the owner table of given entity + + Entity + Owner table of current entity + + + + Gets the owner cell + + The Owner cell of the given entity + + + + Compare the current document with revised document + + The original document instance + + + + Remove and unlink revision from the entity while removing. + + + + + + Remove and unlink revision from the format base while removing the entity. + + + + + + Closes this instance. + + + + + Gets the owner of the entity. + + The that specifies the owner. + + + + Gets the type of the entity. + + The of the current item. + + + + Gets the next sibling of the entity. + + The that represents the next sibling. + + + + Gets the previous sibling of the entity. + + The that represents the previous sibling. + + + + Gets a value indicating whether this instance is composite. + + True if this instance is composite, otherwise false. + + + + Gets a value indicating whether this is detached. + + if detached, set to true. + + + + Gets the revision changes marked with revision marks in a range or document. + + + + + Represents a base Widget interface + + + + + Initializing LayoutInfo value to null + + + + + Gets layout info. + + + + + + + + + + Initializes a new instance of the class. + + The doc. + The owner. + + + + Initializing layout info to null + + + + + + + + + + Gets layout info. + + + + + Represents the paragraph item + + + + + Gets the owner paragraph of the current paragraph item. Read-only + + The instance which is the owner of the current item. + + + + Gets a value indicating whether this item was inserted to the document, + when is or was set to true. Read-only. + + True if this instance was inserted; otherwise, false. + + + + + Gets a value indicating whether this item was deleted from the document, + when is or was set to true. Read-only. + + True if this instance is delete revision; otherwise, false. + + + + + Specifies the character format. + + + + + + Gets the WMath which contains the math run element + + Represents IOfficeMathRunElement which contains paragraph item + Return WMath in Word document + + + + Applies the style with the specified name to all paragraph items. + + The string that represents the style name. + The specified style must exists in collection. + + + + Applies the specified style. + + Style name + Specified style must exist in Document.Styles collection + + + + Get Owner Paragraph of the Item is in SDTInlineContent + + + + + + Sets the insert revision. + + if it specifies insert revision, set to true. + + + + Sets the delete revision. + + if it specifies delete revision, set to true. + + + + Initializes a new instance of the class with the specified instance. + + The instance. + + + + Attaches to paragraph. + + + + + Detaches from owner. + + + + + Accepts the changes. + + + + + Removes the format changes. + + + + + Determines whether has tracked changes. + + + if has tracked changes, set to true. + + + + + Gets the char format. + + + + + + //Apply the table style properties to cloned paragraph. + + Original paragraph. + Cloned paragraph. + + + + Sets the character format. + + + + + + + Checks the shape field + + + + + + + Updates track changes revision of para item while adding the entity. + + + + + + Checks the track change. + + The item. + + + + Closes this instance. + + + + + Creates a duplicate copy of . + + The reference of the newly created object. + + + + Releases all resources used by the object. + + + + + Creates a duplicate copy of the . + + + The reference of the newly created object. + + + + //Sets the move revision first and last item + + The move revision + The item + + + + Clones the relations. + + The doc. + + + + Get text wrapping style + + + + + + Determines whether is wrapping bounds added or not. + + + + + + Set the wrapping bounds added flag. + + + + + + Gets the lay out in cell. + + + + + + Get vertical origin + + + + + + Get shape vertical alignment + + + + + + + Get shape horizontal alignment + + + + + + + Get horizontal origin + + + + + + Get horizontal position + + + + + + Get vertical position + + + + + + Gets the allow overlap. + + + + + + Get the effectExtent values + + + + + + + + + + Get Left margin of the section. + + + + + + + Get the right margin of the section + + + + + + + Get the base entity + + + + + + + Get width relative to percent + + + + + + Get height relative to percent + + + + + + Gets the index of the wrap collection. + + + + + + Used to parse a VML Path points of 2007 custom shape. + + + + + Parse a VML Path and create a Path2D point collections. + + Represent a input VML path to parse. + Returns a parsed Path2d point collection. + + + + Skip a leading white spaces of input Path from specified starting index. + + Represent a input VML Path. + Represent a starting index. + + + + Gets a numeric Path point from a specified index to next Path separator. + + Represent a input VML Path. + Represent a starting index. + Returns a VML Path point. + + + + Gets a next VML Path command index from specified start index. + + Represent a input path to find. + Represent a start index to start from. + Returns a index of next VML Path command. + + + + Check whether input path has only a valid (supported) VML Path commands or not. + + At present, we do support for only limited VML Path commands and + this method used to identify whether current ChildShape Path has supported VML Path commands or not. + Represent a input path to check. + Returns true, if all the VML commands are supported; Otherwise false. + + + + Update a VML Path points with its CoordinateSize and CoordinateOrigin values. + + Represent a updated bounds of a child shape. + + + + Re-update the VML Path points with its CoordinateSize and CoordinateOrigin values. + + + + + + + + + + + Gets or sets a value indicating whether this is cloned. + + + true if cloned; otherwise, false. + + + + + Gets the owner paragraph of the current paragraph item. Read-only + + The instance which is the owner of the current item. + + + + Gets a value indicating whether this item was inserted to the document, + when is or was set to true. Read-only. + + True if this instance was inserted; otherwise, false. + + + + + Gets a value indicating whether this item was deleted from the document, + when is or was set to true. Read-only. + + True if this instance is delete revision; otherwise, false. + + + + + Gets or set a value indicating whether this instance has changed format. + + + if this instance has changed format, set to true. + + + + + Gets or sets the start pos of paragraph item. + + The start pos. + + + + Gets the end pos of paragraph item. + + The end pos. + + + + Gets a value indicating whether this is detached. + + if detached, set to true. + + + + Sets the paragraph item character format. + + The paragraph item char format. + + + + Reserved for internal use. + + + + + If the item is move revision range first item, then returns true else false. + This boolean is maintained for cloned item which is not added to document + + + + + If the item is move revision range last item, then returns true else false. + This boolean is maintained for cloned item which is not added to document + + + + + Get or set the new start position + + + + + Get or set new end position. + + + + + Sets the property key + + + + + Creates a duplicate copy of this + or object. + + + The reference to the newly created object. + + + + Gets layouting bounds for shape's text body + + + /// + + + + + + Gets or sets ID of the shape + + + + + Gets or sets the height of the shape or chart measured in points. + + The float that specifies the height of the shape or chart. + + + + Gets or sets the width of the shape or chart measured in points. + + The float that specifies the width of the shape or chart. + + + + Gets or sets the height scale factor of shape or chart or child shapes measured in percent. + + The float that specifies the height scale factor. + + + + Gets or sets the width scale factor of shape or chart or child shapes measured in percent. + + The float that specifies the width scale factor. + + + + Properties Collection + + + + + Gets or sets the value for the property with specified key. + + The key for the property. + An object with the specific key. + + + + Gets or sets the alternate text for the shape or chart. + + The string that represents the alternate text. + + + + Gets or sets the name of the shape or chart. + + The string that represents the name. + + + + Gets or sets the title for the shape or chart. + + The string that represents the title. + + + + Gets the stream the shape/chart elements + + + + + Gets or Sets the path + + + + + Gets or sets the Coordinate size of the shape or chart. + + The for the shape or chart. + + + + Gets or sets the Coordinate X Origin of the shape or chart. + + The for the shape or chart. + + + + Gets or sets the Coordinate Y Origin of the shape or chart. + + The for the shape or chart. + + + + Represent a widget that can MEASURE self. + + + + + Measures self size. + + + + + + + Sets the property key + + + + + Detaches from owner. + + + + + Executes when the entity is attached to the owner document. + + + + + Creates a duplicate copy of this object. + + + The reference of the newly created . + + + + Clones the relations. + + + + + + Gets the Guide List value of custom shape + + + + + + Gets the Av List value of custom shape + + + + + + Clones the ChildShape format + + + + + + Creates a duplicate copy of the shape format. + + The reference of the newly created . + + + + Creates a duplicate copy of this object. + + The reference of the newly created . + + + + Checks whether the fill style needs to be taken from the parent child group shape. + + Child Group Shape + + + + Apply owner group shape or childGroupshape fill + + Textbox, shape or picture + + + + Implemented alternative method to improve the performance + + + + + + + + To get the color from theme item + + + + + + + + + To get the percentage value from the given string + + + + + + + Initializing LayoutInfo value to null + + + + + + + + + + + + Creates the layout information. + + + + + + Compares the current child shape with another child shape of another document. + + + + + + + Gets the child shape text for Word comparison + + + + + + Gets the properties text for Word comparison + + + + + + Gets or Sets the Custom Shape path list value + + + + + Gets or Sets a VML Path points to draw. + + + + + Flag to ensure Effect Style applied for shape inline + + + + + Gets the shape guide + + The shape guide. + + + + Gets or Sets picture hRef string + + + + + Gets the SVG image as byte array. Read-only. + + The array that represents SVG image bytes. + + + + Gets or set the SVG external image link. + + + + + Flag to ensure Fill Style applied for shape inline + + + + + Gets or sets a value indicating whether [flip horizantal]. + + + true if [flip horizantal]; otherwise, false. + + + + + Gets or sets a value indicating whether [flip vertical]. + + + true if [flip vertical]; otherwise, false. + + + + + Flag to ensure Fill Style applied for shape inline + + + + + Gets or Sets the shape style references + + + + + Flag to ensure Fill Style applied for shape inline + + + + + Flag to ensure Line Style applied for shape inline + + + + + Gets or Sets the Font reference color + + + + + Gets or sets the X position of the child shape within the Group shape + + + + + Gets or sets the Y position of the child shape within the Group shape + + + + + Gets or sets the X position of the child shape within the Group shape + + + + + Gets or sets the Y position of the child shape within the Group shape + + + + + Gets or Sets the type of Shape + + + + + Gets or Sets the type of the ChildShape element + + + + + Gets a value indicating whether the ChildShape instance contains valid text body. + + + + + Gets or Sets the left position + + + + + Gets or Sets the top position + + + + + Properties Collection + + + + + Gets or Sets the left position + + + + + Gets or Sets the top position + + + + + Gets or Sets the left position + + + + + Gets or Sets the top position + + + + + Gets or Sets textbody content of the child shape + + + + + Gets or Sets the text body properties + + + + + Gets or Sets line format + + + + + Gets or Sets fill format + + + + + Gets or sets the chart instance. + + + + + Gets or sets the XmlParagraphItem + + + + + Gets or sets the type of the auto shape + + + + + + + + + + Gets the image as byte array + + + + + Gets the document instance + + + + + Gets/ sets Effect format of the shape + + + + + Gets or Sets the flag for Horizontal rule + + + + + Gets or sets a value indicating whether this is text box shape + + + + + Gets or Sets the adjustments + + + + + Gets or sets the child shape rotation in degree. + + The float that specifies the rotation value of the child shape. + A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. + + + + Gets or Sets the Arc size + + + + + Gets or Sets 2007 unparsed streams + + + + + Gets or Sets the flag for StandardColorHR + + + + + Gets or Sets the flag for UseNoShadeHR + + + + + Gets the relations. + + The relations. + + + + Gets the docx style properties. + + The docx style props. + + + + Gets or sets the value indicating whether the anchor is in cell + + + + + Gets or sets a value indicating whether [is2007 shape]. + + + true if [is2007 shape]; otherwise, false. + + + + + Gets the image relations. + + The image relations. + + + + Gets the Entity type + + + + + Get/Set Text content layouting bounds for shape + + + + + Gets or sets the child shape rotation in degree after calculating a proper rotation from parent group shape. + + The float that specifies the rotation value of the child shape to render in PDF. + A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. + + + + Gets or sets a value indicating whether [flip horizantal] after calculating a proper flipH from parent group shape. + + + true if [flip horizantal]; otherwise, false that specifies the flipH value of the child shape to render in PDF. + + + + + Gets or sets a value indicating whether [flip vertical] after calculating a proper flipV from parent group shape. + + + true if [flip vertical]; otherwise, false that specifies the flipV value of the child shape to render in PDF. + + + + + Gets or sets the value for the property with specified key. + + The key for the property. + An object with the specific key. + + + + To auto generate shape id + + + + + To add child shape for grouping + + The child shape + + + + Creates a duplicate copy of this object. + + The reference of the newly created . + + + + Clones the relations. + + + + + + Compares the current child groupshape with another child groupshape of another document. + + + + + + + Gets the child group shape text for Word comparison + + + + + + Gets the properties text for Word comparison + + + + + + Gets or sets the X position of the child group shape within the Group shape + + + + + Gets or sets the Y position of the child group shape within the Group shape + + + + + Gets or Sets the child extents X- value + + + + + Gets or Sets child extents Y- value + + + + + Checks the item is picture + + + + + Gets the Entity type + + + + + Represent a Path2D class to hold a VML custom Path points. + + + + + Create a object for Path2D class with specified VML PathCommandType and VML PathPoints. + + Represent a type of VML Path command. + Represent a VML Path points. + + + + Create a object for Path2D class + + + + + CLone Path2D + + + + + + Closes this instance. + + + + + Compares the current path2D with another path2D. + + + + + + + Gets the properties text for Word comparison + + + + + + Gets a VML Path command type. + + + + + Gets a custom VML Path points. + + + + + Stores the path elements + + + + + Gets or Sets the path width + + + + + Gets or Sets the path height + + + + + Gets or Sets whether path is stroke + + + + + Represents the group shape in the Word document. + + + + + Provides the base implementation for chart and shape classes. + + + + + Creates a duplicate copy of this + or object. + + + The reference to the newly created object. + + + + Gets or sets the horizontal origin values for shape or chart. + + The member that specifies the horizontal origin. + + + + Gets or sets the horizontal origin value related to relative width of shape. + + The member that specifies the horizontal origin. + + + + Gets or sets the vertical origin value related to relative height of shape. + + The member that specifies the vertical origin. + + + + Gets or sets the horizontal origin value related to relative horizontal position. + + The member that specifies the horizontal origin. + + + + Gets or sets the vertical origin value related to realtive vertical position. + + The member that specifies the vertical origin. + + + + Gets or sets the horizontal alignment for shape or chart. + + The member that specifies the horizontal alignment. + + + + Gets or sets horizontal position of shape or chart measured in points. + + The float that specifies the horizontal position of the shape or chart. + + + + Gets or sets the relative horizontal position of shape. + + + + + Gets or Sets the relative vertical position of shape. + + + + + Gets or Sets relative height of shape. + + + + + Gets or Sets relative width of shape. + + + + + Gets or Sets a value indicating whether the shape has relative vertical position. + + + + + Gets or Sets a value indicating whether the shape has relative horizontal position. + + + + + Gets or Sets a value indicating whether the shape has relative height. + + + + + Gets or Sets a value indicating whether the shape has relative width. + + + + + Gets or sets vertical origin of the shape or chart. + + The member that specifies the vertical origin. + + + + Gets or sets the vertical alignment of the shape or chart. + + The member that specifies the vertical alignment. + + + + Gets or sets the vertical position of the shape or chart measured in points. + + The float that specifies the vertical position of the shape or chart. + + + + Gets or sets the text wrap format of the shape or chart. + + The for the shape or chart. + + + + Gets or sets the relative height of the shape + + + + + Gets or sets a value indicating whether the shape or chart should be preserved + behind the text that surrounds the shape or chart. + + True if the shape or chart will be preserved behind the text; + false if the shape or chart will be preserved in front of the text. + + + + Gets or sets the value indicating whether the anchor is in cell + + + + + Gets or sets the value indicating whether the anchor position can be modified. + + True if the position of anchor should not be modified; otherwise, false. + + + + Gets or sets a value indicating whether this instance is cloned. + + + true if this instance is cloned; otherwise, false. + + + + + True if visible; otherwise, false. + + + + + Gets or sets the left edge extent value for a shape + + The float that specifies the left edge value of effect extent + + + + Gets or sets the top edge extent value for a shape + + The float that specifies the top edge value of effect extent + + + + Gets or sets the right edge extent value for a shape + + The float that specifies the right edge value of effect extent + + + + Gets or sets the bottom edge extent value for a shape + + The float that specifies the bottom edge value of effect extent + + + + Add the paragraph items to the Group shape + + The collection. + + + + Adds the specified shape (picture, shape, group shape) to the group shape. + + The instance + + + + Convet the Shape to ChildShape instance + + The Shape instance + + + + + Converts textbox to childShape instance. + + The Textbox instance + + + + + Converts Chart to childShape instance. + + The Chart instance + + + + + Convert the Picture to ChildShape instance + + The Picture instance + + + + + Convert the into child shape. + + The group shape + + + + + Detaches from owner. + + + + + Executes when the entity is attached to the owner document. + + + + + Update the group shape bounds and child shape bounds + + + + + Ungroups the child shapes in the group shape + + Returns the ungrouped items as paragraph item array. + + + + Ungroup all the child shapes in + + + + + + + Converts the child shape into shape. + + Represents a child shape. + + + + + Convert the into . + + Represents one of in the + + + + + Convert the to + + The instance + The instance + + + + Convert the into . + + Represents one of in the + + + + + Convert the into . + + Represents one of in the + + + + + Initializes a new instance of class with the specified + instance. + + The instance. + + + + Initializes a new instance of class with the specified + instance. + + The instance. + The collection within the GroupShape. + + + + Compares the current groupshape with another groupshape of another document. + + + + + + + Gets the Group shape text for Word comparison + + + + + Gets the properties text for Word comparison + + + + + + Initializes the default values for GroupShape in VML structure. + + + + + Creates a duplicate copy of this object. + + + The reference of the newly created . + + + + Clones the relations. + + + + + + Check whether group shape has child group shape or not. + + Returns true, if it has a child group shape; Otherwise false. + + + + Applies the specified character format to the shape. + + The character format to be applied. + + + + Duplicates the group shape format + + + + + Initializing LayoutInfo value to null + + + + + Sets the width depends on relative width of shape. + + + + + + Sets the height depends on relative height of shape. + + + + + + + + + + + + + Creates the layout information. + + + + + + Implemented alternative method to improve the performance + + + + + + + + Gets the Shape object as Image + + + + + + Gets or sets the child shape + + + + + Gets the relations. + + The relations. + + + + Gets the image relations. + + The image relations. + + + + Gets or sets the group shape rotation in degree. + + The float that specifies the rotation value of the group shape. + A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. + + The following code example demonstrates how to gets or sets the rotation value of group shape in degree. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + //Creates new group shape + GroupShape groupShape = new GroupShape(document); + //Adds group shape to the paragraph. + paragraph.ChildEntities.Add(groupShape); + //Creates new shape + Shape shape = new Shape(document, AutoShapeType.RoundedRectangle); + //Sets height and width for shape + shape.Height = 100; + shape.Width = 150; + //Sets horizontal and vertical position + shape.HorizontalPosition = 72; + shape.VerticalPosition = 72; + //Set wrapping style for shape + shape.WrapFormat.TextWrappingStyle = TextWrappingStyle.InFrontOfText; + //Sets horizontal and vertical origin + shape.HorizontalOrigin = HorizontalOrigin.Page; + shape.VerticalOrigin = VerticalOrigin.Page; + //Adds the specified shape to group shape + groupShape.Add(shape); + //Creates new picture + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Sets wrapping style for picture + picture.TextWrappingStyle = TextWrappingStyle.InFrontOfText; + //Sets height and width for the image + picture.Height = 100; + picture.Width = 100; + //Sets horizontal and vertical position + picture.HorizontalPosition = 400; + picture.VerticalPosition = 150; + //Sets horizontal and vertical origin + picture.HorizontalOrigin = HorizontalOrigin.Page; + picture.VerticalOrigin = VerticalOrigin.Page; + //Adds the specified picture to group shape + groupShape.Add(picture); + //Sets group shape rotation in degree + groupShape.Rotation = 90; + //Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the document + document.Close(); + + + 'Creates a new Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new paragraph to the section + Dim paragraph As WParagraph = CType(section.AddParagraph, WParagraph) + 'Creates new group shape + Dim groupShape As GroupShape = New GroupShape(document) + 'Adds group shape to the paragraph. + paragraph.ChildEntities.Add(groupShape) + Dim shape As Shape = New Shape(document, AutoShapeType.RoundedRectangle) + 'Sets height and width for shape + shape.Height = 100 + shape.Width = 150 + 'Sets horizontal and vertical position + shape.HorizontalPosition = 72 + shape.VerticalPosition = 72 + 'Set wrapping style for shape + shape.WrapFormat.TextWrappingStyle = TextWrappingStyle.InFrontOfText + 'Sets horizontal and vertical origin + shape.HorizontalOrigin = HorizontalOrigin.Page + shape.VerticalOrigin = VerticalOrigin.Page + 'Adds the specified shape to group shape + groupShape.Add(shape) + Dim picture As WPicture = New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Sets wrapping style for picture + picture.TextWrappingStyle = TextWrappingStyle.InFrontOfText + 'Sets height and width for the image + picture.Height = 100 + picture.Width = 100 + 'Sets horizontal and vertical position + picture.HorizontalPosition = 400 + picture.VerticalPosition = 150 + 'Sets horizontal and vertical origin + picture.HorizontalOrigin = HorizontalOrigin.Page + picture.VerticalOrigin = VerticalOrigin.Page + 'Adds the specified picture to group shape + groupShape.Add(picture) + 'Sets group shape rotation in degree + groupShape.Rotation = 90 + 'Saves the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the document + document.Close() + + + + + + Gets or sets a Horizontal flipping of GroupShape. + + + true indicates that a groupshape has been flipped horizontally; otherwise, false. + + This property returns True if the specified groupshape is flipped around the horizontal axis, and False if not. + + The following code example demonstrates how to gets or sets the horizontal flip to group shape. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + //Creates new group shape + GroupShape groupShape = new GroupShape(document); + //Adds group shape to the paragraph. + paragraph.ChildEntities.Add(groupShape); + //Creates new shape + Shape shape = new Shape(document, AutoShapeType.RoundedRectangle); + //Sets height and width for shape + shape.Height = 100; + shape.Width = 150; + //Sets horizontal and vertical position + shape.HorizontalPosition = 72; + shape.VerticalPosition = 72; + //Set wrapping style for shape + shape.WrapFormat.TextWrappingStyle = TextWrappingStyle.InFrontOfText; + //Sets horizontal and vertical origin + shape.HorizontalOrigin = HorizontalOrigin.Page; + shape.VerticalOrigin = VerticalOrigin.Page; + //Adds the specified shape to group shape + groupShape.Add(shape); + //Creates new picture + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Sets wrapping style for picture + picture.TextWrappingStyle = TextWrappingStyle.InFrontOfText; + //Sets height and width for the image + picture.Height = 100; + picture.Width = 100; + //Sets horizontal and vertical position + picture.HorizontalPosition = 400; + picture.VerticalPosition = 150; + //Sets horizontal and vertical origin + picture.HorizontalOrigin = HorizontalOrigin.Page; + picture.VerticalOrigin = VerticalOrigin.Page; + //Adds the specified picture to group shape + groupShape.Add(picture); + //Sets horizontal flip to the group shape + groupShape.FlipHorizontal = true; + //Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the document + document.Close(); + + + 'Creates a new Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new paragraph to the section + Dim paragraph As WParagraph = CType(section.AddParagraph, WParagraph) + 'Creates new group shape + Dim groupShape As GroupShape = New GroupShape(document) + 'Adds group shape to the paragraph. + paragraph.ChildEntities.Add(groupShape) + Dim shape As Shape = New Shape(document, AutoShapeType.RoundedRectangle) + 'Sets height and width for shape + shape.Height = 100 + shape.Width = 150 + 'Sets horizontal and vertical position + shape.HorizontalPosition = 72 + shape.VerticalPosition = 72 + 'Set wrapping style for shape + shape.WrapFormat.TextWrappingStyle = TextWrappingStyle.InFrontOfText + 'Sets horizontal and vertical origin + shape.HorizontalOrigin = HorizontalOrigin.Page + shape.VerticalOrigin = VerticalOrigin.Page + 'Adds the specified shape to group shape + groupShape.Add(shape) + Dim picture As WPicture = New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Sets wrapping style for picture + picture.TextWrappingStyle = TextWrappingStyle.InFrontOfText + 'Sets height and width for the image + picture.Height = 100 + picture.Width = 100 + 'Sets horizontal and vertical position + picture.HorizontalPosition = 400 + picture.VerticalPosition = 150 + 'Sets horizontal and vertical origin + picture.HorizontalOrigin = HorizontalOrigin.Page + picture.VerticalOrigin = VerticalOrigin.Page + 'Adds the specified picture to group shape + groupShape.Add(picture) + 'Sets horizontal flip to the group shape + groupShape.FlipHorizontal = True + 'Saves the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the document + document.Close() + + + + + + Gets or sets a Vertical flipping of GroupShape. + + + true indicates that a groupshape has been flipped vertically; otherwise, false. + + This property returns True if the specified groupshape is flipped around the vertical axis, and False if not. + + The following code example demonstrates how to gets or sets the vertical flip to group shape. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + //Creates new group shape + GroupShape groupShape = new GroupShape(document); + //Adds group shape to the paragraph. + paragraph.ChildEntities.Add(groupShape); + //Creates new shape + Shape shape = new Shape(document, AutoShapeType.RoundedRectangle); + //Sets height and width for shape + shape.Height = 100; + shape.Width = 150; + //Sets horizontal and vertical position + shape.HorizontalPosition = 72; + shape.VerticalPosition = 72; + //Set wrapping style for shape + shape.WrapFormat.TextWrappingStyle = TextWrappingStyle.InFrontOfText; + //Sets horizontal and vertical origin + shape.HorizontalOrigin = HorizontalOrigin.Page; + shape.VerticalOrigin = VerticalOrigin.Page; + //Adds the specified shape to group shape + groupShape.Add(shape); + //Creates new picture + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Sets wrapping style for picture + picture.TextWrappingStyle = TextWrappingStyle.InFrontOfText; + //Sets height and width for the image + picture.Height = 100; + picture.Width = 100; + //Sets horizontal and vertical position + picture.HorizontalPosition = 400; + picture.VerticalPosition = 150; + //Sets horizontal and vertical origin + picture.HorizontalOrigin = HorizontalOrigin.Page; + picture.VerticalOrigin = VerticalOrigin.Page; + //Adds the specified picture to group shape + groupShape.Add(picture); + //Sets vertical flip to the group shape + groupShape.FlipVertical = true; + //Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the document + document.Close(); + + + 'Creates a new Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new paragraph to the section + Dim paragraph As WParagraph = CType(section.AddParagraph, WParagraph) + 'Creates new group shape + Dim groupShape As GroupShape = New GroupShape(document) + 'Adds group shape to the paragraph. + paragraph.ChildEntities.Add(groupShape) + Dim shape As Shape = New Shape(document, AutoShapeType.RoundedRectangle) + 'Sets height and width for shape + shape.Height = 100 + shape.Width = 150 + 'Sets horizontal and vertical position + shape.HorizontalPosition = 72 + shape.VerticalPosition = 72 + 'Set wrapping style for shape + shape.WrapFormat.TextWrappingStyle = TextWrappingStyle.InFrontOfText + 'Sets horizontal and vertical origin + shape.HorizontalOrigin = HorizontalOrigin.Page + shape.VerticalOrigin = VerticalOrigin.Page + 'Adds the specified shape to group shape + groupShape.Add(shape) + Dim picture As WPicture = New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Sets wrapping style for picture + picture.TextWrappingStyle = TextWrappingStyle.InFrontOfText + 'Sets height and width for the image + picture.Height = 100 + picture.Width = 100 + 'Sets horizontal and vertical position + picture.HorizontalPosition = 400 + picture.VerticalPosition = 150 + 'Sets horizontal and vertical origin + picture.HorizontalOrigin = HorizontalOrigin.Page + picture.VerticalOrigin = VerticalOrigin.Page + 'Adds the specified picture to group shape + groupShape.Add(picture) + 'Sets vertical flip to the group shape + groupShape.FlipVertical = True + 'Saves the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the document + document.Close() + + + + + + Gets the Entity Type + + + + + Gets or Sets the AutoShape type + + + + + Gets or Sets the line format + + + + + Flag to ensure Fill Style applied for shape inline + + + + + Flag to ensure Line Style applied for shape inline + + + + + Gets or Sets the shape style references + + + + + Flag to ensure Effect Style applied for shape inline + + + + + Gets/ sets Effect format of the shape + + + + + Gets or sets a value indicating whether [is2007 shape]. + + + true if [is2007 shape]; otherwise, false. + + + + + Flag to ensure Fill Style applied for shape inline + + + + + Gets or sets the fill effects for the shape. + + The instance. + + + + Flag to ensure Fill Style applied for shape inline + + + + + Gets or Sets the X- value + + + + + Gets or Sets 2007 unparsed streams + + + + + Gets or Sets Y- value + + + + + Gets or Sets the child extents X- value + + + + + Gets or Sets child extents Y- value + + + + + Gets or Sets the left position + + + + + Gets or Sets the top position + + + + + Gets the docx style properties. + + The docx style props. + + + + Represents the collection interface. + + + + + + + + + + Initializes a new instance of the class. + + The object. + The The object. + + + + Initializes a new instance of the class. + + + + + + + + Initializes a new instance of the class. + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Closes this instance. + + + + + Gets the number of items in the collection. + + The integer that specifies the count of items. + + + + Gets the inner list. + + The inner list. + + + + Adds the specified to the collection. + + The instance. + + + + Update the group shape bounds and child shape bounds + + + + + Removes a child shape at the specified index. + + The integer that represents the position of the child shape to remove. + + + + Removes all the child shapes in the group shape. + + + + + Removes the specified child shape from the Group shape. + + The instance + + + + Gets the at the specified index + + The zero-based index of the entity to get. + Returns the at the specified index + + + + Specifies the types of auto shapes. + + + + + The unknown type + + + + + Rectangle. + + + + + Rounded rectangle. + + + + + Snip single corner rectangle. + + + + + Snip same side corner rectangle. + + + + + Snip diagonal corner rectangle. + + + + + Snip and round single corner rectangle. + + + + + Round single corner rectangle. + + + + + Round same side corner rectangle. + + + + + Round diagonal corner rectangle. + + + + + Oval. + + + + + Isosceles triangle. + + + + + Right triangle. + + + + + Parallelogram. + + + + + Trapezoid. + + + + + Diamond. + + + + + Regular pentagon. + + + + + Hexagon. + + + + + Heptagon. + + + + + Octagon. + + + + + Decagon. + + + + + Dodecagon. + + + + + Pie. + + + + + Chord. + + + + + Teardrop. + + + + + Frame. + + + + + Half frame. + + + + + L_Shape. + + + + + Diagonal stripe. + + + + + Cross. + + + + + Plaque. + + + + + Can. + + + + + Cube. + + + + + Bevel. + + + + + Donut. + + + + + "No" symbol. + + + + + Block arc. + + + + + Folded corner. + + + + + Smiley face. + + + + + Heart. + + + + + Lightning bolt. + + + + + Sun. + + + + + Moon. + + + + + Cloud. + + + + + Arc. + + + + + Double bracket. + + + + + Double brace. + + + + + Left bracket. + + + + + Right bracket. + + + + + Left brace. + + + + + Right brace. + + + + + Block arrow that points right. + + + + + Block arrow that points left. + + + + + Block arrow that points up. + + + + + Block arrow that points down. + + + + + Block arrow with arrowheads that point both left and right. + + + + + Block arrow that points up and down. + + + + + Block arrows that point up, down, left, and right. + + + + + Block arrow with arrowheads that point left, right, and up. + + + + + Block arrow that follows a curved 90-degree angle. + + + + + Block arrow forming a U shape. + + + + + Block arrow with arrowheads that point left and up. + + + + + Block arrow that follows a sharp 90-degree angle. Points up by default. + + + + + Block arrow that curves right. + + + + + Block arrow that curves left. + + + + + Block arrow that curves up. + + + + + Block arrow that curves down. + + + + + Block arrow that points right with stripes at the tail. + + + + + Notched block arrow that points right. + + + + + Pentagon. + + + + + Chevron + + + + + Callout with arrow that points right. + + + + + Callout with arrow that points down. + + + + + Callout with arrow that points left. + + + + + Callout with arrow that points up. + + + + + Callout with arrowheads that point both left and right. + + + + + Callout with arrows that point up and down. + + + + + Callout with arrows that point up, down, left, and right. + + + + + Block arrow that follows a curved 180-degree angle. + + + + + Math plus(+). + + + + + Math minus(-). + + + + + Math multiply(x). + + + + + Math division. + + + + + Math equal(=). + + + + + Math not equal. + + + + + Process flowchart symbol.. + + + + + Alternate process flowchart symbol. + + + + + Decision flowchart symbol. + + + + + Data flowchart symbol. + + + + + Predefined process flowchart symbol. + + + + + Internal storage flowchart symbol. + + + + + Document flowchart symbol. + + + + + Multi-document flowchart symbol. + + + + + Terminator flowchart symbol. + + + + + Preparation flowchart symbol. + + + + + Manual input flowchart symbol. + + + + + Manual operation flowchart symbol. + + + + + Connector flowchart symbol. + + + + + Off-page connector flowchart symbol. + + + + + Card flowchart symbol. + + + + + Punched tape flowchart symbol. + + + + + Summing junction flowchart symbol. + + + + + "Or" flowchart symbol. + + + + + Collate flowchart symbol. + + + + + Sort flowchart symbol. + + + + + Extract flowchart symbol. + + + + + Merge flowchart symbol. + + + + + Stored data flowchart symbol. + + + + + Delay flowchart symbol. + + + + + Sequential access storage flowchart symbol. + + + + + Magnetic disk flowchart symbol. + + + + + Direct access storage flowchart symbol. + + + + + Display flowchart symbol. + + + + + Explosion. + + + + + Explosion. + + + + + 4-point star. + + + + + 5-point star. + + + + + 6-point star. + + + + + 7-point star. + + + + + 8-point star. + + + + + 10-point star. + + + + + 12-point star. + + + + + 16-point star. + + + + + 24-point star. + + + + + 32-point star. + + + + + Ribbon banner with center area above ribbon ends. + + + + + Ribbon banner with center area below ribbon ends. + + + + + Ribbon banner that curves up. + + + + + Ribbon banner that curves down. + + + + + Vertical scroll. + + + + + Horizontal scroll. + + + + + Wave. + + + + + Double wave. + + + + + Rectangular callout. + + + + + Rounded rectangle-shaped callout. + + + + + Oval-shaped callout. + + + + + Cloud callout. + + + + + Callout with border and horizontal callout line. + + + + + Callout with diagonal straight line. + + + + + Callout with angled line. + + + + + Callout with horizontal accent bar. + + + + + Callout with diagonal callout line and accent bar. + + + + + Callout with angled callout line and accent bar. + + + + + Callout with horizontal line. + + + + + Callout with no border and diagonal callout line. + + + + + Callout with no border and angled callout line. + + + + + Callout with border and horizontal accent bar. + + + + + Callout with border, diagonal straight line, and accent bar. + + + + + Callout with border, angled callout line, and accent bar. + + + + + Line. + + + + + Elbow connector. + + + + + Curved connector. + + + + + Straight line connector. + + + + + Bent connector. + + + + + Bent connector. + + + + + Curved connector. + + + + + Curved connector. + + + + + Curved connector. + + + + + Curved connector. + + + + + Specifies the fill type. + + + + + Fill is the same as the background. + + + + + Gradient fill. + + + + + Mixed fill. + + + + + Patterned fill. + + + + + Picture fill. + + + + + Solid fill. + + + + + Textured fill. + + + + + No Fill. + + + + + Specifies the blip transparency + + + + + Specifies the type of line formats. + + + + + Gradient format. + + + + + None format. + + + + + patterned format. + + + + + Solid format. + + + + + Specifies the fill pattern type used. + + + + + 10% of the foreground color. + + + + + 20% of the foreground color. + + + + + 25% of the foreground color. + + + + + 30% of the foreground color. + + + + + 40% of the foreground color. + + + + + 50% of the foreground color. + + + + + 5% of the foreground color. + + + + + 60% of the foreground color. + + + + + 70% of the foreground color. + + + + + 75% of the foreground color. + + + + + 80% of the foreground color. + + + + + 90% of the foreground color. + + + + + Cross. + + + + + Thick lines in the foreground color running from the top to the right-hand side of the shape. + + + + + Thick horizontal lines in the foreground color. + + + + + Thick lines in the foreground color running from the top to the left-hand side of the shape. + + + + + Thick vertical lines in the foreground color. + + + + + Dashed lines in the foreground color running from the top to the right-hand side of the shape. + + + + + Dashed horizontal lines in the foreground color. + + + + + Dashed lines in the foreground color running from the top to the left-hand side of the shape. + + + + + Dashed vertical lines in the foreground color. + + + + + Rectangular brick pattern running diagonally across the shape. + + + + + Diagonal Cross + + + + + Small angled shapes in the foreground color running in alternating rows down the shape. + + + + + Dotted perpendicular lines in the foreground color running diagonally to form diamonds across the shape. + + + + + Dotted perpendicular lines in the foreground color running horizontally and vertically to form grid lines across the shape. + + + + + Downward Diagonal + + + + + Horizontal + + + + + Rectangular brick pattern running horizontally across the shape. + + + + + Squares in alternating foreground/background colors. + + + + + Large dots in the foreground color scattered across the shape. + + + + + Solid, widely spaced perpendicular lines in the foreground color running horizontally and vertically to form grid lines across the shape. + + + + + Thin lines in the foreground color running from the top to the right-hand side of the shape. + + + + + Thin horizontal lines in the foreground color. + + + + + Thin lines in the foreground color running from the top to the left-hand side of the shape. + + + + + Thin vertical lines in the foreground color. + + + + + Not supported. + + + + + Narrowly spaced horizontal lines in the foreground color. + + + + + Narrowly spaced vertical lines in the foreground color. + + + + + Solid perpendicular lines in the foreground color running diagonally to form diamonds across the shape. + + + + + Very thick solid lines in the foreground color running vertically, coupled with very thick lines and 40% of the foreground color running horizontally. + + + + + Overlapping curved rectangles running diagonally across the shape. + + + + + Small squares in alternating foreground/background colors. + + + + + Small dots in the foreground color scattered across the shape. + + + + + Solid, closely spaced perpendicular lines in the foreground color running horizontally and vertically to form grid lines across the shape. + + + + + Diamond shapes in alternating foreground/background colors. + + + + + Circles that use foreground and background colors to make them appear three-dimensional, oriented in rows across the shape. + + + + + Trellis pattern in the foreground color. + + + + + Upward Diagonal + + + + + Vertical + + + + + Wavy lines in the foreground color. + + + + + Weave pattern in the foreground color running diagonally across the shape. + + + + + Widely spaced lines in the foreground color running from the top to the right-hand side of the shape. + + + + + Widely spaced lines in the foreground color running from the top to the left-hand side of the shape. + + + + + Zigzag lines running horizontally across the shape. + + + + + Specifies the texture alignment. + + + + + Not Supported. + + + + + Aligned at bottom. + + + + + Aligned at bottom left. + + + + + Aligned at bottom right. + + + + + Aligned at center. + + + + + Aligned at left. + + + + + Aligned at right. + + + + + Aligned at top. + + + + + Aligned at top left. + + + + + Aligned at top right. + + + + + Specifies the style for a line. + + + + + Single line. + + + + + Not supported. + + + + + Thick line with a thin line on each side. + + + + + Thick line next to thin line. For horizontal lines, thick line is above thin line. For vertical lines, thick line is to the left of the thin line. + + + + + Thick line next to thin line. For horizontal lines, thick line is below thin line. For vertical lines, thick line is to the right of the thin line. + + + + + Two thin lines. + + + + + Represents the fill format options for the in the Word document. + + + The following code example demonstrates how to set the fill format to the shape in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add the section into Word document + WSection section = document.AddSection() as WSection; + //Add a paragraph to created section + WParagraph paragraph = section.AddParagraph() as WParagraph; + string paraText = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"; + //Append the text to the created paragraph + paragraph.AppendText(paraText); + //Add a paragraph to created section + paragraph = section.AddParagraph() as WParagraph; + //Add the rectangle shape to the document + Syncfusion.DocIO.DLS.Shape shape = paragraph.AppendShape(AutoShapeType.Rectangle, 200, 75); + //Set wrapping type as inline + shape.WrapFormat.TextWrappingStyle = TextWrappingStyle.Inline; + //Set the fillformat for the shape + shape.FillFormat.Color = Color.AliceBlue; + shape.FillFormat.Fill = true; + shape.FillFormat.Transparency = 60; + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add the section into Word document + Dim section As WSection = TryCast(document.AddSection(), WSection) + 'Add a paragraph to created section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + Dim paraText As String = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula" + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Add a paragraph to created section + paragraph = TryCast(section.AddParagraph(), WParagraph) + 'Add the rectangle shape to the document + Dim shape As Syncfusion.DocIO.DLS.Shape = paragraph.AppendShape(AutoShapeType.Rectangle, 200, 75) + 'Set wrapping type as inline + shape.WrapFormat.TextWrappingStyle = TextWrappingStyle.Inline + 'Set the fillformat for the shape + shape.FillFormat.Color = Color.AliceBlue + shape.FillFormat.Fill = True + shape.FillFormat.Transparency = 60 + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Initializes a new instance of class. + + The to which the fill effects should be added. + + + + Initializes a new instance of class. + + The to which the fill effects should be added. + + + + Initializes a new instance of class. + + The to which the fill effects should be added. + + + + Initializes a new instance of class. + + The to which the fill effects should be added. + + + + Initializes a new instance of class. + + The to which the fill effects should be added. + To maintain a FillFormat for picture + + + + Closes this instance. + + + + + Closes this instance. + + + + + Compare the properties of Fill Format + + + True, if all the properties matches, else false + + + + Gets the fill format text for Word comparison + + + + + + Check the textfill present or not + + + + + Gets or sets the value indicates whether the filled attribute is default + + + + + Gets or Sets the value indicates whether the fill color is default + + + + + Gets or sets a value indicating whether to fill with color. + + True if need to fill with color; otherwise, false. + + + + Gets or sets the color to fill + + The specifies the fill color. + + + + Gets or sets the transparency value measured in percentage(%). + + The float that represents the transparency value. + + + + Gets or sets the contrast + + + + + Gets or sets a value indicating whether fill use from group shape or not + + + + + Initializes a new instance of the class. + + The shape base. + + + + Close the instances. + + + + + Clones the blip format. + + + + + + + + + + + + Compares the proerties of blip formats + + + True, if all the properties matches, else false + + + + Gets the blip format text for Word comparison + + + + + + Blip Threshold + + + + + Blip inverse color + + + + + Blip inverse opacity + + + + + Alpha replacement amount + + + + + Bevel Threshold value + + + + + Flag to make the glow effect grow + + + + + value for blur radius + + + + + Flag to denote the alpha + + + + + Denotes whether the preset color need to serialize first or not + As per MS word behavior, if input document has DuotonePresetColor as first + Then, the DuotonePresetColor should serialize first. + Default value is false + + + + + Color from value + + + + + color to value + + + + + color from opacity + + + + + Color to opacity + + + + + Hue value of blip + + + + + Luminance value of blip + + + + + Saturation value of blip + + + + + Brightness value + + + + + Contrast value of blip + + + + + Tint Amount + + + + + Tint Hue + + + + + Duotone color + + + + + Duotone Preset color + + + + + Duotone opacity + + + + + Collection of extension URI + + + + + Image Effect of the blip picture + + + + + Has to apply compression + + + + + Blip has image properties + + + + + Gets/Sets the blip rotation with shape object + + + + + Image Record + + + + + Stream for blip extensions + + + + + Gets or sets the transparency value measured in percentage(%). + + The float that represents the transparency value. + + + + Gets or sets a value indicating whether the image color is Grayscale. + + + true if image color is Grayscale; otherwise, false. + + + This property is supported for VML picture alone. + + + + + Gets or sets a value indicating whether the image color is Bilevel. + + + true if image color is Bilevel; otherwise, false. + + + This property is supported for VML picture alone. + + + + + Sets the property key + + + + + Get the PropertiesHash value. + + + + + Disposes the instances used. + + + + + Clones the instance. + + + + + Compare properties of Image effect + + + True, if all the properties matches, else false + + + + Gets the image effect text for Word comparison + + + + + + Sharpen Amount + + + + + Color Temprature + + + + + Saturation + + + + + Brightness Value + + + + + Contrast value + + + + + Blur radius + + + + + Cement Trasparency amount + + + + + Cement cracking amount + + + + + Chalk transparency amount + + + + + Chalk Pressure + + + + + criss cross transparency + + + + + criss cross pressure + + + + + cutout opacity amount + + + + + Cutout shades + + + + + Grain transparency + + + + + Grain Size + + + + + Glass opacity amount + + + + + Glass Scaling amount + + + + + Glow diffusity opacity + + + + + Glow diffusity intensity + + + + + Glow Edges opacity + + + + + Glow edges smoothness + + + + + Light screen opacity + + + + + Light screen Grid + + + + + Line drwaing opacity + + + + + Drawing Pensil size + + + + + Marker Transparency + + + + + Marker Size + + + + + Mosiaic Bubble Transparency + + + + + Mosiaic Bubble Pressure + + + + + Stroke Transparency + + + + + stroke intensity + + + + + Brush Transparency + + + + + Brush Size + + + + + Pastel Transparency + + + + + Pastel Size + + + + + Gray Scale Transparency + + + + + Gray scale size + + + + + Pencil Sketch Transparency + + + + + Pencil Sketch Size + + + + + Photocopy Transparency + + + + + Photocopy size + + + + + Plastic Wrap Transparency + + + + + Plastic Wrap Smoothness + + + + + Texturizer Transparency + + + + + Texturizer Size + + + + + Sponge Transparency + + + + + Sponge brush size + + + + + Collection of Foreground vertices + + + + + Collection of background vertices + + + + + Background removal rectangle + + + + + Has the background removal effect + + + + + Properties Collection + + + + + Represents the line format options for the in the Word document. + + + The following code example demonstrates how to set the line format to the shape in the document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add the section into Word document + WSection section = document.AddSection() as WSection; + //Add a paragraph to created section + WParagraph paragraph = section.AddParagraph() as WParagraph; + string paraText = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"; + //Append the text to the created paragraph + paragraph.AppendText(paraText); + //Add a paragraph to created section + paragraph = section.AddParagraph() as WParagraph; + //Add the rectangle shape to the document + Syncfusion.DocIO.DLS.Shape shape = paragraph.AppendShape(AutoShapeType.Rectangle, 200, 75); + //Set wrapping type as inline + shape.WrapFormat.TextWrappingStyle = TextWrappingStyle.Inline; + //Set the line format for the shape + shape.LineFormat.Line = true; + shape.LineFormat.Color = Color.Red; + shape.LineFormat.DashStyle = LineDashing.DashDot; + shape.LineFormat.Style = Syncfusion.DocIO.DLS.LineStyle.ThickThin; + shape.LineFormat.Weight = 3; + shape.LineFormat.Transparency = 30; + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add the section into Word document + Dim section As WSection = TryCast(document.AddSection(), WSection) + 'Add a paragraph to created section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + Dim paraText As String = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula" + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Add a paragraph to created section + paragraph = TryCast(section.AddParagraph(), WParagraph) + 'Add the rectangle shape to the document + Dim shape As Syncfusion.DocIO.DLS.Shape = paragraph.AppendShape(AutoShapeType.Rectangle, 200, 75) + 'Set wrapping type as inline + shape.WrapFormat.TextWrappingStyle = TextWrappingStyle.Inline + 'Set the line format for the shape + shape.LineFormat.Line = True + shape.LineFormat.Color = Color.Red + shape.LineFormat.DashStyle = LineDashing.DashDot + shape.LineFormat.Style = Syncfusion.DocIO.DLS.LineStyle.ThickThin + shape.LineFormat.Weight = 3 + shape.LineFormat.Transparency = 30 + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Initializes a new instance of class for the specified . + + The object. + + + + Initializes a new instance of class for the specified . + + The object. + + + + Initializes a new instance of class for the specified . + + The object. + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + True if the specified key is present, otherwise false. + + + + Sets the property value. + + The prop key. + The value. + + + + Closes this instance. + + + + + Check for the property key from the property collection + + + + + Clones this instance. + + + + + Compares the properies of line format. + + + + + + + Gets the properties text for Word comparison + + + + + Check the textoutline present or not + + + + + Gets or sets the value indicating whether the outline of the shape should be drawn. The default is false. + + True if the outline should be drawn; otherwise, false. + + + + Properties Collection + + + + + Gets or sets the value for the property with specified key. + + The key for the property. + An object with the specific key. + + + + Gets or sets a for the outer line of the shape. + + The object that specifies line color. + + + + Gets or sets the style of the arrowhead at the beginning of the specified line. + + + + + Gets or sets the for the outline of the shape. + + The member that specifies the line dashing style. + + + + Gets or sets the style of the arrowhead at the end of the specified line. + + + + + Gets or sets the outline style for the shapes. + + The member that specifies the line style. + + + + Gets or sets the transparency value measured in percentage(%). + + The float that specifies the transparency value. + + + + Gets or sets a value for the line weight measured in points. + + The float that represents the line weight. + + + + Gets or Sets the value indicates whether the 2007 stroked property is defined or not + + + + + Gets or sets the value indicates whether the "w" attribute in the "ln" tag is null in DOCX parsing. + + + + + Gets or sets the miter join limit. + + + The miter join limit. + + + + + Represents the shapes and it manipulations in the Word document. + + + The following code example demonstrates how to add new shape to document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument("Template.docx"); + //Add the section into Word document + WSection section = document.AddSection() as WSection; + //Add a paragraph to created section + WParagraph paragraph = document.Sections[0].Paragraphs[0]; + //Create a new shape + Syncfusion.DocIO.DLS.Shape shape = new Syncfusion.DocIO.DLS.Shape(document, AutoShapeType.Rectangle); + //Specify the shape formatting options + shape.AlternativeText = "demo shape"; + shape.FillFormat.Color = Color.LightBlue; + shape.Height = 75; + shape.Width = 100; + shape.HorizontalAlignment = ShapeHorizontalAlignment.Left; + shape.HorizontalOrigin = HorizontalOrigin.Margin; + shape.LineFormat.Line = true; + shape.LineFormat.Style = Syncfusion.DocIO.DLS.LineStyle.Single; + shape.Name = "Rectangle"; + shape.Title = "Rectangle shape demo"; + shape.VerticalAlignment = ShapeVerticalAlignment.Center; + shape.VerticalOrigin = VerticalOrigin.Page; + shape.WrapFormat.TextWrappingStyle = TextWrappingStyle.Square; + string paraText = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"; + //Add the new paragraph to shape with some text + shape.TextBody.AddParagraph().AppendText(paraText); + //Add the shape to paragraph + paragraph.ChildEntities.Add(shape); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument("Template.docx") + 'Add the section into Word document + Dim section As WSection = TryCast(document.AddSection(), WSection) + 'Add a paragraph to created section + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(0) + 'Create a new shape + Dim shape As New Syncfusion.DocIO.DLS.Shape(document, AutoShapeType.Rectangle) + 'Specify the shape formatting options + shape.AlternativeText = "demo shape" + shape.FillFormat.Color = Color.LightBlue + shape.Height = 75 + shape.Width = 100 + shape.HorizontalAlignment = ShapeHorizontalAlignment.Left + shape.HorizontalOrigin = HorizontalOrigin.Margin + shape.LineFormat.Line = True + shape.LineFormat.Style = Syncfusion.DocIO.DLS.LineStyle.[Single] + shape.Name = "Rectangle" + shape.Title = "Rectangle shape demo" + shape.VerticalAlignment = ShapeVerticalAlignment.Center + shape.VerticalOrigin = VerticalOrigin.Page + shape.WrapFormat.TextWrappingStyle = TextWrappingStyle.Square + Dim paraText As String = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula" + 'Add the new paragraph to shape with some text + shape.TextBody.AddParagraph().AppendText(paraText) + 'Add the shape to paragraph + paragraph.ChildEntities.Add(shape) + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Variable that specifies the shape type ID. + + + + + Compares the current textbox with another textbox of another document. + + + + + + + Gets the text box text for Word comparison + + + + + Gets the properties text for Word comparison + + + + + + + Initializes a new instance of class with the specified + instance and the shape type. + + The instance. + The type of the shape. + + + + Initializes the default values for Shape in VML structure. + + + + + Detaches from owner. + + + + + Executes when the entity is attached to the owner document. + + + + + Creates a duplicate copy of this object. + + + The reference of the newly created . + + + + Creates a duplicate copy of this object. + + The reference of the newly created . + + + + To get the color from theme item + + + + + + + + + To get the percentage value from the given string + + + + + + + Clones the relations. + + + + + + Applies the specified character format to the shape. + + The character format to be applied. + + + + Initializing LayoutInfo value to null + + + + + Sets the width depends on relative width of shape. + + + + + + Sets the height depends on relative height of shape. + + + + + + + + + + + + + Creates the layout information. + + + + + + Gets clipping bounds for shape's text body + + + /// + + + + + Checks whether shape's line width need to consider for shape client area calcualtion + + + + + Gets the Guide List value of custom shape + + + + + + Gets the Av List value of custom shape + + + + + + Sets the Guide List value of custom shape + + + + + Sets the Av List value of custom shape + + + + + Implemented alternative method to improve the performance + + + + + + + + Gets the Shape object as Image + + + + + + Gets a VML Path points to draw. + + + + + Gets or sets a value indicating whether [is2007 shape]. + + + true if [is2007 shape]; otherwise, false. + + + + + Get/Set Text content layouting bounds for shape + + + + + Gets or sets the shape rotation in degree. + + The float that specifies the rotation value of the shape. + A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. + + The following code example demonstrates how to gets or sets the rotation value of rectangle shape in degree. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + //Adds new shape to the document + Shape rectangle = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100); + //Adds textbody contents to the shape + paragraph = rectangle.TextBody.AddParagraph() as WParagraph; + IWTextRange text = paragraph.AppendText("This text is in rounded rectangle shape"); + //Sets rectangle shape rotation in degree + rectangle.Rotation = 90; + //Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the document + document.Close(); + + + 'Creates a new Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new paragraph to the section + Dim paragraph As WParagraph = CType(section.AddParagraph, WParagraph) + 'Adds new shape to the document + Dim rectangle As Shape = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100) + 'Adds textbody contents to the shape + paragraph = CType(rectangle.TextBody.AddParagraph, WParagraph) + Dim text As IWTextRange = paragraph.AppendText("This text is in rounded rectangle shape") + 'Sets rectangle shape rotation in degree + rectangle.Rotation = 90 + 'Saves the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the document + document.Close() + + + + + + Gets or sets the for the shape. + + The instance that specifies the formatting options for text. + + + + Gets the docx style properties. + + The docx style props. + + + + Gets the image relations. + + The image relations. + + + + Gets the shape guide + + The shape guide. + + + + Gets the shape type of the current shape object. Read-only. + + The member that specifies the type of the shape. + The shape type must represent an AutoShape other than a line or free form drawing. + + + + Gets or sets the text body for the shape. + + The that specifies the shape body contents. + + + + Gets or sets the line formatting options for outline of the shape. + + The instance. + + + + Gets or sets the fill effects for the shape. + + The instance. + + + + Gets/ sets Effect format of the shape + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets or sets a Horizontal flipping of Shape. + + + true indicates that a shape has been flipped horizontally; otherwise, false. + + This property returns True if the specified shape is flipped around the horizontal axis, and False if not. + + The following code example demonstrates how to gets or sets the horizontal flip to rectangle shape. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + //Adds new shape to the document + Shape rectangle = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100); + //Adds textbody contents to the shape + paragraph = rectangle.TextBody.AddParagraph() as WParagraph; + IWTextRange text = paragraph.AppendText("This text is in rounded rectangle shape"); + //Sets horizontal flip to the rectangle shape + rectangle.FlipHorizontal = true; + //Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the document + document.Close(); + + + 'Creates a new Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new paragraph to the section + Dim paragraph As WParagraph = CType(section.AddParagraph, WParagraph) + 'Adds new shape to the document + Dim rectangle As Shape = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100) + 'Adds textbody contents to the shape + paragraph = CType(rectangle.TextBody.AddParagraph, WParagraph) + Dim text As IWTextRange = paragraph.AppendText("This text is in rounded rectangle shape") + 'Sets horizontal flip to the rectangle shape + rectangle.FlipHorizontal = True + 'Saves the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the document + document.Close() + + + + + + Gets or sets a Vertical flipping of Shape. + + + true indicates that a shape has been flipped vertically; otherwise, false. + + This property returns True if the specified shape is flipped around the vertical axis, and False if not. + + The following code example demonstrates how to gets or sets the vertical flip to rectangle shape. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + //Adds new shape to the document + Shape rectangle = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100); + //Adds textbody contents to the shape + paragraph = rectangle.TextBody.AddParagraph() as WParagraph; + IWTextRange text = paragraph.AppendText("This text is in rounded rectangle shape"); + //Sets vertical flip to the rectangle shape + rectangle.FlipVertical = true; + //Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the document + document.Close(); + + + 'Creates a new Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new paragraph to the section + Dim paragraph As WParagraph = CType(section.AddParagraph, WParagraph) + 'Adds new shape to the document + Dim rectangle As Shape = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100) + 'Adds textbody contents to the shape + paragraph = CType(rectangle.TextBody.AddParagraph, WParagraph) + Dim text As IWTextRange = paragraph.AppendText("This text is in rounded rectangle shape") + 'Sets vertical flip to the rectangle shape + rectangle.FlipVertical = True + 'Saves the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the document + document.Close() + + + + + + Flag to ensure Effect Style applied for shape inline + + + + + Flag to ensure Line Style applied for shape inline + + + + + Flag to ensure Fill Style applied for shape inline + + + + + Flag to ensure Fill Style applied for shape inline + + + + + Flag to ensure Fill Style applied for shape inline + + + + + Gets the relations. + + The relations. + + + + Property to store the fallback picture of shape + + + + + Gets or Sets the Custom Shape path list value + + + + + + + + + + Compares the properties of ShapeStyleReference. + + + + + + + Gets the properties text for Word comparison + + + + + Represents the text frame in the Shape. + + + + + + Member to hold the collection of properties values and its keys. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + True if the specified key is present, otherwise false. + + + + Sets the property value. + + The prop key. + The value. + + + + Initializes a new instance of class for the specified . + + The object. + + + + Compares the properties of text frame. + + + + + + + Gets the properties text for Word comparison + + + + + Gets or sets the flag for text frame. + + The member that specifies internal margin of text frame. + + + + Holds the ThreeD properties of the shape + + + + + Gets or sets the direction of the text in the Shape. + + The member that specifies the direction of text. + + + + Gets or sets the vertical alignment of the text. + + The member that specifies the text vertical alignment. + + + + Gets or sets the shape relative width percentage. + + + + + Gets or sets the shape relative height percentage. + + + + + Gets or sets the horizontal width origin value. + + The member that specifies the width origin value. + + + + Gets or sets the vertical height origin value. + + The member that specifies the height origin value. + + + + Gets the internal margin. + + The internal margin. + + + + Properties Collection + + + + + Gets or sets the textshapevalues of the text in shape. + + + + + Gets or sets the TextWrapAdjustList of the shape + + + + + Gets or sets the value for the property with specified key. + + The key for the property. + An object with the specific key. + + + + Represents the functions that specify how text wraps around the object in the Word document. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet"); + //Add new shape to the document + Shape rectangle = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100); + //Set position for shape + rectangle.VerticalPosition = 72; + rectangle.HorizontalPosition = 72; + //Set text wrapping style + rectangle.WrapFormat.TextWrappingStyle = TextWrappingStyle.TopAndBottom; + rectangle.WrapFormat.DistanceBottom = 10; + rectangle.WrapFormat.DistanceLeft = 10; + rectangle.WrapFormat.DistanceRight = 10; + rectangle.WrapFormat.DistanceTop = 20; + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet") + 'Add new shape to the document + Dim rectangle As Shape = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100) + 'Set position for shape + rectangle.VerticalPosition = 72 + rectangle.HorizontalPosition = 72 + 'Set text wrapping style + rectangle.WrapFormat.TextWrappingStyle = TextWrappingStyle.TopAndBottom + rectangle.WrapFormat.DistanceBottom = 10 + rectangle.WrapFormat.DistanceLeft = 10 + rectangle.WrapFormat.DistanceRight = 10 + rectangle.WrapFormat.DistanceTop = 20 + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Sets the TextWrappingStyle,specific for parsers. + + TextWrapStyle + + + + Closes this instance. + + + + + Compares the properties of wrap format. + + + + + Gets the fill format text for Word comparison + + + + + Gets or sets a value indicating whether a given shape can overlap other shapes. + + + + + Gets or sets the distance (in points) between the document text and the bottom edge of the text-free area surrounding the specified shape. + + The float that specifies the distance between text and bottom edge of the shape. + + + + Gets or sets the distance (in points) between the document text and the left edge of the text-free area surrounding the specified shape. + + The float that specifies the distance between text and left edge of the shape. + + + + Gets or sets the distance (in points) between the document text and the right edge of the text-free area surrounding the specified shape. + + The float that specifies the distance between text and right edge of the shape. + + + + Gets or sets the distance (in points) between the document text and the top edge of the text-free area surrounding the specified shape. + + The float that specifies the distance between text and top edge of the shape. + + + + Gets or sets a value indicating whether the shape or chart should be preserved + behind the text that surrounds the shape or chart. + + True if the shape or chart will be preserved behind the text; + false if the shape or chart will be preserved in front of the text. + + + + Gets or sets the text wrapping type for the specified shape. + + The member that specifies the wrapping type. + + + + Gets or sets the text wrapping style for the specified shape. + + The member that specifies the text wrapping style. + + + + Gets or sets the wrap polygon. + + + The wrap polygon. + + + + + Helps to navigate between bookmarks in the Word document and manipulate its contents. + + + + + + + + + + + + + + Initializes a new instance of the class with the specified + . + + The object. + + + //Loads an existing Word document into DocIO instance + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Creates the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Moves the virtual cursor to the location before the end of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind"); + //Gets the bookmark content as WordDocumentPart + WordDocumentPart wordDocumentPart = bookmarkNavigator.GetContent(); + //Saves the WordDocumentPart as separate Word document + WordDocument newDocument = wordDocumentPart.GetAsWordDocument(); + newDocument.Save("Result.docx", FormatType.Docx); + //Releases the resources hold by WordDocument instance + newDocument.Close(); + document.Close(); + + + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Creates the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Moves the virtual cursor to the location before the end of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind") + 'Gets the bookmark content as WordDocumentPart + Dim wordDocumentPart As WordDocumentPart = bookmarkNavigator.GetContent() + 'Saves the WordDocumentPart as separate Word document + Dim newDocument As WordDocument = wordDocumentPart.GetAsWordDocument() + newDocument.Save("Result.docx", FormatType.Docx) + 'Releases the resources hold by WordDocument instance + newDocument.Close() + document.Close() + + + + + + Moves to the specified bookmark in the document. + + The specified bookmark name is not present in the Word document. + The string that specifies the bookmark name. + + The following code example demonstrates how to move to specific bookmark in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind"); + //Get the bookmark content + TextBodyPart part = bookmarkNavigator.GetBookmarkContent(); + //Add the retrieved content into another new section + document.AddSection(); + foreach(TextBodyItem item in part.BodyItems) + document.LastSection.Body.ChildEntities.Add(item); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind") + 'Get the bookmark content + Dim part As TextBodyPart = bookmarkNavigator.GetBookmarkContent() + 'Add the retrieved content into another new section + document.AddSection() + For Each item As TextBodyItem In part.BodyItems + document.LastSection.Body.ChildEntities.Add(item) + Next + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Moves to the start or end position of the specified bookmark in the document. + + The string that specifies the bookmark name. + Set to true to move the navigator at the beginning of the bookmark; Set to false to move the navigator at the end of the bookmark. + Set to true to move the navigator after the specified bookmark start or end position; Set to false to move the navigator before the specified bookmark start or end position. + The specified bookmark name is not present in the Word document. + + The following code example demonstrates how to move to specific bookmark in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind", true, false); + //Get the bookmark content + TextBodyPart part = bookmarkNavigator.GetBookmarkContent(); + //Add the retrieved content into another new section + document.AddSection(); + foreach(TextBodyItem item in part.BodyItems) + document.LastSection.Body.ChildEntities.Add(item); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind", True, False) + 'Get the bookmark content + Dim part As TextBodyPart = bookmarkNavigator.GetBookmarkContent() + 'Add the retrieved content into another new section + document.AddSection() + For Each item As TextBodyItem In part.BodyItems + document.LastSection.Body.ChildEntities.Add(item) + Next + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Inserts the specified text to current bookmark. + + The string that represents the text to be inserted. + The object that represents the inserted text. + This example shows how to insert a simple text using BookmarkNavigator. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind"); + //Insert a new text before the bookmark end of the bookmark + bookmarkNavigator.InsertText(" Northwind Database is a set of tables containing data fitted into predefined categories."); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind") + 'Insert a new text before the bookmark end of the bookmark + bookmarkNavigator.InsertText(" Northwind Database is a set of tables containing data fitted into predefined categories.") + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Inserts the specified text to current bookmark along with its formatting. + + The string that represents the text to be inserted. + True if it is save formatting, otherwise false. + The object that represents the inserted text. + This example shows how to insert a simple text along with its formatting using BookmarkNavigator. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind"); + //Insert a new text before the bookmark end of the bookmark + bookmarkNavigator.InsertText(" Northwind Database is a set of tables containing data fitted into predefined categories.", true); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind") + 'Insert a new text before the bookmark end of the bookmark + bookmarkNavigator.InsertText(" Northwind Database is a set of tables containing data fitted into predefined categories.", True) + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Inserts the specified to current bookmark. + + The to be inserted. + + The following code example demonstrates how to insert a table using BookmarkNavigator. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move to the virtual cursor before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind", false, false); + //Insert a new paragraph before the bookmark end + IWParagraph paragraph = new WParagraph(document); + paragraph.AppendText("Northwind Database Contains the following tables:"); + bookmarkNavigator.InsertParagraph(paragraph); + //Insert a new table before the bookmark end + WTable table = new WTable(document); + table.ResetCells(3, 2); + table[0, 0].AddParagraph().AppendText("Suppliers"); + table[0, 1].AddParagraph().AppendText("2"); + table[1, 0].AddParagraph().AppendText("Customers"); + table[1, 1].AddParagraph().AppendText("1"); + table[2, 0].AddParagraph().AppendText("Employees"); + table[2, 1].AddParagraph().AppendText("3"); + bookmarkNavigator.InsertTable(table); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move to the virtual cursor before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind", False, False) + 'Insert a new paragraph before the bookmark end + Dim paragraph As IWParagraph = New WParagraph(document) + paragraph.AppendText("Northwind Database Contains the following tables:") + bookmarkNavigator.InsertParagraph(paragraph) + 'Insert a new table before the bookmark end + Dim table As New WTable(document) + table.ResetCells(3, 2) + table(0, 0).AddParagraph().AppendText("Suppliers") + table(0, 1).AddParagraph().AppendText("2") + table(1, 0).AddParagraph().AppendText("Customers") + table(1, 1).AddParagraph().AppendText("1") + table(2, 0).AddParagraph().AppendText("Employees") + table(2, 1).AddParagraph().AppendText("3") + bookmarkNavigator.InsertTable(table) + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Inserts the specified to current bookmark. + + The type of the paragraph item to be inserted. + The object that represents the inserted item. + + The following code example demonstrates how to insert a paragraph item using BookmarkNavigator. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move to the virtual cursor after the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind", false, true); + //Insert a new picture after the bookmark end + WPicture picture = bookmarkNavigator.InsertParagraphItem(ParagraphItemType.Picture) as WPicture; + picture.LoadImage(Image.FromFile("Northwind.png")); + picture.WidthScale = 50; + picture.HeightScale = 50; + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move to the virtual cursor after the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind", False, True) + 'Insert a new picture after the bookmark end + Dim picture As WPicture = TryCast(bookmarkNavigator.InsertParagraphItem(ParagraphItemType.Picture), WPicture) + picture.LoadImage(Image.FromFile("Northwind.png")) + picture.WidthScale = 50 + picture.HeightScale = 50 + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Inserts the specified to current bookmark. + + The to be inserted. + + The following code example demonstrates how to insert a paragraph using BookmarkNavigator. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move to the virtual cursor after the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind", false, true); + //Insert a new paragraph before the bookmark start + IWParagraph paragraph = new WParagraph(document); + paragraph.AppendText("Northwind Database is a set of tables containing data fitted into predefined categories."); + bookmarkNavigator.InsertParagraph(paragraph); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move to the virtual cursor after the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind", False, True) + 'Insert a new paragraph before the bookmark start + Dim paragraph As IWParagraph = New WParagraph(document) + paragraph.AppendText("Northwind Database is a set of tables containing data fitted into predefined categories.") + bookmarkNavigator.InsertParagraph(paragraph) + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Inserts the specified to current bookmark. + + The to be inserted. + + The following code example demonstrates how to insert a text body part using BookmarkNavigator. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move to the virtual cursor before the bookmark end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind"); + //Get the bookmark content + TextBodyPart textBodyPart = bookmarkNavigator.GetBookmarkContent(); + document.AddSection(); + IWParagraph paragraph = document.LastSection.AddParagraph(); + paragraph.AppendText("Northwind Database is a set of tables containing data fitted into predefined categories."); + //Add the new bookmark into Word document + paragraph.AppendBookmarkStart("bm_empty"); + paragraph.AppendBookmarkEnd("bm_empty"); + //Move to the virtual cursor after the start location of the bookmark "bm_empty" + bookmarkNavigator.MoveToBookmark("bm_empty", true, true); + //Insert the text body part after the bookmark start + bookmarkNavigator.InsertTextBodyPart(textBodyPart); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move to the virtual cursor before the bookmark end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind") + 'Get the bookmark content + Dim textBodyPart As TextBodyPart = bookmarkNavigator.GetBookmarkContent() + document.AddSection() + Dim paragraph As IWParagraph = document.LastSection.AddParagraph() + paragraph.AppendText("Northwind Database is a set of tables containing data fitted into predefined categories.") + 'Add the new bookmark into Word document + paragraph.AppendBookmarkStart("bm_empty") + paragraph.AppendBookmarkEnd("bm_empty") + 'Move to the virtual cursor after the start location of the bookmark "bm_empty" + bookmarkNavigator.MoveToBookmark("bm_empty", True, True) + 'Insert the text body part after the bookmark start + bookmarkNavigator.InsertTextBodyPart(textBodyPart) + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Returns the bookmark content as a , which represents + the collection of body items if the bookmark start and bookmark end are preserved in a single section. + + The that represents the bookmark content. + This example shows how to retrieve the specified bookmark content using GetBookmarkContent method in a Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind"); + //Get the bookmark content + TextBodyPart part = bookmarkNavigator.GetBookmarkContent(); + //Add the retrieved content into another new section + document.AddSection(); + foreach(TextBodyItem item in part.BodyItems) + document.LastSection.Body.ChildEntities.Add(item); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind") + 'Get the bookmark content + Dim part As TextBodyPart = bookmarkNavigator.GetBookmarkContent() + 'Add the retrieved content into another new section + document.AddSection() + For Each item As TextBodyItem In part.BodyItems + document.LastSection.Body.ChildEntities.Add(item) + Next + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the bookmark content as , which represents the collection of sections + if the bookmark start and bookmark end are preserved in different sections . + + The that represents the bookmark content. + This example shows how to retrieve the specified bookmark content using GetContent method in a Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document with bookmark "Northwind" whose start and end preserved in different section + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind"); + //Get the bookmark content as WordDocumentPart + WordDocumentPart wordDocumentPart = bookmarkNavigator.GetContent(); + //Save the WordDocumentPart as separate Word document + WordDocument newDocument = wordDocumentPart.GetAsWordDocument(); + newDocument.Save("Result.docx", FormatType.Docx); + //Release the resources hold by WordDocument instance + newDocument.Close(); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document with bookmark "Northwind" whose start and end preserved in different section + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind") + 'Get the bookmark content as WordDocumentPart + Dim wordDocumentPart As WordDocumentPart = bookmarkNavigator.GetContent() + 'Save the WordDocumentPart as separate Word document + Dim newDocument As WordDocument = wordDocumentPart.GetAsWordDocument() + newDocument.Save("Result.docx", FormatType.Docx) + 'Release the resources hold by WordDocument instance + newDocument.Close() + document.Close() + End Sub + + + + + + Deletes the bookmark content. + + True if its save formatting, otherwise false. + This example shows how to remove the contents of a bookmark from Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move the virtual cursor to the before the end location of the bookmark " Northwind " + bookmarkNavigator.MoveToBookmark("Northwind"); + //Delete bookmark content without deleting the format in the target document. + bookmarkNavigator.DeleteBookmarkContent(false); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move the virtual cursor to the before the end location of the bookmark " Northwind " + bookmarkNavigator.MoveToBookmark("Northwind") + 'Delete bookmark content without deleting the format in the target document. + bookmarkNavigator.DeleteBookmarkContent(False) + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Deletes the bookmark content and removes the empty paragraph after deletion. + + True if to save formatting; otherwise, false. + True if to remove paragraph with + bookmark start and end when it is empty after deletion; otherwise, false. + This method will be removed in future version. As a work around to remove bookmarked paragraph, utilize current bookmark property of bookmark navigator to access the current bookmarked paragraph and then remove its index from its owner (Text Body) collection. + + + + Replaces the bookmark content with the specified . + + The to replace the bookmark contents. + You cannot replace the multi section contents into a bookmark within table in Word documents. + Use for loop instead of foreach loop for iterating through document elements when replacing the bookmark contents to avoid �collection modified exception�. Since there is chance for modification in document elements while replacing the bookmark contents. + + + The following code example demonstrates how to replace a specified bookmark content in the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move to the virtual cursor before the bookmark end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind"); + //Get the bookmark content + TextBodyPart textBodyPart = bookmarkNavigator.GetBookmarkContent(); + document.AddSection(); + IWParagraph paragraph = document.LastSection.AddParagraph(); + paragraph.AppendText("Northwind Database is a set of tables containing data fitted into predefined categories."); + //Add the new bookmark into Word document + paragraph.AppendBookmarkStart("bm_empty"); + paragraph.AppendBookmarkEnd("bm_empty"); + //Move to the virtual cursor before the end location of the bookmark "bm_empty" + bookmarkNavigator.MoveToBookmark("bm_empty"); + //Replace the bookmark content with text body part + bookmarkNavigator.ReplaceBookmarkContent(textBodyPart); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move to the virtual cursor before the bookmark end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind") + 'Get the bookmark content + Dim textBodyPart As TextBodyPart = bookmarkNavigator.GetBookmarkContent() + document.AddSection() + Dim paragraph As IWParagraph = document.LastSection.AddParagraph() + paragraph.AppendText("Northwind Database is a set of tables containing data fitted into predefined categories.") + 'Add the new bookmark into Word document + paragraph.AppendBookmarkStart("bm_empty") + paragraph.AppendBookmarkEnd("bm_empty") + 'Move to the virtual cursor before the end location of the bookmark "bm_empty" + bookmarkNavigator.MoveToBookmark("bm_empty") + 'Replace the bookmark content with text body part + bookmarkNavigator.ReplaceBookmarkContent(textBodyPart) + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces the content of the bookmark with the specified . + + The to replace the bookmark contents. + You cannot replace the multi section contents into a bookmark within table in Word documents. + Use for loop instead of foreach loop for iterating through document elements when replacing the bookmark contents to avoid �collection modified exception�. Since there is chance for modification in document elements while replacing the bookmark contents. + + This example shows how to replace a specified bookmark content using ReplaceContent method in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document with bookmark "Northwind" whose start and end preserved in different section + WordDocument templateDocument = new WordDocument("Template.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(templateDocument); + //Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind"); + //Get the bookmark content as WordDocumentPart + WordDocumentPart wordDocumentPart = bookmarkNavigator.GetContent(); + //Close the template document + templateDocument.Close(); + //Load the Word document with bookmark NorthwindDB + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + bookmarkNavigator = new BookmarksNavigator(document); + //Move the virtual cursor to the before the end location of the bookmark "NorthwindDB" + bookmarkNavigator.MoveToBookmark("NorthwindDB"); + //Replace the bookmark content with word body part + bookmarkNavigator.ReplaceContent(wordDocumentPart); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document with bookmark "Northwind" whose start and end preserved in different section + Dim templateDocument As New WordDocument("Template.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(templateDocument) + 'Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind") + 'Get the bookmark content as WordDocumentPart + Dim wordDocumentPart As WordDocumentPart = bookmarkNavigator.GetContent() + 'Close the template document + templateDocument.Close() + 'Load the Word document with bookmark NorthwindDB + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + bookmarkNavigator = New BookmarksNavigator(document) + 'Move the virtual cursor to the before the end location of the bookmark "NorthwindDB" + bookmarkNavigator.MoveToBookmark("NorthwindDB") + 'Replace the bookmark content with word body part + bookmarkNavigator.ReplaceContent(wordDocumentPart) + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replace the content of the bookmark with the specified Document. + + + + + + Replaces the content of the bookmark with the specified text and formatting. + + The string that specifies the text. + True if to save formatting, otherwise false. + + The following code example demonstrates how to replace a specified bookmark content with simple text along with its formatting. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + document.AddSection(); + IWParagraph paragraph = document.LastSection.AddParagraph(); + //Add the new bookmark into Word document + paragraph.AppendBookmarkStart("bm_empty"); + paragraph.AppendBookmarkEnd("bm_empty"); + //Move to the virtual cursor before the end location of the bookmark "bm_empty" + bookmarkNavigator.MoveToBookmark("bm_empty"); + //Replace the bookmark content with text body part + bookmarkNavigator.ReplaceBookmarkContent(" Northwind Database is a set of tables containing data fitted into predefined categories.", true); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + document.AddSection() + Dim paragraph As IWParagraph = document.LastSection.AddParagraph() + 'Add the new bookmark into Word document + paragraph.AppendBookmarkStart("bm_empty") + paragraph.AppendBookmarkEnd("bm_empty") + 'Move to the virtual cursor before the end location of the bookmark "bm_empty" + bookmarkNavigator.MoveToBookmark("bm_empty") + 'Replace the bookmark content with text body part + bookmarkNavigator.ReplaceBookmarkContent(" Northwind Database is a set of tables containing data fitted into predefined categories.", True) + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replace bookmark item particular index,which is before performing replace bookmark content + + Current bookmark name + Bookmark index in Document.Bookmarks collection, which is before performing replace bookmark content + + + + Replace the word document part when bookmark item inside paragraph + + The word document part + + + + Deletes the bookmark content. + + if it is save formatting, set to true. + if remove the empty paragraph, set to true. + if replace bookmark content, set to true. + thrown when the current bookmark is null + + + + Delete the in between section from bookmark start owner section to bookmark end owner section + + Bookmark start section index + Bookmark end section index + + + + Delete bookmark content inside different cell + + Bookmark start owner paragraph + Bookmark end owner paragraph + Current bookmark start + Current bookmark end + Bookmark content comes table after paragraph,if it is table bookmark content pass endcell + set to true when performing replcae operation + thrown when performing replacing operation, bookmark starts in one tabel and bookmark ends in another table partially + + + + Delete the bookmark content of different cell while executing mail merge. + + + + + + + + + + + + + Creates bookmark and maintain in same index in document collection. + + Paragraph where to insert bookmark start + Paragraph where to insert bookmark end + Index where to insert bookmark in document collection + Bookmark start + Column first value + Column last value + + + + Checks whether bookmark encloses the table. + + Bookmark start table + Bookmark end table + Bookmark start + Bookmark end + + + + + Deletes the textbody from the bookmark start in a cell and bookmark end in the nested table of same cell. + + Represents a + Represents a cell of bookmark start. + Represents a table of bookmark end. + Represents a row index of bookmark end in the nested table. + + + + Delete the bookmark content inside two different table rows + + Bookmark start owner table + Bookmark end owner table + Bookmark start owner row index + Bookmark end owner row index + + + + Checks tehe two different table position properties are same + + Bookmark start owner table + Bookmars end table owner table + + trueIf the two table properties are same. else false + + + + Delete the bookmark content inside table after paragraph. + + Bookmark start owner paragraph + Bookmark end owner paragraph + Current bookmark start + Current bookmark end + + + + Delete the table rows inside bookmark start and bookmark end + + Bookmark start owner row index + Bookmark end owner row index + BookmarkTable + + + + When the table contains bookmark start/end and its corresponding bookmark start/end is outside the table, + then remove the bookmark start/end and place it in previous paragraph. + + + + + + + Delete the table rows inside bookmark start and bookmark end + + Bookmark start owner row index + Bookmark end owner row index + BookmarkTable + + + + When the bookmark end is the last item in the last cell of the row, then remove the entire row. + Else remove only the items upto the bookmark end. + + + + + + + + + To check whether the nested bookmark end is outside of the current bookmark + + Nested bookmark start paragraph + Nested bookmark end paragraph + Nested bookmark + Current bookmark end index + Returns true if the nested bookmark end is within the current bookmark + + + + Delete bookmark content inside paragraph after table. + + Bookmark start owner paragraph + Bookmark end owner paragraph + Current bookmark start + Current bookmark end + Is replcae bookmark content, set to true + thrown when performing replace operation, bookmark starts before the table and bookmark ends in table partially + + + + Get the paragraph to insert the bookmark start and bookmark end + + Bookmark start owner textbody + Bookmark end owner textbody + Bookmark owner paragraph + Bookmark owner paragraph index + Bookmark start + Bookmark end + Set to truewhen the bookmark content inside same section + Set to true when the bookmark content inside different section + + + + + Delete the bookmark content inside table + + Table which is having bookmark content + Bookmark strat owner row index + Bookmark end owner row index + Bookmark start cell index + Bookmark end cell index + + + + Deletes the cell paragraph child items from its owner paragraph + + Tabel cell last paragraph + + + + Delete bookmark content inside different section paragraph items/single section paragraph items. + + if it is save formatting, set to true. + If replace operation set to true. + + + + Removes the field in the bookmark for following cases + Field start or field end is out of the bookmark + Entire field is within the bookmark + + The paragraph which contains the current bookmark + The index next to the bookmark start + + + + Merge start section text body items to end textbody + + Start text body + + + + + Deletes the bodyitems after the bookmark start owner item. + Bookmark start owner index + Bookmark end owner index + Bookmark start owner textbody + Bookmark start next item index + If the bookmark content preserved in single section set to true + + + + + Ensures whether the items present in between the specified bookmark start and current bookmark start. + + + + + + + + + + + + + + + + + Delete the Bookmarks inside the current bookmark region from the paragraph.. + + + + + + + + + If the bookmark content inside different section, combine bookmark end owner section to Sections collection + + Bookmark end owner paragraph index + Bookmark end owner text body + When true ,if the bookmark end entity is first item of it's owner paragraph + + + + Gets the owner section + + Entity + + + + + To check the bookmark end entity is first item of it's owner paragraph + + Bookmark end owner paragraph + Current bookmark end + Bookmark end previous item index + + + + + To check the bookmark end entity is first item of it's owner table + + Bookmark end row index + Bookmark end table index + bookmark end paragraph index + Bookmark end entity + Returns true, if the bookmark end is the first item of table + + + + Set the current bookmark position when the bookmark content inside paragraph + + Bookmark start owner paragraph + Bookmark end owner paragraph + Start text body + Current bookmark start + Current bookmark end + Bookmark start owner paragraph next index + Set to true when bookmark end in next section first paragraph first item + Set to ,true when perform replcae operation + Current bookmark index in document bookmarks collection + + + + Set Bookmark position when bookmark content inside different table rows + + Bookmark start owner table + Bookmark end owner table + Bookmark start owner textbody + Bookmark end owner textbody + Current bookmark index in document bookmarks collection + + + + Delete the paragraph items which are present before bookmark end entity + + Bookmark end owner paragraph + Current bookmark end + + + + Moves the source paragraph child items to the destination paragraph child items + + + + + + + Replaces the current bookmark start and end into necessary paragraph + + Paragraph + Current bookmark index in document bookmarks collection + + + + Replace all the worddocument content into single table + + WordDocumentPart content + TextBodyPart content + thrown when performing replacing operation bookmark starts and ends in a single table and the document part is having more than one section + + + + Checks the current state of navigator. + + + + + Inserts the text range to current position + + The text. + if it is save formatting, set to true. + if it is Replaced content, set to true. + TextRange + + + + Applies character formatting of the paragraph on text range. + + + + + + Inserts the body item. + + The item. + + + + Gets or sets the Word document of this object. + + The object. + + + + Gets the current bookmark. + + The current object. + + + + Gets/Sets the cursor position + + + truemoves the cursor to the beginning of the bookmark. + falsemoves the cursor to the end of the bookmark + + + + + Gets/Sets the cursor position + + + truemoves the cursor to be after the bookmark start or end position. + falsemoves the cursor to be before the bookmark start or end position. + + + + Gets or sets a value indicating whether [remove empty paragraph]. + + + true if [remove empty paragraph]; otherwise, false. + + + + + Gets the current bookmark item which can be a + or . Read-only. + + The that specifies whether + it is or . + + + + + Return the index to insert the item into the paragraph + + + + + Represents a collection of items. + + + + + Represents a collection of DLS entities. + + + + + + + + + + Represents required functionality for serialization by XDLSReader/Writer. + Used for collections/lists implementation + + + + + Collection must creates and adds new empty item. + + + + + + Gets the name of the tag item. + + The name of the tag item. + + + + Gets the count. + + The count. + + + + Initializes a new instance of the class. + + + + + Collection must creates and adds new empty item. + + + + + + + Clones to other collection. + + The coll. + + + + Gets name of xml tag + + + + + + Creates the item. + + + The reader. + + + + + Gets name of xml tag + + + + + Represents the entities collections. + + + + + Represents base interface for DLS collections. + + + + + Gets the number of items in collection. + + The integer represents the count of the items. + + + + Gets the at the specified index. + + The zero-based index of the entity to get + The at the specified index + The index is not valid index in the + + + + Initializes a new instance of the class. + + The doc. + + + + Initializes a new instance of the class. + + The doc. + The owner. + + + + Adds the specified entity to the collection. + + The to be added to the collection. + The zero-based index of the . + Thrown when paragraph is added to CheckBox and Picture content control. + + + + Clears the existing maximum preferred width information for a table row or cell if it exists. + + The entity to check for maximum preferred width information. + + + + Checks whether the content control supports bookmarks to add in it. + + Represernts or instance. + Returns true, if it is valid type of content control to add bookmark; otherwise retuens false. + + + + Checks whether the entity can have paragraph. + + True if the owner of this entity is CheckBox,ComboBox,Drop-down and Picture content control. + + + + Get the bookmarkend index if it preserve after the the Paragraph/Table/Cell/Row end mark + + + + + + Removes all items from the collection. + + + + + Determines whether an entity is in the collection. + + The to be found in the collection. + True if it contains the specified entity, otherwise false. + + + + Returns the zero-based index of the specified entity. + + The to which the index to be found. + The zero-based index of the specified entity. + + + + Inserts a entity into the collection at the specified index. + + The integer that specifies the index to insert the entity. + The to be inserted. + + + + Update the index of the entity. + + Update start from next of these index entity + Decide whether is it add or remove operation. + + + + Update the index of the entity. + + Update start from next of these index entity + Decide whether is it add or remove operation. + + + + Removes the entity from the collection. + + The to be removed. + + + + Removes the entity at the specified index from the collection. + + The index of the entity to be removed. + The index is not valid in the . + + + + Updates the document collections while removing the text body items from the document. + + Entity to be removed from the document. + + + + Checks whether the entity is a renderable item or not. + + Entity to check remderable or not + True,if the entity is renderable else false. + + + + Updates the document collections while removing the text body items from the shape. + + Entity to be removed from the document. + + + + Remove and unlink revision from the entity while removing. + + + + + + Remove and unlink revision from the format base while removing the entity. + + + + + + Updates track changes revision while adding the entity. + + + + + + Updates track changes revision by iterating the section while adding the entity. + + + + + + Updates track changes revision by iterating the body item while adding the entity. + + + + + + Updates track changes revision by iterating the paragraph item while adding the entity. + + + + + + Updates track changes revision by iterating the para items while adding the entity. + + + + + + Updates track changes revision by iterating the body while adding the entity. + + + + + + Updates track changes revision by iterating the table while adding the entity. + + + + + + Updates track changes revision of para item while adding the entity. + + + + + + Checks the track change. + + The item. + + + + Updates track changes revision of paragraph while adding the entity. + + + + + + Gets Next sibling entity. + + The entity. + + + + + Gets Previous sibling entity. + + The entity. + + + + + Gets the index of the next or previous element. + + The index. + The type. + if it specifies next element, set to true. + + + + + Removes items of specified type + + The type. + + + + Clones all items to destination collection. + + The destination collection. + + + + Occurs when all items are removed. + + + + + + Occurs when entity is inserted. + + + The zero-based index to insert the entity. + The to insert. + + + + Update the field range before it is removed + + + + + + Update the field separator and end to the field + + + + + + Add the field range to collection + + + + + + + + + Occurs when entity is inserted. + + + The zero-based index to insert the entity. + The to insert. + + + + occurs when entity is removed. + + + The zero-based index to remove the entity. + + + + Determines whether specified element type is correct. + + The entity. + + If the element type is correct, set to true. + + + + + Called when [insert field]. + + The index. + The entity. + + + + + Called when [insert field complete]. + + The index. + The entity. + + + + Determine whether the merge field need to be updated with field marks + + + + + + Update field marks for the Merge fields when add/insert into the paragraph + + + + + + + Called when form field inserts - Performs insertion of bookmark start for the corresponding form field. + + Index + Entity + Updated index + + + + Checks the name of the form field. + + Name of the form field. + + + + Called after form field inserted - Inserts bookmark end for the corresponding form fields. + + Index + Entity + + + + Updates the text from inline content control to the paragraph text. + + Paragraph to update the text. + An to retrive text ranges. + + + + Gets the at the specified index. + + The zero-based index of the entity to get. + The at the specified index. + The index is not valid index in the . + + + + Gets the first item from the collection. + + The at the first index. + + + + Gets the last item from the collection. + + The at the last index. + + + + Gets a value indicating whether this is joined. + + If it is joined, set to true. + + + + Gets or sets a value indicating that the collection has wfield entity + + + + + + + + + + Gets the type of the elements present in the collection. + + + The collection that contains the types of the elements. + + + + Specifies the item change entity type. + + + + + Add entity type. + + + + + Remove Entity type. + + + + + Clear Entity type. + + + + + Represents the method that will handle the collection changes. + + The type of action to be performed. + The . + + + + + + + + + Adds the specified handler. + + The handler. + + + + Removes the specified handler. + + The handler. + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Sends the specified type. + + The type. + The entity. + + + + Initializes a new instance of the class with the specified + instance. + + The . + + + + Initializes a new instance of the class. + + The doc. + + + + Gets the name of xml tag + + + The string that represents the xml tag name. + + + + Creates the item. + + + The object. + The . + + + + Gets the at the specified index. + + + + + + + Gets the type of the elements present in the collection. Read-only. + + + The collection that contains the types of the elements. + + + + Represents the collection of in the Word document. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Get the bookmark instance with bookmark name + Syncfusion.DocIO.DLS.Bookmark bookmark = document.Bookmarks["Northwind"]; + //Access the bookmark start�s owner paragraph using bookmark and change its back color + bookmark.BookmarkStart.OwnerParagraph.ParagraphFormat.BackColor = Color.AliceBlue; + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Get the bookmark instance with bookmark name + Dim bookmark As Syncfusion.DocIO.DLS.Bookmark = document.Bookmarks("Northwind") + 'Access the bookmark start�s owner paragraph using bookmark and change its back color + bookmark.BookmarkStart.OwnerParagraph.ParagraphFormat.BackColor = Color.AliceBlue + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + Initializes a new instance of the class. + + The document. + + + + Finds with specific name in the document. + + The string that represents the name of the bookmark to find. + The with the specified name. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Get the bookmark instance using FindByName method of BookmarkCollection with bookmark name + Bookmark bookmark = document.Bookmarks.FindByName("Northwind"); + //Access the bookmark start�s owner paragraph using bookmark and change its back color + bookmark.BookmarkStart.OwnerParagraph.ParagraphFormat.BackColor = Color.AliceBlue; + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Get the bookmark instance using FindByName method of BookmarkCollection with bookmark name + Dim bookmark As Bookmark = document.Bookmarks.FindByName("Northwind") + 'Access the bookmark start�s owner paragraph using bookmark and change its back color + bookmark.BookmarkStart.OwnerParagraph.ParagraphFormat.BackColor = Color.AliceBlue + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Removes a bookmark at the specified index. + + The integer that represents the position of the bookmark to remove. + The index is not valid in the . + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Remove the bookmark at the second index from Word document. + document.Bookmarks.RemoveAt(1); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Remove the bookmark at the second index from Word document. + document.Bookmarks.RemoveAt(1) + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Removes the specified bookmark from the document. + + The to be removed. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Get the bookmark instance using FindByName method of BookmarkCollection with bookmark name + Bookmark bookmark = document.Bookmarks.FindByName("Northwind"); + //Remove the bookmark named "Northwind" from Word document. + document.Bookmarks.Remove(bookmark); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Get the bookmark instance using FindByName method of BookmarkCollection with bookmark name + Dim bookmark As Bookmark = document.Bookmarks.FindByName("Northwind") + 'Remove the bookmark named "Northwind" from Word document. + document.Bookmarks.Remove(bookmark) + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Removes all the bookmarks in the document. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Remove all the bookmarks from Word document + document.Bookmarks.Clear(); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Remove all the bookmarks from Word document + document.Bookmarks.Clear() + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds Bookmark object to the collection. + + + + + + Attaches the bookmark start. + + The bookmark start. + + + + Sets BookmarkEnd for the bookmark specified by Name + + + + + + + Gets the with the specified name. + + The string that represents the name of the bookmark in the document to get. + The with the specified name. + The specified bookmark name is not present in the document. + + + + Gets the at the specified index. + + The integer that represents the position of the bookmark in the document to get. + The at the specified index. + The index is not valid in the + + + + Represents the collection of in the Word document. + + + + + Initializes a new instance of the class. + + The document. + + + + Finds with specific id in the document. + + The string that represents the id of the editable range to find. + The with the specified id. + + + + Removes a editable range at the specified index. + + The integer that represents the position of the editable range to remove. + + + + Removes the specified editable range from the document. + + The to be removed. + + + + Adds editable range object to the collection. + + Represents a editable range to add in collection. + + + + Attaches the editable range start. + + Represents a editable range start. + + + + Sets editable raange end for the editabler range specified by id. + + Represents a editable range end. + + + + Gets the with the specified name. + + The string that represents the id of the editable range in the document to get. + The with the specified id. + + + + Represents the collection of in the section of a Word document. + + + The following code example demonstrates how to + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + foreach (WSection section in document.Sections) + { + //Populates the specified number of columns with specified spacing. + if (section.Columns.Count > 0) + section.Columns.Populate(2, 10); + } + //Add the section into Word document + IWSection newSection = document.AddSection(); + //Add the column into the section + newSection.AddColumn(150, 20); + //Add the column into the section + newSection.AddColumn(150, 20); + //Add a paragraph to created section + IWParagraph paragraph = newSection.AddParagraph(); + //Add a paragraph to created section + paragraph = newSection.AddParagraph(); + string paraText = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"; + //Append the text to the created paragraph + paragraph.AppendText(paraText); + //Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak); + //Add a paragraph to created section + paragraph = newSection.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText(paraText); + //Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + For Each section As WSection In document.Sections + 'Populates the specified number of columns with specified spacing. + If section.Columns.Count > 0 Then + section.Columns.Populate(2, 10) + End If + Next + 'Add the section into Word document + Dim newSection As IWSection = document.AddSection() + 'Add the column into the section + newSection.AddColumn(150, 20) + 'Add the column into the section + newSection.AddColumn(150, 20) + 'Add a paragraph to created section + Dim paragraph As IWParagraph = newSection.AddParagraph() + 'Add a paragraph to created section + paragraph = newSection.AddParagraph() + Dim paraText As String = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula" + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak) + 'Add a paragraph to created section + paragraph = newSection.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak) + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Initializes a new instance of the class. + + The section. + + + + Adds object to the collection. + + The to be added. + The zero-based index of the column. + + + + Populates the specified number of columns with specified spacing. + + The integer specifying the columns count. + The float that specifies the spacing between columns. + + + + Adds object to the collection. + + The to be added. + The bool that specifies whether the document is opened. + The zero-based index of the column. + + + + Clones items to specified collection. + + The collection. + + + + Creates the item. + + + The reader. + The object. + + + + Gets name of xml tag + + + The string that specifies the tag name. + + + + Gets the at the specified index. + + The zero-based index of the column in the collection. + The at the specified index. + + + + + Gets the owner section. + + The owner section. + + + + Represents the collection of in the Word document. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Comment.docx"); + //Iterate the comments in the Word document + foreach (WComment comment in document.Comments) + { + //Modify the last paragraph text of an existing comment if it is added by "Peter" + if (comment.Format.User == "Peter") + comment.TextBody.LastParagraph.Text = "Modified Comment Content"; + } + document.Save("ModifiedComment.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Comment.docx") + 'Iterate the comments in the Word document + For Each comment As WComment In document.Comments + 'Modify the last paragraph text of an existing comment if it is added by "Peter" + If comment.Format.User = "Peter" Then + comment.TextBody.LastParagraph.Text = "Modified Comment Content" + End If + Next + document.Save("ModifiedComment.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Initializes a new instance of the class. + + The object. + + + + Returns the total number of comments in the document. Read-only. + + The integer that specifies the total number of in this . + + + + Removes the at specified index. + + The zero-based index of the comment to be removed. + + The following code example demonstrates how to remove the comment at specified index in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Comment.docx"); + //Remove the second comment from a document + document.Comments.RemoveAt(1); + //Save and close the Word document + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Comment.docx") + 'Remove the second comment from a document + document.Comments.RemoveAt(1) + 'Save and close the Word document + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Removes all the comments from the document. + + + The following code example demonstrates how to remove all the comments from the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Comment.docx"); + //Remove all the comments in a Word document + document.Comments.Clear(); + //Save and close the Word document + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Comment.docx") + 'Remove all the comments in a Word document + document.Comments.Clear() + 'Save and close the Word document + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds the specified comment. + + + + + + Removes the specified Comment. + + The to be removed. + + The following code example demonstrates how to remove particular comment from the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Comment.docx"); + //Get the second comment from a document. + WComment comment = document.Comments[1]; + //Remove comment from a document. + document.Comments.Remove(comment); + //Save and close the Word document + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Comment.docx") + 'Get the second comment from a document. + Dim comment As WComment = document.Comments(1) + 'Remove comment from a document. + document.Comments.Remove(comment) + 'Save and close the Word document + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Sets the ParentParaId of the comment + + + + + Gets the comment at specified index. Read-only. + + The zero-based index of the comment in the collection. + The at the specified index. + The index is not valid in the + + + + Initializes a new instance of the class. + + The object. + + + + Add the specified comment + + + + + + Gets the comment at specified index. Read-only. + + The zero-based index of the comment in the collection. + The at the specified index. + The index is not valid in the + + + + Represents the sort options for list. + + The type of the key. + The type of the value. + + + + Represents the sort options for the list. + + + + + + + Default capacity of internal buffers. + + + + + Array which store keys in sorted order. + + + + + Collection stores values. + + + + + Size of collection. + + + + + Version of collection data. + + + + + Default comparer for keys. + + + + + List of keys. + + + + + List of values. + + + + + Default constructor. + + + + + Creates an empty list with the specified initial capacity. + + Initial capacity. + + When initialCapacity is less than zero. + + + + + Creates an empty SortedList with the default initial capacity + and specified comparer. + + + The IComparer is used to determine whether two keys are equal. + + + + + Creates an empty SortedList with the specified initial capacity + and specified comparer. + + Initial capacity. + + The IComparer is used to determine whether two keys are equal. + + + + + Copies the elements from the specified dictionary to a new list + with the same initial capacity as the number of elements copied. + + The IDictionary to copy. + + + + Copies the elements from the specified dictionary to a new list with the same + initial capacity as the number of elements copied and with the specified comparer. + + The IDictionary to copy. + + The IComparer to use to determine whether two keys are equal. + + + When argument d is null. + + + + + Returns a synchronized (thread-safe) wrapper for the SortedList. + + The SortedList to synchronize. + A synchronized (thread-safe) wrapper for the SortedList. + + When list is null. + + + + + Adds an element with the provided key and value to the list. + + The Object to use as the key of the element to add. + The Object to use as the value of the element to add. + + When key is null. + + + When list already contains specified key. + + + + + Removes all elements from the collection. + + + + + Creates a new object that is a copy of the current instance. + + Copy of the current instance. + + + + Clone current instance. + + Returns clone of current object. + + + + Determines whether the list contains an element with the specified key. + + Key of the element to search. + True if list contains specified key. + + + + Determines whether the list contains an element with the specified key. + + Key of the element to search. + True if list contains specified key. + + + + Determines whether the list contains the specified value. + + Value of the element to search. + True if list contains specified value. + + + + Copies all the elements of the SortedListEx to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + If specified array is null. + + + If rank of the array is not 1 or there are not enough elements. + + + If specified arrayIndex is less than zero. + + + + + Gets the value at the specified index of the SortedListEx. + + The zero-based index of the value to get. + The value at the specified index of the SortedListEx. + + When index is less than zero or greater than size of the list. + + + + + Gets the key at the specified index of the SortedListEx. + + The zero-based index of the key to get. + The key at the specified index of the SortedListEx. + + When index is less than zero or greater than size of the list. + + + + + Gets the keys in the SortedListEx. + + An IList containing the keys in the SortedListEx. + + + + Gets the values in the SortedListEx. + + An IList containing the values in the SortedListEx. + + + + Returns the zero-based index of the specified key. + + The key to locate. + The zero-based index of key, if key is found; otherwise, -1. + + If specified key is null. + + + + + Returns the zero-based index of the first occurrence of the specified value. + + The value to locate (can be NULL). + + The zero-based index of the first occurrence of value, if value is found; + otherwise, -1. + + + + + Removes the element at the specified index. + + The zero-based index of the element to remove. + + When index is less than zero or greater than size of the list. + + + + + Removes the element with the specified key from SortedListEx. + + The key of the element to remove. + + + + Replaces the value at the specific index. + + The zero-based index at which to save value. + The Object to save into. Can be NULL. + + When index is less than zero or greater than size of the list. + + + + + Sets the capacity to the actual number of elements. + + + + + Returns an IEnumerator that can iterate through the SortedListEx. + + An IEnumerator for the SortedListEx. + + + + Returns an IEnumerator that can iterate through the SortedListEx. + + An IEnumerator for the SortedListEx. + + + + Inserts element with specified key and value at specified index. + + The zero-based index to insert element at. + The key of the element to insert. + The value of the element to insert. + + + + Ensures that the capacity of this instance is at least the specified value. + + The minimum capacity to ensure. + + + + Adds an element with the provided key and value to the object. + + The to use as the key of the element to add. + The to use as the value of the element to add. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + if the contains an element with the key; otherwise, . + + + + Removes the element with the specified key from the object. + + The key of the element to remove. + + + + Returns the value associated with the specified key. + + + + + Adds an item to the . + + The object to add to the . + + + + Determines whether the contains a specific value. + + The object to locate in the . + if is found in the ; otherwise, . + + + + Copies the elements of the to an , starting at a particular index. + + The one-dimensional that is the destination of the elements copied from . + The must have zero-based indexing. + The zero-based index in at which copying begins. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + if was successfully removed from the ; otherwise, . + This method also returns if is not found in the original . + + + + Capacity of internal buffers. + + + + + Size of the collection. Read-only. + + + + + List of keys. Read-only. + + + + + List of values. Read-only. + + + + + Returns True if list is readonly, False otherwise. Read-only. + + + + + Returns True if collection has fixed size, False otherwise. + + + + + Returns True if the collection is synchronized, False otherwise. + + + + + Returns the object that can be used to synchronize access to the collection. + Read-only. + + + + + Gets or sets the value associated with the specified key. + + + + + Gets or sets the value for the property with specified key. + + The key for the property. + An object with the specific key. + + + + + + + + + Supports cloning, which creates a new instance of a class with the same value + as an existing instance. + + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of this instance. + + + + List for which is this enumerator. + + + + + Key of the current element. + + + + + Values of the current element. + + + + + Index of current element. + + + + + Starting index for the enumerator. + + + + + Ending index for this enumerator. + + + + + Version of collection data. + + + + + True if current element is correct, False otherwise + (before beginning or after end). + + + + + Creates enumerator for specified list, starting from specified index + and with specified count. + + List for which enumerator is being created. + Starting index. + Number of elements to enumerate. + + + + Performs application-defined tasks associated with freeing, releasing, or + resetting unmanaged resources. + + + + + Creates a new object that is a copy of the current instance. + + Copy of the current instance. + + + + Advances the enumerator to the next element of the collection. + + + True if the enumerator was successfully advanced to the next element; + False if the enumerator has passed the end of the collection. + + + When the current version is not equal to the SortedListEx version. + + + + + Sets the enumerator to its initial position, which is before + the first element in the collection. + + + When the current version is not equal to the SortedListEx version. + + + + + Returns key of the current element. Read-only. + + + When the current version is not equal to the SortedListEx version + or if current is false. + + + + + Return DictionaryEntry for the current element. + + + When the current version is not equal to the SortedListEx version + or if current is false. + + + + + The current element in the collection. Read-only. + + + If current is false. + + + + + The current element in the collection. Read-only. + + + If current is false. + + + + + Returns value for the current element. + + + When the current version is not equal to the SortedListEx version + or if current is false. + + + + + + + + + + + + + + + Index of current element. + + + + + Version of collection data. + + + + + + + + + + + + + + + + + + + + + List for which this collection was created. + + + + + Creates KeyList for specified SortedListEx. + + TypedSortedListEx for which KeyList must be created. + + + + Adds an element with the provided key to the list. + + The Object to use as the key of the element to add. + + + + Removes all elements from the collection. + + + + + Determines whether the list contains an element with the specified key. + + Key of the element to search. + True if list contains specified key. + + + + Copies all the elements of the list to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + If array is null or rank of the array is not 1. + + + + + Copies all the elements of the list to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + If array is null or rank of the array is not 1. + + + + + Insert the value at the specific index. + + The zero-based index at which to save value. + The Object to save into. Can be NULL. + + + + Returns an IEnumerator that can iterate through the list. + + An IEnumerator for the list. + + + + Returns an IEnumerator that can iterate through the list. + + An IEnumerator for the list. + + + + Returns the zero-based index of the specified key. + + The key to locate. + The zero-based index of the key, if the key is found; otherwise, -1. + + + + Removes the element with the specified key from list. + + The key of the element to remove. + + + + Removes the element at the specified index from the list. + + The zero-based index of the element to remove. + + + + Size of the collection. Read-only. + + + + + Returns True if list is readonly, False otherwise. Read-only. + + + + + Returns True if collection has fixed size, False otherwise. + + + + + Returns True if the collection is synchronized, False otherwise. + + + + + Returns the object that can be used to synchronize access to the collection. + Read-only. + + + + + Gets or sets the key at the specified index. + + + + + + + + + + List for which this collection was created. + + + + + Array that contain values. + + + + + Creates ValueList for specified SortedListEx. + + List for which ValueList must be created. + + + + Re-read values from the list. + + + + + Adds an element with the provided key to the list. + + Value to add. + + + + Removes all elements from the collection. + + + + + Determines whether the list contains an element with the specified value. + + Value to search. + True if list contains specified value. + + + + Copies all the elements of the list to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + + + Copies all the elements of the list to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + + + Insert the value at the specific index. + + The zero-based index at which to save value. + The Object to save into. Can be NULL. + + + + Returns an IEnumerator that can iterate through the list. + + An IEnumerator for the list. + + + + Returns an IEnumerator that can iterate through the list. + + An IEnumerator for the list. + + + + Returns the zero-based index of the specified value. + + The value to locate. + The zero-based index of the value, if the value is found, otherwise -1. + + + + Removes the specified value from list. + + The value to remove. + + + + Removes the element at the specified index from the list. + + The zero-based index of the element to remove. + + + + Size of the collection. Read-only. + + + + + Returns True if list is readonly, False otherwise. Read-only. + + + + + Returns True if collection has fixed size, False otherwise. + + + + + Returns True if the collection is synchronized, False otherwise. + + + + + Returns the object that can be used to synchronize access to the collection. + Read-only. + + + + + Gets or sets the value at the specified index. + + + + + Initialiazes a new instance of class. + + + + + Initializes a new instance of class with the specified comparer. + + The implementation to use when comparing elements. + + + + Initializes a new instance of class with the specified length. + + The length of the range to sort. + + + + Initializes a new instance of class from the existing dictionary collection. + + The to copy. + + + + Represents the sorting of dictionary collection. + + The type of the key. + The type of the value. + + + + Represents a subset from the collection of specified type entities. + + + + + + + + + + Initializes a new instance of the class. + + The collection. + The type. + + + + Removes all the entities from the collection. + + + + + Closes this instance. + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Adds the entity to the end of collection. + + The entity. + + + + + Determines whether a entity is in the collection. + + The entity. + + + + + Returns the zero-based index of the specified entity. + + The entity. + + + + + Inserts a entity into the collection at the specified index. + + + + + + + + Removes the entity from the collection. + + + + + + Removes the entity at the specified index from the collection. + + The index. + + + + Gets the entity by its index. + + + The zero-based index of the entity. + The at the specified index. + The index is not valid in the . + + + + Gets the base index. + + The index. + + + + + Updates the count. + + + + + Checks the type. + + + + + Calls when in base collection changed items. + + The type. + The entity. + + + + Clears the indexes. + + + + + Gets the current document. Read-only. + + The object. + + + + Gets the owner of this . Ready-only. + + The which is the owner element. + + + + Gets the number of items in collection. + + The integer that represents the count of the items. + + + + Gets the at the specified index. + + The zero-based index of the entity to get. + The at the specified index. + The index is not valid index in the . + + + + Represents a internal enumerator for EntitySubSetCollection. + + + + + Initializes a new instance of the class. + + The entities collection. + + + The collection was modified after the enumerator was created. + + + + Sets the enumerator to its initial position, which is before the first element in the collection. + + The collection was modified after the enumerator was created. + + + The enumerator is positioned before the first element of the collection or after the last element. + + + + A collection of objects that + represent the fields in the document. + + + + + Initializes a new instance of the class. + + The document. + + + + Finds object by specified name + + The Field value + + + + + Removes a Field at the specified index. + + The index. + + + + Removes the specified field. + + The field. + + + + Removes all Fields from the document. + + + + + Adds field objects to the collection. + + + + + + Inserts AutoNum Field in a collection in ascending order as per in the Word document. + The both auto num and auto num legal field result is same. + If the document has multiple auto num and auto num legal field then the result preserves continuously. + So maintain the field in same collection to get the result as in the Word document. + + The WField + + + + Checks hierarchical index of current field with other hierarchical indexes + + The oldHierarchicalIndex + The newHierarchicalIndex + + + + Gets the AutoNum FieldResult + + The field + + + + Checks whether the current field and previous field is in same paragraphitem. + + The Previous Field Index + The current Field Index + Returns True when both Field are inside the same paragaraphitem otherwise returns false + + + + Gets the number from roman (Convertion of roman to arabic) + + The Roman letter + Number value + + + + Gets the Seperator code from the FieldCode in a Field using index of the field in the + SortedAutoNumFields List array + + The Index of Field in the list + Splited Seperator charactor + + + + Gets the NUmber Format from FieldCode using index of the field in the + SortedAutoNumFields List array + + The Index of the Field + Number Format + + + + Gets the number from alphabet (Convertion of alphabet to arabic) + + + + + + + Gets the with the specified name. + + + + + + Gets the at the specified index. + + + + + + Gets or sets the AutoNum Fields. + + The Sorted AutoNum Fields. + + + + Gets or sets the AutoNum Fields Indexes. + + The Sorted AutoNum Fields indexes. + + + + Represents a collection of form fields. + + + + + Initializes a new instance of the class. + + The text body. + + + + Returns value indicating whether the specified collection contains item with specified name. + + The string that specifies the name of the item to be found. + True if the collection has the specified form field, otherwise false. + + + + Corrects the name. + + The old name. + The new name. + + + + Adds the specified formField. + + The formField. + + + + Removes the specified formField. + + The formField. + + + + Populates this coollection of form fields from parent WTextBody. + + + + + Populates from paragraph. + + The paragraph. + + + + Populates from table. + + The table. + + + + Gets form field by name. + + Name of the form field. + + + + + Closes this instance. + + + + + Gets the at the specified index. Read-only. + + The zero-based index of the form field to get. + The at the specified index. + The index is not valid in the . + + + + Gets the with specified name. Read-only. + + The string that specifies the form field name. + The with the specified name. + + + + Gets dictionary with form field items. + + + + + Initializes a new instance of the class. + + The doc. + + + + Adds the specified image. + + The image. + + + + Removes the specified image id. + + The image id. + + + + + Clears this instance. + + + + + Loads the image. + + The image bytes. + + + + Loads the meta file image. + + The image bytes. + if set to true [is compressed]. + + + + + Loads the image. + + The image bytes. + + + + Compresses the image bytes. + + The image bytes. + + + + + Decompresses the image bytes. + + The compressed image. + + + + + Gets the with the specified image id. + + + + + + Gets the owner document. + + The document. + + + + Represents a collections of list formatting for each levels in a list. + + + + + + Initializes a new instance of the class. + + The owner. + + + + Adds List level to collection. + + The level. + + + + + Gets index of in the collection. + + The level. + + + + + Removes all levels. + + + + + Creates a new item. + + + The object. + The object. + + + + Returns the name of xml tag. + + + The string that represents the tag name. + + + + Compares list levels with current list levels. + + + + + Gets the at the specified index. Read-only. + + The zero-based index of the list level to get. + The at the specified index. + + + + Represents the list levels of ListOverrideStyle. + + + + + Initializes a new instance of the class. + + The doc. + + + + Adds List level into collection. + + + + + + + Gets the level number. + + The level format. + + + + + Determines whether the current list override style has specified level. + + The level number. + + true if the current list override style has specified level; otherwise, false. + + + + + Clones itself. + + The collection. + + + + + + + + + + + Gets name of xml tag + + + + + + Closes this instance. + + + + + Compares the list override level formats with the current list override level formats + + The list override levels + + + + Gets the at the specified index. + + + + + + Gets the owner style. + + The owner style. + + + + Gets or sets the level index. + + The . + + + + Summary description for ListOverridesCollection. + + + + + Represents a collection of objects. + + + + + Represents a collection of objects. + + + + + Adds the specified to collection. + + The to be added to the styles collection. + The zero-based index of the added . + + The following code example demonstrates how to add style to the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an input Word template + WordDocument document = new WordDocument(inputFileName); + //Access the styles collection which contains paragraph and character styles in Word document + WParagraphStyle style = new WParagraphStyle(document); + //Specify the style name. + style.Name = "User_Defined_style"; + //Specify the character properties for the style + style.CharacterFormat.Bold = true; + style.CharacterFormat.FontName = "Arial"; + style.CharacterFormat.FontSize = 14; + //Specify the paragraph properties for the style + style.ParagraphFormat.BackColor = Color.LightGray; + style.ParagraphFormat.AfterSpacing = 18f; + style.ParagraphFormat.BeforeSpacing = 18f; + StyleCollection styleCollection = document.Styles as StyleCollection; + //Add the style to the document styles collection. + styleCollection.Add(style); + //Save and close the document + document.Save(outputFileName, FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an input Word template + Dim document As New WordDocument(inputFileName) + 'Access the styles collection which contains paragraph and character styles in Word document + Dim style As New WParagraphStyle(document) + 'Specify the style name. + style.Name = "User_Defined_style" + 'Specify the character properties for the style + style.CharacterFormat.Bold = True + style.CharacterFormat.FontName = "Arial" + style.CharacterFormat.FontSize = 14 + 'Specify the paragraph properties for the style + style.ParagraphFormat.BackColor = Color.LightGray + style.ParagraphFormat.AfterSpacing = 18F + style.ParagraphFormat.BeforeSpacing = 18F + Dim styleCollection As StyleCollection = TryCast(document.Styles, StyleCollection) + 'Add the style to the document styles collection. + styleCollection.Add(style) + 'Save and close the document + document.Save(outputFileName, FormatType.Docx) + document.Close() + End Sub + + + + + + Finds a first style in the collection with specified style name. + + The string value that represents the name of the style to be found. + The object of specified name + The style name is not valid in the + The following example illustrates how to find a style by its name and modify its character and paragraph formats. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an input Word template + WordDocument document = new WordDocument(inputFileName); + //Access the styles collection which contains paragraph and character styles in Word document + IStyleCollection styleCollection = document.Styles; + //Find the style with the name "Heading 1" + WParagraphStyle heading1ParagraphStyle = styleCollection.FindByName("Heading 1") as WParagraphStyle; + //Change the text color of style "Heading 1" as DarkBlue + heading1ParagraphStyle.CharacterFormat.TextColor = Color.DarkBlue; + //Change the first line indent of Paragraph as 36 points + heading1ParagraphStyle.ParagraphFormat.FirstLineIndent = 36; + document.Save(outputFileName, FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an input Word template + Dim document As New WordDocument(inputFileName) + 'Access the styles collection which contains paragraph and character styles in Word document + Dim styleCollection As IStyleCollection = document.Styles + 'Find the style with the name "Heading 1" + Dim heading1ParagraphStyle As WParagraphStyle = TryCast(styleCollection.FindByName("Heading 1"), WParagraphStyle) + 'Change the text color of style "Heading 1" as DarkBlue + heading1ParagraphStyle.CharacterFormat.TextColor = Color.DarkBlue + 'Change the first line indent of paragraph as 36 points + heading1ParagraphStyle.ParagraphFormat.FirstLineIndent = 36 + document.Save(outputFileName, FormatType.Docx) + document.Close() + End Sub + + + + + + Finds a style in the collection specified by the style name and style type. + + The string value that represents the name of the style to be found. + The of the specified style. + The object with the specified name. + The style name is not valid in the + The following example illustrates how to find a style by its name and its type. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an input Word template + WordDocument document = new WordDocument(inputFileName); + //Access the styles collection which contains paragraph and character styles in Word document + IStyleCollection styleCollection = document.Styles; + //Find the style with the name "Heading 1" + WParagraphStyle heading1ParagraphStyle = styleCollection.FindByName("Heading 1", StyleType.ParagraphStyle) as WParagraphStyle; + //Change the text color of style "Heading 1" as DarkBlue + heading1ParagraphStyle.CharacterFormat.TextColor = Color.DarkBlue; + //Change the first line indent of Paragraph as 36 points + heading1ParagraphStyle.ParagraphFormat.FirstLineIndent = 36; + document.Save(outputFileName, FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an input Word template + Dim document As New WordDocument(inputFileName) + 'Access the styles collection which contains paragraph and character styles in Word document + Dim styleCollection As IStyleCollection = document.Styles + 'Find the style with the name "Heading 1" + Dim heading1ParagraphStyle As WParagraphStyle = TryCast(styleCollection.FindByName("Heading 1", StyleType.ParagraphStyle), WParagraphStyle) + 'Change the text color of style "Heading 1" as DarkBlue + heading1ParagraphStyle.CharacterFormat.TextColor = Color.DarkBlue + 'Change the first line indent of Paragraph as 36 points + heading1ParagraphStyle.ParagraphFormat.FirstLineIndent = 36 + document.Save(outputFileName, FormatType.Docx) + document.Close() + End Sub + + + + + + Finds a style specified by its style Id. + + The integer that represents the Id of the style. + The object of specified Id + The style Id is not valid in the + + + + Gets the at the specified index. + + The zero-based index of the style to get + The at the specified index + The index is not valid index in the + + + + Gets or sets a value indicating whether the stylesheet has style at 13th index + + True, if the stylesheet has style at 13th index(other than empty style), otherwise false + Reserved styles are applicable only for *.doc format + + + + Gets or sets a value indicating whether the stylesheet has style at 14th index + + True, if the stylesheet has style at 14th index(other than empty style), otherwise false + Reserved styles are applicable only for *.doc format + + + + Gets or sets the name of the style at 13th index in the stylesheet + + The string that represents the name of the style. + Reserved styles are applicable only for *.doc format + + + + Gets or sets the name of the style at 14th index in the stylesheet + + The string that represents the name of the style. + Reserved styles are applicable only for *.doc format + + + + Represents the style name of the style present at the fixed index 13 in the stylesheet + + Reserved styles are applicable only for *.doc format + + + + Represents the style name of the style present at the fixed index 14 in the stylesheet + + Reserved styles are applicable only for *.doc format + + + + Initializes a new instance of the class. + + The doc. + + + + Adds the specified to collection. + + The to be added to the styles collection. + The zero-based index of the added . + + The following code example demonstrates how to add style to the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an input Word template + WordDocument document = new WordDocument("Template.docx"); + //Access the styles collection which contains paragraph and character styles in Word document + WParagraphStyle style = new WParagraphStyle(document); + //Specify the style name. + style.Name = "User_Defined_style"; + //Specify the character properties for the style + style.CharacterFormat.Bold = true; + style.CharacterFormat.FontName = "Arial"; + style.CharacterFormat.FontSize = 14; + //Specify the paragraph properties for the style + style.ParagraphFormat.BackColor = Color.LightGray; + style.ParagraphFormat.AfterSpacing = 18f; + style.ParagraphFormat.BeforeSpacing = 18f; + StyleCollection styleCollection = document.Styles as StyleCollection; + //Add the style to the document styles collection. + styleCollection.Add(style); + //Save and close the document + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an input Word template + Dim document As New WordDocument(inputFileName) + 'Access the styles collection which contains paragraph and character styles in Word document + Dim style As New WParagraphStyle(document) + 'Specify the style name. + style.Name = "User_Defined_style" + 'Specify the character properties for the style + style.CharacterFormat.Bold = True + style.CharacterFormat.FontName = "Arial" + style.CharacterFormat.FontSize = 14 + 'Specify the paragraph properties for the style + style.ParagraphFormat.BackColor = Color.LightGray + style.ParagraphFormat.AfterSpacing = 18F + style.ParagraphFormat.BeforeSpacing = 18F + Dim styleCollection As StyleCollection = TryCast(document.Styles, StyleCollection) + 'Add the style to the document styles collection. + styleCollection.Add(style) + 'Save and close the document + document.Save(outputFileName, FormatType.Docx) + document.Close() + End Sub + + + + + + Finds a first style in the collection with specified style name. + + The string value that represents the name of the style to be found. + The object of specified name + The style name is not valid in the + The following example illustrates how to find a style by its name and modify its character and paragraph formats. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an input Word template + WordDocument document = new WordDocument("Template.docx"); + //Access the styles collection which contains paragraph and character styles in Word document + IStyleCollection styleCollection = document.Styles; + //Find the style with the name "Heading 1" + WParagraphStyle heading1ParagraphStyle = styleCollection.FindByName("Heading 1") as WParagraphStyle; + //Change the text color of style "Heading 1" as DarkBlue + heading1ParagraphStyle.CharacterFormat.TextColor = Color.DarkBlue; + //Change the first line indent of Paragraph as 36 points + heading1ParagraphStyle.ParagraphFormat.FirstLineIndent = 36; + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an input Word template + Dim document As New WordDocument(inputFileName) + 'Access the styles collection which contains paragraph and character styles in Word document + Dim styleCollection As IStyleCollection = document.Styles + 'Find the style with the name "Heading 1" + Dim heading1ParagraphStyle As WParagraphStyle = TryCast(styleCollection.FindByName("Heading 1"), WParagraphStyle) + 'Change the text color of style "Heading 1" as DarkBlue + heading1ParagraphStyle.CharacterFormat.TextColor = Color.DarkBlue + 'Change the first line indent of paragraph as 36 points + heading1ParagraphStyle.ParagraphFormat.FirstLineIndent = 36 + document.Save(outputFileName, FormatType.Docx) + document.Close() + End Sub + + + + + + Finds a style in the collection specified by the style name and style type. + + The string value that represents the name of the style to be found. + The of the specified style. + The object with the specified name. + The style name is not valid in the + The following example illustrates how to find a style by its name and its type. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an input Word template + WordDocument document = new WordDocument("Template.docx"); + //Access the styles collection which contains paragraph and character styles in Word document + IStyleCollection styleCollection = document.Styles; + //Find the style with the name "Heading 1" + WParagraphStyle heading1ParagraphStyle = styleCollection.FindByName("Heading 1", StyleType.ParagraphStyle) as WParagraphStyle; + //Change the text color of style "Heading 1" as DarkBlue + heading1ParagraphStyle.CharacterFormat.TextColor = Color.DarkBlue; + //Change the first line indent of Paragraph as 36 points + heading1ParagraphStyle.ParagraphFormat.FirstLineIndent = 36; + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an input Word template + Dim document As New WordDocument(inputFileName) + 'Access the styles collection which contains paragraph and character styles in Word document + Dim styleCollection As IStyleCollection = document.Styles + 'Find the style with the name "Heading 1" + Dim heading1ParagraphStyle As WParagraphStyle = TryCast(styleCollection.FindByName("Heading 1", StyleType.ParagraphStyle), WParagraphStyle) + 'Change the text color of style "Heading 1" as DarkBlue + heading1ParagraphStyle.CharacterFormat.TextColor = Color.DarkBlue + 'Change the first line indent of Paragraph as 36 points + heading1ParagraphStyle.ParagraphFormat.FirstLineIndent = 36 + document.Save(outputFileName, FormatType.Docx) + document.Close() + End Sub + + + + + + Finds a built-in style in the collection specified by the style name and style type. + + The string value that represents the name of the style to be found. + The of the specified style. + The object with the specified name and style type. + + + + Finds a style in the collection specified by the style name and style type. + + The string value that represents the name of the style to be found. + The of the specified style. + The collection to hold the styles starts with the specified style name. + The object with the specified name and style type. + The style name is not valid in the + + + + Finds a style specified by its style Id. + + The integer that represents the Id of the style. + The object of specified Id + The style Id is not valid in the + + + + Clones to other collection. + + The collection. + + + + Remove this style from the Word document. + + + + + + Updates the style name when it is empty. + + Current style + + + + Check whether the same name exist in document or not. + + Current style name + + + + + Finds the style with specified style name. + + The styles. + The name. + + + + + Finds the style with specified style name. + + The styles. + The name. + + + + + Finds the style with specified style id. + + The styles. + The name. + + + + + Finds the style with specified style id and type + + + + + Finds the style with specified style name. + + The styles. + The name. + Type of the style. + + + + + Finds the default style with specified style name. + + The styles. + The name. + Type of the style. + + + + + Finds a style in the collection specified by the style name and style type. + + The . + The string value that represents the name of the style to be found. + The of the specified style. + The collection to hold the styles starts with the specified style name. + The object with the specified name and style type. + The style name is not valid in the + + + + Finds the style with specified style name. + + The styles. + The name. + Type of the style. + + + + + Creates the item. + + + The object. + The object. + + + + Returns the name of xml tag. + + + The string that specifies the tag name. + + + + Gets the at the specified index. + + The zero-based index of the style to get + The at the specified index + The index is not valid index in the + + + + Gets or sets a value indicating whether the stylesheet has style at 13th index + + True, if the stylesheet has style at 13th index(other than empty style), otherwise false + Reserved styles are applicable only for *.doc format + + + + Gets or sets a value indicating whether the stylesheet has style at 14th index + + True, if the stylesheet has style at 14th index(other than empty style), otherwise false + Reserved styles are applicable only for *.doc format + + + + Gets or sets the name of the style at 13th index in the stylesheet + + The string that represents the name of the style. + Reserved styles are applicable only for *.doc format + + + + Gets or sets the name of the style at 14th index in the stylesheet + + The string that represents the name of the style. + Reserved styles are applicable only for *.doc format + + + + Initializes a new instance of the class. + + The doc. + + + + Adds the List Override Style to collection. + + + + + + + Finds Style by name + + + + + + + + + + + + + Gets name of xml tag + + + + + Compares the current list override style with the list override style collection + + The list override style to compare + + + + Gets the equivalent list override style from the list override style collection + + The list override style to compare + + + + Gets List level by index. + + + + + Represents the collection of list styles. + + + + + Initializes a new instance of the class. + + The doc. + + + + Adds the specified list style to the collection. + + The to be added to the collection. + The zero-based index of the added style. + + + + Finds the list style with the specified name from the collection. + + The string that specifies the name of the list style to get from the collection. + The with the specified name. + + + + Creates the item. + + + The reader. + + + + + Gets name of xml tag + + + + + + Remove this style from the Word document. + + + + + + Insert the style to the collection in a particular index. + + Index to insert style + Style to insert + + + + Compares current list style with list style collection + + + + + Gets the equivalent list style from list style collection + + + + + Compares current list style ListID with list style collection ListID + + + True if the listStyle and the liststyles in the document collection has same ListID + + + + Gets the at the specified index. Read-only. + + The zero-based index of the list style to get from the collection. + The at the specified index. + + + + Represents the collection of . + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Initializes a new instance of the class with + the owner instance. + + The owner. + + + + Initializes a new instance of the class with + the instance. + + The owner. + + + + Moves paragraph items from the source collection to the destination collection. + + The destination collection where the items will be moved. + A flag indicating whether the last inline content control should be removed. + + + + Clones the items to new collection. + + The items. + + + + Unsafe method for removes item at index. + + The index. + + + + Unsafe method for adds the item. + + The item. + + + + Occurs when entity is inserted. + + + The zero-based index to insert the entity. + The to insert. + + + + Occurs when entity is removed. + + + The zero-based index to remove the entity. + + + + Occurs when all items are removed. + + + + + + Closes this instance. + + + + + Creates new item. + + + The object. + The instance. + + + + Returns the name of xml tag. + + + The string that represents the xml tag name. + + + + Get Current widget + + + + + + + Gets the minimum and maximum word width of current paragraph + + Represents minimum word width in paragraph + Represents maximum word width in paragraph + + + + Measure the minimum and maximum word width + + + + + + + + + + + + + Checks whether if all characters in a text contains combination of japanese and cjk text + + + True if text contains other than japanese and cjk characters. Else False + + + + Updates the maximum and minimum word width of paragraph based on calculated width + + >Existing minimum word width in paragraph + Existing maximum word width in paragraph + Calculated width + + + + Gets the length of the text till the delimeter + + Represents the matches of position of delimeter + Represents the current searching word in paragraph + Represents whole paragraph text + Represents start index from where to read to get the next word + + + + Gets the at the specified index from the collection. Read-only. + + The zero-based index of the paragraph item to get from the collection. + The at the specified index. + + + + Gets the owner paragraph of this paragraph item. Read-only. + + + The owner paragraph. + + + + Gets the type of the elements present in the collection. + + + The collection that contains the types of the elements. + + + + Represents a collection of entities. + + + + + Initializes a new instance of the class. + + The doc. + The owner. + + + + Initializes a new instance of the class. + + + + + Clones the items to new collection. + + The items. + + + + Contains the text body items. + + + + + + Lasts the index of the paragraph item. + + + + + + Gets the items. + + The items. + + + + Represents the collection of in the Word document. + + + + + Accepts all the tracked changes in a document or range. The revision marks are removed, and the changes are incorporated into the document. + + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //get all the revisions from the revision collection and accepts all. + document.Revisions.AcceptAll(); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Get all the revision from the revision collection and accepts all. + document.Revisions.AcceptAll() + 'Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Rejects all the tracked changes in a range. The revision marks are removed, leaving the original text intact. + + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //get all the revisions from the revision collection and reject all. + document.Revisions.RejectAll(); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Get all the revisions from the revision collection and reject all. + document.Revisions.RejectAll() + 'Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Adds the specified revision into the collection. + + The revision. + + + + Removes the specified revision from the collection. + + The revision. + + + + Clones the revisions to new collection. + + The new revision collection + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Clears the object. + + + + + Gets the at the specified index. + + The integer that represents the position of the revision in the document to get. + The at the specified index. + The index is not valid in the + + + //Loads an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Gets the revision from the revision collections + Revision revision = document.Revisions[0]; + //If the revision is formatting type of revision, then accept it + if (revision.RevisionType == RevisionType.Formatting) + revision.Accept(); + //Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Loads an existing Word document + Dim document As WordDocument = New WordDocument("Template.docx") + 'Gets the revision from the revision collections + Dim rev As Revision = document.Revisions(0) + 'If the revision is formatting type of revision, then accept it + If rev.RevisionType Is RevisionType.Formatting Then rev.Accept() + 'Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Represents the collection of text for each shape object (textbox, rectangle, etc.). + + + + + + + + + + Initializes a new instance of the class. + + + + + Add the specified text box to text collection of shape object with the specified shape Id. + + The integer that specifie the shape Id. + The text box to be added to the collection. + + + + Returns the textbox with the specified shape Id. + + The integer that specifies the shape Id. + + + + + Closes this instance. + + + + + Represents a collection of in the paragraph. + + + The following code illustrates the how to add and remove tabs from the . + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add tab at position 0; + paragraph.ParagraphFormat.Tabs.AddTab(); + //Add tab stop at position 11 + Tab firstTab = paragraph.ParagraphFormat.Tabs.AddTab(11); + //Add tab stop at position 62, with tab justification and tab leader. + paragraph.ParagraphFormat.Tabs.AddTab(62, TabJustification.Left, TabLeader.Single); + paragraph.AppendText("This sample\t illustrates the use of tabs in the paragraph. Tabs\t can be inserted or removed from the paragraph."); + //Remove tab stop from the collection + paragraph.ParagraphFormat.Tabs.RemoveByTabPosition(11); + //Remove tab at index 0; + paragraph.ParagraphFormat.Tabs.RemoveAt(0); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add tab at position 0; + paragraph.ParagraphFormat.Tabs.AddTab() + 'Add tab stop at position 11 + Dim firstTab As Tab = paragraph.ParagraphFormat.Tabs.AddTab(11) + 'Add tab stop at position 62, with tab justification and tab leader. + paragraph.ParagraphFormat.Tabs.AddTab(62, TabJustification.Left, TabLeader.[Single]) + paragraph.AppendText("This sample" & vbTab & " illustrates the use of tabs in the paragraph. Tabs" & vbTab & " can be inserted or removed from the paragraph.") + 'Remove tab stop from the collection + paragraph.ParagraphFormat.Tabs.RemoveByTabPosition(11) + 'Remove tab at index 0; + paragraph.ParagraphFormat.Tabs.RemoveAt(0) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Initializes a new instance of the class. + + + + + + + + + + + + Adds a new tab at the position 0. + + The newly added object. + + + + Adds the tab at the specified position with the tab justification and tab leader. + + The position of the tab. + The type of tab justification. + The type of tab leader. + The newly added object. + + + + Adds the tab at the specified position. + + The position of the tab. + The newly added object. + + + + Removes all the tabs from the tab collection. + + + + + Removes the tab at the specified index from the tab collection. + + The zero-based index of the tab to be removed. + The index is not valid in the . + + + + Removes the tab present at the specified position from the tab collection. + + The position of the tab to be removed. + + + + Adds the tab. + + The tab. + + + + Creates the item. + + + The object. + The object. + + + + Returns the name of xml tag. + + + The string that specifies the tag name. + + + + + + + + + Clones Tab Collection. + + + + + Compare Tabs + + + + + Updates the tabs in source formatting + + + + + Updates the tabs in source formatting + + + + + Gets the given tab position is available in the current Tabs collection + + + + + + + Sorts the tab position of the current Tabs collection + + + + + + + Gets the at the specified index. Read-only. + + The zero-based index of the tab. + The instance. + The index is not valid in the . + + + + Gets or sets a value indicating whether to cancel OnChange event. + + + If it specifies to cancel on change event, set to true. + + + + + Represents the collection of in the Word document. + + + + + + + + + + Removes a at the specified index. + + The zero-based index of the to remove. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //open a template document + WordDocument document = new WordDocument("Textbox.docx"); + //Remove the textbox at index one. + document.TextBoxes.RemoveAt(1); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'open a template document + Dim document As New WordDocument("Textbox.docx") + 'Remove the textbox at index one. + document.TextBoxes.RemoveAt(1) + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Removes all the textboxes from the document. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //open a template document + WordDocument document = new WordDocument("Textbox.docx"); + //Removes the textboxes from the document + document.TextBoxes.Clear(); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'open a template document + Dim document As New WordDocument("Textbox.docx") + 'Removes the textboxes from the document + document.TextBoxes.Clear() + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Adds the specified textbox. + + The textbox. + + + + Removes the specified textbox. + + The textbox. + + + + Gets the at the specified index from the . + + The zero-based index to get the . + The at the specified index. + The index is not valid in the . + + + + Represents a collection of in the . + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section + IWSection section = document.AddSection(); + //Add new paragraph + section.AddParagraph().AppendText("Price Details"); + section.AddParagraph(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Add the first row into table + WTableRow row = table.AddRow(); + //Create a new cell + WTableCell cell = new WTableCell(document); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Item"); + //Add the cell to the cells collection. + row.Cells.Add(cell); + int index = row.Cells.IndexOf(cell); + //Create a new cell + cell = new WTableCell(document); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Price($)"); + //Add the cell to the cells collection. + row.Cells.Insert(index + 1, cell); + //Add the second row into table + row = table.AddRow(true, false); + //Add the first cell into second row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Apple"); + //Add the second cell into second row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("50"); + //Add the third row into table + row = table.AddRow(true, false); + //Add the first cell into third row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Orange"); + //Add the second cell into third row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("30"); + //Add the third cell into third row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Banana"); + //Removes the specified cell. + row.Cells.Remove(cell); + //Save and close the document + document.Save("Table.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section + Dim section As IWSection = document.AddSection() + 'Add new paragraph + section.AddParagraph().AppendText("Price Details") + section.AddParagraph() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Add the first row into table + Dim row As WTableRow = table.AddRow() + 'Create a new cell + Dim cell As New WTableCell(document) + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Item") + 'Add the cell to the cells collection. + row.Cells.Add(cell) + Dim index As Integer = row.Cells.IndexOf(cell) + 'Create a new cell + cell = New WTableCell(document) + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Price($)") + 'Add the cell to the cells collection. + row.Cells.Insert(index + 1, cell) + 'Add the second row into table + row = table.AddRow(True, False) + 'Add the first cell into second row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Apple") + 'Add the second cell into second row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("50") + 'Add the third row into table + row = table.AddRow(True, False) + 'Add the first cell into third row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Orange") + 'Add the second cell into third row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("30") + 'Add the third cell into third row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Banana") + 'Removes the specified cell. + row.Cells.Remove(cell) + 'Save and close the document + document.Save("Table.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Initializes a new instance of the class with the specified + instance. + + The to has this cell collection. + + + + Adds the specified to the . + + The to be added. + The zero-based index of the cell. + The number of cells must be between 1 and 63. + + + + Removes all the items from the collection. + + + + + + Inserts a specified at the specified index in collection. + + The zero-based index to insert the cell. + The to be inserted. + + + + Returns the index of a specified in the collection. + + The to find the index. + The zero-based index of the specified cell. + + + + Removes the specified from the collection. + + The to be removed from the collection. + + + + Removes the at the specified index from the collection. + + The zero-based index of the cell. + + + + Removes the cell bookmark. + + The cell. + + + + Moves the bookmark start from the current cell to next cell. + + + + + + Moves the bookmark end from the current cell to previous cell. + + + + + + Returns the name of the xml tag. + + + The string that specifies the tag name. + + + + Creates a new cell. + + + The instance. + The instance. + + + + Clones all cells to destination collection. + + The destination collection. + + + + Called when cell inserted to cell collection. + + The index. + The cell format. + + + + Called when cell removed from cell collection. + + The index. + + + + Reduce the GridColumnStartIndex for cells present after the removed cell. + + Index of inserted cell + + + + Increase the GridColumnStartIndex for cells present after the new inserted cell. + + + + + + Gets the at the specified index. + + The zero-based index of the to get. + The at the specified index. + The index is not valid in the . + + + + Gets the type of the elements present in the collection. + + + The collection that contains the types of the elements. + + + + Represent a collection of objects. + + + + + Initializes a new instance of the class. + + The doc. + + + + Adds the item. + + The text. + + + + + Removes DropDownItems by index. + + The index. + + + + Clears this instance. + + + + + Adds the item. + + + + + + Clones items to. + + The destination collection. + + + + Creates the item. + + + The reader. + + + + + Gets name of xml tag + + + + + + + Closes this instance. + + + + + Gets the at the specified index. + + + + + + Represents a collection of objects. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the specified text from the document + TextSelection selection = document.Find("paragraph", false, false); + WTextRange range = selection.GetAsOneRange(); + //Get its owner paragraph + WParagraph paragraph = range.OwnerParagraph; + WTextBody textbody = paragraph.OwnerTextBody; + //Get the collection of paragraphs in the section + WParagraphCollection collection = (WParagraphCollection)textbody.Paragraphs; + //Get the index of the paragraph + int index = collection.IndexOf(range.OwnerParagraph); + paragraph = new WParagraph(document); + paragraph.AppendText("hello world"); + //Insert new item + collection.Insert(index + 1, paragraph); + //Removes paragraph at index zero + collection.RemoveAt(0); + //Save and close the paragraph. + document.Save("Result.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument("Template.docx") + 'Find the specified text from the document + Dim selection As TextSelection = document.Find("paragraph", False, False) + Dim range As WTextRange = selection.GetAsOneRange() + 'Get its owner paragraph + Dim paragraph As WParagraph = range.OwnerParagraph + Dim textbody As WTextBody = paragraph.OwnerTextBody + 'Get the collection of paragraphs in the section + Dim collection As WParagraphCollection = DirectCast(textbody.Paragraphs, WParagraphCollection) + 'Get the index of the paragraph + Dim index As Integer = collection.IndexOf(range.OwnerParagraph) + paragraph = New WParagraph(document) + paragraph.AppendText("hello world") + 'Insert new item + collection.Insert(index - 1, paragraph) + 'Removes paragraph at index zero + collection.RemoveAt(0) + 'Save and close the paragraph. + document.Save("Result.docx") + document.Close() + End Sub + + + + + + Represents a collection of . + + + + + Adds a paragraph to the end of collection. + + The paragraph. + + + + + Inserts a paragraph into collection at the specified index. + + The index. + The paragraph. + + + + Returns the zero-based index of the specified paragraph. + + The paragraph. + + + + + Removes the paragraph at the specified index from the collection. + + The index. + + + + Gets the at the specified index. + + + + + + Initializes a new instance of the class with the specified + collection of text body items. + + The collection of text body items. + + + + Adds a paragraph to the collection. + + The paragraph to be added. + The zero-based index of the added paragraph. + + + + Determines whether the contains a specified paragraph. + + The paragraph to be found. + True if paragraph is found; otherwise, false. + + + + Inserts the specified paragraph into collection at the specified index. + + The integer that specifies the index. + The paragraph to be inserted. + + + + Returns the zero-based index of the specified paragraph. + + The paragraph to which the index to be found. + The zero-based index of the paragraph. + + + + Removes the specified paragraph from the collection. + + The paragraph to be removed from the collection. + + + + Removes the paragraph at the specified index from the collection. + + The index of the paragraph to be removed. + + + + Gets the at the specified index. + + The zero-based index of the paragraph to get from the collection. + The instance. + The index is not valid in the . + + + + Gets the owner of the collection. + + The owner text body. + + + + Represents a collection of objects. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Price Details"); + section.AddParagraph(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Get the rows collection from table + WRowCollection rowCollection = table.Rows; + //Add the first row into table + WTableRow row = new WTableRow(document); + //Add the first cell into first row + WTableCell cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Item"); + //Add the second cell into first row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Price($)"); + //Add row to the collection + rowCollection.Add(row); + //Add the second row into table + row = new WTableRow(document); + //Add the first cell into second row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Apple"); + //Add the second cell into second row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("50"); + //Insert row at index 1 + rowCollection.Insert(1, row); + //Add the third row into table + row = new WTableRow(document); + //Add the first cell into third row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Orange"); + //Add the second cell into third row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("30"); + //Insert row + rowCollection.Insert(2, row); + //Remove row at index 0. + rowCollection.RemoveAt(0); + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Price Details") + section.AddParagraph() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Get the rows collection from table + Dim rowCollection As WRowCollection = table.Rows + 'Add the first row into table + Dim row As New WTableRow(document) + 'Add the first cell into first row + Dim cell As WTableCell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Item") + 'Add the second cell into first row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Price($)") + 'Add row to the collection + rowCollection.Add(row) + 'Add the second row into table + row = New WTableRow(document) + 'Add the first cell into second row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Apple") + 'Add the second cell into second row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("50") + 'Insert row at index 1 + rowCollection.Insert(1, row) + 'Add the third row into table + row = New WTableRow(document) + 'Add the first cell into third row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Orange") + 'Add the second cell into third row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("30") + 'Insert row + rowCollection.Insert(2, row) + 'Remove row at index 0. + rowCollection.RemoveAt(0) + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Adds the specified table row to the collection. + + The row. + + + + + Inserts the specified table row at the specified index in the collection. + + The index. + The row. + + + + Returns the index of the specified row in the collection. + + The row. + + + + + Removes the specified row from the collection. + + The row. + + + + Gets the name of xml tag. + + + The string that specifies the tag name. + + + + Creates new item. + + + The instance. + The instance. + + + + Gets the table row at the specified index. + + The zero-based index of the row to get from the collection. + The at the specified index. + The index is not valid in the . + + + + Gets the type of the elements present in the collection. + + + The collection that contains the types of the elements. + + + + Represents a collection of . + + + + + Represents a collection of . + + + + + Adds a new to end of document. + + The to be added to the collection. + The zero-based index of the + + + + Returns the zero-based index of the specified section. + + The object. + The zero-based index of the first occurrence of item + + + + Gets the at the specified index. + + The zero-based index of the section to get + The at the specified index + The index is not valid index in the + + + + Initializes a new instance of the class. + + The instance. + + + + Initializes a new instance of the class. + + + + + Adds a new to end of document. + + The to be added to the collection. + The zero-based index of the + + + + Returns the zero-based index of the specified section. + + The object. + The zero-based index of the first occurrence of item + + + + Gets the text. + + + + + + Creates the item. + + + The object. + The object which can be casted as . + + + + Gets name of xml tag + + + The string that represents the section tag name. + + + + Gets the at the specified index. + + The zero-based index of the section to get + The at the specified index + The index is not valid index in the + + + + Gets the type of the elements present in the collection. + + + The collection that contains the types of the elements. + + + + Represents a collection of objects. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the tables collection + WTableCollection tablecollection = document.Sections[0].Tables as WTableCollection; + //Create new table + WTable table = new WTable(document); + table.ResetCells(2,2); + //Add table to the collection + tablecollection.Add(table); + //Get the index of the added table + int index = tablecollection.IndexOf(table); + //Insert another table at next index + table = new WTable(document); + table.ResetCells(3, 3); + tablecollection.Insert(index + 1, table); + //Remove the table at index 0 + tablecollection.RemoveAt(0); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the tables collection + Dim tablecollection As WTableCollection = TryCast(document.Sections(0).Tables, WTableCollection) + 'Create new table + Dim table As New WTable(document) + table.ResetCells(2, 2) + 'Add table to the collection + tablecollection.Add(table) + 'Get the index of the added table + Dim index As Integer = tablecollection.IndexOf(table) + 'Insert another table at next index + table = New WTable(document) + table.ResetCells(3, 3) + tablecollection.Insert(index + 1, table) + 'Remove the table at index 0 + tablecollection.RemoveAt(0) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Represents a collection of . + + + + + Adds a table to end of text body. + + The object to be added. + The zero-based index of the table. + + + + Returns the index of a table in the collection. + + The to which the index to be find. + The zero-based index of the table. + + + + Determines whether the contains a specific table. + + The object to be found. + True if table is found, otherwise false. + + + + Gets the at the specified index. + + + + + + Initializes a new instance of the class with the specified + instance. + + The collection of body items. + + + + Adds the specified table to the end of text body. + + The to be added. + The zero-based index of the table. + + + + Determines whether the contains the specified table. + + The object to be found. + True if table is found, otherwise false. + + + + Returns the index of the specified table in the collection. + + The to which the index to be found. + The zero-based index of the table. + + + + Inserts the specified table into collection at the specified index. + + The zero-based index for the table to insert. + The to be inserted. + The zero-based index of the item inserted. + The index is not valid within the . + + + + Removes the specified table from the collection. + + The to be removed from the collection. + + + + Removes the table at the specified index from the collection. + + The zero-based index of the table to be removed. + The index is not valid within the + + + + Gets the at the specified index. + + The zero-based index to get the table. + The at the specified index. + The index is not valid in the . + + + + Gets the owner of the collection. + + + + + Initializes a new instance of the class. + + + + + + Adds the columns in the collection + + + + + + Adds the columns in the collection + + + + + + + True if the GridAfter value is greater than 0; else false + + + + Updates the preferred width for each columns in a table grid. + + + + + + Gets the previous column width. + + + + + + + + Returns the index of the specified column. + + + + + + + Returns the index of the specified offset value. + + + + + + + Determines whether an coulmn is in the collection. + + + + + + + Inserts a coulmn into the collection at the specified index. + + + + + + + Removes the coulmn from the collection. + + + + + + Resets the table columns. + + + + + Creates a duplicate copy of the table column. + + + + + + Auto Fits the columns. + + + + + + + + Gets the total width. + + The width type to sum. + + + + + Returns a value that indicates whether the specified value is not a number () or it evaluates to negative or positive infinity. + + A float-precision floating-point number. + true if evaluates to or d evaluates to or . + + + + Update grid column widths based for fixed layout. + + + + + + + + Checks whether to resize the column based on the cell maximum preferred width and maximum word width. + + The table. + The table columns. + The table owner width. + The column width list. + True if the column resize based on maximum word width else False. + + + + Checks whether table exceeds table width and resizes columns based on preferred width and maximum word width. + + The Nested table. + Nested Tablegrid columns. + The maximum cell count + The Owner Width. + The total Column width. + The list containing calculated column width. + True when column width is calculated on basis of preferred width and maximum word width. Else False. + + + + Calculate the width for each columns based on the cell maximum preferred width and maximum word width. + + Total column width. + The table columns. + The maximum cell preferred width list. + + + + + Recalculate percentage table column widths. + + Current table + Current table columns + Sum of maximum word width of table + Current table width + + + + Checks whether grid corrupted point width type table exceeds the table width. + + + + + + + + + + + + + Checks whether Preferred width is lesser than Maximum Word Width and calculates cell width based on cell maximum word width + + Current Table + Table columns(grid) + Table Width + List containing calculated column width + + + + + Gets columns based on preferred width and maximum word width + + Tablegrid columns + Sum of maximum word width greater than preferred width + Sum of preferred width used cells + List containing index of preferred width based columns + List containing calculated column width + + + + Checks whether any cell has disabled TextWrap and calculates cell width based on cell maximum para width + + Current table + Table columns(grid) + Table width + List containing calculated column width + + + + + Resize the point width table to its table width based in maximum word width and maximum cell preferred width of columns. + + The table columns + Maximum cell preferred width of columns + Sum of maximum word width + Table width + Sum of maximum cell preferred width of columns + + + + Checks the whether the table width is point and is need to resize columns based on maximum word width and cell preferred width + + Current table + Current table columns + Client width of table + Maximum cell count of a table + True, if the table width is point and is need to resize columns based on maximum word width and cell preferred width, else false + + + + Resize the table columns based on table cell preferred width and maximum word width which exceed client width + + + + + + + + + Checks whether the table with percentage width type uses the maximum word width as column width. + + Current table + Table columns(grid) + Table client width + + + + + Check whether the point width table need to be resized according to the cell preferred width + + Current table + Maximum cell count in the table + Table columns + List containing calculated column width + Total cell preferred width + Table width + True, if the point width table is need to resized according to the calculated column width + + + + Check whether the calculated column width is enough to fit the table width. + + + + + + + + + + + + Checks whether the table needs to resize as per maximum word width + of the table even though if table exceeds the table width + + Current table + Table columns + Table client width + True, if the table needs to resize as per maximum word width + of the table even though if table exceeds the table width else false + + + + Check whether the auto table need to resize as per percentage cell preferred width + + Current Table + Row index containing the preferred cell width as percentage + Table columns + Table owner width + True, if the table needs to resize as per percentage cell preferred width; else, false + + + + Check whether the table has any row containing all cell preferred width type as percentage + + Current table + Table columns + Table owner width + List of rows containing all cell preferred width type as percentage + + + + Resize the column based on the percentage cell preferred width + + Table columns + Row index containing percentage preferred width for all cells + Current table + Table owner width + + + + Check whether the table need to be resized according to the cell preferred width + + Current table + Table columns + Table owner width + Total cell preferred width + List containing calculated column width + Maximum cell count in the table + True, if table is need to resized according to the calculated column width + + + + Check whether the max word width is greater than the cell preferred width in the list + + Table columns + List containing max cell preferred width of each column + Total cell preferred width + Table owner width + True, if the max word width less than calculated column width; else, false + + + + Resize the table according to the calculated column width + + Table columns + List containing calculated column width + + + + Check whether the auto width type table need to resize based on maximum para width + + Current table + Table columns + Table owner width + Total table column width + True, if the auto width table columns need to resize based on maximum para width else false + + + + Set the column preferred width with maximum para width + + Table columns + + + + + Checks whether the column maximum para width exceeds preferred width + + Table owner width + Table columns + True if the column preferred width is lesser than MaximumParaWidth else false + + + + Checks whether the column maximum para width is zero + + + + + Change the column preferred width based on maximum para width + + table columns + Total max para width + Table owner width + + + + + Changes the column preferred width with maximum word width + + table columns + + + + Checks whether the nested table need to recalculate or not + + The nested table + Then nested table columns + The nested table client width + The total column width of the nested table. + The nested table width. + + + + Checks whether the nested table is shrink to fit the client's width. + + The nested table to be checked. + The owner table of the nested table. + The total column width of the nested table. + The width of the owner cell. + True if the nested table is shrink to fit the client's width; otherwise, false. + + + + Checks whether the nested table uses the maximum word width as column width. + + Current table + Current table columns + Current table client width + Owner table of current table + True, if nested percentage table uses maximum word width else false. + + + + Checks whether the columns has enough width to store maximum word width + + Current table columns + True, if column not has enough width to store maximum word width else false. + + + + Check the whether table width is auto and it uses the cell preferred width. + + + + + + + + + + + + Checks whether calculatedWidth list value enough to store maximum word width. + + + + + + + + Get a list containing maximum preferred width or cell format cell width + + Current table + Maximum cell count + Total maximum cell preferred width + List of maximum preferred width for each column + + + + Check whether the auto table uses its nested table width + + Current table + Table columns + Maximum cell count + True, if the auto table uses its nested table width; else, false + + + + Check whether the table should use the cell preferred width + + Outermost table + Table columns + Maximum cell count + True, if the table should use the cell preferred width; else, false + + + + Check whether the nested table should use owner width + + Current table + Table columns + Maximum cell count + True, if the nested table should use owner width; else, false + + + + Check whether the owner table contains left or right paddings + + Owner cell + True, if the owner table has left or right paddings greater than 0; else false + + + + Check whether the rows in the list have same preferred width for all cells + + List containing row index + Current table + True, if all the rows in the list contains same preferred width values for all cells; else, false + + + + + Expand the columns based on maximum para width + + Table columns + + + + + + + Checks whether all column preferred width is equal. + + The table columns + True if all column preferred width equal else false + + + + + Checks whether the table created through HTML document need to resize the column size + + Table + Table columns + Table owner width + Sum of columns maximum word width + Remaining space to expand + + + + + Checks whether setting spacings, paddings and border line width inside column, doesn't exceed the preferred table width + + + + + Expand the columns based on factor of maximum Word width + + + + + Gets the cell width. + + + + + + + + Updates the end offset of the each column based on the calculated width. + + + + + Validate and update the preferredwidth of the cells for column spanned cells. + + + + + Checks whether to resize the column based on the cell maximum para width + + + + + Updated the column prefered width based on maximum para width and remaining table width + + + + + Gets the Document instance + + + + + Gets the WTableColumn based on its index value + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Clones the current column. + + + + + + Releases all managed and unmanaged resources. + + + + + Gets or Sets the preferred width of the column. + + + + + Gets or Sets the end offset of the column. + + + + + Gets or Sets the minimum word width of the column. + + + + + Gets or Sets the minimum word width of the column. + + + + + Gets or Sets the minimum width of the column. + + + + + A flag which denotes whether column have maximum word width from any cell. + + + + + Gets or Sets the Maximum Paragraph width of the column. + + + + + Gets or Sets the TextWrapDisAbledCell Maximum Paragraph width of the column. + + + + + Gets or sets the column has minimum width or not + + + + + Gets or sets the column has minimum or maximum word width or not + + + + + Gets or sets the column has maximum word width or not + + + + + Gets or Sets the minimum word width of the column. + + + + + Gets or Sets the minimum word width of the column. + + + + + Gets or Sets the minimum width of the column. + + + + + Gets or Sets the Maximum Paragraph width of the column. + + + + + Gets or Sets the Maximum Paragraph width of the textWrap disabled cell. + + + + + Represents a collection of objects. + + + + + Represents a collection of . + + + + + Adds a textbox to the collection. + + The text box. + + + + + Gets the at the specified index. + + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Adds the specified textbox to the collection. + + The text box to be added. + The zero-based index of the text box. + + + + Creates a new item. + + + The object. + The object. + + + + Gets the name of xml tag. + + + The string that specifies the tag name. + + + + Gets the at the specified index. Read-only. + + The zero-based index of the text box to get from the collection. + The text box at the specified index. + The index is not valid in the . + + + + Gets the type of the elements present in the collection. + + + The collection that contains the types of the elements. + + + + + + + + + + + + + + + + + + + + + + + + Collection of main textboxes + + + + + Collection of header/footer textboxes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Field stack. + + + + + Stores bookmark offsets for each comment + + + + + + + + + + + + + + + By means of WordWriter writes WordDocument to doc + + The writer. + The document. + + + + Must be called before doc building + + + + + + + + + + + + + + + + + + + + Writes the Footnote/Endnote separator stories. + + + + + Writes the separator story body items + + The section. + + + + Inserts the watermark. + + The paragraphs. + Type of the header. + + + + Returns First Paragraph in the given text body + + + + + + + Gets the first TBL paragraph. + + The table. + + + + + Write textbox body to document + + Collection of document's textboxes + Textbox type ( main or header/footer) + + + + + + + + + + + Writes the footnotes body. + + + + + Writes the annotations body. + + + + + Writes the endnotes body. + + + + + Write textbody for header/footer and main textboxes + + + + + Writes header/footer to wordwriter + + + + + + + + Writes the sub document text. + + The writer. + The body. + + + + + + + + + + + Writes the SDT block. + + The SDT block. + if set to true [is table body]. + + + + + Checks the next item in table. + + if it is table body, set to true. + The paragraphs. + Index of the item. + + + + + + + + + + + Serialize special characters for bidirectional override. + + + + + + + Writes the list pictures. + + The paragraph. + The item. + + + + Writes the paragraph item. + + The paragraph item. + The paragraph. + + + + + + + + + Write Absolute tab + + + + + Write empty paragraphs (needed for watermark). + + + + + Writes the text. + + The text. + + + + Writes the text chunks. + + The text. + if it is a safe text, set to true. + + + + Begin the field writting. + + + + + + + + + + + Writes the form field. + + The field. + + + + Builds WordWriter doc from WordDocument + + + + + Update the table borders for HTML input document table. + + The current table + + + + Update the table borders for HTML input document table. + + The table border + + + + Sets the table cell mark + + + + + + + Writes the table props. + + The writer. + The row. + The table. + + + + Builds WordWriter doc from WordDocument + + + + + + + + + + + + + + Writes the embed body. + + The text. + The shape id. + + + + + + + + + + + + Checks whether the picture is in shape field. + + The picture. + + + + + Convert the Picture into InLineShape + + + + + + + + + + + + + + + + + + + Builds WordWriter doc from WordDocument + + + + + Builds WordWriter doc from WordDocument + + + + + Builds WordWriter doc from WordDocument + + + + + Writes the break. + + The doc break. + The paragraph. + + + + + + + + + + Write textbox item to document; + + + + + + Prepares the text box collection. + + The text box item. + + + + Checks the shape for cloning. Clones shape container if escher doesn't + have container for current shape item. + + The shape item. + + + + Writes the field mark and field text. + + The field mark. + + + + Writes the field separator. + + + + + Writes the field end. + + + + + Writes the comment. + + The comment. + + + + Writes the footnote. + + The footnote. + + + + + + + + + + + + + + + + Writes the Field Without Field separator for TC Entry,TOA entry,Private,Index Entry and RefDoc + + The field code. + + + + Writes the comment mark. + + The comment mark. + + + + Writes the OLE object. + + The OLE object. + + + + Adds the list pictures. + + + + + Addings the pictures to ListPictures. + + The list format. + + + + + + + + + + Writes style of paragraph to WordWriter + + + + + + + + + + + + + Updates the default format. + + + + + Writes the document properties. + + + + + Writes the document default fonts. + + + + + Write background effect to document. + + + + + Writes the picture background. + + The back container. + The old back container. + The background. + The escher. + + + + Noes the background. + + + + + + Writes the commented items. + + The comment. + + + + Counts the comment offset. + + The comment. + + + + + + + + + Gets character style index by character style name. + + Name of the char style. + + + + + Writes the page break after. + + The current paragraph. + The break type. + + + + Determines whether the page break need to be skipped based on given entity owner. + + Entity + true, if present inside TextBox/FootNote/EndNote/Header/Footer + + + + Writes the list properties. + + The list format. + The writer. + + + + Processes the empty list. + + The list format. + The writer. + + + + Processes the list. + + The list format. + The writer. + + + + Removes the list Single Property Modifier Record Array. + + + + + Writes the empty list. + + + + + + + + + + + + + + + + + + + + + Set sprmPIlfo value in collection of word styles + + Index of the list format. + The list level number. + The writer. + + + + Get list format from ListStyleCollection by lisStyleName. + + ListStyleName + StyleSheet + List format + + + + Updates the list in style. + + The writer. + The style. + + + + Resets the lists. + + + + + + + + + + + + + + + Gets the list picture. + + The list picture. + + + + Gets the last paragraph of the document + + The last paragraph. + + + + Gets the comment collection. + + The comment collection. + + + + Gets the footnote collection. + + The footnote collection. + + + + Gets the endnote collection. + + The endnote collection. + + + + Gets the header/footer text box collection. + + The HF text box collection. + + + + Gets the text box collection. + + The text box collection. + + + + Gets the comment offsets. + + The comment offsets. + + + + Represents a utility class for comparing two Word documents. + + + + + Initializes a new instance of the class. + + The doc. + + + + Convert the image bytes as hash string + + + + + + + Convert image bytes as Hash + + + + + Compare images between two documents and maintain matched and umatched information + + + + + Converts stream to bytes + + + + + + + Compare streams and return true if they are same. + + + + + + + + Compare two bytes and return true if they are same. + + + + + Gets the string of the Word document + + word document + + + + + Add all items in the Word document to respective collections + + Word document + + + + Add all items in the text body to respective collections + + text body + + As per MS Word behavior, items in paragraph not compare with items inside table. + So, when maintain collection of items (like chart, field etc.,), it doesn't traverse into nested body (table, textbox, shape, comment and other) + + + + + Iterates the paragraph and adds the Inline content control in the InlineContentControl collection + + + + + + Travese till the field end + + + + + + + After comparing the document, remove the items from the collection. + + + + + + Insert the unmatched items from the revised document to the original document + + + + + + + + + + + + + + Check whether there is no renderable items before bookmark end in the paragraph + + + + + + True if there is no renderable items before the bookmark end, else false + + + + Check whether the items before the index are renderable item + + + + + + + + Add BlockContentControl to the document part start and end + + + + + + + + Insert a section to the original document. + + + + + + + + + + Apply insertion revision for the body item between the start index to the end index + + + + + + + + Apply delete revision for unmatched items before the matched index + + + + + + + + Checks whether all the paragraph items in a paragraph before the specified position are deleted or not. + + The original document paragraph. + The index of the current paragraph item in the original document paragraph. + Returns true if any paragraph item before the specified position is not deleted; otherwise, returns false. + + + + Apply delete revision for the first section + + + + + + + + + + + + + + Apply delete revision for the body item between the start index to the end index + + + + + + + + Move the current position to the next body item + + + + + + + + + + Delete the unmatched items in the original document. + The items before the matched table. + + Original document instance + Matched table + + + + Dispose the collection + + + + + Gets the images. + + The images. + + + + Gets the images. + + The images. + + + + Maintain collection of Block content controls in body. + When iterating section, it maintain items of section.body alone and not nested body + + + + + Maintain collection of Inline content controls in body. + When iterating section, it maintain items of section.body alone and not nested body + + + + + Maintain collection of Shapes in body. + When iterating section, it maintain items of section.body alone and not nested body + + + + + Maintain collection of group shapes in body. + When iterating section, it maintain items of section.body alone and not nested body + + + + + Maintain collection of pictures in body. + When iterating section, it maintain items of section.body alone and not nested body + + + + + Maintain collection of text box in body. + When iterating section, it maintain items of section.body alone and not nested body + + + + + Maintain collection of chart in body. + When iterating section, it maintain items of section.body alone and not nested body + + + + + Maintain collection of fields in body. + When iterating section, it maintain items of section.body alone and not nested body + + + + + Maintain collection of mathML in body. + When iterating section, it maintain items of section.body alone and not nested body + + + + + Maintain collection of OLE object in body. + When iterating section, it maintain items of section.body alone and not nested body + + + + + Maintain collection of table of contents in body. + When iterating section, it maintain items of section.body alone and not nested body + + + + + Flag to indicate whether the image bytes of both documents are compared or not. + + + + + Maintain collection of chart in body. + When iterating section, it maintain items of section.body alone and not nested body + + + + + Maintain collection of revised document list styles. + + + + + Constants used for comparison. + + + + + Ascii character assigned for table + + + + + Ascii character assigned for row + + + + + Ascii character assigned for cell + + + + + Ascii character assigned for block content control + + + + + Ascii character assigned for inline content control + + + + + Ascii character assigned for picture + + + + + Ascii character assigned for shape + + + + + Ascii character assigned for picture + + + + + Ascii character assigned for Chart + + + + + Ascii character assigned for Symbol + + + + + Ascii character assigned for Break + + + + + Ascii character assigned for mathml + + + + + + + Represents the implementation for converting Word document to Word XML file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Converts DLS XML to Word ML file. + + The to be converted to DLS XML file. + The string that specifies the path to Word ML. + + + + + + + + + + Corrects the defect in dls-xml. + + + + + Clones the sections. + + + + + Clones the section. + + The node. + The count. + The index. + + + + + Clones the paragraph. + + The node. + + + + + + + + + + + Clones the items. + + The node. + + + + + Clones the built-in properties. + + + + + Modifies the picture. + + The node. + + + + Reads the binary element. + + The node. + + + + + Reads the image. + + The node. + + + + + + + + + + + + + + + + + + + + + Gets or sets the name of the bookmark. + + A String that represents the name of the bookmark. + + + + Gets or sets the bookmark ID. + + A String that represents the ID of the bookmark. + + + + + + + + + + + + + + Adds new bookmark to the end of the . + + The to be added to the end of the . + + The index at which the has + been added. + + + + + Adds the new bookmark. + + A String that represents the name of the bookmark. + The integer that specifies the zero-based index of the newly added bookmark. + + + + Gets the ID of the specified bookmark by name. Read-only. + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The width. + + + + Gets or sets the width. + + The width. + + + + + + + + + Adds the specified grid. + + The grid. + + + + + Adds the specified width. + + The width. + + + + + Gets the min. + + The end. + + + + + Gets the collection count. + + The start. + The end. + + + + + + + + + + Adds the specified gridlist. + + The gridlist. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Parces the specified table. + + The table. + + + + Saves this instance. + + + + + Parces the table grid. + + + + + Adds the row. + + The row. + + + + + + + + + Instance members + + + + + + + + + + Defines if current collection contains style. + + The name. + + if it is a list name, set to true. + + + + + Closes this instance. + + + + + Gets AdapterListHelper object. + + + + + Get the collection of list styles and their id's. + + + + + Get the collection of list format override indexes and appropriate list format override styles. + + + + + Default key value for placeable header + + + + + Initialize the specified doc. + + The doc. + + + + Reads the text body. + + The reader. + The text body. + + + + Ends the of text body. + + The reader. + Type of the chunk. + + + + + Reads the chunk before. + + The reader. + + + + Reads the chunk. + + The reader. + The headerFooter. + + + + Read the custom footnote marker + + Current word reader + Splitted text length + Startting position of splitted text + + + + + + + + + + + + + + + + + + + + + + Reads the table before. + + The reader. + The prepare table info. + + + + Ensures the lower table. + + The level. + Type of the chunk. + + + + Ensures the upper table. + + The level. + Type of the chunk. + + + + Updates the GridAfter value for the each row in a table + + + + + + + Appends the table row. + + + + + Appends the table cell. + + + + + + Finalize current part of read process + + The reader. + + + + + + + + + + + + + + + + + + + + + Appends bookmark. + + Name of the bookmark. + if it is a bookmark start, set to true. + if it is a cell group BKMK, set to true. + + + + Reads the text. + + The reader. + + + + Add the required text to in its owner paragraph + + Current word reader + Text need to be added + If the text need to be added from foot note splitted text, set to true otherwisefalse + + + + Adds the text range. + + The reader. + The text. + + + + Reads the paragraph end. + + The reader. + + + + Reads the symbol. + + The reader. + + + + Reads the current page number. + + The reader. + + + + + + + + + + Reads the table cell. + + The reader. + + + + Reads the table row. + + The reader. + + + + Updates the paddings value as Zero when the Paddings releated sprm not in the PAPX sprm list + + + + + + Determines whether to split adjacent table rows. + + The previous row SPRMS. + The current row SPRMS. + + true if split adjacent table rows; otherwise, false. + + + + + Compares the array. + + The buffer1. + The buffer2. + + + + + Reads the annotation. + + The reader. + + + + Reads the footnote. + + The reader. + + + + Reads the break. + + The reader. + Type of the break. + + + + Reads the document end. + + The reader. + + + + Reads the shape. + + The reader. + The headerFooter. + + + + + + + + + + Determines whether currently reading shape field result item. + + Field separator. + + + + + Read textbox. + + The reader. + The File Shape Address. + + + + Reads picture shape. + + + + + + + Read the image cropping positions + + + + + + + Get the picture crop values + + + + + + + Checks the text embed. + + The shape. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Implemented alternative method to improve the performance + + + + + + + + Reads inline images. + + + + + + Adds the Metafile header wherthe image is Wmf image + + + + + + Calculates the checksum value + + + + + + + + + + + + + + Adds the item. + + The item. + The para. + + + + + + + + + + Reads field separator. + + + + + + Reads field end. + + + + + + Updates the valid field type. + + + + + + + Inserts the start field. + + The reader. + + + + Read + + + + + + Reads list format. + + + + + + + + + + + + Reads the character format. + + The reader. + The character format. + + + + Reads the paragraph format. + + The reader. + The paragraph. + + + + Updates the paragraph style. + + The paragraph. + The reader. + + + + Reads the table row format. + + The reader. + The table. + + + + Check and update the revision details of the paragraph item. + + The paragraph item. + + + + Check and update the revision details at the end of each paragraph. + + The paragraph. + + + + Processes the commented text. + + The reader. + The paragraph. + + + + Closes this instance. + + + + + Gets the current paragraph. + + The current paragraph. + + + + Gets current field. + + + + + + + + + + + + + + + Updates the specified reader. + + The reader. + The prev level. + + + + + + + + + Sets the null. + + + + + Appends the one row to table. + + + + + + + + + + Reads the specified reader. + + The reader. + The word doc. + + + + Reads the style sheet. + + The reader. + + + + Get Style name based on Built-in style id + + + + + + + + + + + + + Reads the background. + + + + + + + + + + + + Reads the section format. + + The reader. + The sec. + + + + + + + + + + Reads Built in Document Properties + + reader + + + + Reads DOPDescriptor data. + + The reader. + + + + Defines if specified subdocument exists in the documnt. + + The reader. + Type of the ws. + + + + + Closes this instance. + + + + + Ends the of text body. + + The reader. + Type of the chunk. + + + + + Reads the annotation. + + + + + + Reads the footnote. + + The reader. + + + + Implemented alternative method to improve the performance + + + + + + + + Determines whether the footnote / endnote marker refers multiple footnotes / end notes + + + + + + + + + + + + + + + Reads shape objects + + The reader. + The File Shape Address. + + + + Checks the text embed. + + The shape. + + + + + Reads text body for autoshape. + + + + + + + Processes the commented text. + + The reader. + The paragraph. + + + + Splits the comm text. + + The paragraph. + The start text pos. + The split pos. + + + + Updates the comment marks. + + The comment. + + + + Parses the list picture. + + + + + Checks the watermark. + + The section. + + + + + + + + + Reads subdocument. + + + + + + + + + + + + + + + + + + Current type of header/footer. + + + + + + + + + + Header/footer textbox adapter + + + + + + + + + + + Sets the separator body. + + The text body. + The index. + WTextBody. + + + + Closes this instance. + + + + + + + + + + + + + Read textbox. + + The reader. + The file shape address structure + + + + Read + + + + + + + Reads text body for autoshape. + + + + + + + Checks the text embed. + + The shape. + + + + + + + + + + + + Removes the last paragraphs in headers / footers. + + The section. + + + + Removes Last paragraph in separator stories + + + + + + Gets the text box adapter. + + The text box adapter. + + + + + + + + + Reads the specified reader. + + The reader. + + + + Gets the next comment. + + + + + + Adds the comment. + + The reader. + + + + Defines end of text body for annotations. + + + + + + + + Closes this instance. + + + + + Reads the comment format. + + The reader. + The comment format. + + + + Gets the current comment. + + The current comment. + + + + Gets the comments. + + The comments. + + + + + + + + + Array of footnotes + + + + + Current footnote + + + + + Index of current footnote/endnote in collection of footnotes. + + + + + Number of footnotes/endnotes in document + + + + + + + + + + + + + + + + + Initialize FootnoteAdapter + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + Initialize EndnoteAdapter. + + + + + + + + + + + + + + + + + + Currently used textbox. + + + + + Number of textboxes in document. + + + + + Type of textbox + + + + + Index of textbox in sequence of textboxes. + + + + + Collection of textboxes + + + + + Reads textboxes + + + + + + Closes this instance. + + + + + Defines end of textbox + + + + + + + + + + + + + + + Add textbox to internal textbox collection. + + + + + Reads the text box shape. + + The File Shape Address. + The skip position origins. + + + + + Gets textbox for autoshape by spid. + + + + + + + + + + + + + + + + + + + + + + + + + + + String constants + + + + + Zip archive used to compress the EPub file + + + + + Word document to be converted + + + + + Holds the files to add their names in package file and stream in archive + + + + + Holds the navigation point and reference for EPub TOC + + + + + Name of the XHTML file + + + + + Holds the unique identifier (GUID) + + + + + Refers to the title of the document + + + + + Refers to the author of the document + + + + + Holds the last navigation level + + + + + Refers to the playOrder in the NCX file. + + + + + Refers to the cover image + + + + + Constructor + + + + + Converts Word to EPub and saves it in disk + + Name of the file to save + Input word document + + + + Converts Word to EPub and saves it as stream + + File stream to save + Input word document + + + + Converts word document. + + Input word document + + + + Saves the EPub in disk + + File name to save + + + + Saves the EPub as stream + + File stream to save + + + + Writes Container.xml + + + + + Writes EPub document organization as navigation file + + + + + Generates TOC (Table of Contents) HTML file for navigation in Kindle + + + + + Writes bookmark to .NCX (navigation file) to enable TOC in EPub + + Heading level and id + Navigation text + XmlWriter + + + + Writes EPub document information as package file + + + + Name of the embedded file + + + + Generates XHTML and adds it to archive + + + + + Generates Cover page html if any cover page image is provided. + + + + + Saves the used fonts in the document + + + + + Gets the title of the document + + + + + Writes MIME type of EPub + + + + + Returns the MIMETYPE for embedded files + + File extenstion + MIMETYPE of the file + + + + Gets or sets the cover image + + + + + Gets or sets the file name + + + + + WinAPi functions. + + + + + To prevent construction of a class, we make a private constructor. + + + + + The GetDC function retrieves a handle to a display device context (DC) + for the client area of a specified window or for the entire screen. + + Handle to the window whose DC is to be retrieved + If the function succeeds, the return value is a handle to the DC + for the specified window's client area. + + + + Selects an object into the specified device context (DC). + The new object replaces the previous object of the same type. + + Handle to the DC. + Handle to the object to be selected. + If the selected object is not a region and the function succeeds, + the return value is a handle to the object being replaced. + + + + Deletes a logical pen, brush, font, bitmap, region, or palette, + freeing all system resources associated with the object. + After the object is deleted, the specified handle is no longer valid. + + Handle to a logical pen, brush, font, + bitmap, region, or palette. + If the function succeeds, the return value is nonzero. + + + + Retrieves font metric data for a TrueType font. + + Handle to the device context. + Specifies the name of a font metric table + from which the font data is to be retrieved + Specifies the offset from the beginning of the font metric table + to the location where the function should begin retrieving information. + Pointer to a buffer that receives the font information. + Specifies the length in bytes of the information to be retrieved + If the function succeeds, the return value is the number of bytes returned. + + + + The CreateDC function creates a device context (DC) for a device using the specified name. + + Driver name. + Device name. + Not used; should be NULL. + Optional printer data. + If the function succeeds, the return value is the handle to a DC for the specified device. + + + + The DeleteDC function deletes the specified device context (DC). + + Handle to the device context. + If the function succeeds, the return value is nonzero. + + + + Initializes a new instance of the CssPropertiesAttribute class. + + + + + + Initializes a new instance of the CssPropertiesAttribute class. + + + + + + + Defines the property name + + + + + It specifies that the attribute te be not inheritable in Html. + + + + + + Initializes a new instance of the HTMLNotInheritable class. + + + + + + It specifies that the property to be inheritable. + + + + + Initializes a new instance of the CssPropertyInherited class. + + + + + + Initializes a new instance of the CssPropertiesBox class. + + + + + + Initializes a new instance of the CssPropertiesBox class. + + + + + + + Assign the Style tag properties to the Box + + + + + + Property value from the Style Tag + + + + + Initializes a new instance of the HtmlAsciiCodesInfo class. + + + + + + Adds the Html Ascii symbols + + + + + + Adds the Html names. + + + + + + Gets or sets the Html AsciiCode table. + + + + + + + Gets or sets the Html Name table. + + + + + + + Determines whether the tag is supported or not. + + + + + + + + Determines whether the tag is in self ended tag list or not. + + + + + + + Determines whether the tag is table tag or not. + + + + + + + Determines whether the tag is paragraph tag or not. + + + + + + + + Check whether the tags are HeadingTags + + + + + + + Determines whether the tag is paragraph item tag or not. + + + + + + + + Determines whether the specified tag is a list tag. + + + + + + + Converts the font tag size attribute. + + The size. + The pixel value of the font tag size. + + + + Determines whether the tag is list item tag or not. + + + + + + + + Determines whether the tag is head item tag or not. + + + + + + + + Determines whether the space needs to be preserved for the specific tag. + + + + + + + Converts the incoming font size in pixels + + input sting value ex: 23em or 10in or 20pc + The converted pixel values in double. + + + + Converts the incoming table width in respective units + + + + + + + Get the number before to the units + + + + + Gets the number of string + + + + + + + + Gets the number of string + + + + + + + + Converts the width or height. + + + + + + + Gets whether the given string is valid hexadecimal string. + + + + + + + Initilize the colors table. + + + + + Fils the color tabel. + + + + + + + Gets the color table. + + + + + Centimeters + + + + + Milimeters + + + + + Pixels + + + + + Inches + + + + + Em - The font size of the relevant font + + + + + Points + + + + + Picas + + + + + Specifies the DisplayType of the HTML element. + + + + + Displayed as if the elements is not there + + + + + Displays the elements + + + + + Specifies the highlight color of the HTML element. + + + + + No highlight color will be applied. + + + + + Highlights the content with yellow (#ffffff00) color. + + + + + Highlights the content with bright green (#ff00ff00) color. + + + + + Highlights the content with turquoise (#ff00ffff) color. + + + + + Highlights the content with pink (#ffff00ff) color. + + + + + Highlights the content with blue (#ff0000ff) color. + + + + + Highlights the content with red (#ffff0000) color. + + + + + Highlights the content with dark blue (#ff000080) color. + + + + + Highlights the content with teal (#ff008080) color. + + + + + Highlights the content with green (#ff008000) color. + + + + + Highlights the content with violet (#ff800080) color. + + + + + Highlights the content with dark red (#ff800000) color. + + + + + Highlights the content with dark yellow (#ff808000) color. + + + + + Highlights the content with gray 50 (#ff808080) color. + + + + + Highlights the content with gray 25 (#ffc0c0c0) color. + + + + + Highlights the content with black (#ff000000) color. + + + + + Specifes the baseline alignment style of the HTML element. + + + + + Specifies the text to be rendered normally. + + + + + Specifies the text to appear above the baseline of text. + + + + + Specifies the text to appear below the baseline of text. + + + + + Specifies the strike through style of the HTML element. + + + + + No strike will be drawn. + + + + + Draws single strike. + + + + + Draws double strike. + + + + + Specifies the width type of the HTML element. + + + + + Specifies the width to be determined automatically. + + + + + Specifies the width in percentage. + + + + + Specifies the width in pixels. + + + + + Specifies the vertical alignment of the HTML element. + + + + + Aligns the content to the top. + + + + + Aligns the content to the center. + + + + + Aligns the content ot the bottom. + + + + + Specifies the border style of the HTML element. + + + + + No border. + + + + + A single solid line. + + + + + Dots. + + + + + A dash followed by a small gap. + + + + + A dash followed by a large gap. + + + + + A dash followed by a dot. + + + + + A dash followed by two dots. + + + + + Double solid lines. + + + + + Three solid thin lines. + + + + + An internal single thin solid line surrounded by a single thick solid line with + a small gap between them. + + + + + An internal single thick solid line surrounded by a single thin solid line with + a small gap between them. + + + + + An internal single thin solid line surrounded by a single thick solid line surrounded + by a single thin solid line with a small gap between all lines. + + + + + An internal single thin solid line surrounded by a single thick solid line with + a medium gap between them. + + + + + An internal single thick solid line surrounded by a single thin solid line with + a medium gap between them. + + + + + An internal single thin solid line surrounded by a single thick solid line surrounded + by a single thin solid line with a medium gap between all lines. + + + + + An internal single thin solid line surrounded by a single thick solid line with + a large gap between them. + + + + + An internal single thick solid line surrounded by a single thin solid line with + a large gap between them. + + + + + An internal single thin solid line surrounded by a single thick solid line surrounded + by a single thin solid line with a large gap between all lines. + + + + + A single wavy solid line. + + + + + Double wavy solid lines. + + + + + A dash followed by a dot stroke, thus rendering a border similar to a barber + pole. + + + + + The border appears to have a 3-D embossed look. + + + + + The border appears to have a 3-D engraved look. + + + + + The border appears to be outset. + + + + + The border appears to be inset. + + + + + Additional enums supported in Microsoft word in the XML level as well as by DocIO. + + + + + Cleared border. + + + + + Specifies the table alignment of the HTML element. + + + + + Aligns the table to the left. + + + + + Aligns the table to the center. + + + + + Aligns the table to the right. + + + + + Specifies the text alignment of the HTML element. + + + + + Default. Text is Aligned to the Left + + + + + Text is Aligned to the Right + + + + + Text is Aligned to the Center + + + + + Text is Aligned to the Justify + + + + + Replace the break charcaters. + + The string. + + + + Gets or sets the navigation URL of the HTML hyperlink. + + + + + Initializes a new instance of the HtmlNode class. + + + + + + Initializes a new instance of the HtmlNode class. + + + + + + + initializes a new instance of the HtmlNode class. + + + + + + Initializes a new instance of the HtmlNode class at the specified index. + + + + + + + + Collect the CssProperties from the ParagrpahBox + + + + + Gets the font family string. + + The string value. + The string representation of font family. + + + + Gets the color value. + + + + + + Get the Actual HighlightColor for the color string + + + + + Get the Actual HighlightColor for the Hexcode string + + + + + Get the Actual color for the color string + + String value ex" #89234 or rgb(23,32,100) or Gray + + + + + Get the Actual FontWeight for the FontWeight string + + The fontweight + + + + + Checks if the HTML tag is either a 'div' element or a list item element. + + True if the tag is a 'div' element or a list item element, otherwise false. + + + + Checks if the given font weight is valid. + + The font weight to check. + True if the font weight is valid, otherwise false. + + + + Get the Actual TextAlignment for the TextAlignment string + + The textalign + + + + + Converts the Percentage value to the correct float value + + + + + Set the properties value from the ParentBox + + + + + + + Converts a text decoration value to underline. + + The text decoration value to convert. + True if the text decoration is 'underline', otherwise false. + + + + Get the Actual StrikeThrough for the StrikeThrough string + + The textdecoration + + + + + Get the Actual BaselineAlignment for the BaselineAlignment string + + The verticalalign + + + + + Get actual vertical alignment for the vertical align string. + + + + + + String to line style. + + The value. + + + + + String to line width. + + The value. + + + + + String to table alignment. + + The value. + + + + + Updated the width and type. + + + + + + Update the height. + + + + + + Inherit value from the ParentBox + + + + + Inherits value from the Div element. + + + + + + Retrieves a list of PropertyInfo objects corresponding to CSS properties for a given HTML tag. + + The HTML tag name. + A boolean indicating whether the div inherits properties. + A list of PropertyInfo objects representing CSS properties. + + + + Check whether the tags are Block tags + + + + + + + Converts the string font-style in FontStyle + + + + + + + Override metohd for string + + + + + Return the root node of the table + + + + + copy the given node attributes + + + + + + Checks if the given key exists in the properties hash. + + The key to check. + True if the key exists, otherwise false. + + + + Set the values for the properties + + + + + + + Gets the index of the current node in the child node list of its parent. + + + + + + Assign the padding values. + + + + + + Assigns the border values. + + + + + + Checks whether the value is border color. + + + + + + + Checks whether the value is border style. + + + + + + + Assigns the border styles. + + + + + + Assigns the borders width. + + + + + + Assigns the borders color. + + + + + + Assigns the border top values. + + + + + + Assigns the border right values. + + + + + + Assigns the border bottom values. + + + + + + Assigns the border left values. + + + + + + Gets the inner text within the tag + + + + + + + Dictionary containing not inheritable HTML properties. + + + + + Whether it is a empty tag + + + + + Whether it is a Div tag end + + + + + Determines whether this is a manually created HTMLNode during HTMLNode creation + that is not present in file level. + + + + + Contains the actual text that is at the file level before trimming. + + + + + Describes the TextAlignment of the Paragraph + + + + + Describes the CSS 'white-space' property + + + + + Describes the display type for an HTML element + + + + + Target frame of the Hyperlink + + + + + Title of the HTML node. + + + + + Text of the HTML node. + + + + + ParagraphBoxes collection for every instance + + + + + List of the HTML node. + + + + + List level of the HTML node. + + + + + All the properties of ParagraphBox + + + + + Only CssPropertiesAttribute + + + + + It collects the properties which are inheritable in the HTML architecture + + + + + Parent for the ParagraphBox + + + + + Gets the Previous node of the HTML node + + + + + Gets Next node of the HTML node + + + + + It decides whether ParagraphBox is HyperlinkAdv + + + + + It paints the forground color for the Text which inside the ParagraphBox + + + + + Background color of the HTML node + + + + + Left indent of the HTML node + + + + + Right indent of the HTML node + + + + + First line indent of the HTML node + + + + + After spacing of the HTML node + + + + + Before spacing of the HTML node + + + + + Describes the Line height + + + + + It paints the background color for the ParagraphBox + + + + + Describes the font [ Fontweight,FontStyle,FontVariant] for the ParagraphBox + + + + + Actual background color of the HTML node + + + + + Highlightcolor of the HTML node + + + + + Describes the margins of the tablecell + + + + + Describes the margins of the tablecell + + + + + Left margin of the table cell + + + + + Right margin of the table cell + + + + + Top margin of the table cell + + + + + Bottom margin of the table cell + + + + + String color determines the Foreground color for the Text + + + + + Represents the image source. + + + + + It stores the corresponding HTML tag information + + + + + It decides the Text's FontFamily + + + + + It decides the FontSize of the Text + + + + + Describes the text decoration of the text. + + + + + It decides the FontStyle of the Text. + + + + + It decides the FontVariant of the Text. + + + + + It defines the SubScript and SuperScript for the Text + + + + + FontWeight for the Text + + + + + List style type of the list. + + + + + List pattern of the list. + + + + + List start of the list. + + + + + Whether the Text should be underlined. + + + + + SingleStroke and DoubleStroke for the Text + + + + + It decides the Height of the Image + + + + + It decides the Width of the Image + + + + + It decides the columns group span. + + + + + Width of the HTML node. + + + + + Height of the HTML node + + + + + Preferred width of the HTML node. + + + + + Preferred width type of the HTML node. + + + + + Preferred iamge width type of the HTML node. + + + + + It decides the row span. + + + + + It decides the column span. + + + + + Border thickness of the HTML node. + + + + + Gets or sets the row height. + + + + + Gets or sets the valign. + + + + + Gets or sets the vertical-align. + + + + + Gets or sets the header row. + + + + + Gets or sets the page-break-before. + + + + + Gets or sets the border collapse. + + + + + Gets or sets the borders. + + + + + Gets or sets the borders-style + + + + + Gets or sets border-width. + + + + + Gets or sets teh border-color. + + + + + Gets or sets the border-top. + + + + + Gets or sets the border-top-width. + + + + + Gets or sets the border-top-style. + + + + + Gets or sets the border-top-color. + + + + + Gets or sets the border-right. + + + + + Gets or sets the border-right-width. + + + + + Gets or sets the border-right-style. + + + + + Gets or sets the border-right-color. + + + + + gets or sets the border-bottom. + + + + + Gets or sets the border-bottom-width. + + + + + Gets or sets the border-bottom-style. + + + + + Gets or sets the border-bottom-color. + + + + + Gets or sets the border-left. + + + + + Gets or sets the border-left-width. + + + + + gets or sets the border-left-width, + + + + + gets or sets the border-left-color. + + + + + Gets or sets the Table alignment. + + + + + Gets or sets the cell spacing. + + + + + Initializes a new instance of the HTMLTagInfo class. + + + + + + + Initializes a new instance of the HTMLTagInfo class. + + + + + + Initializes a new instance of the HTMLTagInfo class. + + + + + + Set attributes for the ParagaraphBox + + + + + + Calculates the border line width for an HTML node based on the provided value. + + The HTML node to calculate border width for. + The string representation of the border width. + The calculated border width. + + + + Assign the TagName information + + + + + + Collect attributes from the htmlstring + + + + + + Check whether Tag has Attributes + + + + + Name of the HTML tag. + + + + + Attributes for the particular tag + + + + + Whether it is a closing tag + + + + + Whether it is a self closing tag + + + + + Whether it is a single tag + + + + + Returns the matched collection + + + + + Searches the specified regex on the source + + + + + Searches the specified regex on the source + + + + + No-Width Optional Break. (char)8203. + + + + + It has the Text of the HTML Tag + + + + + Initializes a new instance of the HtmlTextNode class. + + + + + + + + Initializes a new instance of the HtmlTextNode class. + + + + + + + Loads the Html string. + + + True, if loaded. Otherwise False. + + + + + Parses the Html tags + + + True, if valid Html string. Otherwise False. + + + + + Checks whether the current node or parent node is Pre tag. + + The HTML node. + Returns true if current node or parent node is Pre tag; otherwise, false. + + + + Determines whether the specified HTML node contains the 'white-space' property with a value of 'pre' or 'pre-wrap' in its style attribute. + + The HTML node to check. + True if the 'white-space' property with value 'pre' or 'pre-wrap' is found; otherwise, false. + + + + Retrieves the value of a specified style attribute from a style string. + + The complete style attribute value. + The name of the style attribute to retrieve. + The value of the specified style attribute, or an empty string if not found. + + + + Adds the Html node. + + + + + + + + + Appends text to Html node. + + + + + + + + + Checks whether to trim the text or not. + + + + + + + + Adds the Html text node. + + + + + + + + Finds the base node. + + + + + + + + + Finds the Parent html node. + + + + + + + + Finds the Parent body node. + + + + + + + + Creates the HTMLNode with the specified tag name. + + + + + + + Finds the paragraph node + + + + + + + Find the end node of the Div. + + current html node + + + + + Finds the Parent table node. + + + + + + + + Finds the parent body table node. + + + + + + + + Finds the parent of table row + + + + + + + Finds the parent of the table cell + + + + + + + Determine whether the node is body node. + + + + + + + Apply the Inline style , External styles and Inherit the styles from the ParentBoxes + + + + + + check the given color in empty + + + + + + It corrects the boxes based upon the Tag information + + + + + + Insert the Ascii symbol based on the HtmlCodeTable + + + + + + + Encodes the Html names. + + + + + + + + Generate CssPropertiesBox from the Style Tag's string. + + + + + + Stores the Properties in the CssPropertiesBoxes + + + + + + Determines whether the tag is unsupported + + + + + + + + Determines whether the node has font size value. + + + + + + + + Finds the body tag. + + The root node. + The body tag. + + + + Determines whether the space needs to be preserved or not. + + + + + + + + It stores the CssProperties boxes from the Style tag + + + + + Specifies a "Thin" font weight + + + + + Specifies an "Extra-Light" font weight + + + + + Specifies an "Light" font weight + + + + + Specifies a "Normal" font weight + + + + + Specifies a "Medium" font weight + + + + + Specifies a "SemiBold" font weight + + + + + Specifies a "Bold" font weight + + + + + Specifies a "ExtraBold" font weight + + + + + Specifies a "Black" font weight + + + + + Initializes an object of HtmlFontWeight with specified weight of the font + + The weight is applied to the font + + + + Initializes an instance of HtmlThickness structure with specified length on each side + + The length is applied to all four sides of the bounding rectangle + + + + INitializes a new instance of HtmlThickness structure with specified lengths applied to each side of the bounding rectangle + + The thickness of the left side of the bounding rectangle + The thickness of the upper side of the bounding rectangle + The thickness of the right side of the bounding rectangle + The thickness of the lower side of the bounding rectangle + + + + Gets or Sets the width in pixels of the left side of the bounding rectangle + + + + + Gets or Sets the width in pixels of the upper side of the bounding rectangle + + + + + Gets or Sets the width in pixels of the right side of the bounding rectangle + + + + + Gets or Sets the width in pixels of the lower side of the bounding rectangle + + + + + Defines methods to add the Html string to document . + + + + + Appends the html string to without style at specified index + + The to which the string is to be added. + The HTML string. + The zero-based index of the paragraph to insert the html string. + The zero-based index of the paragraph item to insert the html string. + + + + Appends the Html string to with style at specified index + + The to which the Html string is to be added. + The Html string. + The zero-based index of the paragraph to insert the html string. + The zero-based index of the paragraph item to insert the html string. + The object that specifies the style for the Html string + The object that specifies the list style for the Html string + + + + Determines whether the specified Html string is valid. + + The Html string. + The member specifies the type to validate the Html string. + True if the specified Html string is valid, otherwise false. + + + + Determines whether the specified Html string is valid. + + The Html string. + The member specifies the type to validate the Html string. + The string that specifies the exception message. + True if the specified Html string is valid, otherwise false. + + + + + + + + + Inits this convertor. + + + + + Appends the Html string to with style at specified index + + The to which the Html string is to be added. + The Html string. + The zero-based index of the paragraph to insert the html string. + The zero-based index of the paragraph item to insert the html string. + The object that specifies the style for the Html string + The object that specifies the list style for the Html string + + + + Appends the html string to without style at specified index + + The to which the string is to be added. + The HTML string. + The zero-based index of the paragraph to insert the html string. + The zero-based index of the paragraph item to insert the html string. + + + + Parses the HTML nodes + + HTML root node + text body + + + + Parses the paragraph + + Paragraph node + text body + + + + Checks whether this is a first sibling of the parent node + + + + + + + Parses the paragraph items. + + + + + + + + Parses the span nodes (Child nodes of paragraph) + + Child node of paragraph + current paragraph + is hyperlink + + + + + Adds the Text range. + + + + + + + + Creates new text range for the span node + + span node + text + is hyperlink + + + + + Checks whether the text is RTL by checking the unicode of the string characters. + + The text. + True, If the text is RTL text. Otherwise, false. + + + + Insert the Ascii symbol based on the HtmlCodeTable + + + + + + + Encodes the Html names. + + + + + + + + Adds the new paragraph. + + + + + Parses the character format. + + + + + + + + Parses the paragraph format. + + + + + + + + Determine whether the Node is in Div + + + + + + + Check whether the tag is empty tag + + + + + + + Determines whether the specified Html string is valid. + + The Html string. + The member specifies the type to validate the Html string. + True if the specified Html string is valid, otherwise false. + + + + Called when [validation]. + + The sender. + The instance containing the event data. + + + + Determines whether the specified Html string is valid. + + The Html string. + The member specifies the type to validate the Html string. + The string that specifies the exception message. + True if the specified Html string is valid, otherwise false. + + + + Prepares the HTML string. + + The HTML string. + The schema. + + + + Insert DocType elemnet and html start element based on XHTMLValidationType + + + + + + + + + Gets the document title + + Document title value + + + + Remove Xml and DocType element from html start + + + + + + + + + Replace constants by Unicode + + + + + + + Replace HtmlSpecialCharacter's EntityNames by EntityNumbers + + + + + + + Replace HtmlSymbol's EntityNames by EntityNumbers + + + + + + + Replace HtmlCharacter's EntityNames by EntityNumbers + + + + + + + Replace HtmlMathSymbol's EntityNames by EntityNumbers + + + + + + + Replace HtmlGreekLetter's EntityNames by EntityNumbers + + + + + + + Replace Html Other EntityNames by EntityNumbers + + + + + + + Replace ampersand by Unicode Character. + + The HTML. + + + + + Get the positions of ampersand. + + The HTML. + Ampersand. + + + + + + + + + + Specifies the text style. + + + + + Specifies the Borders + + + + + Initialize the formatting properties + + + + + Clones this instance. + + + + + + + + + + + + + + + + + + + + Determines whether the specified property key has value. + + + + + + + Set the values for the properties + + + + + + + Gets or sets a value indicating whether to break lines on word or character level. By default line breaks on word level. + + + true if line breaks on word level; otherwise, false. + + + + + Gets/ Sets whether white space need to be preserved + + + + + Gets or sets the LocalIdASCII values. + + + + + Gets/ Sets Hidden property of text + + + + + Gets/ Sets All Caps + + + + + Gets or sets a value indicating whether the text has small caps formatting + + + + + Gets/Sets visited Link color + + + + + Gets/Sets PageBreakBefore + + + + + Gets/Sets PageBreakAfter + + + + + Gets/Set Linespacing rule + + + + + Get or set a value to represents custom tab stop postion + + + + + Get or set a value to represents custom tab leader + + + + + Get or set a value to represents custom tab alignment + + + + + Get or set a value to represents current tab width + + + + + Get or set a value to represents whether the element has line of block text + + + + + Get or set a value indicating whether the element contains Non breaking white space characters + + + + + Get or set a boolean indicating whether the current span element is list tab + + + + + Get or set a value that represents the list number width + + + + + Get or set a value that represents the list padding left value + + + + + Specifies Bold format. + + + + + Specifies Italic format. + + + + + Specifies Underline format. + + + + + Specifies Strike format. + + + + + Specifies font color of the text. + + + + + Specifies back color of the text. + + + + + Specifies the font family. + + + + + Specifies the font size. + + + + + Specifies the line height. + + + + + Specifies whether the line height is Normal or not + + + + + Specifies the text alignment. + + + + + Specifies the left margin. + + + + + Specifies the Text indent. + + + + + Specifies the Right margin + + + + + Specifies the Top margin + + + + + Specifies the Bottom margin + + + + + Specifies Superscript/SubScript + + + + + Gets/Sets scaling + + + + + + + + + + Variable specifies the color value. + + + + + Variable specifies the width value. + + + + + Variable specifies the style value. + + + + + Variable specifies the Top color value. + + + + + Variable specifies the bottom color. + + + + + Variable specifies the left color value. + + + + + Variable specifies the right color value. + + + + + Variable specifies the TopStyle. + + + + + Variable specifies the BottomStyle. + + + + + Variable specifies the LeftStyle. + + + + + Variable specifies the RightStyle. + + + + + Variable specifies the TopWidth. + + + + + Variable specifies BottomWidth. + + + + + Variable specifies LeftWidth. + + + + + Variable specifies RightWidth. + + + + + Variable specifies BottomSpace. + + + + + Variable specifies TopSpace. + + + + + Variable specifies LeftSpace. + + + + + Variable specifies RightSpace. + + + + + Initializes a new instance of the class. + + The parent. + + + + The default implementation of IHtmlConverter. + + + + + Appends the Html string to with style at specified index + + The to which the Html string is to be added. + The Html string. + The zero-based index of the paragraph to insert the html string. + The zero-based index of the paragraph item to insert the html string. + The object that specifies the style for the Html string + The object that specifies the list style for the Html string + + + + Appends the html string to without style at specified index + + The to which the string is to be added. + The HTML string. + The zero-based index of the paragraph to insert the html string. + The zero-based index of the paragraph item to insert the html string. + + + + Parses the Body style. + + The node. + + + + Apply Page margins and background color + + + + + + Apply Page border + + + + + + + Set Next style for the pararaph style + + + + + + Parse body attributes + + + + + + Parse child entities of text body and removes last line break from the paragraph + + + + + + Determines whether the specified Html string is valid. + + The Html string. + The member specifies the type to validate the Html string. + True if the specified Html string is valid, otherwise false. + + + + Determines whether the specified Html string is valid. + + The Html string. + The member specifies the type to validate the Html string. + The string that specifies the exception message. + True if the specified Html string is valid, otherwise false. + + + + Replace constants by Unicode + + + + + + + Replace HtmlSpecialCharacter's EntityNames by EntityNumbers + + + + + + + Replace HtmlSymbol's EntityNames by EntityNumbers + + + + + + + Replace HtmlCharacter's EntityNames by EntityNumbers + + + + + + + Replace HtmlMathSymbol's EntityNames by EntityNumbers + + + + + + + Replace HtmlGreekLetter's EntityNames by EntityNumbers + + + + + + + Replace Html Other EntityNames by EntityNumbers + + + + + + + Replace ampersand by Unicode Character. + + The HTML. + + + + + Get the positions of ampersand. + + The HTML. + Ampersand. + + + + + Loads the XHTML. + + The HTML. + + + + Load XHTML + + + + + + + + Prepares the HTML string. + + The HTML string. + The schema. + + + + Remove Xml and DocType element from html start + + + + + + + + + Insert DocType elemnet and html start element based on XHTMLValidationType + + + + + + + + + Moves head elements found inside the body tag to the head tag of the given HTML string. + + The HTML string to modify. + The modified HTML string with head elements moved from the body tag to the head tag. + + + + Gets the document title + + Document title value + + + + Traverses the child nodes. + + The nodes. + + + + Traverse text within the tag + + + + + + + Check wether the text is tab or not + + + + + + + Add the new paragraph to textBody + + + + + + Applies the paragraph format. + + + + + Checks whether the paragraph need to be added + + + + + + + Remove white spaces at the begining of paragraph + + + + + + + + Adds the new paragraph. + + + + + Determine whether the Node is in Div + + + + + + + Parses paragraph tags + + + + + Checks whether this is a first sibling of the parent node + + + + + + + Parses the tags. + + The node. + + + + Parse the FormFields to the Paragraph + + + + + + + Removes the duplicate bookmark of form field. + + + + + + parses the checkbox size. + + + + + + + Insert the form field to the Current Paragraph + + + + + + + + Called when form field inserts - Performs insertion of bookmark start for the corresponding form field. + + Index + Entity + Updated index + + + + Parse the child Entities for the DropDownItems + + + + + + + Gets the attribute value. + + The node. + Name of the attr. + + + + + + Determines whether the split character should be treated as RTL based on the BiDi property + of the paragraph format in the given text range. + + The text range containing the Word split character. + + Returns true if the split character's text range is RTL; otherwise, returns false. + + + + + Splits the textranges by consecutive LTR and RTL texts. + + + + + To check whether the specified language is arabic language or not. + + Specify the language local id + Return true if the language id is represent the arabic + + + + Splits the text ranges in the paragraph by text and numbers. + + The paragraph item collection. + + + + Splits the text ranges in the paragraph by text and Arabic word split characters. + + The paragraph item collection. + + + + To check whether the specified character is an arabic word split character (،؛) or not. + + Specify the character. + Return true if the specified character is an arabic word split character; otherwise, false. + + + + To check whether the specified character is word split character ([/;) or not. + + Specify the character + Return true if the specified character is word split character + + + + + Combine the text range by consecutive LTR and RTL texts. + + + + + Checks whether the node is considered empty based on its child nodes. + + + + + + + Parse heading tag + + + + + + + + + + + Specifies the process when a blockquote tag starts + + + + + Specifies the process when a blockquote tag ends + + + + + Specifies the process when a div tag starts + + Div node + + + + Specifies the process when a div tag ends + + + + + Specifies the process when a table tag ends + + + + + Specifies the process when a table tag starts + + + + + Calculates cell width of nested table based on preferred width + + Nested Table + Client Width of owner cell + + + + COnverting Hyperlink in html to Doc + + Hyperlink node + + + + Traverse child nodes of the Hyperlink Field + + + + + + + Apply Hyperlink style + + + + + + Parses image attribute + + + + + Parses the Image style. + + The attr. + The Picture. + + + + Writes the image. + + The node. + + + + Gets the image for partial trust mode. + + The source. + The pic. + + + + Reads the fully. + + The input. + + + + + Reads the image file. + + The image location. + + + + + Get Image + + + + + + + Try downloading the image again with the given credentials + + + + + + + + Appends the HTML text. + + The para. + The text node. + + + + Update List left indent stack + + + + + + + Apply Font size specified in font tag + + + + + + + Sets the list mode. + + if set to true is bulleted. + The node. + + + + Writes the paragraph. + + + + + Checks whether the current format is heading style. + + + + + Applies the paragraph style. + + + + + Applies the paragraph format. + + + + + Adjust left indent value for list + + + + + + + + Check whether the bottom margin need to be preserved + + + + + + + + Check whether the Top margin need to be preserved + + + + + + + + Checks whether the node is last node within division + + + + + + + Check whether the specified attribute defined inline + + + + + + + + Apply list formatting + + + + + + + + Get List Pattrn type + + + + + + + Apply Paragraph border + + + + + + + Apply the current div formt to the paragraph. + + + + + Applies the formatting. + + The tr. + + + + Apply the current div format to the character format of the textrange + + + + + + Ensures the style. + + The node. + + + + + Extract the value alone without units + + The Value + + + + + Parses the style. + + The node. + + + + Checks whether the Border format is default or not. + + + Returns True, if the border is detault (has default values), other wise returen false. + + + + Get foramt + + + + + + + + Parses the tab justification. + + The justification value. + + + + Parses the tab leader. + + The leader value. + + + + Get text format. + + Text format + The attribute. + The value. + + + + Parse line height + + + + + + + + Get the color value + + The values of the specified style attribute. + Index of the RGB string + The color. + + + + Get Color value + + + + + + + Get Font Name + + + + + + + Gets the Font attribute values + + The values of font attribute. + Text format + + + + Separates and Orders the value of font + + + + + + + + Calculate the font size + + Value specifying font size + The font size + + + + Checks whether the value is font size + + Value to check + True if the value specifies font size, otherwise false. + + + + Parse Border + + + + + + + + + Parse Border + + + + + + + + + Checks whether the value is a border width + + + + + + + Calculate border width + + + + + + + Three-digit RGB notation (#rgb) is converted into six-digit form (#rrggbb) by repeating each digit twice. + + RGB hexadecimal characters. + + + + + Seperate param value with its unit + + + + + + + + + + + + + + Leaves the style. + + if the style is present, set to true. + + + + Updates the paragraph's format. + + The node. + + + + Adds the style. + + + + + + Updates the height or width of the image if height or width is not specified in file level. + + The picture. + + + + Gets the attribute value. + + The node. + Name of the attr. + + + + + Gets the style attribute value + + + + + + + + Convert the paramValue to bool value + + + + + + + Converts the size. + + The param value. + + + + + Gets the number before. + + The val. + The end. + + + + + Called when [validation]. + + The sender. + The instance containing the event data. + + + + Builds the list style. + + Name of the style. + The xml node. + + + + Creates a list level + + + + + + + Gets the type of the list style. + + The node. + + + + + Gets the list style type from container. + + The node. + + + + + Update bullet char for list level + + The list level no. + The node. + The list level. + + + + Creates the list style. + + + + + + create the list Override style. + + + + + + + + Prepares the list start. + + The start. + + + + + Determines whether is start of level. + + The node. + + true if [is start of level] [the specified node]; otherwise, false. + + + + + Parses the table. + + supported + - table\tr\td construction + - table or cell must have a width in pixel + + The node. + + + + Apply the current div formt to the Table + + + + + Parses the table rows. + + The xml node. + + + + Parses the cell attrs. + + The node. + The cell. + The span helper. + The borders. + + + + Parses the cell style. + + The attr. + The cell. + The borders. + + + + Apply borders + + + + + + + Apply border type and line width + + + + + + + Apply table border + + + + + + Apply cell border + + + + + + + Parse border line width + + + + + + + Parse border style + + + + + + + Parse border color + + + + + + + Parses the row attrs. + + The row node. + The row. + + + + Update Hidden property of the row based on parent node + + + + + + + Parses the table format. + + The node. + The borders. + + + + Parses the table style. + + The attr. + The span helper. + + + + Set table width from table style attributes + + Value from width attribute + Value from max-width attribute + + + + + Parse table properties + + + + Text format. + + + + Parse table border + + + + + + + Parses the Row style. + + The attr. + The row. + + + + Apply table border + + + + + + + + Toes the points. + + The param value. + + + + + Gets the vertical alignment + + The param value. + + + + + Get HorizontalAlignment + + + + + + + Roman number to arabic number. + + The number. + + + + + Inits this convertor. + + + + + Parses the CSS style. + + The node. + + + + Parses the CSS style. + + The node. + + + + Finds the CSS style Item. + + + + + + Finds the ID selector from CSS style. + + + + + + Finds the Class selector form CSS style + + + + + + Assign CSS style for cell + + + + + + + + Finds the descendant selector from CSS style. + + + + + + Finds the element selector from CSS style. + + + + + + Finds the Child selector from CSS style. + + + + + + Applies the CSS style. + + + + + + Parse the CSS textformat values + + + + + + + Insert the field begin + + + + + Parse the field separator + + + + + Parse the FieldEnd + + + + + Parse the field code if span style is mso-field-code + + + + + + + Parse the field text + + + + + + Need to replace newline character + + + + + + Implemented alternative method to improve the performance + + + + + + + + Determines whether the bookmark needs to be preserved for the given node. + + + + + + + Checks whether the current node has a specified parent node that exists at the file level. + + + + + + + + Gets or sets a value indicating whether previous item is field start + + + true if the instance is field start ; otherwise, false. + + + + + Gets or sets a value indicating whether it is from mso-field-code style + + + true if it is ; otherwise, false. + + + + + Gets or sets a value indicating whether the table has style. + + + true if table has style; otherwise, false. + + + + + Gets or sets a value indicating whether the row has style. + + + true if row has style; otherwise, false. + + + + + Gets or sets a value indicating whether the cell has style. + + + true if cell has style; otherwise, false. + + + + + Gets the CSS style property + + + + + Get client width of the html textbody + + + + + Get and set the base path + + + + + Gets the field stack. + + The field stack. + + + + Gets the current field. + + The current field. + + + + Gets the current format. + + The current format. + + + + Gets the current para. + + The current para. + + + + Gets the lfo stack. + + lfoName . + + + + Gets the list stack. + + The list stack. + + + + Gets the current list style. + + The current list style. + + + + Collection holds the existing bookmark start names. + + + + + Collection holds the existing bookmark end names. + + + + + + + + + + Resets the curr column. + + + + + Updates the table grid. + + The cell. + + + + Nexts the column. + + + + + Gets the table grid from table grid collection + + + + + + + Updates the table. + + The table. + + + + Calculates the cell width by summing the width of spanned columns + + + + + Update Row span + + + + + + Gets/Sets the collection of row grid for a table + + + + + + + + + + Specifies the text style. + + + + + Specifies the Borders + + + + + Initialize the formatting properties + + + + + Clones this instance. + + + + + + + + + + + + + + + + + + + + Determines whether the specified property key has value. + + + + + + + Set the values for the properties + + + + + + + Gets or sets a value indicating whether to break lines on word or character level. By default line breaks on word level. + + + true if line breaks on word level; otherwise, false. + + + + + Gets/ Sets whether white space need to be preserved + + + + + Gets or sets the LocalIdASCII values. + + + + + Gets/ Sets Hidden property of text + + + + + Gets/ Sets All Caps + + + + + Gets or sets a value indicating whether the text has small caps formatting + + + + + Gets/Sets visited Link color + + + + + Gets/Sets PageBreakBefore + + + + + Gets/Sets PageBreakAfter + + + + + Gets/Set Linespacing rule + + + + + Get or set a value to represents custom tab stop postion + + + + + Get or set a value to represents custom tab leader + + + + + Get or set a value to represents custom tab alignment + + + + + Get or set a value to represents current tab width + + + + + Get or set a value to represents whether the element has line of block text + + + + + Get or set a value indicating whether the element contains Non breaking white space characters + + + + + Get or set a boolean indicating whether the current span element is list tab + + + + + Get or set a value that represents the list number width + + + + + Get or set a value that represents the list padding left value + + + + + Specifies Bold format. + + + + + Specifies Italic format. + + + + + Specifies Underline format. + + + + + Specifies Strike format. + + + + + Specifies font color of the text. + + + + + Specifies back color of the text. + + + + + Specifies the font family. + + + + + Specifies the font size. + + + + + Specifies the line height. + + + + + Specifies whether the line height is Normal or not + + + + + Specifies the text alignment. + + + + + Specifies the left margin. + + + + + Specifies the Text indent. + + + + + Specifies the Right margin + + + + + Specifies the Top margin + + + + + Specifies the Bottom margin + + + + + Specifies Superscript/SubScript + + + + + Gets/Sets scaling + + + + + Checks whether the bidi is present or not + + + + + + + + + + Variable specifies the color value. + + + + + Variable specifies the width value. + + + + + Variable specifies the style value. + + + + + Variable specifies the Top color value. + + + + + Variable specifies the bottom color. + + + + + Variable specifies the left color value. + + + + + Variable specifies the right color value. + + + + + Variable specifies the TopStyle. + + + + + Variable specifies the BottomStyle. + + + + + Variable specifies the LeftStyle. + + + + + Variable specifies the RightStyle. + + + + + Variable specifies the TopWidth. + + + + + Variable specifies BottomWidth. + + + + + Variable specifies LeftWidth. + + + + + Variable specifies RightWidth. + + + + + Variable specifies BottomSpace. + + + + + Variable specifies TopSpace. + + + + + Variable specifies LeftSpace. + + + + + Variable specifies RightSpace. + + + + + Initializes a new instance of the class. + + The parent. + + + + + + + + + Gets the CSS style item + + + + + + + dispose the CSS style + + + + + Get and set the CSS style collection + + The list style collection. + + + + Closes this instance. + + + + + Get and set the CSS style name. + + The style name. + + + + Get and set the CSS style type + + The style type. + + + + Gets the properties hash value. + + The properties hash. + + + + Gets the important properties hash value. + + The important properties hash. + + + + Get and set the properties hash value. + + The properties hash. + + + + Get and set the important properties hash value. + + The important properties hash. + + + + Defines CSS selector style type. + + + + + Defines style type as none. + + + + + Defines style type as element selector. + + + + + Defines style type as id selector. + + + + + Defines style type as class selector. + + + + + Defines style type as grouping selector. + + + + + Defines style type as descendant selector. + + + + + Defines style type as child selector. + + + + + Defines style type as adjacent sibling selector. + + + + + Defines style type as general sibling selector. + + + + + Defines text format. + + + + + Defines important text format. + + + + + Represents the conversion implementation of Word document as HTML file. + + This class, its properties and methods are not supported in Silverlight, Windows Phone, Universal, Universal Windows Platform and Xamarin applications. + + The following code example demonstrates how to convert Word to HTML file. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Loads an existing document + WordDocument document = new WordDocument("Template.docx"); + HTMLExport export = new HTMLExport(); + //The images in the input document will be copied to this folder + document.SaveOptions.HtmlExportImagesFolder = @"D:\Data\"; + //The headers and footers in the input will be exported + document.SaveOptions.HtmlExportHeadersFooters = true; + //Export the text form fields as editable + document.SaveOptions.HtmlExportTextInputFormFieldAsText = false; + //Set the style sheet type + document.SaveOptions.HtmlExportCssStyleSheetType = CssStyleSheetType.External; + //Set name for style sheet + document.SaveOptions.HtmlExportCssStyleSheetFileName = "UserDefinedFileName.css"; + //Set the use absolute path as true + export.UseAbsolutePath = true; + //Save the document as html file + export.SaveAsXhtml(document, "WordtoHtml.html"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Loads an existing document + Dim document As New WordDocument("Template.docx") + Dim export As New HTMLExport() + 'The images in the input document will be copied to this folder + document.SaveOptions.HtmlExportImagesFolder = "D:\Data\" + 'The headers and footers in the input will be exported + document.SaveOptions.HtmlExportHeadersFooters = True + 'Export the text form fields as editable + document.SaveOptions.HtmlExportTextInputFormFieldAsText = False + 'Set the style sheet type + document.SaveOptions.HtmlExportCssStyleSheetType = CssStyleSheetType.External + 'Set name for style sheet + document.SaveOptions.HtmlExportCssStyleSheetFileName = "UserDefinedFileName.css" + 'Set the use absolute path as true + export.UseAbsolutePath = True; + 'Save the document as html file + export.SaveAsXhtml(document, "WordtoHtml.html") + document.Close() + End Sub + + + + + + + Cache files as stream + + + + + Has navigation id + + + + + OEB header and footer + + + + + Auto incrementing pointer for navigation point + + + + + Holds heading styles + + + + + Holds the name and data of stylesheets + + + + + Bookmark collection for TOC + + + + + Footnote Reference Attribute string + + + + + Holds the name and data of image files + + + + + Saves the Word document as XHTML file. + + The to be saved as html. + The string that specifies the name to save the html file. + + The following code example demonstrates how to convert Word to XHTML file. + + //Loads an existing document + WordDocument document = new WordDocument("Template.docx"); + HTMLExport export = new HTMLExport(); + //Save the document as Xhtml file + export.SaveAsXhtml(document, "WordtoXHtml.html"); + document.Close(); + + + 'Loads an existing document + Dim document As New WordDocument("Template.docx") + Dim export As New HTMLExport() + 'Save the document as Xhtml file + export.SaveAsXhtml(document, "WordtoXHtml.html") + document.Close() + + + + + + Saves the Word document as XHTML file with specified encoding. + + The to be saved as html. + The string that specifies the name to save the html file. + The character encoding to use. + + The following code example demonstrates how to convert Word to XHTML file with specified encoding. + + //Loads an existing document + WordDocument document = new WordDocument("Template.docx"); + HTMLExport export = new HTMLExport(); + //Save the document as Xhtml file + export.SaveAsXhtml(document, "WordtoXHtml.html", Encoding.Unicode); + document.Close(); + + + 'Loads an existing document + Dim document As New WordDocument("Template.docx") + Dim export As New HTMLExport() + 'Save the document as Xhtml file + export.SaveAsXhtml(document, "WordtoXHtml.html", Encoding.Unicode) + document.Close() + + + + + + Saves as XHTML. + + Word document to convert + Stream to save + True if XHTML is created for EPub format + + + + Saves the Word document as XHTML file in a stream. + + The to be saved as html. + The to save the html file. + + The following code example demonstrates how to convert Word to XHTML file in a stream. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Adds new text to the paragraph + paragraph.AppendText("Hello World!"); + HTMLExport export = new HTMLExport(); + MemoryStream stream = new MemoryStream(); + //Save the document as Xhtml file + export.SaveAsXhtml(document, stream); + document.Close(); + + + 'Creates a new Word document + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Adds new text to the paragraph + paragraph.AppendText("Hello World!") + Dim export As New HTMLExport() + Dim stream As New MemoryStream() + 'Save the document as Xhtml file + export.SaveAsXhtml(document, stream) + document.Close() + + + + + + Saves the Word document as XHTML file in a stream with specified encoding. + + The to be saved as html. + The to save the html file. + The character encoding to use. + + The following code example demonstrates how to convert Word to XHTML file in a stream with specified encoding. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Adds new text to the paragraph + paragraph.AppendText("Hello World!"); + HTMLExport export = new HTMLExport(); + MemoryStream stream = new MemoryStream(); + //Save the document as Xhtml file + export.SaveAsXhtml(document, stream, Encoding.Unicode); + document.Close(); + + + 'Creates a new Word document + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Adds new text to the paragraph + paragraph.AppendText("Hello World!") + Dim export As New HTMLExport() + Dim stream As New MemoryStream() + 'Save the document as Xhtml file + export.SaveAsXhtml(document, stream, Encoding.Unicode) + document.Close() + + + + + + Writes the XHTML. + + The doc. + Name of the CSS file. + + + + Closes this instance. + + + + + Writes body + + + + + + Writes the background image. + + The pic. + + + + Writes the style sheet. + + The doc. + Name of the CSS file. + + + + Append style sheet + + + + + + + Appends the line. + + The sb. + The textline. + + + + Writes page break before in a span. + + + + + Writes the section. + + The sec. + + + + Writes the footnotes. + + The sec. + + + + Write text body + + + + + + Writes the body item. + + The body item. + + + + Writes the paragraph. + + The paragraph. + + + + Decides whether current field items should be skipped or not. + + Current paragraph item. + + + + + Decides whether the currently writing hyperlink field results. + + Returns true if field stack contains Hyperlinke field. + + + + Writes the paragraph items. + + The para items. + + + + To combine the text in the subsequent textranges whether it has same character format + + + + + + + + Write break + + + + + + As per MS word behavior, to preserve line break properly + Checks whether the break is last renderable items + + + True if break is last renderable item else false + + + + Writes the text box. + + The text box. + + + + Writes the footnote. + + The w footnote. + + + + Write footnote span + + + + + + Writes the footnote attributes. + + + + + Writes the form field. + + The field. + + + + Writes the paragraph or list. + + The paragraph. + + + + Checks whether the list value should write as paragrapgh or not + If m_document.SaveOptions.HTMLExportWithWordCompatiblity is enabled and + listformat pattern type is bullet, then list should written as simple paragraph + + ListFormat + True if the list value should written as paragraph else False + + + + Ensure within Division + + + + + + Write style attribute for paragraph + + + + + + + Adds the decoration style of the text range to inline style of the paragraph + + + + + + + + Check whether the style is heading style + + + + + + + Write List + + + + + + + + + Gets the CharacterFormat of the list + + + + + Copys Character formatting + + + + + + + Ensure whether the style is already defined and appends the style accordingly + + + + + + + + Removes duplicate style attribute entry + + Name of the style + Current style + validated style + + + + Write list start tag + + + + + + + Gets StartAt Value for current list level + + + + + + + Preserve List as paragraph tag + + + + + + + + Write prefix value for List + + + + + + Write tab space for list + + + + + + Get list character for Epub + + + + + + + + Convert Arabic to Roman + + + + + + + Get Prefix value + + + + + + + + Writes the bookmark. + + The bookmark start. + + + + Checks whether the bookmark is form field bookmark + + The bookmark to check + True, if the bookmark belongs to form field else false. + + + + Checks whether the para has only bookmarks + and the current writing bookmark start is last bookmark start of para child entites + + The current writing bookmark start + True if the para has only bookmarks and current writing bookmark start + is last bookmark start of paragrapgh else false + + + + Writes the field. + + The w field. + + + + Pushes the field to FieldStack. + + + + + + Insert Field Begin + + + + + + Write the field mark + + + + + + Writes the hyperlink. + + The hyperlink. + + + + Writes the image. + + The pic. + + + + Writes the text range. + + The w text range. + + + + Get the current layouted custom tab + + + + + + Get the current tab style + + + + + + + + + Get the current tab leader text + + + + + + + + + Get the current tab width + + + + + + + Write the string which contains tab in between letter + + + + + + + + split the text whether it contains control character tab + + + + + + + Write the tab text instead of "\t" with tab leader based on it width + + + + + + + Write the list follow text + + + + + + Write the prefix list tab text + + + + + + + Writes the table. + + The w table. + + + + Check whether the table has misaligned cells + + + + + + + + Write grid before cell + + + + + + Apply default table grid style for the table + + + + + + + Get the bottom border for the Vertically merged cell + + + + + + Get the right border for horizontally merged cell + + + + + + Writes the row of offsets. + + The offsets. + + + + Writes the span attributes. + + The col offsets. + The row offset. + The cell. + + + + Gets the rowspan. + + The cell. + + + + + Gets the cell by offset. + + The w table row. + The row offset. + + + + + Calculates the columns. + + The table. + + + + + Gets the colspan. + + The col offsets. + The row offset. + The p. + + + + + Gets the colspan. + + The cell. + + + + + Writes the cell attributes. + + The cell. + + + + Writes the table attributes. + + The table. + + + + Check whether the border attribute need to preserve + + + + + + + Write table border + + + + + + + Get table border style + + + + + + + + Write table cell spacing + + + + + + Write table width + + + + + + + Write table alignment + + + + + + Gets the table alignment + + + + + + + Writes the row attributes. + + The row. + + + + Check whether all cells in a row is hidden + + Table Row + True if all cells in a row is hidden. Else False + + + + Gets the paddings. + + The paddings. + + + + + Gets the paddings. + + The paddings. + + + + + Get cell padding from table + + + + + + Gets the style. + + The format. + + + + + Checks with Texture and returns the Background color of the cell + + + + + + + Gets the cell background. + + The format. + + + + + Gets the color value. + + The fore color value. + The back color value. + The percent. + + + + + Gets the borders style. + + The cell borders. + The row borders. + The string builder. + The owner cell. + + + + Gets the row border. + + The borders. + The cell. + The side. + + + + + Gets the border style. + + The cell border. + The row border. + The string builder. + The side. + + + + Get table border style based on table border + + + + + + + + Get Cell border color based on table border + + + + + + + s + Get border color + + + + + + + + Get Cell border width based on table border + + + + + + + + Get line width based on border style + + + + + + + Gets the style. + + The format. + + + + + check whether the paragraph contains contextualspacing property or not. + + + + + + Get the paragraph from table. + + + + + + + Get character format style + + + + + + + Get character format style + + + + + + + Gets the HTML equivalent colors for highlight colors in Word document + + + + + Sets the size of the checkBox. + + The style. + The checkBox. + Size of the checkBox. + + + + Gets the color in Hex format + + Color + Hex value + + + + Gets the borders style. + + The borders. + + + + + Gets the border style. + + The prefix. + The border. + The sb. + + + + Converts border style to html border style. + + The style. + + + + + Converts border style to html border style.(For Paragraph border similar to MS Word) + + The style. + + + + + Encodes the name. + + The name. + + + + + Checks the valid symbols. + + The name. + + + + + converting metafile image to bitmap + + + + + + + Processes the image. + + The picture. + The image path. + + + + Writes the empty paragraph. + + The characterformat format. + + + + Writes the text. + + The text. + + + + Get tab Text of which contains 15 non breaking white space and single normal white space + + + + + Replace empty space with non-breaking space + + + + + + + Returns the string with style names (according to their hierarchy) + which are applied on paragraph. + + + + + + + + + + + + + + + + + + + + Close the list + + Paragraph level Number + /// Paragraph + + + + Write the End element + + Difference + + + + Writes the type of the list. + + The type. + + + + Gets the level numer. + + The list format. + + + + + Gets the list start value. + + The format. + + + + + Gets the List start at value + + + + + + + + Ensures the level restart. + + The format. + if set to true full restart is performed. + + + + Returns the Percentage of Color for the TextureStyle + + + + + + + Gets the list format for paragraph. + + The paragraph. + + + + + Gets the outline level + + + + + + + Sort the document Behind Wrap Style floating items based on its Z-Index and swap the z-index values. + + + + + Creates Navigation point + + The paragraph + + + + Checks if heading style is present in the document + + Style name + True if the style is heading style; false otherwise + + + + Replaces special character + + Input text + Replaced text + + + + Returns the heading level of the style + + Style Name + Heading level + + + + Gets new navigation point id + + Id + + + + Gets or sets the value indicating whether to use the absolute path. + + True if absolute path is specified, otherwise false. + + + + Gets the lists. + + The lists. + + + + Gets the Behind wrap style floating items. + + The lists. + + + + Gets the current field. + + The current field. + + + + Gets the previous field. + + The previous field. + + + + Gets the footnotes. + + The footnotes. + + + + Gets the field stack. + + The field stack. + + + + Gets the endnotes. + + The endnotes. + + + + Gets or sets whether to cache files as stream. + + + + + Gets or sets whether to create navigation point + + + + + Gets or sets if the OEB header / footer is created + + + + + Gets the stylesheets to be embedded in document + + + + + Gets the images to be embedded in document + + + + + Returns the bookmarks used to create TOC + + + + + Get or set the value indicating the paragraph has tab + + + + + Get or set the current line width + + + + + Get or set the default tab width + + + + + Get the drawing context + + + + + Get or set the layouted tab list + + + + + Get or set the value indicating the paragraph has tab + + + + + Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. + + The first object to compare. + The second object to compare. + + Value Condition Less than zero is less than . Zero equals . Greater than zero is greater than . + + Neither nor implements the interface.-or- and are of different types and neither one can handle comparisons with the other. + + + + Converts markdown DOM to DocIO DOM + + + + + Convert markdown to Word DOM. + + Word document + Markdown document + + + + Convert markdown to Word DOM. + + + + + + Apply the paragraph style for code block + + + + + Applies Md paragraph list style to the Wparagraph as list. + + + + + Current block element + + + + Convert the mark down inline items to corresponding word element. + + + + + + + Convert md hyperlink to word hyperlink element and append it to the given word paragraph. + + + + + + + Convert md picture to word picture and append it to the given word paragraph. + + + + + + + Convert md table to word table element. + + + + + + + Convert Mark down text range to Word text range with text range character styles applied. + + + + word paragraph + + + + Replaces the '\\' character with given character from the text. + + + processed text + + + + Gets the table column text alignment based on markdown table column Alignment. + + + Horizontal Alignment type + + + + Add Fenced code style in the Word document. + + + + + Apply Md paragraph style to the WParagraph. + + + + + + + Get list pattern type based on the list level. + + + List pattern type + + + + Closes this instance. + + + + + Represents the Rtf lexer. + + + + + Initializes a new instance of the class. + + The instance. + + + + Reads the Next token from the stream + + + + + + Reads the Next token from the stream + + + + + + Reads control word + + + + + + Reads Document element + + + + + + + Closes this instance. + + + + + Implemented alternative method to improve the performance + + + + + + + + Gets and Sets the imagebytes + + + + + Gets and Sets CommentRange start id + + + + + Gets/Sets Rtf table type + + + + + Gets/Sets Rtf token type + + + + + + + + + + + + + + + Specifies the flags/options for the unmanaged call to the GDI+ method + Metafile.EmfToWmfBits(). + + + + + Parse each token from the rtf + + + + + Remove the text formats from stack which were added due to nested RTF document. + + + + + + Check whether this current group contains pn list related tokens + retrun the bool value + + current object of group class + + + + + Check whether this current group contains "ls" or "ilvl" or "pnlvlbody" token + retrun the bool value + + current object of group class + + + + + Initializes the default compatibility options. + + + + + Closes this instance. + + + + + Add font to the font table collection + + + + + Add color to the color table + + + + + Add styles to the style table collection + + + + + Check whether the style is present in the document + + + + + + + Parse Control start + + + + + Gets whether the group is a nested group + + + + + + Parse group start + + + + + Parse Group End + + + + + Parses the drawing tokens after detecting the shape type. + + + + + Parses the drawing tokens after detecting the picture. + + + + + Moves the body items into the shape. + + + + + + Parse group end within field group + + + + + Ensure whether the end of field sub group(field instruction and field end) + + + + + + + Ensure field group end + + + + + Write Form field properties + + + + + Remove Delimiter space from the document text + + + + + + + Identify whether the token is a picture token + + + + + + Parse document element + + + + + Check whether the current text format is default text format or not. + + + + + + + Encode the string with its code page. + + + + + + + Gets encoding information for the corresponding code page. + + + + + + Gets encoding information for the corresponding code page. + + + + + + Reset the text range fill color to empty. + + Character format + + + + Set field code and formatting to text range. + + + + + + + + Parse field group + + + + + + Parse TOC field + + + + + + + Parse unknown field + + + + + + + Append Textrange + + + + + + Replace Wfield object with WMergeField object + + + + + Apply field properties + + + + + + + + Parse the form fields destination control words + + + + + + Parse Image bytes + + + + + Parse custom document properties + + + + + Parse built-in document properties + + + + + Gets the field type + + + + + + + Get the formatting string + + + + + + + Apply the drop down field specific properties + + + + + + Apply the textform field specific properties + + + + + + Apply the checkbox specific properties + + + + + + Apply the common formfield properties + + + + + + Check whether the current picture/shape need to be skipped or added + + + + + + Append Picture to the current paragraph + + + + + Get the rotation angle for picture. + + Represents the angle of rotation + + + + + Get the buffer size for initialize the rtf reader position for read the upcoming contents. + + Represent the size of the buffer + return the position which needs to be readed by a reader + + + + Get Image bytes from the token + + + + + + + Apply picture Formatting + + + + + Sets AutoShapeType based on rtf because the value of rtf and our AutoShapeType enum values or different. + + + + + + + Apply Shape Formatting + + + + + Apply TextBox Formatting + + + + + + + + Apply the text box formats to shape + + + + + Copy paragraph formatting + + + + + + + Parse control word from the rtf file + + + + + + Skip the group. + + + + + Read the corresponding bulletin character. + + + + + + + Parse list table + + + + + + + + Parse list level start + + + + + Copy Character formatting + + + + + + + Copy base list style to overrided list style + + + + + + + Parse pagenumbering of the section + + + + + + + + Parse line numbering of the section + + + + + + + + Parse font table + + + + + + + + Reset the list font to default font. + + + + + + Checks whether the paragraph exist in shape result or not. + + + + + + + Parse Formatting controls + + + + + + + + Parse the Frame X and Y positions for the paragraph + + The value of the property + True if negative value, else false. + True if X value, else false. + The position value + + + + Reset the paragraph formatting + + + + + Reset Borders + + + + + + Reset Border + + + + + + Reset the character format + + + + + Get equal column width of the section + + + + + + + Parse special characters + + + + + + Check whether the accent character need to be omitted + + + + + + Get Texture style + + + + + + + Parse listtext start + + + + + Parse paragraph end + + + + + Parse paragraph start + + + + + Parse section start + + + + + Copy Section formatting + + + + + + + Parse row Start + + + + + Parse Row End + + + + + Parse Cell boundary + + + + + + + + Gets the text wrap around. + + The positioning. + + + + + Parses Accented character + + + + + + + + Get the code page for the current Font character set + + + + + + Determines whether current code page is single byte encoding. + + + true if [is single byte]; otherwise, false. + + + + + Get Font Character Set + + + + + + Determine Whether the code page is supported for Encoding + + + + + + + Get the code page is supported for Encoding + + + + + + + Set the default value of the paragraph format + + + + + + Process the table information based on the levels + + + + + Ensure the lower level tables + + Current paragraph level + + + + Ensure the upper level tables + + Currentl paragraph level + + + + Apply list formatting + + + + + Apply Section formatting + + + + + Parse the shape and textbox related tokens + + + + + + + Set the Default values for Shape in Text Box + If the shape is True in text Box then textbox need to set this value + + + + + Get the TextBox LineStyle to TextBox shape Line Style + + + + + + Sets the rotation value of a shape + + + + + + Adds the shadow distance and direction + + + + + Add the Adjust Values for each shape + + + + + Adds the required values into the stack before reading the another shape + + + + + Adds the required values into the stack before reading the shape textbody. + + + + + Clears the values in previous textbody. + + + + + Resets the m_pictureOrShapeStack after reading the shape textbody. + + + + + Resets the required values after reading the shape textbody. + + + + + Parse picture token + + + + + + + + Get Int Value + + + + + + + Parse Vertical alignment of the page + + + + + + + + Parse outline levels + + + + + + + + Parse Borders + + + + + + + + Appply cell formatting + + + + + + + Apply Row formatting + + + + + + + Apply cell border + + + + + + + Adds the new paragraph to the current section + + + + + Update Paragraph Tabs collection + + + + + + Update tabs with type as clear from BaseFormat to direct paragraph formatting + + + + + + + Add new section to the current document + + + + + Extract the Twips value from the token + + + + + + Extract the Quater point value from the token + + + + + + + Sort Tab Collection based on Tab position + + + + + Seperate Token keyword from the token Value + + + + + + + Checks and get the alternate or default font index + + Current Textformat + Current Character format + Returns the font index value + + + + Check whether the property value is same as in its paragraph style + + Para style character format + Property key + Property value in text format + True, if the para style and text format value of the current property is same + + + + Copy Textformating to the character format + + + + + + + Apply font for the current paragraph + + + + + Apply font color for the current text + + + + + + Implemented alternative method to improve the performance + + + + + + + + Sets the parsed element flag. + + The token. + + + + Sets the shape elements flag. + + The shape type value. + + + + Gets/Sets the value indicating whether the stylesheet group is started. + + + + + Gets/Sets the value indicating whether need to create new list style for PN list style numbering. + + + + + Gets/Sets the value indicating when the current section contains sectd tag. + + + + + Get's or set's the Default code page of the document + + + + + Get's or set's the Default font index value + + + + + Checks whether the control word is destination control word + + + + + Gets whether the group is form field group + + + + + Gets whether the group is field group + + + + + Gets the current paragraph level + + + + + Gets the previous paragraph level + + + + + Gets the current TextBody + + + + + Gets the current para. + + The current para. + + + + Gets and Sets the current column + + + + + Gets the current section + + + + + Gets and sets the current list style + + + + + Gets and sets the current list override style + + + + + Gets the current comment. + + The current comment. + + + + Gets the comments id list. + + The comments id list. + + + + Holds the text which enclosed by the comment tags + + The comments id list. + + + + Holds the collection of Comment along with its ID + + The comments id list. + + + + Gets and Sets the current list level + + + + + Gets and Sets the current Rtf font + + + + + Gets and sets the current color table + + + + + Gets and Sets the current table + + + + + Gets and Sets the current row + + + + + Gets and Sets the current cell + + + + + Gets and Sets the current cell format + + + + + Gets/Sets the current row format + + + + + Gets/Sets the current tab format + + + + + Hold the shape property value temporarily until find the shapeType token + + + + + Initialize the Values + + + + + + + Text format class + + + + + Specifies Vertical position of the Character + + + + + Specifies scaling percentage of the Character. + + + + + Specifies the character spacing of the text + + + + + Specifies Bold format. + + + + + Specifies Italic format. + + + + + Specifies Underline format. + + + + + Specifies Strike format. + + + + + Specifies DoubleStrike format. + + + + + Specifies Emboss format. + + + + + Specifies Engrave format. + + + + + Specifies SubSuperscript Format + + + + + Specifies font color of the text. + + + + + Specifies back color of the text. + + + + + Specifies fore color of the text. + + + + + Specifies Hightlight color of the text. + + + + + Specifies the font family. + + + + + Specifies the font size. + + + + + Specifies the text alignment. + + + + + Specifies the text style. + + + + + Clones this instance. + + + + + + Gets or sets the ASCII locale id . + + The ASCII locale id . + + + + Gets or sets the far east locale id . + + The far east locale id . + + + + character spacing of the text + + + + + Gets or sets the complex script locale id . + + The far east locale id . + + + + Specifies Vertical position of the Character + + + + + Specifies scaling percentage of the Character + + + + + Specifies Highlight color of the Text + + + + + Specifies whether the text is bidirectional + + + + + Specifies the text direction is right-to-left + + + + + Section Format class + + + + + Gets/sets the bin in which the first page of the section will be printed + + + + + Gets/sets the bin in which the other pages of the section will be printed + + + + + Picture format class + + + + + Shape Format Class + + + + + Returns the Size of shape + + + + + Gets the Size of Shape + + + + + Represents the group for RTF document. + + + + + Get Groups's object from the childElements collection + Set Groups's object into collection + + + + + Represents token for RTF document + + + + + Gets/Sets the value of token + + + + + Gets/Sets the value of token + + + + + Represents the form fields information + + + + + represents the value of ffname token + + + + + Represents the value of ffhelptext + + + + + Represents the value of ffstattext + + + + + Represents the field type w.r.t the value of the fftypeN + + + + + Represents the value of ffrecalcN + + + + + Represents the value of ffentrymcr + + + + + Represents the value of ffexitmcr + + + + + Represents the value of ffprotN + + + + + Represents the value of ffhpsN + + + + + Represents the checkbox type specified by the token ffsizeN + + + + + Represents the value of ffdeftext + + + + + Represents the value of ffformat + + + + + Represents the value of ffmaxlenN + + + + + Represents the collection of values of ffl control word + + + + + Represents the value of ffhaslistboxN + + + + + Represents the value of ffres + + + + + Respresents the value of ffdefres + + + + + Respresents the value of ffdefres for check box + + + + + Gets/Sets the checked status of the check box + + + + + Gets or sets + + + + + Gets or sets the maximum number of character allowed in text form field. + + + + + Gets or sets the string format + + + + + Gets or sets the default text for the textform field + + + + + Gets or sets the checkbox size type (Auto/Exactly) + + + + + Gets or sets the checkbox size. This size will be reflected only when the checkbox size is of Exactly type + + + + + Gets or sets the value which protects this form field + + + + + Gets or sets the Macro name to execute upon exit into this form fie + + + + + Gets or sets the Macro name to execute upon entry into this form fie + + + + + Gets or ets the form field name. + + + + + Gets or sets the help text string. + + + + + Gets or sets the boolean value which represents whether the field should be calculated on exit or not + + + + + Gets or sets the status line text + + + + + Gets or sets the formfield type. + + + + + Clones this instance. + + + + + + Get/Set the alternate font name to use if the font specified in the font table is not available. + + + + + Gets and Sets the tab position + + + + + Gets and Sets the justification for the tab + + + + + Gets and sets the tab leader + + + + + Gets and Sets the Red component value + + + + + Gets and Sets the green component value + + + + + Gets and Sets the blue component value + + + + + Represents the details for the table representation based on the paragraph level. + + + + + Updates the specified reader. + + The reader. + The prev level. + + + + Represents the Rtf reader. + + + + + Initializes a new instance of the class. + + The instance. + + + + Read a single character + + + + + + Reads the image bytes from the stream + + + + + + Closes this instance. + + + + + Gets the Rtf data + + + + + Gets the encoding. + + + + + Gets and Sets the current position in data buffer. + + + + + Gets and Sets the data buffer length + + + + + Converts dls document into rtf format + + + + + Collection of font table entries - to avoid serialization of duplicate font entries in fonttbl + + + + + Writes document to the file specified by filename + + Name of the file. + The document. + + + + Writers WordDocument to the specified stream. + + The stream. + The document. + + + + Gets the RTF text. + + The document. + + + + + Writes the body of document. + + + + + Build the document page informations. + + + + + Builds the default styles. + + + + + + Builds the sections. + + + + + Builds the background. + + + + + Builds the section. + + The section. + + + + Builds the section body items. + + The section body item collection. + + + + Builds the body items. + + The body item collection. + + + + Builds the headers and footers. + + The headers footers. + + + + Gets the watermark for each headers. + + + + + + + Builds the header footer. + + The name. + The body item collection. + + + + Builds the paragraph. + + The paragraph. + + + + Compare the list format of paragraph + + + + + + + Check whether the previous paragraph has fieldend + + + + + + + Builds the paragraph end. + + The paragraph. + + + + Write sect token. + + The Memory Stream. + + + + Builds the character format. + + The character format. + + + + + Gets the RTF control word for paragraph alignment. + + + + + + + + Builds the paragraph format. + + The p format. + if it is append style, set to true. + + + + + Builds the paragraph format. + + The p format. + if it is append style, set to true. + + + + + Builds the paragraph spacing. + + The paragraph format. + The style paragraph format. + + + + + Builds the spacing. + + The attribute. + The value. + + + + + Builds the auto spacing. + + The value. + if it has spacing, set to true. + + + + + Builds the line spacing. + + The paragraph format. + + + + + Builds the texture style. + + The texture style. + + + + + Builds the section properties. + + The section. + + + + Builds the page setup. + + The page setup. + + + + + Builds the page number style. + + The page number style. + + + + + Builds the columns. + + The column collection. + + + + + Builds the underline style. + + The under line style. + The string builder. + + + + Builds all tab from tab collection. + + The tab collection. + + + + + Builds the paragraph borders. + + The paragraph format. + + + + + Builds the page borders. + + The borders. + + + + + Builds the border. + + The border. + + + + + Builds the border style. + + The border style. + + + + + Builds the style sheet. + + + + + Builds the style. + + The style. + + + + Builds the style. + + Name of the style. + + + + Builds the text border. + + The border. + + + + Builds the frame property. + + The paragraph format. + + + + + Builds the paragraph list id. + + The paragraph. + The paragraph format. + + + + + Builds the table. + + The table. + + + + Builds the table row. + + The table row. + + + + Builds the Table row property. + + The table row. + + + + Builds the Table cell property. + + The table cell format. + + + + + Builds the Table row borders. + + The borders. + + + + + Builds the Table cell borders. + + The cell. + The cell borders. + The row borders. + + + + + Builds the table cell. + + The table cell. + + + + Builds the padding. + + The paddings. + if set to true [is row]. + + + + + Builds the vertical alignment. + + The alignment. + + + + + Checks the cell borders. + + The table cell. + Type of the border. + + + + + Builds the paragraph item. + + The paragraph item. + + + + Builds the symbol. + + The symbol. + + + + Builds the footnote/endnote. + + The footnote. + + + + Builds the footnote property. + + The footnote. + + + + Builds the endnote property. + + + + + Builds the field mark. + + The field mark. + + + + Builds the field. + + The field. + + + + Inserts the line break. + + The Break. + + + + Builds the text range. + + The text range. + + + + Inserts the Bookmark end. + + The bookmark end. + + + + Inserts the Bookmark start. + + The bookmark start. + + + + Builds the toc field. + + The toc. + + + + Builds the picture. + + The picture. + + + + Builds the shape image. + + The picture. + + + + Builds the Inline Image. + + The picture. + + + + Builds the shape image. + + The shape. + + + + Write the Basic Shape Tokens + + + + + + + Write the Shape Position tokens + + + + + + + Write Shape Object Type tokens + + + + + + + Write Shape Horizontal Line tokens + + + + + + + Write Shape Line tokens + + + + + + + Write Shape Fill tokens + + + + + + + Gets the RTF AutoShape Color + + + + + + + Write Shape Adjust Values tokens + + + + + + + Write Shape Shadow tokens + + + + + + + Gets Offset X and Y if the parsing done in docx + + + + + + + Write Shape 3D tokens + + + + + + + If the document parsed from docx then the adjust value format is different + So convert the docx adjust values to rtf adjust values for each shape. + + + + + + + Builds the extrusion from plane. + + + + + Builds the extrusion from plane. + + + + + Determine whether the image is WMF format + + + + + + + Builds the picture property. + + The picture. + + + + + Builds the metafile properties. + + The picture. + + + + + Gets the RTF image. + + The image. + + + + + Use the EmfToWmfBits function in the GDI+ specification to convert a + Enhanced Metafile to a Windows Metafile + + + A handle to the Enhanced Metafile to be converted + + + The size of the buffer used to store the Windows Metafile bits returned + + + An array of bytes used to hold the Windows Metafile bits returned + + + The mapping mode of the image. This control uses MM_ANISOTROPIC. + + + Flags used to specify the format of the Windows Metafile returned + + + + + Deletes an enhanced-format metafile or an enhanced-format metafile handle. + + A handle to an enhanced metafile. + If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. + + + + Builds the wrapping style. + + The wrapping style. + The wrapping type. + + + + + Builds the wrapping type. + + The text wrapping type. + + + + + Builds the shape property. + + Name of the property. + The property value. + + + + + Sets AutoShapeType based on rtf because the value of rtf and our AutoShapeType enum values or different. + + + + + + + Sets Linestyle based on rtf because the value of rtf and our Linestyle enum values or different. + + + + + + + Builds the layout in cell token. + + The value that represents whether a picture in a table is displayed inside or outside the table. + + + + + Builds the horizontal alignment. + + The shape horizontal alignm. + + + + + Builds the vertical alignment. + + The shape vertical alignm. + + + + + Build textbox visible or not + + + + + + + Builds the horizontal position. + + The horizontal position. + + + + + Builds the vertical position. + + The vertical position. + + + + + Builds the shape position. + + The horizontal position. + The vertical position. + The shape width * shape horizontal scale. + The shape height * shape vertical scale. + + + + + Builds the text box. + + The text box. + + + + Build textbox position related tokens. + + + + + + + + Build textbox fill related tokens. + + + + + + + + Build TextBox Line Related Tokens + + + + + + + + Builds the text flow in text box + + + + + Builds the text box wrapping style + + The text wrapping style + + + + + Builds the text box line style. + + The line style. + + + + + Builds the shape lines. + + The line color. + The line dashing. + Width of the line. + + + + + Builds the shape fill. + + The color. + + + + + Builds the gradient variant. + + The gradient variant. + + + + + Appends the list styles to list table. + + The list styles. + + + + Builds the list level. + + The list level. + + + + + Updates the list numbering prefix. + + The prefix. + + + + + Builds the level text. + + The list level. + + + + + Builds the level numbers. + + The list level. + + + + + Gets the level text length. + + The level text. + + + + + Gets the level text. + + The list level. + whether numberSuffix need to be added or not based on level numbers + + + + + Builds the level formatting. + + The type of number. + + + + + Appends the override list style. + + + + + Builds the list text for paragraph. + + The para. + + + + + Builds the list text for paragraph. + + The list level. + + + + + Gets the List start value. + + The list format. + + + + + Builds the List letter symbol. + + The list format. + + + + + Determines whether the specified text is changed. + + The text. + + true if the specified text is changed; otherwise, false. + + + + + Checks the number prefix. + + The number prefix. + + true if [is complex list] [the specified prefix]; otherwise, false. + + + + + Builds the picture watermark body. + + The pic watermark. + + + + + Builds the text watermark body ( property ). + + The text watermark. + + + + + Builds the default watermark property. + + + + + + Builds the text form field. + + The text field. + + + + + Builds the check box. + + The check box. + + + + + Builds the drop down field. + + The drop down field. + + + + + Builds the form fields. + + The form field. + + + + + Builds the comment mark. + + The c mark. + + + + + Builds the comment. + + The comment. + + + + + Builds the Commnet items. + + The comment. + + + + Checks whether there are no or empty items between the comment range + + Comment to check + True, if the comment has non empty string between comment range start and end, Otherwise return False + + + + Sets the color value. + + The character format. + Color + The base character format. + Color + The option key. + The value. + + + + + Builds Highlight color with name + + The color. + The value. + + + + + Builds color with name + + The color. + The value. + + + + + Checks the section for footnotes/endnotes. + + + + + Builds field type. + + The type. + + + + + Gets the color of the RTF format shape. + + The color. + + + + + Gets the color of the RTF format shape. + + The color. + + + + + Writes the elements. + + The param. + + + + Generate next font id. + + if set to true [is bidi]. + + + + + Gets the next id. + + + + + + Gets the next color id. + + + + + + Check whether the font entries exists in the font table + + + + + + + Appends the font to the FonrString. + + The font id. + The format. + + + + Appends the color to the ColorString. + + The color. + The attribute string. + + + + + Writes the font names. + + The character format. + + + + + Writes the font name bidi. + + The character format. + + + + + Writes the paragraph end. + + The para. + + + + + Prepares the text. + + The text. + + + + + Replace unicode characters. + + The text. + + + + + Builds the text range. + + The character format. + The text. + + + + + Writes the field end. + + The field mark. + + + + + Gets the owner section. + + The entity. + + + + + Inits the cell end pos. + + + + + Gets the document lists ids. + + The lists ids. + + + + Gets a dictionary that maps document list IDs to their equivalent long values. + Initializes the dictionary if it is null. + + + A Dictionary<int,long> where the key is the document list ID and the value is the equivalent long ID. + + + + + Gets the list override array. + + The list override ar. + + + + Gets the styles. + + The styles. + + + + Gets the style numb. + + The style numb. + + + + Gets the lists. + + The lists. + + + + Gets the comment ids. + + The comment ids. + + + + + + + + + Gets the color table. + + The color table. + + + + Row borders + + + + + Right border + + + + + Left border + + + + + Top border + + + + + Bottom border + + + + + Represents the parser for MS Word 2010 generated document. + + + + + Reads the specified document path. + + The document path. + The Word document. + + + + + Reads the Word ML from filename + + The file name. + Instance of Word document. + + + + + Read the Word 2003Xml document + + The document stream. + Instance of Word document. + + + + + Read and skip white spaces. + + + + + + Reads FlatOPC document from the stream. + + Stream to read data from. + + + + Reads the specified data stream. + + The document stream. + Instance of Word document. + + + + + Reads the Word ML stream + + The document stream. + Instance of Word document. + + + + + Gets the decrypted document stream. + + The stream. + The doc. + + + + + Reads the word document + + The Word Document + + + + Update the main document path + + + + + Get the path by its content type + + The extension. + + + + Get the content type of extension + + The extension. + + + + Get Format Type based AppVersion. + + The document. + + + + Updates the document format type. + + The document. + + + + Parse the document and its relations + + + + + + Check and Filters the Xml parts. + + partcontainer having customXml + The custom xml partcontainer after removing the XML which doesn't has relationship + + + + Check and sort the xml parts as per Rid + + partcontainer having customXml + + + + Binds the custom XML data into Content controls. + + PartContainer. + + + + Parse the meta data properties in custom xml part. + + + + + + Sets the xPath from the list of content control + + The custom xml part container + The inline content control + The block content control + The cell content control + + + + Checks whether the custom XML parts contain a "Props" part. + + The container of custom xml parts. + True if a "Props" part is found; otherwise false. + + + + Maps the content to the content control + + + + + + + + Reset the resultant text to the cell content control + + The xml part container + The cell content control + + + + Resets the cell content controls. + + Cell controls. + Root element. + + + + Reset the resultant text to the block content control + + The xml part container + The block content control for which the text to be mapped + + + + Resets the block content controls. + + Block controls. + Root element. + + + + Sets the resultant builtin property value to the content control + + + + + Reset the resultant text to the inline content control + + The xml part container + The inline content control for which the text to be mapped + + + + Resets the inline content controls. + + Inline controls. + Root element. + + + + + Gets the list path from params + + + + + Gets the list path + + + + + Gets the index from the node path + + + + + Gets the resultant child node from the child nodes + + + + + Check whether the current node is from a valid parent. + + + + + Checks whether the current node has expected attributes as mentioned in Xpath + + + + + Returns the result text for the cell content control + + + + + Returns the result text for the block content control + + + + + Get the attributes of the xpath + + + + + Extract the correct date format. + + + + + Checks and converted the binded xml text into proper date time format. + + Binded xml text. + True if the binded xml text is in specified date time format; otherwise false. + + + + If the content from WordML is empty, then set 5 spaces as default + + + + + Determines whether the paragraph items in paragraph is empty + + paragraph + returns true if paragraph is empty + + + + Determines whether the paragraph is empty + + paragraph + returns true if paragraph is empty + + + + Get the 5 empty spaces from WordML + + + + + Converts the WordML format into text. + + The inline content control. + Mapped text of the content control. + + + + Maps the WordML to block content control + + The block content control. + The text body that contains the items need to be added to the content control. + + + + Converts the WordML format into text. + + The block content control. + Mapped text of the content control. + + + + Converts the WordML format into text. + + The cell content control. + Mapped text of the content control. + + + + Checks whether the text is WordML format document. + + Mapped text of the content control. + True if text is WordML format, otherwise false. + + + + Sets the mapped cell to the cell content control + + The table cell + The resultant mapped text + + + + Sets the mapped picture to the block content control + + + + + + + Sets the mapped picture to the inline content control + + + + + + + Sets the mapped text to the cell content control + + + + + + + Set the default picture and check if the picture is default or not. + + + + + + + + Set the default height and width and default picture to the content control. + + + + + + + + Check whether the picture is default redX picture. + + + + + + + Updates the base64 image in the picture content control. + + + + + + + Sets the mapped paragraph to the block content control + + The block content control + The resultant mapped text + + + + Checks whether the document has glossary document + + + + + + Checks whether need to map placeholder from glossary document to content control + + + + + + + + Checks whether need to map Databinding Value from glossary document to content control + + + + + + + + Parse glossary document and map the place holder text + + + + + + Clear the items in block content control except the last paragraph + + + + + Mapped the paragraphs in docpart to content control + + + + + Parse docpart in glossary document + + + + + + + + Check whether content control need to preserve five non breaking space as place holder text + + + + + + + Copy the formattings from content control to text range. + + + + + + + Sets the mapped text to the inline content control + + The inline content control + The resultant mapped text + + + + Replaces the break chars from text. + + Text to replace with break chars. + The text. + + + + Replaces the break chars as soft breaks. + + Text to replace with break chars. + The text. + + + + Clears the parsed image from package. + + Name of the image. + Name of the container. + + + + Parse the theme xml part + + Theme part stream + + + + Parse the theme elements + + XmlReader + + + + Parse the Format Scheme + + + + + Parse the Effect style Scheme + + + + + Parse the Effect style list of themes scheme + + + + + Gets the shape property value + + + + + Parse the Shape ThreeD properties(sp3d). + + + + + Parse the Effect list items + + + + + Parse the fill style list + + + + + Parses the color transform. + + The reader. + The parent element. + Color of the theme. + The opacity. + + + + Parses the theme element gradient fill of the Fill Style List. + + The reader. + The gradient fill. + + + + Parses the theme elements gradient stop. + + The reader. + The gradient fill. + + + + Parse the Line Style Scheme + + + + + Parse the Line Style + + Theme part stream + + + + Parse the Font Scheme + + Theme part stream + + + + Parse the Scheme Color + + Theme part stream + + + + Gets the name of the base font. + + The reader. + if it is major, set to true. + + + + + Extract the DocProperties part + + Docx package + + + + Parses the vba project. + + The stream. + + + + Parses the vba project signature. + + The stream. + + + + Parses the vba project signature agile. + + The stream. + + + + Parses the vba data. + + The stream. + + + + Parses the macro data. + + The reader. + + + + Parses the doc events. + + The reader. + + + + Parses the font table. + + The stream. + + + + Parses the fonts of Word 2003 XML document. + + The reader. + + + + Update Font Table + + + + + Parse the Word 2003 Xml font details + + The reader + The fontName + + + + Parses the font details. + + The reader. + The fontName. + + + + Get Bytes from string + + + + + + Parse the document + + The document.xml stream + + + + Check whether the current table could merge with its previous table or not. + + + + + + + check whether the previous table row's IsHeader property true of false. + + + True if IsHeader property is true, otherwise false. + + + + Parse the document body + + The Xml reader + The entity + A flag represents true if the body to parse is nested body element, + false if it is normal body element. + + + + Parses a block content control. + + The XML reader containing the block content control. + The entity to add block content control. + + + + Performs post-processing tasks for a block content control. + + The block content control to post-process. + + + + Check the postParaItemsCollection has other than Bookmark And Editables Ranges + + True, if postParaItemsCollection has other than Bookmark And Editables Ranges otherwise False + + + + Update the nested paragraph child entities to the previous paragraph. + + Nested paragraph instance + + + + Modify the object model of StructureDocumentTagBlock whether the paragraph in the SDTContent has section break + + + + + + Add the paragraph to the corresponding textbody + + + + + + + Add the post paraItems to the paragraph + + The paragraph + + + + Adds the bookmarks to the alternate chunk bookmark collection. + + The alternate chunk. + + + + Parse the pargraph element + + Xml reader + The paragraph object + + + + Parse the nested paragraphs + + Xml reader + Outer paragraph items collection + + + + Parses a nested table inside a paragraph. + + The xml reader. + The outer paragraph items collection. + + + + Moves the paragraph items before the nested table to the first paragraph inside the table. + + The collection of paragraph items to be moved. + The first paragraph inside the table where the items will be moved. + A boolean indicating whether the nested table is inside an inline content control. + + + + Apply the directional override to the character format + + + + + + Update insert/delete content control revision. + + The revision type. + ParagraphItem Collection. + + + + Parses the comment. + + The reader. + + + + Parses the 2003 format comment. + + The reader. + + + + Parse the comments part (comments.xml) + + + + + Parses the comment start. + + The reader. + The paragraph. + + + + Parses the comment end. + + The reader. + The paragraph. + + + + Update comments stack + + The id of the specific comment + + + + Updates the commented items. + + The item. + + + + Parses the comments extended + + The reader + + + + Parse the comment extended + + The reader + + + + Parse the table + + The XmlReader + The Table + + + + Parse the table + + The XmlReader + The Table + + + + Check the grid span of the table and update the grid span if it is same for all columns + + Current table + + + + Checks whether the gridafter need to consider for update table grid + + + + + + + Update the table cell width if width was not specified and type was none or auto. + + The Table + + + + Parse the table row + + The Xml reader + The table row + + + + Add the AlternateChunk to textbody. + + tablecell + + + + Parse Structure document tag cell + + + + + + + + Parse structure document tag cell content + + + + + + + + Parses Structure document tag row content + + Reader + StructureDocumentTagRow + WTable + + + + + Parse the table cell + + The xml reader + The table cell + + + + Parse the table cell properties (CellFormat) + + The Xml reader + The table cell + + + + return true if row's first cell width was not defined and type was none or auto. + + + + + return true if cells width types are none or auto and width 0. + + + + + Parses the change cell format + + + + + + + Parse the cell shadings + + The xmlreader + The table cell + + + + Parse the cell vertical Merge + + + + + + + Parse the cell horizontal Merge + + + + + + + Parse the cell vertical alignment + + The Xmlreader + + + + + Parse the text direction of the cell from Word2003. + + The xmlreader + The CellFormat + + + + Parse the text direction of the cell. + + The xmlreader + The CellFormat + + + + Parse the cell Width + + + + + + + Updates the width of the cell. + + The cell. + + + + Updates the width of the cell. + + The cell. + The grid span. + + + + Update the cell width based on revision value grid span + + The current cell + The revision value of grid span + + + + Parse the Table row properties + + The xml reader + The table row. + + + + Parses the change row format + + + + + + + Gets the attribute value. + + The reader. + Name of the attribute. + The attribute namespace. + + + + + Parse the table row height + + The xmlreader + The table row + + + + Applies table properties on table row. + + The table row + The table + + + + Updates the table borders. + + The XML table format. + + + + Parse the table properties + + The xmlreader + The entity + + + + Parses the change table properties + + The xmlreader + The table + + + + Converts the string to its corresponding Integer value + + + + + + + Converts the string to its corresponding Integer value + + + + + + + Parses the table title. + + The reader. + The table. + + + + Parses the table description. + + The reader. + The table. + + + + Parses the table look. + + The reader. + The table. + + + + Gets the bool value. + + The value. + + + + + Get th + + + + + + + + Gets the table look value. + + The reader. + The name. + + + + Parse the table margins + + + + + + + Parse the table margins + + + + + + + Get the corresponding paddings wrt the entity + + The entity + The paddings + + + + Parse the table justification + + + + + + + Parses the table absolute positioning. + + The reader. + The table. + + + + Parses the tables' vertical relation. + + The positioning. + The position. + + + + Parses the table vertical relation. + + The positioning. + The position. + + + + Parses the table absolute horizontal positioning. + + The positioning. + The position. + + + + Parses the tables' absolute horizontal positioning. + + The positioning. + The position. + + + + Parse the table shadings + + The xml reader + The row format + + + + Parse the table layout element + + The xmlreader + The rowformat + + + + Parse the table style element + + The xmlreader + The table + + + + Get the corresponding row format based on the entity + + The entity + + + + + Parse the table grid element + + The xml reader + The table + + + + + Add a table to the corresponding the textbody + + + + + + + Parse the Hyperlink + + The xml reader + The paragraph element + Returns true if it is called from picture hyperlink. + + + + Get the relation + + The relation id + + + + + Parses the hyperlink text. + + The reader. + The paragraph + + + + Parse the Field Simple + + The xml reader + The paragraph + + + + + Get the particular bookmark name by its ID from BookmarkInfo collection + + The bookmark id. + The bookmark name + + + + Removes the particular bookmark name by its ID from BookmarkInfo collection + + The bookmark id. + + + + Parses the bookmark end. + + The reader. + The para items. + + + + Checks whether the paraItems has renderable items or not + + + + True If para items has no renderable item else False + + + + Parse the bookmark end element + + The xml reader + The entity + + + + Checks whether the bookmark end is added to the collection if previous element is alternate chunk. + + The bookmark end. + Then bookmark name. + The entity. + The attribute value. + + true if bookmark end is added; otherwise, false. + + + + + Gets the paragraph which contains end. + + The cell. + + + + + Gets the paragraph which contains end. + + The cell. + + + + + Parse the bookmark start element + + The xml reader + The paragraph + + + + Parse the move range end when it exists between paragraph,table,table row, cell. + + + + + + + Parses the editable range end. + + The reader. + The para items. + + + + Parse the editable range end element + + The xml reader + The entity + + + + Gets a based on the bookmark or editable range specified in text body. + + Represents a textbody item contains reference mark. + Returns a contains bookmark or editable range. + + + + Gets the paragraph based on the bookmark or editablerange specified in the text body + + Represents a textbody item contains reference mark. + A flag which denotes whether reference mark is after a table. + Returns a where the bookmark or editable range is specified. + + + + Gets the owner paragraph of mathametical eqautions. + + + + + + + Parse the editable range start element + + The xml reader + The paragraph + + + + Create the character format for the current text range. + + + + + + Parse the run element + + The xml reader + The paragraph + Bool to ensure whether the parsing call from text body parsing + + + + Parse the run element + + The xml reader + The paragraph + Returns whether isEmptyElement condition is checked or not + + + + Checks whether choice item added into paragraph items. + + + + + + + Gets the Shape line fill type + + The shape + + + + + + + + + + + + + + + + + + + + Parses the Absolute tabs + + The xml reader + + + + Parse the field mark element + + The xml reader + The entity + + + + Check whether ffData element is present as field mark child elements + + + + + + + Check whether Oleobject is present for skipping in Word 2003 XML + + + + + + + Process the Field mark seperator + + The paragraph + + + + Process the field mark end + + + + + + Insert the begin - field mark + + + + + Update the type of unknow field. + + Current field. + Current field mark. + + + + Appends PAGE field for "pgNum" element into paragraph items. + + Paragraph item collection + + + + Parse the form field's data + + The xml reader + The entity + + + + Parse the form fields + + The xml reader + The Form field. + + + + Parses the drop down form field. + + The xml reader. + The dropdown Form field + + + + Parses the textform field. + + The xml reader. + The textForm field + + + + Parses the text format. + + The format. + + + + Parses the type of the text formfield. + + The type. + + + + + Parses the check box. + + The xml reader. + The Checkbox. + + + + Gets the form field object. + + The node. + + + + Parse the Footnote/Endnote part from Word2003. + + the reader + is Footnote + + + + + Parse the Footnote.xml / Endnote.xml part + + Bool flag to denote footnote or endnote + The table row. + + + + Parses the footnote endnote. + + The reader. + + + + + Gets the footnote by ID. + + if it is footnote, set to true. + The id. + + + + + Parses the footnote entnote symbol. + + The reader. + The footnote. + + + + Moves to next line. + + The reader. + + + + + + + + + + Parse the objects + + + + + + + Check whether the field result is from link field or not + + + + + Parse the ole object + + + + + + + Parse the ole objects picture wrapping style. + + + + + + + Parse the ole data + + + + + + + Gets the OLE part. + + The OLE id. + + + + + Gets the OLE link path. + + The id. + + + + + Determines whether the container is the native data. + + The type. + + true if the container is the native data; otherwise, false. + + + + + Check whether the mentioned node exists or not + + + + + + + + Parses the shape + + The xml reader + The Paragraph Items + The Drawing stream. + Memory Stream + The choice shape + + + + Check whether the shape is VML custom shape or not + + The Shapetype + The shape stream + + + + + Parses the Extrusion Effect(TheeD effect in 2007 format document) + + + + + Gets the Extrusion value + + The value + + + + Gets the Extrusion Axis + + The Effect Format + The attribute value + Attribute name + + + + Parse shape 2007 shadow effect + + The Shape + The Shadow Stream + + + + Gets the shadow offsets + + + + + Parse the Fill offsets + + + + + Gets the point value. + + + + + + + Gets the shadow type. + + Shadow Type + + + + + Parses the Xml Relations. + + The Shape + The shape stream + + + + + Parses the Xml Relations. + + The Shape + The shape stream + + + + + Prases the Group shape + + Group shape stream + + + + + Parse the shape + + Shape Stream + The drawing stream. + + + + Parses 2007 Shapes + + The xml reader + The Shape + + + + Parse 2007 Group Shape + + + + + + + Parse 2007 Group shape items + + The xml reader + The Shape + + + + Updates the AutoShapeType for child shapes. + + + + + Parse 2007 Group shape items + + The xml reader + + + + + Parses Textbox Wrap Style + + The xml reader + The Shape. + + + + Parse the TextBox + + The xml reader + The Shape + + + + Parse the TextBox + + The xml reader + The Shape + + + + Parses 2007 shape Fill effect + + The reader. + The Shape + + + + Parses 2007 shape Fill effect + + The reader. + The Shape + + + + Parses 2007 shape Fill effect + + The reader. + The Shape + + + + Parses the 2007 shape fill transparency + + The opacity value. + + + + Gets the angle + + The angle value. + + + + Parses the 2007 gradient fill + + The reader. + The Gradient Fill. + + + + Parses the focus position for the gradient fill of the shape the Table row properties + + The xml reader + The Gradient Fill. + + + + To parse 2007 shape textbody content + + + + + + + To Get the textbox's style + + + + + To Get the shape/textbox's text direction + + + + + To parse stroke effect of 2007 shape + + The reader + The shape + + + + To parse stroke effect of 2007 shape + + The reader + The shape + + + + Parse 2007 shape properties + + The reader + Group shape + + + + Parse 2007 shape properties + + The reader + Child shape + + + + To parser line shape properties + + The xml reader + Group shape + + + + To parser line shape properties + + The xml reader + Child shape + + + + To parse Horizontal rule + + The xml reader + The group shape + + + + To parse 2007 shave effects + + The reader + The group shape + + + + To parse 2007 shave effects + + The xml reader + The child shape + + + + To Apply 2007 shape properties + + Group shape + The property name + The property value + + + + To Apply 2007 shape properties + + Child shape + The property name + The value + + + + Parse drawing properties of the shape + + + + + + + Get the base entity + + + + + + + Parses the text watermark. + + The node. + The ent. + + + + Read the text watermark properties. + + + + + + + Parses the text watermark position. + + The reader. + The water. + + + + Parse text watermark positions. + + + + + + + + Parses the size of the font name and. + + The reader. + The ent. + The shape H. + The shape W. + + + + Reads the specified attribute value from the stream. + + The stream. + The element name. + The attribute name. + The namespace. + The flag to read empty string. + Returns the specified attribute value. + + + + To find the element by its value + + + + + + + + + Parses the picture shape from stream. + + The shape stream. + + + + + Parses the picture shape from reader. + + The reader. + The entity. + + + + Read the binData element string which contain Image in base 64 fomrat + + + + + + + Sets the brightness value for the image from float value ranges. + + The picture. + The float value. + + + + Sets the brightness value for the image. + + The picture. + The decimal value. + + + + Sets the contrast value for the image from float value ranges. + + The picture. + The float value. + + + + Sets the contrast value for the image. + + The picture. + The decimal value. + + + + Gets the crop value + + + + + + + Parses the stroke props. + + The reader. + The shape. + + + + Gets the line join style. + + The line join style. + + + + + Parses the shape border. + + The reader. + The border. + + + + Gets the shape border style. + + The boder style. + + + + + Parses the pic shape props. + + The reader. + The ent. + + + + Parses the pic shape style + + + + + Sort the shape style attributes as per Microsoft Word order + + + + + Parses the pic shape props. + + The pic. + Name of the prop. + The prop val. + + + + Parse Text Box Properties + + + + + + + Parse the Text Box Wrapping Style + + + + + + + Parses the fill effect. + + The reader. + The Textbox. + + + + + Parses the gradient fill. + + The reader. + The background. + + + + Parses the color of the gradient. + + The reader. + The background. + + + + Parses the gradient style. + + The reader. + The gradient. + + + + + + + + + + + Parses the shading variant. + + The focus. + + + + + Parses the pattern fill. + + The reader. + The background. + + + + Parses the picture fill. + + The reader. + The textbox. + Type of the fill. + + + + Parses the wrap Type. + + The Wrap type + + + + + Parses the wrap style. + + The reader. + The textbox. + + + + Parses the type of the wrap. + + Type of the wrap. + + + + + Parses the content of the textbox. + + The reader. + The entity. + + + + Parses the text box style. + + The reader. + The textbox. + + + + Parses the internal margins of textbox. + + The reader. + The textbox. + + + + Parses the internal margins of textbox. + + The reader. + The textbox. + + + + Gets the textbox margin. + + The margin. + + + + + Gets the textbox margin. + + The margin. + + + + + + + + + + + + Parses the dash style. + + The dash style. + + + + + Parses the line style. + + The line style. + + + + + Gets the point value. + + + + + + + Gets the point value. + + + + + + + Parse the text box wrapping mode + + Current text box + wrapping type + + + + Parse TextBox Graphics data + + + + + + + Parse the drawing object + + + + + + + Parse Shape + + + + + + + + + Parse the custGeom of custom shape + + + + + + + Sets the reader position to custGeom + + + + + + + Parse the path list of custom shape + + + + + + + + Parse the custom shape pathLst elements + + + + + + + + Parse the path2D point of custom shape + + + + + + + + + + Parse common properties of chart and shpae + + + + + + + + + + Parse the horizontal position properties + + + + + + + parse the vertical position element (positionV) + + + + + + + Parse the wrapping type + + + + + + + Parses the wrap polygon. + + The reader. + The entity. + Unexpected xml tag + reader.LocalName + + + + Parse chart + + + + + + + + Parse Chart relations + + + + + + + Parses chart data and relations + + + + + + + Checks whether external file is Excel sheet. + + + + + Gets the extension string + + + + + + + Parse themes collection of document to workbook themes collection for parsing colors of chart + + + + + + Sets the category range of chart + + + + + + + + Parses the graphic data of shape. + + The reader. + The picture. + + + + Parse graphic data of group shape + + + + + + + Parse the preset material type. + + + + + Parse the Graphic Frame in Group shape + + Node as stream + Group shape + Child group shape + + + + Parse nested group shape + + The xml reader + The Child group shape + + + + Generate child shape id + + + + + + Parse child group shape properties + + The xml reader + The child group shape + + + + Parses the Effect format of the auto shape. + + + + + Parses the Effect format of the auto shape. + + + + + Parses the Effect format of the auto shape. + + + + + Parse the text outline of the textrange. + + The XmlReader to read attributes and child elements of textoutline. + The lineFormat object to store parse values. + + + + Parse the text outline properties of the textrange. + + The XmlReader to read attributes and child elements of textoutline. + The lineFormat object to store parse values. + + + + Parse the text fill of the textrange. + + The XmlReader to read attributes and child elements of textfill. + The local name of the XML element. + The fillFormat object to store parse values.. + + + + Parse the Shape TextValues + + The XmlReader to read attributes and child elements of body pr + The shape object to store parse values + + + + Parses the styles of graphic data. + + The reader. + The shape. + + + + Parse child shape style items + + The xml reader + The child shape + + + + Parses the graphic data. + + The reader. + The picture. + + + + Parses the Blip image + + The reader. + Fill Format. + + + + Gets the Blip image values + + + + + Parses the Duotone colors. + + The reader. + The parent element. + The opacity. + + + + + Parse the Blip Extension List + + + + + Parse blip image properties + + + + + Read the SVG image data. + + + + + + + Parse the Image layer + + + + + Parse the Image Effect + + + + + Parse the Image Effect items + + + + + Gets the Image Effect Value + + + + + Parse the Background removal rectange of blip picture + + + + + Parse the Color change child element of the blip + + + + + To Get the shape/textbox's text direction + + + + + To Parse the line format of the shape + + + + + To Parse the line format of the shape + + + + + Parse the Image Hyperlink + + Reader + Paragraph + + + + Download image from url + + Url + Image + + + + Get the Svg Image data from the particular location. + + + + + + + Parse Xml paragraph item + + + + + + + Parse Image relation of the group shape + + The group shape + The ID + + + + Parse image relation of the child shape + + The child shape + The ID + + + + Parses the image relation. + + The XML para item. + The id. + + + + + Get the relationship ids present within the XmlparaItem stream + + + + + + + Find the Z-Index value in xml paragraph item + + Xml paragraph item stream + Xml paragraph item + + + + Parses the shape hyperlinks id. + + + + + Parse the picture + + + + + + + + Parse the picture properties + + + + + + + Parses the graphic data. + + The reader. + The picture. + + + + Parses the picture data. + + The reader. + The picture. + + + + Parses the picture data. + + The reader. + The picture. + + + + Parses the visual shape props. + + The reader. + The picture. + Unexpected xml tag + reader.LocalName + + + + Parses the visual shape props. + + The reader. + The picture. + + + + Parses the visual shape props. + + The reader. + The picture. + + + + Gets the Border Width + + Border Width + + + + + Method to process effect extent element. + + the xml reader + shape base + + + + Gets the line cap style. + + The line cap. + + + + + Parses the line props. + + The reader. + The shape. + + + + Gets the line end. + + The line end. + + + + + Gets the end width of the line. + + End width of the line. + + + + + Gets the end length of the line. + + End length of the line. + + + + + Sets the language value + + + + + + + Gets the flip orientation. + + The flip. + + + + + Gets the flip orientation. + + The flip. + + + + + Gets the type of the gradient shade. + + The shade. + + + + + Parses the gradient fill. + + The reader. + The gradient fill. + + + + Parses the gradient stop. + + The reader. + The gradient fill. + + + + Parses the path gradient. + + The reader. + The path gradient. + + + + Parses the color. + + The reader. + The parent element. + The opacity. + + + + + Gets the color of the system. + + The reader. + + + + + Gets the color of the scheme. + + The reader. + + + + + Parses the color transform. + + The reader. + The parent element. + Color of the theme. + The opacity. + + + + Parses the color transform. + + The reader. + Color of the theme. + + + + + Gets the percentage. + + The value. + + + + + Parse the wrapping type + + + + + + + Parse the horizontal position properties + + + + + + + Gets the horizontal alignment. + + The align. + + + + + Gets the horizontal origin. + + The origin. + + + + + parse the vertical position element (positionV) + + + + + + + Get the vertical alignment. + + The alignment. + + + + + Get the vertical alignment of the Text in TextBox. + + The alignment. + + + + + Get the vertical Origin of the height in TextBox. + + + + + + + Get the horizontal Origin of the width in TextBox. + + + + + + + Get the vertical origin. + + The origin. + + + + + Check whether the element is Picture or unsupported element + + + + + + + Check whether the chart is valid chart + + Current stream + If the chart is 2016 and is not waterfall then returns false else returns true + + + + Parse the break item + + + + + + + + Parse the symbol + + The xml reader + The paragraph + + + + Create a text range object + + + + + + + + Parse the run text + + + + + + + + Parsing the nested table. + + The XmlReader instance used to read XML. + The entity representing the owner text body to insert the table into. + The local name of the table. + Indicates whether the isEmptyElement condition has already been checked. + + + + Move the text before the nested table to the first paragraph inside the table. + + + + + Parsing the nested body inside running text. + + Reader to read xml. + Trueif body is first nested body, otherwise false + + + + Gets the nested text. + + The reader. + Represents flag, if there is another body inside running text. + The paragraph items. + True, if nested run properties otherwise false. + True, if isEmptyElement is already checked otherwise false. + The reader local name. + + + + + Gets the nested text. + + The reader. + Represents flag, if there is another body inside running text. + The paragraph items. + True, if nested run properties otherwise false. + The reader local name. + + + + + Skip the current element in reading + + + + + + + Rotates the text. + + The text. + + + + + Modify the text + + + + + + + Parse document background + + + + + + Add the AlternateChunk to textbody. + + The entity. + + + + Parses the Alternate chunk. + + The entity. + The AlternateChunk. + + + + Parse structure document tag block + + + + + + + Parse SDT content + + + + + + + Parse structure document tag block + + + + + + + Maps the databinding value for picture content control + + + + + Parse SDT end character format + + + + + + + Parse SDT content + + + + + + + Parse SDT properties + + + + + + + + Parse Doc Part Obj + + + + + + + Parse Doc part obj and Doc part List child entities. + + + + + + + Parse SDT Dropdown list + + + + + + + Parse SDT combo box + + + + + + + Parse SDT Date + + + + + + + Get calender type + + + + + + + Get storage format type. + + + + + + + Parses MathML element. + + XML reader + Paragraph items + + + + Parse the control properties of MathML elements. + + + + + Parse math run element + + + + + Parse Document Relations + + + + + + Parse FontTable Relations + + + + + + Parses the relations. + + The xml reader. + The relations collection. + + + + Parse the custom document properties + + XmlReader for custom.xml + + + + + + + + + + + Updates the text, that cannot be represented in Xml as defined by XML 1.0 specification. + + + + + + + Parse the core properties + + XmlReader for core.xml + + + + Parse the extended properties + + XmlReader for app.xml + + + + Parses the list. + + The format. + + + + Parse the document properties from Word 2003 XML document + + XmlReader for DocumentProperties + + + + Parse the custom document properties from Word 2003 XML document + + XmlReader for CustomDocumentProperties + + + + Parses the list. + + The format. + The reader. + + + + Finds the list style. + + The style. + + + + + Parses the list format. + + The reader. + The format. + + + + Update list style for numId which is not having specific abstract numbering definition + + NumID value + Current listformat + + + + Get Base style name of the list format + + + + + + Parse the numberings + + The xml reader + + + + + Updates the list styles which has numStyleLink attribute. + + + + + Updates the AbstractListStyleNames value with newly added list. + + + + + Finds the list style with when the parameter match with style StyleLink property. + + + + + Parse Word 2003 xml numberings + + reader + + + + Parse Word 2003 xml numberings + + reader + + + + Parse the Num element of the numberings + + The xml reader + + + + Get the abstract number id based nsid. + + + + + + + + + Parse the level override attrbutes + + + + + + + Parse the level override + + + + + + + Parse the abstract numbering element + + + + + + Parse the abstrat list styles + + The xml reader + list style + + + + Parse the list level + + The xml reader + The list level + + + + Parses the legacy properties. + + The reader. + The level. + + + + Get the corresponding the follow char + + follow character as string + returns the level follow character + + + + Get the justification value + + Justification value of type string + returns the justification value + + + + Parse the list level text + + + + + + + Gets the corresponding list pattern for the string value + + The list pattern value + returns the corresponding list pattern + + + + Updates the type of the list style. + + The list style. + + + + Updates the name of the list style. + + The list style. + + + + Parses the picture bullet + + The reader + + + + Process the picture style + + The picture + Picture size + + + + Parses the size. + + The part string. + + + + + Parse/Get the picture relationship id + + + + + + + parse and return the pitcure bullet style. + + + + + + + Parse the style part + + + + + + Parse the styles of Word 2003 XML document + + xml reader + + + + Updates the base styles. + + + + + Updates the list in styles. + + + + + Updates the name of the link style. + + + + + Counts the occurrences of value. + + The dictionary. + + + + + Parse the document style + + + + + + Parse the style properties + + The reader + The style object + + + + Add StyleNameID into the StyleNameId collection + + + + + + + Creates the style. + + Type of the style. + + + + + Parse the latent styles + + + + + + Parse the document defaults formattings + + + + + + Gets the character format of style. + + The style + + + + + Gets the paragraph format of style. + + The style + + + + + Parses the conditional formatting style properties. + + The reader + The style + + + + Gets conditional formatting code. + + The styleType + + + + + Parses the table style table properties. + + The reader + The props + + + + Parses the table style row properties. + + The reader + The props + + + + Parses the table style cell properties. + + The reader + The props + + + + Parses the shading of table style table properties. + + The reader + The props + + + + Parses the shading of table style cell properties. + + The reader + The props + + + + Parse the run properties/Character formattings + + + + + + Updates the author name and time information for the inserted or deleted revision text + + + + + + + Update the revision author information. + + + + + + + To get the font size + + + + + To validate for the Numeric values alone in font size + + + + + Parses the ligatures. + + The reader. + The char format. + + + + Parses the number form. + + The reader. + The char format. + + + + Parses the number spacing. + + The reader. + The char format. + + + + Parses the stylistic set. + + The reader. + The char format. + + + + Parses the cfe layout. + + The reader. + + + + + Gets the stylistic set. + + The value. + + + + + + + + + + + + + + + + + + Parse the border + + + + + + + Get the border style for the corresponding string value + + String value that represents the border style + The border + + + + + Get the multiplier to find the border line width + + + + + + + Parse the shading elements of run properties + + + + + + + Returns the textureStyle for the corresponding string value + + textureStyle + + + + + Returns the textureStyle for the corresponding string value + + + + + + + Parse the vertAlign property of run properties (superscript or subscript) + + + + + + + Parse the emphasis of run properties. + + xml reader + character format + + + + Parse the animation text effect + + Xml reader + Character format + + + + Parse the underline format of run properties. + + xml reader + character format + + + + Parse the underline format of run properties. + + + + + + + Parse thr fonts specified on the run properties. + + + + + + + Check whether langauage has been defined or not. + + + + + + + Change first letter of string to uppercase. + + + + + + + Parse the highlight of the character format + + + + + + + Parse the default paragraph properties + + + + + + Parses the size of the frame. + + The reader. + The para format. + + + + Parses the frame anchor. + + The reader. + The paragraph format. + + + + Parses the frame position. + + The reader. + The paragraph format. + + + + Parse the Frame X and Y positions for the paragraph + + Position value + True if X value, else false. + Paragraph format instance + + + + + + + + + + + Parses the tab justification. + + The alignment. + + + + + Parses the tab leader. + + The leader. + + + + + + + + + + + + Checks the track change. + + The item. + + + + Create move range revision. + + + + + + Gets and updates the insert or delete revision. + + + + + + + + + + + + + + + Parses the border. + + The reader. + The borders. + + + + Parses the border. + + The reader. + The borders. + + + + Parse the paragraph spacings + + + + + + + Parse the line spacing of paragraph format + + + + + + + Parse the paragraph indentation. + + The xml reader + The paragraph format + + + + Parse the justification + + + + + + + Parse the justification + + + + + + + Parse the text alignment of the paragraph + + XML reader + Paragraph format + + + + Parse the textbox tight wrap option of the paragraph. + + XML reader + Paragraph format + + + + Parse the shading. + + + + + + + Gets theme color + + + + + + + Parse the section properties + + The XmlReader + The section + + + + Parse the section formatting change. + + + + + + + Parse the Header/Footer. + + reader + + + + To Parse Header/Footer + + headerfooter + reader + type + isHeader + + + + Parses the header footer. + + The hf. + The part. + The type. + if it is header, set to true. + + + + Parses the footnote and endnote property. + + The reader. + Boolean value specifies whether the element is Footnote or Endnote. + + + + Parses the footnote endnote number start. + + The reader. + if it is footnote, set to true. + + + + Parses the2003 footnote endnote number format. + + The reader. + if it is footnote, set to true. + + + + Parses the footnote endnote number format. + + The reader. + if it is footnote, set to true. + + + + Parses the footnote endnote number restart. + + The reader. + if it is footnote, set to true. + + + + Parses the footnote and endnote property. + + The reader. + Boolean value specifies whether the element is Footnote or Endnote. + + + + Parses the footnote endnote number start. + + The reader. + if it is footnote, set to true. + + + + Parses the 2003 footnote endnote number format. + + The reader. + if it is footnote, set to true. + + + + Parses the footnote endnote number format. + + The reader. + if it is footnote, set to true. + + + + Parses the footnote endnote number restart. + + The reader. + if it is footnote, set to true. + + + + Parse 2003 Page Number Style + + + + + + + Parse 2003 Chapter Number separator + + + + + + + Parse Chapter Number separator + + + + + + + Parse Page Number Style + + + + + + + Parses the type and number start of the page. + + The sec. + The reader. + + + + Parse 2003 Text flow direction + + The reader + The ent + + + + Parses the text direction. + + The reader. + The ent. + + + + Parses the line numbering. + + The reader. + The sec. + + + + Parse the vertical alignment of the page. + + The reader + The section + + + + Parses the grid. + + The reader. + The section. + + + + Parses the page borders. + + The reader. + The section. + + + + Parses the columns. + + The reader. + The sec. + + + + Parses the equal column. + + The sec. + The reader. + + + + Parses the column. + + The reader. + The entity. + + + + Parses the page margins. + + The reader. + The section. + + + + Gets the margin value. + + The reader. + Name of the attribute. + + + + + Parses the size of the page. + + The reader. + The section. + + + + Parses the size of the page. + + + + + Parses the type of the section. + + The sec. + The type. + + + + Parses the type of the section. + + The sec. + The type. + + + + Parses the settings relations. + + The stream. + + + + Initialize word 2010 specific Compatiblity Settings + + + + + Parse the Mailmerge setting. + + + + + + Parse CheckErrors from MailMerge settings. + + + + + + Parse Destination from MailMerge settings. + + + + + + Parse Mailmerge Datatype from MailMerge settings. + + + + + + Parse main document type from MailMerge settings. + + + + + + Parses the webSettings.xml file. + + Represents a to read websettings.xml file. + + + + Parses the Compatibilty Option. + + The reader. + + + + Parses the compat Node. + + The reader. + + + + Parses the compat Node of Word 2003 XML. + + The reader. + + + + Parses the CompatSetting Node. + + The reader. + + + + Parses the document variables. + + The reader. + + + + replaces hexadecimal values with equivalent string + + Text + + + + + Parses the type of the protect. + + The reader. + + + + Parses the view type. + + The reader. + + + + Adds the item. + + The item. + The para. + + + + Adds to paragraph. + + The item. + The para. + + + + Adds the OLE object. + + The OLE object. + The para. + + + + Gets the image id. + + The image id. + if set to true [is header footer]. + if set to true [is pic bullet]. + + + + + Loads the image data. + + The picture. + The image relation id. + if set to true [is header footer]. + if set to true [is picture bullet]. + + + + Gets the image bytes. + + Name of the image. + + + + + Gets the image. + + The image id. + if it is a header/footer, set to true. + + + + + Gets the bytes from. + + The part. + + + + + Gets part name from the file name. + + File name + Part name + + + + Finds the part. + + The part container. + Name of the part. + + + + + Gets the HF relation. + + The name. + + + + + Gets the diagram stream HF relation. + + + + + + + Parses the float val. + + The value. + + + + + Returns the boolean value from the current node + + + + + + + Returns the boolean value from the current node + + + + + + + Gets the boolean value from the current node. + + The reader. + The name space. + + + + + Returns xml element value. + + XmlReader to get value from. + Xml element value. + + + + Parses the color. + + The color. + + + + + Gets the color of the gradient. + + The color. + + + + + Gets the hexadecimal color. + + The color. + + + + + Gets the HTML color. + + The color. + + + + + Gets the float value from element attribute. + + The reader. + Name of the attr. + The attr NS. + + + + + + + + + + + + Skip whitespaces and moves the reader to the next node. + + The xml reader + + + + Closes this instance. + + + + + Implemented alternative method to improve the performance + + + + + + + + Gets the chart relations + + + + + Gets/sets the value indicating whether the chart is in footnote + + + + + Gets/sets the value indicating whether the chart is in endnote + + + + + Gets/sets the value indicating whether the chart is in comments + + + + + Gets/Sets the value indicating whether the document is Word 2003 ML. + + + + + Gets/Sets the value indicating whether the document is Strict. + + + + + Gets the image ids. + + The image ids. + + + + Gets the image data of the Svg Images. + + + + + Gets the block content control collection. + + + + + Gets the inline content control collection. + + + + + Gets the cell content control collection. + + + + + Gets the comment collection. + + The comment stack. + + + + Gets the Alternate Chunk if it preserve Table Row + + + + + Gets the Post paraItems and preserve after the Paragraph/Table/Cell/Row end mark + + + + + Gets the comments stack. + + The comments stack. + + + + Gets the current comment. + + The current comment. + + + + Gets the field stack. + + The field stack. + + + + Gets the current field. + + The current field. + + + + Gets the footnote by id. + + The footnote. + + + + Gets the endnote by id. + + The endnote. + + + + Gets the collection of override list style names. + + The over list style names. + + + + Gets the abstract list styles. + + The abstract list styles. + + + + Gets the collection of picture bullet. + + The picture bullet. + + + + Gets the collection of document relations. + + The document relations. + + + + Gets the collection of font table relations. + + The font table relations. + + + + Gets the settings relations. + + The settings relations. + + + + Represents the external hyperlink + + + + + + Gets the bookmark names collection. + + The name of the bookmark. + + + + Represents the HeaderFooter relations. + + The headers footers rel. + + + + Gets the collection of base style names. + + The base style names. + + + + Gets the collection of style name and id. + + The style name id. + + + + Gets the link style names. + + The link style names. + + + + Gets the AppVersion. + + The AppVersion. + + + + Gets the auto shape helper. + + + The auto shape helper. + + + + + Gets/sets the value indicates whether the SDTContent has section break + + + + + Gets/sets the value indicates whether is row change format + + + trueif it is row change format, elsefalse + + + + + Gets/sets the value indicates whether is cell change format + + + trueif it is cell change format, elsefalse + + + + + Gets/sets the value indicates whether is cell change format + + + trueif it is cell change format, elsefalse + + + + + Gets/sets the value indicates whether it is hyperlink field + + + trueif it is hyperlink field, elsefalse + + + + + Gets/Sets the value indicates whether it is first invalid numID + + + trueif it is first invalid numId in the document, else false + + + + + Gets/Sets the value indicates whether the paragraph property lies between the paragraph tag. + + + trueif paragraph property not lies b/w the paragraph tag, else false + + + + + Gets or sets the value xml:space in the document element + + + + + Used to parse various office effects. + + + + + Bookmark Id + + + + + Bookmark name + + + + + This class has few utility methods + + + + + Converts number into DateTime. + + Number to convert. + Converted value. + + + + Copies one stream into another. + + Source stream to copy from. + Destination stream to copy into. + + + + Creates copy of the MemoryStream. + + Source stream to copy. + A copy of the original MemoryStream. + + + + Creates xml reader to read data from the stream. + + Data to read. + Created xml reader. + + + + Creates xml reader to read data from the stream. + + Data to read. + Created xml reader. + + + + Creates xml writer to read data from the stream. + + Data to read. + Created xml writer. + + + + Creates xml writer to read data from the stream. + + Data to read. + Created xml writer. + + + + Creates xml writer to read data from the stream. + + Data to read. + Created xml writer. + + + + Represents the ShapeType + + + + + Represents the document serializator specific for Word 2010 format + + + + + Specifies boolean value indicating whether to Serialize "cnfStyle" element for paragraph or not. + + + + + Initializes a new instance of the class. + + + + + Saves the word document + + Name of the file/document + Instance of WordDocument + + + + Serialize Word 2007 XML document + + Name of the file/document + Instance of WordDocument + + + + Serialize Word 2007 XML document + + stream to save + Instance of WordDocument + + + + Saves the word document in the stream + + Instance of WordDocument + + + + Saves the Word 2007 XML format document + + + + + Serialize WordML ActiveX part + + The package + + + + Serialize WordML ActiveX part + + The package + + + + Serialize Word ML Custom xml part + + The customXMLContainer + + + + Serialize Word ML charts + + The Charts + + + + To Serialize chart elements + + The Chart + string id + + + + Serialize relations of chart + + The relations + The OccurenceOfChart + + + + Serialize Word ML OleObjects binary data + + The oleContainers + + + + Serialize Word ML Images binary data + + The imageCollection + + + + Serialize Word XML .rels + + + + + Serialize Word document XML .rels + + + + + Serialize Word document XML theme1.xml + + + + + Serialize Word document XML settings.xml + + + + + Serialize Word document XML _rels/numberings.xml.rels + + + + + Serialize Word document XML _rels/settings.xml.rels + + + + + Serialize Word document XML _rels/settings.xml.rels + + + + + Serialize Word document XML settings.xml + + + + + Serialize Word XML custom.xml + + + + + Serialize Word document XML settings.xml + + + + + Serialize Word document XML fontTable.xml + + + + + Serialize Word document XML app.xml + + + + + Serialize Word document XML app.xml + + + + + Saves the word document in the stream + + Stream to save the document + Instance of WordDocument + + + + Serializes the glossary document elements (glossary/document.xml) + + + + + Add Part Container to Archive + + The partContainer + + + + Add Part Container from XMLPartContainers to Archive + + The item name + Xml part containers + + + + Serialize the Font table + + + + + Get the font file name from the file path. + + The file path. + Returns the font file name extracted from the file path. + + + + Get the font signature + + + + + + Serializes the document elements (document.xml) + + + + + Serializes the vba project relations. + + + + + Serializes the vba project. + + + + + Serializes the vba project signatures. + + + + + Serializes the vba data. + + + + + Serialize Headers and Footers + + + + + Serializes the Header/Footer + + Type of the HeaderFooter + Instance of WordDocument + + + + Serialize the header part + + The header + The header relationship ID + The header path + The header's relation path + + + + Serailize the footer and its relations + + The Footer + The Footer relationship ID + Path of the Header Footer part + Path of the HeaderFooter relations + + + + Serializes the HeaderFooter relations + + The headerfooter id. + Path of the HeaderFooter relations + + + + Serializes the Header/Footer common relations. + + Stream to write the relations. + The XML items relations. + + + + Checks whether the TextBodyItem (paragraph) contains only a page field + + The TextBodyItem + return true, if the textBodyItem has a single page field. + + + + Adds the charts to zip. + + The package. + + + + Adds the controls to zip. + + The package. + + + + Adds the part container to zip. + + The package. + + + + Serialize the related for part container items. + + The package. + The chart container. + + + + Adds the parts to zip. + + The package. + The relations. + + + + Parses the relations. + + The rel reader. + The relations collection. + + + + Adds the xml items to zip. + + The package. + + + + Adds the container to zip. + + The cont. + The data path. + + + + + + + + + + + Serializes the Endnote relations + + + + + Serializes the Footnote relations + + + + + Serializes the Comment relations + + + + + Serializes the document relations. + + + + + Serializes the numbering relations. + + + + + Serializes the Alternate chunk relations + + The memory stream + Collection of alternate chunk relation + + + + Serializes the Hyperlink relations + + The memory stream + Collection of Hyperlink relation + + + + Serialize Svg Image relations. + + + + + Serialize Svg Image relations for header/footer. + + + + + Serializes the image relations + + The memory stream + Collection of images and its relationship id + + + + Serialize the image collection in the XML paragraph item stream. + + The memory stream + Collection of images and its relationship id + XML Paragraph item + + + + Serializes the HeaderFooters relations to the document relations stream + + Document relation stream (Word/.rels/document.xml.rels) + + + + Serializes the headers footers relations. + + Type of the HeaderFooter. + The stream. + + + + Serializes the IncludePicture field relations + + The memory Stream + Collection of URL that represents the picture mapped through the IncludePicture Field + + + + Serializes the XML Item relations + + + + + + + Adds the OleObject (*.Bin) into the package + + Collection of OLE Containers + + + + Adds the OLE objects to zip. + + The package. + + + + Serialize the document background + + The document background + + + + Checks whether the image is need to skip or not to add in relations + + + If the image is default image returns true, else return false. + + + + Serialize the background gradient + + The backgroundGradient + + + + Serialize the gradient shadings + + The background gradients + + + + Serialize the gradient color + + The background gradient + + + + Ensure the presence of metafiles and image presence in the document + + + + + + Serializes the document body + + + + + Serializes the Section. + + The WSection + + + + Serializes the bodyItems + + Collection of Body items + True, if the body items present in the last section of the document. + + + + Serialize the TextBody item + + The textBody item (paragraph or table) + True, if the body items present in the last section of the document. + + + + Serialize SDT content inline + + + + + + Update the Alternate chunk relation for Comment/HeaderFooter/EndNote/FootNode/Document + + + + + + + Seralize Alternate content + + + + + + Serialize bookmarks before the alternate chunk. + + The alternate chunk. + + + + Serialize bookmarks after the alternate chunk. + + + + + Seralize structure document tag block + + + + + + Serialize structure document tag properties + + + + + + Serialize Doc Part obj and Doc part list Child elements + + + + + + Serialize SDT data binding + + + + + + Serialize SDT lock settings + + + + + + Serialize SDT type + + + + + + Serialize SDT Check box + + check box + + + + Serialize SDTDropDownList + + + + + + Serialize SDT date + + + + + + Get Calender type + + + + + + + Serialize SDT content + + + + + + Serialize the table + + The table + + + + Serialize the table rows + + The table row collection + + + + Serialize the table row + + The table row + + + + + + serialize the table cells + + The table cell collection + + + + Serialize the table cell + + The table cell + + + + Merge the characterFormats + + The paragraph's break character format + The cell character format + + + + Serialize the cell formatting + + The cell format + + + + Serialize the cell vertical alignment + + + + + + Serialize the table cell direction + + + + + + Serialize the cell shading + + The table cell + The parent table format + The parent row format + + + + Serialize cell merge + + The cell format + + + + Serialize the grid span element of cell. + + + + + + Serialize the cell width + + + + + + Serialize the row format + + The table row + + + + Serialize the conditional formatting style element for table row + + The row + + + + Serialize the conditional formatting style element for table cell + + The cell + + + + Serialize the conditional formatting style element for paragraph in table + + The paragraph + + + + Checks whether the paragraph has cnf style or not. + + style + row Index + table + + + + + Serialize the row formattings. + Table parameter is passed for serializing table format and null for serializing row format. + + the row format + The table + + + + Serializes the table title. + Word 2010 specific property. + + The table. + + + + Serializes the table description. + Word 2010 specific property. + + The table. + + + + Serialize the table cell margins (paddings) + + The row formattings + + + + Serialize the paddings + + + + + + Serialize the table layout element + + The row format + + + + Serialize the table shading + + The row format + + + + Serialize the table borders + + + + + + To ensure none border + + + + + + + Serialize the table indentation. + + + + + + Serialize the cell spacing. + + The row format + + + + Serialize the table width + + + + + + Serialize the table alignment + + + + + + Serialize the table absolute positioning formattings. + + + + + + Serialize the table's horizontal positionings. + + + + + + Serialize the table's vertical position. + + The position. + + + + Serialize the table's vertical relation. + + The relation. + + + + Serialize the table's horizontal relation. + + The relation. + + + + Serialize the table style element + + + + + + Serialize the table look element + + + + + + Serialize the table grid + + The table + + + + Serialize the table grid columns. + + The grid values. + + + + Serialize grid column. + + The column width + + + + Serialize the paragraph + + The paragraph + + + + + Serialize watermark if paragraph is the first item of Header or Footer document + + + + + + Serialize the paragraph items + + The paragraph + + + + Serilize the bookmark end is BookMarkCollection which enables IsToAddInNextPara + + + + + Decides whether current item is OLE Object field item. + + Current item. + + + + + Serialize the paragraph item + + The paragraph item + + + + Serializes the Math element. + + + + + Serializes the character format of MathML item. + + + + + Serializes control properties of MathML elements + + + + + Serializes Character format. + + + + + Serialize chart + + + + + + Serialize chart graphic data + + + + + + Serialize chart relations into document relations + + Document relation stream (Word/.rels/document.xml.rels) + + + + To Serialize the default chart styles + + + + + To Serialize the default chart colors + + + + + Serialize Chart elements + + + + + + + Serialize the default styles for the chart + + input XML writer + input chart object + input application object + + + + Serialize the default Chart Color Styles + + input of XmlWriter + input of Application Object + + + + Initializes default colors for the chart + + + + + Initializes style elements for the chart + + + + + Get Next Chart elements relation Id + + + + + + Serialize relations of chart + + + + + + + + Serialize worksheet row + + + + + + + + + Serialize worksheet cells + + + + + + + + + Serialize worksheet cell + + + + + + + + + + Serialize worksheet shared settings + + + + + + + Serialize group shape + + The group shape + + + + Serialize fall back content of the group shape + + The group shape + + + + Serialize fallback nested group shape + + The Child group shape + + + + Serialize 2007 shadow effect of child shape + + + + + + Serialize horizontal rule of the child shape + + The child shape + The collection of properties + + + + Serialize horizontal rule of the child shape + + The child shape + + + + Serialize shape type of the child shape + + + + + Serialize 2007 shape fall back content text box format + + The shape + 2007 format unparsed streams + + + + Serialize textbox format of the child shape + + The shape + 2007 format unparsed streams + + + + Serialize textbox format of the child group shape + + The shape + 2007 format unparsed streams + + + + Serialize textbox format of the shape + + The shape + 2007 format unparsed streams + + + + Serializes the flip for shape. + + Shape. + Textbox style. + + + + Serialize pattern fill of the child shape + + + + + + Serialize Docx stream of the child shape + + + + + + + + Serialize fill effects of the child group + + + + + + + Serialize 2007 solid fill + + + + + + Serialize 2007 grid fill of child shape + + + + + + To get focus position of the child shape + + The child shape + + + + Serialize 2007 blip fill of child shape + + The child shape + + + + Gets the specified resource file as stream. + + The resource file name + Stream of the specified resource file + + + + Gets the emu from point. + + The point value. + + + + + Serializze the absolutely positioned picture. + + + + + + Get Shape Horizontal orgin + + + + + + + Get Shape Horizontal orgin of Fall back + + + + + + + Serialize the inline picture. + + + + + + Serialize the child group shape elements. + + + + + + + Serialize the child shape elements. + + + + + + + Serialize chart graphic data + + + + + + Serialize Child Group picture + + + + + Serialize nested child group shape + + The child group shape + + + + Serialize the custom Geometry of a shape + + + + + + Serialize the custom Geometry Path elements + + + + + + Serialize avlst of Custom Geometry + + + + + + Serialize gdlst of Custom Geometry + + + + + + Serialize pathLst points + + + + + + + Serailize Child shape + + + + + + + Serialize Effect List. + + + + + Serialize ThreeD Scene Effects. + + + + + Serialize Backdrop Settings + + + + + Serialize Camera Settings + + + + + Serialize Light Rid Effect + + + + + Serialize ThreeD Shape Effects. + + + + + Serialize the preset material type. + + + + + Serialize Reflection Effect. + + + + + Serialize the textoutline of the textrange. + + The lineFormat object to serialize values + + + + Serialize the reflection effect of the textrange. + + The reflectionFormat object to serialize values + + + + Gets the string value based on the texturealignment. + + The texturealignment enum value representing reflection alignment. + The textureallignment of the string representation. + + + + Serialize the glow effect of the textrange. + + The glowFormat object to serialize values + + + + Serialize the threeD effect of the textrange. + + The threeDFormat object to serialize values + + + + Serialize the preset material type for text. + + + + + Serialize Shadow Effect. + + + + + Serialize the shadow effect of the textrange. + + The shadowformat object to serialize values + + + + Gets the string value based on the ShadowAlignment. + + The ShadowAlignment enum value representing Shadow alignment. + The ShadowAllignment of the string representation. + + + + + Serializes the solid fill attributes. + + The color of the solid fill. + The transparency level of the solid fill. + + + + Serializes the gradient fill attributes. + + The gradientfill object to serialize values. + + + + Serializes the gradientstop attributes of textrange. + + The gradientStop object to serialize values. + + + + To Serialize blip fill + + + + + + To Serialize blip extensions + + + + + + To Serialize blip fill + + Fill Format of the shape + Entity + + + + Serialize child shape textbox content + + The textbody + The text frame + + + + Serialize textbox style attributes for shape or child shape. + + + + + + Serialize body properties of the child shape + + The child shape + + + + Serialize style ref of the child shape + + The child shape + + + + Serialize style ref of the group shape + + + + + + Serialize the watermark. + + The watermark. + + + + Serialize the text watremark. + + The text watermark. + + + + Serialize the picture watermark + + The picture watermark. + + + + Prepares the text watermark "style" attribute string. + + The text watermark. + + + + Serialize field code + + text + bool to indicate deleted text + + + + Get the image from the url + + Th url + + + + + Update the include picture field url + + + + + + + + Inser the field mark begin + + + + + Decides whether current field is picture hyper link or not. + + Current field + True;if field is hyper link. + + + + Serialize the hyperlink attributes + + + + + + Writes the Local reference attribute + + + + + + Serialize the footnote and endnote. + + + + + + Serialize the endnotes/footnotes + + Is Endnotes + + + + Serialize start foot/endnotes elements. + + + + + + + Serialize footnote/endnote. + + The footnote. + if it is end note, set to true. + The id. + + + + Serialize the drop down field. + + + + + + Serialize the check box field. + + + + + + Serialize the text form field. + + The textform field. + + + + Serialize the form field data + + + + + + Serialize the textboxes + + The textbox collection + + + + Serialize the textbox + + The textbox + + + + To Serialize the shape/textbox's text direction + + + + + Serialize the fill effects + + + + + + Serialize the gradient effects. + + + + + + Serialize the fill effects. + + + + + + Serialize the pattern fill. + + + + + + + Set Relationship ID for Stream data + + + + + + + + Set Relationship ID Attribute + + + + + + + + Decides whether currently writing shape field result or not. + + + + + + Serialize the textbox format. + + + + + + Get the string which is equivalent to particular wrap type + + Text box format + return wrap type as string + + + + Get the vertical Origin of the height in TextBox. + + + + + + + Get the horizontal Origin of the width in TextBox. + + + + + + + Get the textWrapping Type + + + + + + + Get the textWrapping style + + + + + + + Serialize the stroke value. + + + + + + Get the line dashing style. + + + + + + + Get the line style + + + + + + + Serialize the inset attribute. + + + + + + Serialize inset attribute of the text frame + + The text frame + + + + Serialize the Xml paragraph item. + + + + + + Update XML Relations of the child shape + + The shape + The shape stream + + + + + Change item relations of the child shape + + + + + Change picture relations of the child shape + + + + + Change the relation ids in the XmlParagraph Item. + + + + + + Changes the picture relations. + + The item. + The old ID. + The new ID. + + + + Get the Xml paragraph item owner. + + The item. + + + + + Updates the relations for header/footer. + + The new id. + The hf. + The item rel. + + + + Changes the ID attribute in XmlNode. + + The node. + The array. + XML Paragraph item + + + + + Changes Relationship ID's + + XML Reader + XML Writer + Relation IDs + XML Paragraph item + + + + Change Num Id + + + + + + + Get List Id + + + + + + + Changes Relationship ID + + + + + + + + Changes Relationship ID for Blip + + + + + + + + Changes Relationship ID for Relation + + + + + + + + Changes Doc Property ID attribute + + + + + + + Changes Shape ID + + XML Reader + XML Writer + XML Paragraph item + + + + Updates the ZOrder position + + Current xml reader + XML Paragraph item + XML Writer + + + + Changes the ID attribute in diagram. + + The reader. + The array. + + + + Adds the type of the XML item cont. + + Type of the rel. + The rel target. + + + + Updates the chart inner relation. + + Name of the container. + + + + Serialize the ole object. + + + + + + Serialize the ole data. + + + + + + + Serialize the ole picture. + + + + + + Serialize the picture crop positions + + + + + + Serialize the link options. + + + + + Gets the name of the file. + + Type of the object. + + + + + Gets the type of the OLE relation. + + Type of the object. + + + + + Gets the ole picture style. + + + + + + + Update the ole content type + + + + + + Updates the content type of OLE object. + + The type. + + + + Serialize the symbol. + + + + + + Serialize the field mark. + + + + + + Serialize the picture. + + + + + + Check whether the picture is picturebullet + + The picture. + + + + + Serialize the drawing element. + + The Picture. + + + + Serialize the inline picture. + + + + + + Calculates the bounding box for picture based on rotation angle. + + Represents bounding box for picture. + Represents rotation anlge of picture. + + + + + Get the roation angle for picture. + + Represents the angle of rotation + + + + + Serializze the absolutely positioned picture. + + + + + + Serialize the picture properties + + + + + + Serialize the graphics element for pictures. + + + + + + + Gets the offset value of fill rectangle + + + + + Serializes the inline shape line. + + The shape. + + + + Sets the language value + + + + + + + Gets the line cap style. + + The line cap. + + + + + Gets the line join style. + + The linejoin. + + + + + Gets the line end. + + The line end. + + + + + Gets the end width of the line. + + End width of the line. + + + + + Gets the end length of the line. + + End length of the line. + + + + + Serializes the shape line. + + The shape. + + + + Serializes the gradient fill. + + The gradient fill. + + + + Serializes the gradient stop. + + The gradient stop. + + + + Gets the flip orientation. + + The flip. + + + + + Gets the type of the gradient shade. + + The shade. + + + + + Serialize the picture hyperlink. + + + + + + Update the shape id. + + + + + + + Update the shape id. + + + + + + + Adds the image relation. + + The image collection. + The image record. + + + + + Update the HeaderFooter image relations. + + + + + + + + Updates the header/footer SVG image relations + + Relationship Id + Header/footer + SVG image stream + + + + Update the HeaderFooter image relations. + + + + + + + Update the HeaderFooter image relations. + + + + + + + + Get the header footer id. + + + + + + + Get the picture owner. + + + + + + + + + + + + + + Serialize the shape. + + + + + + Gets the string of the gain value (contrast) for a given picture. + + The picture. + The string of the gain value, or null if not found. + + + + Gets the string of the black level value (brightness) for a given picture. + + The picture. + The string of the black level value, or null if not found. + + + + Set the crop value + + + + + + + Serializes the color of the shape border. + + The shape. + + + + Write the start element of stroke. + + Enable true once start element was written. + + + + Serializes the stroke props. + + The shape. + + + + Gets the stroke line style. + + The line style. + + + + + Gets the stroke dash style. + + The line dashing. + + + + + Serialize the text wrapping style. + + + + + + + Serializes the wrap polygon. + + The entity. + The wrap polygon. + + + + Adjusts the polygon points. + + The wrap polygon. + + + + + Get the text wrapping style. + + + + + + + Gets the vertical orgin as string. + + The vertical origin. + + + + + Get the text wrapping type + + + + + + + Get the picture's wrapping type. + + + + + + + Serialize the shape borders. + + + + + + Serialize the shape border + + + + + + + Get the shape border style. + + + + + + + Serialize the shape picture style. + + + + + + + Serializes the wrap polygons. + + The picture. + + + + + Serialize the bookmark end. + + + + + + Serialize the bookmark start. + + + + + + Serialize the editable range end. + + Represents a editable range end to serialize. + + + + Serialize the editable range start. + + Represents a editable range end. + + + + Serialize the break element. + + + + + + Serialize the comment reference. + + + + + + Serialize the commented items. + + The comment. + The comment id. + + + + Serialize the comment range start. + + + + + Serialize the comment range end. + + + + + Serialize the comments. + + + + + Serialize the comment. + + The comment. + The id. + + + + Serialize the comment mark. + + The comm mark. + + + + Check for the string content in Comment ID. + + The item. + + + + Serialize the Comments Extended + + + + + Serialize the comment Extended + + + + + + Serialize the text range. + + + + + + Determine whether current entity is field code item or not. + + + + + + Serialize the text. + + text + bool to indicate deleted text + bool to indicate instr text + + + + Serialize the text. + + text + bool to indicate deleted text + + + + Serialize FieldCode text + + Text + bool to indicate deleted text + + + + Serialize the table of contents. + + + + + + Get the field type as string. + + + + + + + Serialize the section properties. + + + + + + Serialize the heeader/footer reference. + + The HeaderFooters + + + + Serialize the docGrid element + + + + + + Serialize section protection. + + + + + + Serialize the text direction. + + + + + + Serialize the column properties of section. + + + + + + Serialize the page setup properties. + + The page setup. + + + + Serializes the page borders. + + The borders. + + + + Serialize the table borders + + + + + + Checks for none border + + + + + + Serialize the borders. + + + + + + + Serialize the border. + + + + + + serialize the page size + + + + + + Serialize the page number type. + + + + + + Serialize the line number type. + + + + + + Serialize the section type. + + + + + + Serialize the section break code. + + + + + + + Serialize the endnote properties. + + + + + + Serialize the footnote properties. + + + + + + Determines whether to serialize the section foot note properties or not. + + + + + + Determines whether to serialize the section end note properties or not. + + + + + + Determines whether to serialize the document foot note properties or not. + + + + + Determines whether to serialize the document end note properties or not. + + + + + Serialize the endnote/footnote element properties + + + + + + + Serializes the endnote footnote number format. + + The section. + if set to true [is footnote]. + + + + Serializes the endnote footnote number format. + + The section. + if set to true [is footnote]. + + + + Adds the header footer details to the collection. + + + + + + + + Serialize the document themes. (theme.xml) + + + + + Serialize Fill Styles (Both Fill and Background Fill effects of Themes) + + + + + Serialize Theme Pattern + + + + + Serialize Theme Pattern + + + + + Serialize Theme Pattern + + + + + Serialize Theme Pattern + + + + + Serializes the gradient stop. + + The gradient stop. + + + + Serialize Effect Styles of themes + + + + + Serializes Line Style List + + The gradient stop. + + + + Serializes the default themes. + + + + + Serializes the default color scheme. + + if set to true [is word2013]. + + + + Serializes the RGB color + + color value + Alpha color value + + + + Serializes the default font scheme. + + if set to true [is word2013]. + + + + Serializes the default format scheme. + + if set to true [is word2013]. + + + + Serializes the default fill style list. + + if set to true [is word2013]. + + + + Serializes the default line style list. + + if set to true [is word2013]. + + + + Serializes the default line style. + + The width. + The line cap. + Type of the line. + The alignment. + if set to true [is miter]. + + + + Serializes the default effect style list. + + if set to true [is word2013]. + + + + Serializes the effect style. + + The blur radius. + The distance. + The alpha. + if set to true [is align]. + + + + Serializes the default background fill style list. + + if set to true [is word2013]. + + + + Serializes the default background fill style list for Word version 2007 and 2010. + + + + + Serializes the color of the scheme. + + The value. + + + + Serializes the default gradient relative position attributes + + Luminance modulation value + Saturation modulation value + Tint value + Shading value + + + + Serializes the default theme font. + + Type of the font. + if set to true [is word2013]. + + + + Serialize the document settings. (settings.xml) + + + + + Serialize the Mailmerge Settings. + + + + + + Serializes the MainDocumentType for mailmerge settings. + + + + + Serializes the DataType for mailmerge settings. + + + + + Serializes the DataSource for mailmerge settings. + + + + + Serializes the HeaderSource for mailmerge settings. + + + + + Serializes the Destination type for mailmerge settings. + + + + + Serializes the CheckErrors type for mailmerge settings. + + + + + Serializes the setting relations + + + + + Parses the settings relations. + + + + + Serializes the Docx unhandled properties + + + + + Serializes the Docx unhandled properties + + + + + Serializes the compatibility properties to maintain backward compatibility similar to input document, + when file is opened in lower version applications. + + + + + Serializes the Docx Common compatibility Layout options for all version. + + + + + Serializes the compatibility settings + + + + + Serializes the document protection type. + + + + + + Serialize the document variables. + + + + + + Serializes the Footnote/Endnote settings + + + + + Serializes the Footnote position + + + + + Serialize the Endnote position + + + + + Serializes the Footnote position + + + + + Serializes the Footnote/Endnote ID + + + + + + + Serialize the list styles and numberings (numberings.xml) + + + + + Serializes the Override styles + + Collection of ListOverride style + + + + Serializes the Override styles + + List Override style + + + + Serializes the level overrides + + The level Index + Override level + + + + Serializes the list styles + + Collection of list styles + + + + Serializes the abstract list styles + + Collecgtion of list styles + + + + Serialize the list level + + The List level + The level index + + + + Serialize the list level legacy properties. + + The list level. + + + + Serialize the level follow character + + The list level + + + + To Remove xml ilegal character Ascii 0-29 from text. + + The text. + + + + Serializes the level text + + The list level + The level index + + + + Serializes the picture bullets. + + Collection of list styles + + + + Serializes the picture bullet. + + The list level + + + + Serialize the styles (styles.xml) + + + + + Serializes the document styles + + + + + Gets the style id from StyleNameIds collection. + + + + + + + Serialize the document style + + The Style + Instance of the word document + + + + Serialize the table style + + The Style + + + + Serialize the table conditional formatting style + + The Code + The Style + + + + Gets conditional formatting style type + + The Code + + + + Serialize the table style cell properties + + The Props + + + + Serialize the table style row properties + + The Props + + + + Serialize the table style table properties + + The Props + + + + Serialize the shading element in cell properties. + + The table cell + + + + Serialize the shading element in table properties. + + The props + + + + Serializes the latent styles + + + + + Serializes the default styles (document default paragraph and character format) + + + + + Serializes the TableGrid style. + + + + + Serializes "NoList" style + + + + + Serializes the "TableNormal" style + + + + + Serializes the default paragraph style + + + + + Serializes the Character format + + + + + + Serializes the ligatures. + + The character format. + + + + Serializes the number form. + + The character format. + + + + Serializes the number spacing. + + The character format. + + + + Serializes the stylistic set. + + The character format. + + + + Serializes the contextual alternates. + + The character format. + + + + Serialize character shading + + + + + Serialize character shading of formatting changes(old formatting) + + + + + Serializes the paragraph format + + + + + + + Serializes the mirror indents. + + The paragraph format. + + + + Serializes the suppress automatic hyphens. + + The paragraph format. + + + + Gets the next track change id. + + + + + + Serialize directional override + + + + + + + Serializes the track changes revision start tag. + + The item. + + + + Checks need to write start or end of revision. + + The item. + The item revision + True for writing revision start tag + + + + Serializes the track changes revision end tag. + + The item. + + + + Writes the move range end tag. + + + + + + + Serilaize the move range end when it exists between paragraph,table,table row, cell. + + + + + Serializes the revisions in formatting. + + + + + + Serializes the track changes properties. + + + + + + + + Serializes the track changes properties. + + + + + + + + Serializes the paragraph text alignment + + The paragraph format + + + + Serializes the paragraph textbox tight wrap. + + The paragraph format + + + + Serializes the paragraph indentation + + The paragraph format + + + + Serializes the paragraph spacings + + + + + + Serializes the tabs + + The paragraph format + + + + Serializes the tab + + The tab + + + + Serializes the paragraph shadings + + The paragraph format + + + + Serializes the paragraph borders + + The Paragraph format + + + + + Seraializes the pargraph list format + + The paragraph + + + + Serializes the style list format + + The paragraph + + + + Serialize the list format + + The list format + + + + Serializes the paragraph frame. + + + + + + Writes the frame's wrapping mode. + + The relation. + + + + Serializes the Border + + The Border + The tag name + + + + + Serializes the language formats + + + + + + Serializes the language formats for formatting changes + + + + + + Serializes the bool character format property + + Tag name + if set to true [value]. + + + + Get the base format of paragraph format when base format have frame property keys. + + + + + + + Serializes the content types [Content-Types].xml + + + + + Serialize the glossary docuemnt xml parts in content type + + Content type stream + Current xml part to serialize + + + + Add the Alternate chunks if it exists more than one items in same name + + + + + + Writes the type of the diagrams. + + + + + Gets the type of the content. + + Name of the part. + + + + + Serializes the HeaderFooter content types + + + + + + Serializes the HeaderFooter content types. + + Type of the HeaderFooter. + The stream. + + + + Serialize chart content types + + + + + + Serialize the Xml type contents. + + + + + + Serializes the default content type + + Content type stream + The extenstion + The content type + + + + Serializes the Override content type. + + The content type stream + The name of the part + Content type + + + + Serialize the general relations + + + + + Serializes the relationship + + The memory stream + The relationship id + The relationship type + The part of the target item + + + + Serializes the relationship + + The relationship id + The relationship type + The part of the target item + + + + Serializes the core properties + + + + + Serializes the custom properties. + + + + + Determines whether [is valid type] [the specified type]. + + The type. + + + + + Updates the text, that cannot be represented in Xml as defined by XML 1.0 specification. + + + + + + + Checks for the valid xml character. + + + + + Serializes the app properties (app.xml) + + + + + Checks if text have invalid surrogate charecters + + String + Return the text which doesn't have invalid surrogate charecter. + + + + Checks whether the style is + + + + + + + Get the tab leader type as string + + The tab leader + returns the tab leader type as string + + + + Gets the tab justication type as string + + The tab justification + returns the tab justication type as string + + + + Get the list ID + + The list format + returns the list id + + + + Add the list override to ListStyleReferences collection + + The list id + The LFO Style name + returns the list id from the list style reference collection + + + + Serializes the numbering properties to the paragraph + + + + + + + Check whether the properties hash has font property + + + + + + + Check whether the character format has font property + + + + + + + Create xml writer + + The stream + returns the xml writer + + + + Create xml reader + + The stream + returns xml reader + + + + Reset the relationship id counter + + + + + Get the next relationship ID + + returns the next relationship ID + + + + Get the next ID + + + + + + Get the TextureStyle as string + + + + + + + Get the border style as string + + + + + + + Get the underline style as string + + + + + + + Gets the text effect as string + + Text effect type + Text effect type as string + + + + Get the emphasis type as string + + The emphasis type + The type as string + + + + Get the highlight color as string + + + + + + + Convert the float value to string. + + float value + + + + + Get the RGB color code + + The color + + + + + Get the default font size + + + + + + + + Get the list pattern type as string. + + + + + + + Get the list symbol + + + + + + + + + + + + + + Get the page number type as string + + The page number style + + + + + Get the next bookmark ID + + + + + + Get the docPr id (used for pictues) + + + + + + Get the next shape ID + + + + + + Update the text + + + + + + + Get the base entity + + + + + + + Gets chart base entity + + + + + + + Determines whether the page break need to be skipped based on given entity owner. + + Entity + true, if present inside TextBox/FootNote/EndNote/Header/Footer + + + + Update item relations + + + + + + + + + + + + + + + Determines whether document style collection has Default Table style + + + + + + Closes this instance. + + + + + Implemented alternative method to improve the performance + + + + + + + + Gets a value indicating whether save as macro enabled format. + + + true if save as macro enabled; otherwise, false. + + + + + Determines whether currenly serializing Ole object field elements or not. + + + + + Gets/Sets the value indicating whether the document is Word 2003 ML. + + + + + Denotes whether currently serailizing the choice content for shaoe. + + + + + Gets a value indicating whether save as Word 2007 format. + + + true if save as Word 2007 format; otherwise, false. + + + + + Gets a value indicating whether save as Word 2010 format. + + + true if save as Word 2010 format; otherwise, false. + + + + + Gets a value indicating whether save as Word 2013 format. + + + true if save as Word 2013 format; otherwise, false. + + + + + Gets a value indicating whether save as latest Word format. + + + true if save as latest Word format; otherwise, false. + + + + + Gets the settings relations. + + The settings relations. + + + + Gets the bookmark end if it preserve after the Paragraph/Table/Cell/Row end mark + + + + + Gets the editable range end if it preserve after the Paragraph/Table/Cell/Row end mark + + + + + Gets the HeaderFooter Collection + + + + + Gets the Control path names + + + + + Gets the chart path names + + + + + Gets the HeaderFooter relations + + + + + Collection of Include Picture targets with ids inside headers or footers. + + + + + Gets the Urls of the include picture fields + + + + + Contains key and include picture fields link present in HeaderFooters + + + + + Collection of relationship ids and its corresponding external link + + + + + Gets the chart relation Id's + + + + + Collection of Chart in Header Footers + + + + + collection of chart in Footnote + + + + + Collection of chart in Endnote + + + + + Collection of chart in Comments + + + + + Collection of chart in Document + + + + + Collection for chart elements relations + + + + + Collection of images path in Document + + + + + Gets the Hyperlink details present in the comments + + + + + Gets the Alternate chunks details present in the comments + + + + + Collection of hyperlink targets with ids. + + + + + Collection of altChunk targets with ids. + + + + + Collection of altChunk targets with ids. + + + + + Collection of hyperlink targets with ids inside footnotes. + + + + + Gets the collection of Alternate chunks with ids inside footnotes. + + + + + Collection of hyperlink targets with ids inside endnotes. + + + + + Gets the collection of Alternate chunks with ids inside endnotes. + + + + + Collection of hyperlink targets with ids inside headers or footers. + + + + + Gets the collection of alternateChunks with ids inside headers or footers. + + + + + Gets the comment collections + + + + + Gets the comment ids + + + + + Gets the ole containers + + + + + Get the Svg Image datas. + + + + + Gets the image data of the Svg Images. + + + + + Gets the ole containers present in the HeaderFooters + + + + + Gets the ole object ids + + + + + Gets the collection of OleObject content types + + + + + Gets the collection of Xml items relations + + + + + Gets the list style references. + + The list style references. + + + + Gets the collection of picture bullets + + + + + Represents the presence of font table + + + + + Represents the presence of footnote + + + + + Represents the presence of endnote + + + + + Represents the presents the list styles + + + + + Gets the collection of images present in the document body + + + + + Gets the collection of images present in the footnote images + + + + + Gets the colection of images in the endnote images + + + + + Gets the collection of images in the comments + + + + + Gets the footnote collection + + + + + Gets the endnote collection + + + + + Gets the collections of images present in the HeaderFooters + + + + + Gets the collections of Svg images present in the HeaderFooters + + + + + Gets the field stack. + + The field stack. + + + + Gets the field mark stack. + + + + + Gets the current field. + + The current field. + + + + Gets the auto shape helper. + + + The auto shape helper. + + + + + Holds the moving revision details. + + + + + Gets the revision if it preserve after the Paragraph/Table/Cell/Row end mark + + + + + Gets the comment range end if it preserve after the Paragraph/Table/Cell/Row end mark + + + + + Converts DocIO DOM to markdown DOM + + + + + Converts word document DOM to Markdown DOM. + + + + + Iterate body and convert into Markdown DOM + + + + + Check and create new code block or paragraph. + + + + + + + Defines method to iterate through document Paragraph and create an instance of MdParagraph for every Paragraph in the document. + + + + + Iterates Paragraph Items for CodeBlock + + + + + Iterates through the TableRow. + + + + + Iterate items in cell and convert to Markdown DOM + + + + + Iterates through the nested table inside TableCell. + + + + + Iterates through the FieldHyperLink. + + + + + Add empty cells for spanned cells + + + + + Adds a space between outer cell content and the nested cell contents. + + MdTableRow cell + + + + Iterates through the TableCell. + + + + + Sets the table row alignment. + + + + + Checks for text formatting of the previous MdTextrange and compares to the current text + + Represents the current textrange in the paragraph + Represents the previous textrange in the paragraph + + + + + Execute the event for image + + + + + Applies list format for the paragraph + + Word document paragraph + The list format for that paragraph in Markdown + + + + Applies Text format to text. + + + + + Convert the picture in the word document to Markdown image + + + + + + + + Convert Word to Markdown and write as md file. + + + + + + + + Gets or sets the file path where the output will be saved. + + + + + LaTeXParser in DocIO supports compression LaTeXParser. + + + + + Set the text range as math run element item. + + Math run element + Text for text range + + + + Append the text in math run element text range. + + Math run element + Text to append in text range + + + + Get the text from a math run element text range. + + The math run element to retrieve text from. + The text content of the math run element, or null if the provided element is not a text range. + + + + Specifies the field group type + + + + + Specifies field instruction group + + + + + Specifies field result group + + + + + Specifies field group other than the field instruction and field result group + + + + + Summary description for Package. + + + + + Summary description for PartContainer. + + + + + + + + + + Adds the part. + + The item. + + + + Adds the part. + + The XML part. + + + + Adds the part container. + + The container. + + + + Removes the Part. + + The XML part. + + + + Gets the container. + + The name parts. + Start index of the name. + + + + + Loads the relations. + + The item. + + + + Get xml part name + + The full path. + + + + + Clones this instance. + + + + + + Copies the XML part container. + + The new container. + The SRC package. + The parts. + The index. + + + + + Copies the XML part items. + + The new container. + The SRC package. + Name of the part. + + + + Gets the XML part relation key. + + Name of the part. + + + + + Updates the inner relation target. + + The relation. + The inner relation target. + + + + Copies the inner related XML parts. + + The new container. + The SRC package. + The relation. + Name of the cur part. + + + + + Gets the part container by name. + + Name of the container. + + + + + Gets the XML part container path. + + The container. + The target. + + + + + Gets the parent part path. + + The SRC container. + + + + + Closes this instance. + + + + + Gets the XML parts. + + The XML parts. + + + + Gets the XML part containers. + + The XML part containers. + + + + Gets the XML relations collection. + + The XML relations. + + + + Gets or sets the name. + + The name. + + + + Gets the part container by name. + + Name of the container. + + + + + + + + + + + + Loads the specified zip archive. + + The zip archive. + + + + Loads the part. + + The item. + + + + + + + + + + Closes this instance. + + + + + Summary description for Part. + + + + + + + + + + Initializes a new instance of the class. + + The data stream. + + + + Clones this instance. + + + + + + Sets the data stream. + + The stream. + + + + Closes this instance. + + + + + Get the attribute stream using attribute name + + + The XML attribute of stream + + + + Gets data stream. + + + + + Gets/sets part name. + + + + + Summary description for Relation. + + + + + Initializes a new instance of the class. + + The zip item. + + + + + + + + + + + Clones this instance. + + + + + + Closes this instance. + + + + + Represents the background effects. + + + + + Class fields. + + + + + Initializes a new instance of the class. + + The doc. + The type. + + + + Internal constructor. + + + + + + Initializes a new instance of the class. + + The doc. + The container. + + + + Clones background object. + + Exact copy of background object + + + + Updates the image record. + + The doc. + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Writes object data as inside xml element. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + The value indicating the presence of xml content. + + + + Registers child objects in XDSL holder. + + + + + + Sets the Background fill color + + + + + + Sets the Background pattern fill + + + + + + Gets the background data. + + + + + Gets the image. + + + + + + Gets the image. + + The image bytes. + + + + + Loads the image. + + The image. + + + + Compares the current background with another background of another document. + + + + + + + Gets the properties text for Word comparison + + + + + + + Gets or sets the type of background effect. + + The member that specifies the type of background. + + + + Gets or sets the background picture. + + The that represents the background for the document. + + The following code example demonstrates how to set the background for the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an instance of WordDocument class + WordDocument document = new WordDocument(); + //Set the background type of the document + document.Background.Type = BackgroundType.Picture; + //Set the background image of the document + document.Background.Picture = Image.FromFile("Image.png"); + //Add one section with one paragraph to the document + document.EnsureMinimal(); + //Add the text range to the last paragraph of the section + document.LastParagraph.AppendText("Hello World!"); + //Save the document in the given name and format + document.Save("Sample.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an instance of WordDocument class + Dim document As New WordDocument() + 'Set the background type of the document + document.Background.Type = BackgroundType.Picture + 'Set the background image of the document + document.Background.Picture = Image.FromFile("Image.png") + 'Add one section with one paragraph to the document + document.EnsureMinimal() + 'Add the text range to the last paragraph of the section + document.LastParagraph.AppendText("Hello World!") + 'Save the document in the given name and format + document.Save("Sample.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + End Sub + + + + + + Gets the image. + + The image. + + + + Gets or sets the background color of the document. + + The specifies the background color for this document. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into WordDocument instance + WordDocument document = new WordDocument("Sample.docx"); + //Set the background type of the document + document.Background.Type = BackgroundType.Color; + //Set the background color of the document + document.Background.Color = Color.AliceBlue; + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into WordDocument instance + Dim document As New WordDocument("Sample.docx") + 'Set the background type of the document + document.Background.Type = BackgroundType.Color + 'Set the background color of the document + document.Background.Color = Color.AliceBlue + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + End Sub + + + + + + Gets or sets the background gradient. + + The object that specifies the gradient effect. + + + + + Gets the image record. + + The image record. + + + + Get/set background image as byte array. + + + + + Get/set background fill type. + + + + + Get background color for picture background. + + + + + Gets or sets a pattern fill string. + + true if pattern fill string; otherwise, false. + + + + Gets or sets the pattern image. + + The pattern image. + + + + Represents the background gradient effect. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an instance of WordDocument class + WordDocument document = new WordDocument(); + //Set the background type of the document + document.Background.Type = BackgroundType.Gradient; + //Set the first color of the background gradient of the document + document.Background.Gradient.Color1 = Color.AliceBlue; + //Set the second color of the background gradient of the document + document.Background.Gradient.Color2 = Color.Purple; + //Set the first shading style of the background gradient of the document + document.Background.Gradient.ShadingStyle = GradientShadingStyle.DiagonalDown; + //Set the first shading variant of the background gradient of the document + document.Background.Gradient.ShadingVariant = GradientShadingVariant.ShadingMiddle; + //Add one section with one paragraph to the document + document.EnsureMinimal(); + //Add the text range to the last paragraph of the section + document.LastParagraph.AppendText("Hello World!"); + //Save the document in the given name and format + document.Save("Sample.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an instance of WordDocument class + Dim document As New WordDocument() + 'Set the background type of the document + document.Background.Type = BackgroundType.Gradient + 'Set the first color of the background gradient of the document + document.Background.Gradient.Color1 = Color.AliceBlue + 'Set the second color of the background gradient of the document + document.Background.Gradient.Color2 = Color.Purple + 'Set the first shading style of the background gradient of the document + document.Background.Gradient.ShadingStyle = GradientShadingStyle.DiagonalDown + 'Set the first shading variant of the background gradient of the document + document.Background.Gradient.ShadingVariant = GradientShadingVariant.ShadingMiddle + 'Add one section with one paragraph to the document + document.EnsureMinimal() + 'Add the text range to the last paragraph of the section + document.LastParagraph.AppendText("Hello World!") + 'Save the document in the given name and format + document.Save("Sample.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + End Sub + + + + + + Class constants. + + + + + Class fields. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The object. + The object. + + + + Creates the duplicate copy of the background gradient. + + The which is a copy of current gradient. + + + + Clones the relations. + + The doc. + + + + + Gets the gradient data. + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Closes this instance. + + + + + Gets the properties text for Word comparison + + + + + + + Gets or sets the first color for gradient effect. + + The first for the gradient effect. + + + + Gets or sets the second color for gradient effect. + + The second for the gradient effect. + + + + Gets or sets the shading style for gradient effect. + + The member that represents the shading style for gradient effect. + + + + Gets or sets the shading variants for gradient effect. + + The member that represents the shading variants for gradient effect. + + + + Represents the bookmark in the Word document which enclosed with + and . + + + + + + + + + Initializes a new instance of the class with the specified + . + + The that represents the start of the bookmark. + + + + Initializes a new instance of the class with the specified + and . + + The that represents the start of the bookmark. + The that represents the end of the bookmark. + + + + Sets the bookmark start. + + The bookmark start. + + + + Sets the bookmark end. + + The end. + + + + Checks whether bookmark is in valid position, when bookmark end is in content control + + + + + + Gets the bookmark name. Read-only. + + The string that represents the bookmark name. + + + + Gets the bookmark start. Read-only. + + The that represents the start of the bookmark. + + + + Gets the bookmark end. Read-only. + + The that represents the end of the bookmark. + + + + + + Represents the editable range in the Word document which enclosed with + and . + + + + + Initializes a new instance of the class with the specified + . + + The that represents the start of the editable range. + + + + Initializes a new instance of the class with the specified + and . + + The that represents the start of the editable range. + The that represents the end of the editable range. + + + + Sets the editable range start. + + The editable range start. + + + + Sets the editable range end. + + The editable range end. + + + + Gets the editable range id. Read-only. + + The string that represents the editable range id. + + + + Gets the editable range start. Read-only. + + The that represents the start of the editable range. + + + + Gets the editable range end. Read-only. + + The that represents the end of the editable range. + + + + Represents the built-in document properties of Word document. + + + The following list contains the names of all the available built-in document properties: + + Category + Number of Bytes + Number of Lines + Number of Paragraphs + Number of Slides + Number of Notes + Number of Hidden Slides + Manager + Company + + + + The following code example demonstrates how to modify the built-in document properties of Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Set the value for Company property of the document + document.BuiltinDocumentProperties.Company = "Northwind Traders"; + //Set the value for Manager property of the document + document.BuiltinDocumentProperties.Manager = "Paul Anderson"; + //Set the value for Author property of the document + document.BuiltinDocumentProperties.Author = "Peter"; + //Set the value for Comments property of the document + document.BuiltinDocumentProperties.Comments = "This document provide the sales information of the year 2015"; + //Set the value for LastAuthor property of the document + document.BuiltinDocumentProperties.LastAuthor = "Johnson"; + //Set the value for Title property of the document + document.BuiltinDocumentProperties.Title = "Sales Information"; + //Set the value for Category property of the document + document.BuiltinDocumentProperties.Category = "Sales"; + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Set the value for Company property of the document + document.BuiltinDocumentProperties.Company = "Northwind Traders" + 'Set the value for Manager property of the document + document.BuiltinDocumentProperties.Manager = "Paul Anderson" + 'Set the value for Author property of the document + document.BuiltinDocumentProperties.Author = "Peter" + 'Set the value for Comments property of the document + document.BuiltinDocumentProperties.Comments = "This document provide the sales information of the year 2015" + 'Set the value for LastAuthor property of the document + document.BuiltinDocumentProperties.LastAuthor = "Johnson" + 'Set the value for Title property of the document + document.BuiltinDocumentProperties.Title = "Sales Information" + 'Set the value for Category property of the document + document.BuiltinDocumentProperties.Category = "Sales" + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Represents the summary information of the document. + + + The following list contains the names of all the available summary document properties: + + Title + Subject + Author + Keywords + Comments + Template + Last Author + Revision Number + Application Name + Last Print Date + Creation Date + Last Save Time + Total Editing Time + Number of Pages + Number of Words + Number of Characters + Security + Category + + + + + + + Sorted list of properties + + + + + + + + + + + + + + + + + + + + + isSummary = true - summary property + isSummary = false - document summary property + + + + + + + Adds the specified name. + + The name. + The value. + + + + + + + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + True if the specified key is present, otherwise false. + + + + Sets the property value. + + The prop key. + The value. + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Closes this instance. + + + + + Gets or sets author name of the document. + + The string that specifies the author property. + + + + Gets or sets application name of the document. + + The string that specifies the application name property. + + + + Gets or sets the title of the document. + + The string that specifies the title property. + + + + Gets or sets the subject of the document. + + The string that specifies the subject property. + + + + Gets or sets the document keywords. + + The string that specifies the keywords in the document. + + + + Gets or sets the comments that provide additional information about the document. + + The string that specifies the additional information about the document. + + + + Gets or sets the template name of the document. + + The string that specifies the template document name. + + + + Gets or sets the last author name of the document. + + The string that specifies the last author name. + + + + Gets or sets the document revision number. + + /// The string that specifies the revision number. + + + + Gets or sets the document total editing time. + + The TimeSpan that specifies the total document editing time. + + + + Gets or sets the last print date of the document. + + The DateTime that specifies the time when the document is last printed. + + + + Gets or sets the creation date of the document. + + The DateTime that specifies the time when the document is created. + + + + Gets or sets the last save date of the document. + + The DateTime that specifies the time when the document is last saved. + + + + Gets total number of pages in the document + + The integer that represents the total number of pages. + + + + Gets total number of words in the document + + The integer that represents the total number of words. + + + + Gets the total number of characters in the document + + /// The integer that represents the total number of characters. + + + + Gets or sets thumbnail picture for document preview + + + + + Gets or sets document security level + + + + + Gets or Sets the ContentStatus of the document + + + + + + + + + + Gets summary count of document properties + + + + + + + + + + + + + + + + Initialize + + + + + Initialize + + + + + Initialize + + + + + isSummary = true - summary property + isSummary = false - document summary property + + + + + + + Creates a duplicate copy of the current built-in properties. + + The new that is created. + + + + + + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Closes this instance. + + + + + Gets or sets the category of the document. + + The string that represents the document category. + + + + Gets the number of bytes in the document. + + The integer that represents the number of bytes. + + + + Gets the number of lines in the document. + + The integer that represents the lines count in the document. + + + + Gets the number of paragraphs in the document. + + The integer that represents the paragraphs count in the document. + + + + Gets slide count in the document. + + The integer that specifies the slide count in the document. + + + + Gets Note count in the document. + + The integer that specifies the note count in the document. + + + + Gets hidden count in the document. + + The integer that specifies the hidden count in the document. + + + + Gets or sets Company property in the document. + + The string that specifies the company property. + + + + Gets or sets Manager property in the document. + + The string that specifies the manager property. + + + + Gets document hash + + + + + + + + + + Represents the page column in the Word document. + + + The following code example demonstrates how to display contents in multiple columns. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add the section into Word document + WSection section = document.AddSection() as WSection; + //Add the column into the section + Column column1 = new Column(document); + column1.Width = 150; + column1.Space = 20; + section.Columns.Add(column1); + //Add the column into the section + Column column2 = new Column(document); + column2.Width = 150; + column2.Space = 20; + section.Columns.Add(column2); + //Add the column into the section + Column column3 = new Column(document); + column3.Width = 150; + column3.Space = 20; + section.Columns.Add(column3); + //Add a paragraph to created section + IWParagraph paragraph = section.AddParagraph(); + //Add a paragraph to created section + paragraph = section.AddParagraph(); + string paraText = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"; + //Append the text to the created paragraph + paragraph.AppendText(paraText); + //Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak); + //Add a paragraph to created section + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText(paraText); + //Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak); + //Add a paragraph to created section + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText(paraText); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add the section into Word document + Dim section As WSection = TryCast(document.AddSection(), WSection) + 'Add the column into the section + Dim column1 As New Column(document) + column1.Width = 150 + column1.Space = 20 + section.Columns.Add(column1) + 'Add the column into the section + Dim column2 As New Column(document) + column2.Width = 150 + column2.Space = 20 + section.Columns.Add(column2) + 'Add the column into the section + Dim column3 As New Column(document) + column3.Width = 150 + column3.Space = 20 + section.Columns.Add(column3) + 'Add a paragraph to created section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add a paragraph to created section + paragraph = section.AddParagraph() + Dim paraText As String = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula" + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak) + 'Add a paragraph to created section + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak) + 'Add a paragraph to created section + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Represents the base formatting. + + + + + + + + + + + + + + + Member to hold the collection of properties values and its keys. + + + + + + Member to hold the collection of old properties values and its keys. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents the revision collection. + + + + + Check whether the key is present in any of the base formats + + The key for the property + True, if the base format contains that property in its properties hash; else, false + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The object. + To represent textbox instance + + + + Initializes a new instance of the class. + + The object. + + + + Initializes a new instance of the class. + + The object. + The that is the owner of the current item. + + + + Initializes a new instance of the class. + + The that represents the parent format. + The integer that represents the parent key. + + + + Initializes a new instance of the class. + + The that represents the parent format. + The integer that represents the parent key. + The integer that represents the parent offset. + + + + Imports the container. + + The format. + + + + Imports the members. + + + The object. + + + + + + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + + True if the specified key is present, otherwise false. + + + + + Returns a value indicating whether the key exists and its corresponding boolean value. + + The integer that specifies the key. + + True if the specified key is present with its boolean value, otherwise false. + + + + + Clears the formatting. + + + + + Returns the default values. + + + The integer that specifies the key. + An object that specifies the default value. + + + + Gets the composite values. + + + The integer that specifies the key. + The object. + + + + Occurs on format change. + + + The object. + The integer that represents the property key. + + + + + + + + + + + Gets the Single Property Modifier Record option value for the specified property. + + + The integer that represents the property key. + The integer that represents the SPRM value. + + + + Closes this instance. + + + + + Ensures the composites. + + + + + Ensures the composites. + + The keys of the properties. + + + + Returns the key of the base format. + + + The integer which specifies the key. + The key of the parent format. + + + + Returns the whole key. + + + The integer that specifies the key. + The entire key. + + + + Returns the default composite value. + + + The integer that specifies the key. + The object. + The element. + + + + + + + + + Removes the format changes. + + + + + Accepts the changes. + + + + + Gets the style change option. + + + + + + Gets the change option. + + + + + + Removes the positioning. + + + + + Compare the properties hash count of two formats + + The format to be compared + True if the count is equal, else false + + + + Compare the properties hash collection between two formats. + + The format to be compared + + + + Checks whether the key is need to be considered or not. + + + + + + + Compares the particular property value with the formatbase property value + + The property key. + The format. + + + + Compares the proprerty value of one format with another format. + + The value. + The current value. + + + + Gets the ARGB color code + + The color + + + + Copies property hash. + + The format. + + + + Gets the composite parent key. + + The key. + The parent level. + + + + + Updates the properties. + + The format. + + + + Copies the format. + + The format. + + + + Checks the char style. + + The key. + + + + + Gets the base format value. + + The key. + + + + + Parses the DTTM. + + The value. + + + + + Gets the DTTM int value. + + The dt. + + + + + Compares the array. + + The buffer1. + The buffer2. + + + + + Gets / sets whether format is default. + + + + + Gets or sets a value indicating whether there is a formatting change. + + + + + + + + + + + + + + + Gets or sets the value for the property with specified key. + + + The key for the property. + An object with the specific key. + + + + Gets parent format. + + + + + Gets the revision changes marked with revision marks in a range or document. + + + + + Initialize a new instance of the class. + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Clones itself. + + + + + + Gets the default values for the key. + + + + + + + Comapre the section values with previous section. + + + + + + + Sets the property value. + + The property key. + The value. + + + + Gets the property value. + + The prop key. + + + + + Gets or sets column width measured in points. + + The float that represents the width of the column. + + + + Gets or sets spacing between current and next column measured in points. + + The float that represents the space between the columns. + + + + Represents the custom document properties for the specified document. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Add the new custom property Typist with value + document.CustomDocumentProperties.Add("Typist", "Andrew"); + //Add the new custom property Publisher with value + document.CustomDocumentProperties.Add("Publisher", "Stephen"); + //Add the new custom property Recorded by with value + document.CustomDocumentProperties.Add("Recorded by", "Harry"); + //Add the new custom property Recorded date with value + document.CustomDocumentProperties.Add("Recorded date", new DateTime(2015, 2, 23)); + //Save and close the Word document + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Add the new custom property Typist with value + document.CustomDocumentProperties.Add("Typist", "Andrew") + 'Add the new custom property Publisher with value + document.CustomDocumentProperties.Add("Publisher", "Stephen") + 'Add the new custom property Recorded by with value + document.CustomDocumentProperties.Add("Recorded by", "Harry") + 'Add the new custom property Recorded date with value + document.CustomDocumentProperties.Add("Recorded date", New DateTime(2015, 2, 23)) + 'Save and close the Word document + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Sorted list of properties + + + + + + Initialize + + + + + Initialize + + + + + Adds the new custom document property with specified name and its value. + + A String that represents the name of the property to add. + The value for the property. + The new this method creates. + + + + Removes the specified custom property from the document. + + A String that represents the name of the property. + The specified property is not present in the document. + + + + Creates a duplicate copy of this + + The newly created duplicate copy of the current CustomDocumentProperties instance + + + + Writes object data as inside xml element. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + The value indicating the presence of xml content. + + + + Reads point and it's type from XML. + + Reader object. + + + + Closes this instance. + + + + + + + + + + Gets the custom property by specified name. Read-only. + + + + + Gets the custom property by specified index. Read-only. + + + + + Gets the total number of custom properties in the document. Read-only. + + + + + Represents document property. + + + + + Start index for Id2 PropVariant property. + + + + + Start year for FILETIME structure. + + + + + Property id. + + + + + Property name. + + + + + Property value. + + + + + Property type. + + + + + The source of a linked custom document property. Read/write String. + + + + + True if the value of the custom document property is linked to the content + of the container document. False if the value is static. Read/write Boolean. + + + + + Default constructor. + + + + + Initializes new instance of the class. + + Property name. + Property value. + + + + Initializes new instance of the class. + + Property name. + Property value. + Property type + + + + Initializes new instance of the class. + + Property id. + Property value. + + + + Initializes new instance of the document property. + + Variant that contains property data. + + Indicates whether property is from document summary or not (only for + built-int properties). + + + + Detects type of the string. + + String value to check. + Detected string type. + + + + Returns the boolean value for the property. + + True if the value exists, otherwise false. + + + + Convert the object in DateTime. + + The converted value. + + + + Convert the object in float value. + + The converted float value of the property. + + + + Convert the object in double. + + The converted double value of the property. + + + + Convert the object in Int value. + + The converted integer value of the property. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + Convert the object as byte array. + + The array. + + + + Gets the clip data. + + + + + + Copies document property data into PropVariant. + + Destination object. + PropertyId for custom properties. + True if was able to fill variant; false otherwise. + + + + Converts propertyId into correct index. + + PropertyId to convert. + [out] Indicates whether this is document summary property of simply document property. + Correct property index. + + + + Tries to detect and set property type. + + + + + Sets value of LinkSource property. + + Variant that contains value to set. + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of this instance. + + + + Creates copy of the internal value. + + + + + Closes this instance. + + + + + Indicates whether property is built-in. Read-only. + + + + + Returns / sets property id for built-in properties. + + + + + Gets the property name. Read-only. + + The string that represents the property name. + + + + Gets or sets the property value. + + An object that specifies the property value. + + + + Gets the type of the value. Read-only. + + The member that specifies the type of the value. + + + + Gets / sets boolean value. + + + + + Gets / sets integer value. + + + + + Gets / sets 4-bytes signed integer value. + + + + + Gets / sets double value. + + + + + Gets / sets string value. + + + + + Gets / sets DateTime value. + + + + + Gets / sets TimeSpan value. + + + + + Gets / sets Blob value. + + + + + Gets or sets clipboard data value. + + The that specifies the clipboard data. + + + + Gets / sets array of strings. + + + + + Gets / sets array of objects. Supported object types are string and Int32. + + + + + Gets / sets document property type. + + + + + Returns or sets the source of a linked custom document property. Read/write String. + + + + + True if the value of the custom document property is linked to the content of the container document. False if the value is static. Read/write Boolean. + + + + + Internal name of the document property. + + + + + Represents the Hyperlink. + + + The following code example demonstrates how to insert a web link. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Web Hyperlink: "); + paragraph = section.AddParagraph(); + //Append web hyperlink to the paragraph + IWField field = paragraph.AppendHyperlink("http://www.syncfusion.com", "Syncfusion", HyperlinkType.WebLink); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Web Hyperlink: ") + paragraph = section.AddParagraph() + 'Append web hyperlink to the paragraph + Dim field As IWField = paragraph.AppendHyperlink("http://www.syncfusion.com", "Syncfusion", HyperlinkType.WebLink) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + The following code example demonstrates how to add an email link. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Email hyperlink: "); + paragraph = section.AddParagraph(); + //Append Email hyperlink to the paragraph + paragraph.AppendHyperlink("mailto:john@gmail.com","John" , HyperlinkType.EMailLink); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Email hyperlink: ") + paragraph = section.AddParagraph() + 'Append Email hyperlink to the paragraph + paragraph.AppendHyperlink("mailto:john@gmail.com", "John", HyperlinkType.EMailLink) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + The following code example demonstrates how to add a file hyperlink. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("File Hyperlinks: "); + paragraph = section.AddParagraph(); + //Append hyperlink field to the paragraph + paragraph.AppendHyperlink(@"D:\Template.docx","File", HyperlinkType.FileLink); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("File Hyperlinks: ") + paragraph = section.AddParagraph() + 'Append hyperlink field to the paragraph + paragraph.AppendHyperlink("D:\Template.docx", "File", HyperlinkType.FileLink) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + The following code example demonstrates how to add a bookmark hyperlink. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Create new Bookmark + paragraph.AppendBookmarkStart("Introduction"); + paragraph.AppendText("Hyperlink"); + paragraph.AppendBookmarkEnd("Introduction"); + paragraph.AppendText("\nA hyperlink is a reference or navigation element in a document to another section of the same document or to another document that may be on or part of a (different) domain."); + paragraph = section.AddParagraph(); + paragraph.AppendText("Bookmark Hyperlink: "); + paragraph = section.AddParagraph(); + //Append Bookmark hyperlink to the paragraph + paragraph.AppendHyperlink("Introduction", "Bookmark", HyperlinkType.Bookmark); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Create new Bookmark + paragraph.AppendBookmarkStart("Introduction") + paragraph.AppendText("Hyperlink") + paragraph.AppendBookmarkEnd("Introduction") + paragraph.AppendText(vbLf & "A hyperlink is a reference or navigation element in a document to another section of the same document or to another document that may be on or part of a (different) domain.") + paragraph = section.AddParagraph() + paragraph.AppendText("Bookmark Hyperlink: ") + paragraph = section.AddParagraph() + 'Append Bookmark hyperlink to the paragraph + paragraph.AppendHyperlink("Introduction", "Bookmark", HyperlinkType.Bookmark) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + The following code example demonstrates how to add image hyperlink. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Image Hyperlink"); + paragraph = section.AddParagraph(); + //Create a new image instance and load image + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Append new image hyperlink to the paragraph + paragraph.AppendHyperlink("http://www.syncfusion.com", picture, HyperlinkType.WebLink); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Image Hyperlink") + paragraph = section.AddParagraph() + 'Create a new image instance and load image + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Append new image hyperlink to the paragraph + paragraph.AppendHyperlink("http://www.syncfusion.com", picture, HyperlinkType.WebLink) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Hyperlink field + + + + + Type of the hyperlink + + + + + File path. + + + + + URL link. + + + + + Bookmark. + + + + + Text which will be displayed on the place of hyperlink + + + + + Hyperlink image + + + + + Local Reference + + + + + Initializes a new instance of the class. + + The hyperlink. + + + + Performs hyperlink field validation. + + The field. + + + + Parses the hyperlink + + + + + Updates the text to display. + + + + + Sets the image to display. + + + + + Finds the first item of hyperlink text range. + + + + + + Updates the hyperlink type. + + + + + Sets the URI. + + The URI. + + + + Sets the name of the bookmark. + + The name. + + + + sets the local reference + + + + + + Sets the file path. + + The file path. + + + + Checks the value. + + The value. + + + + + Checks the path. + + The path. + + + + + Checks the URI. + + The URI. + + + + + Set the field code of hyperlink field. + + + + + Implemented alternative method to improve the performance + + + + + + + + Gets or sets the file path for file link. + + The string that specifies the path of the file. + + + + Gets or sets URL link for web link. + + The string that specifies URL. + + + + Gets or sets the bookmark name for Bookmark hyperlink. + + + + + Gets or sets the hyperlink type. + + + + + Gets or sets the text which will be displayed on the place of hyperlink. + + The string that specifies the text to display. + + + + Gets or sets the image which will be displayed on the place of hyperlink. + + The to display. + + + + Gets the field. + + The field. + + + + Gets or sets the Local Reference for the hyperlink + + The string that specifies the local reference. + + + + Represents the image class. + + + + + Initializes a new instance of the class. + + The stream. + + + + + + + + + Initializes this instance. + + + + + Checks if tiff. + + + + + + Checks if image is Bitmap. + + + + + + Parses the BMP image. + + + + + Checks if icon. + + + + + + Checks if PNG. + + + + + + Checks if JPEG. + + + + + + Checks if GIF. + + + + + + Checks if EMF or WMF. + + + + + + Parses the PNG image. + + + + + Gets the specified resource file as stream. + + The resource file name + Stream of the specified resource file + + + + Parses the JPEG image. + + + + + Generate higth wnd width of the JPEG image from byte array. + + + + + + + + + Generate higth wnd width of the JPEG image from byte array when the byte array has JFIF information. + + + + + + + + + generate higth wnd width of the JPEG image from byte array when the byte array has EXIF information. + + + + + + + + + (index+11) specifies the the unit.the next 4 bytes specifies the resolution of image. + first two bytes horizontal resolutin and the next two bytes vertical resolution + + + The end index of JFIF in image data + + + + 26 denotes hexadecimal value of 1A and 1 denotes the hexadecimal value of 01 and both specifies directory tag value. + 5 ,0 (intel) or 0,5 (motorola) specifies the Data type . + 1,0,0,0(intel) or 0,0,0,1(motorola) are specifies the component/byte count in the directory + the next following 4 index values denotes offset value of Image resolution from Tiff header.Added +12 value because of we left 12 bytes before TIFF header. + From the i index first height bytes for horizontal resolution and next 8 bytes for vertical Resolution. + + + + + + Parses the GIF image. + + + + + Parses the icon image. + + + + + Parses the EMF or WMF image. + + + + + Parses tif image + + + + + Reads the Uint32. + + + + + + Reads the int32. + + + + + + Reads the Uint16. + + + + + + Reads the int16. + + + + + + Reads the word. + + + + + + Reads the short LE. + + + + + + Reads the string. + + The len. + + + + + Resets this instance. + + + + + + + + + + + + + + + + + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Gets the width. + + The width. + + + + Gets the height. + + The height. + + + + Gets the image format. + + The image format. + + + + Gets the size. + + The size. + + + + Gets the image data. + + The image data. + + + + + + + + + Gets the Horizontal resolution + + + + + gets and sets the vertical Resolution + + + + + Gets a value indicating whether this instance is metafile. + + + true if this instance is metafile; otherwise, false. + + + + + Specifies the image format. + + + + + Initializes a new instance of the class. + + The word document. + The image bytes. + + + + Detaches from document image collection + + + + + Compare the byte array + + + + + + + Closes this instance. + + + + + Updates the image size for partial trust mode. + + The image. + + + + Updates the size of the image. + + The image. + + + + Gets the image internal for partial trust mode. + + The image bytes. + + + + + Gets the image. + + The image bytes. + + + + + Gets the image. + + The image bytes. + + + + + Gets image byte array. + + + + + Gets image byte array. + + + + + Gets hash of the image. + + + + + Gets or sets the occurence count. + + The occurence count. + + + + Gets or sets a value indicating whether this instance is metafile. + + + true if this instance is metafile; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is added to collection or not. + + + true if this instance is added to collection; otherwise, false. + + + + + Gets or sets the size. + + The size. + + + + Gets or sets the image format for partial trust mode. + + + The image format for partial trust mode. + + + + + Gets or sets the image format. + + The image format. + + + + Gets or sets the image format. + + The image format. + + + + Represents the base implementation for paragraphs and tables. + + + + + Represents text range functions + + + + + Replaces all entries of given regular expression with replace string. + + The used to find the text. + The string specifies the text to replace. + The integer that represents the count of the replacements made. + + + + Replaces all entries of given string with replace string, taking into + consideration case sensitive and whole word options. + + The string represents the text to be found. + The string specifies the text to replace. + True to consider the case, otherwise false. + True to consider the text as whole word, otherwise false. + The integer that represents the count of the replacements made. + + + + Replaces the regular expression with a text selection. + + The used to find the text. + The which specifies the text to replace. + The integer that represents the count of the replacements made. + + + + Initializes a new instance of the class with the + specified . + + The instance. + + + + Finds the text based on the specified regular expression. + + The used to find the text. + The selection of text inside a paragraph along with formattings. + + + + Replaces all entries of given regular expression with the specified string. + + The used to find the text. + The string specifies the text to replace. + The integer that represents the count of the replacements made. + + + + Replaces all entries of given string with replace string, taking into + consideration case sensitive and whole word options. + + The string represents the text to be found. + The string specifies the text to replace. + True to consider the case; otherwise, false. + True to consider the text as whole word; otherwise, false. + The integer that represents the count of the replacements made. + + + + Replaces the specified regular expression with a . + + The used to find the text. + The which specifies the text to replace. + The integer that represents the count of the replacements made. + + + + Replaces the specified regular expression with a along with its formatting. + + The used to find the text. + The which specifies the text to replace. + True if save with source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + + + Returns all the entries of given regular expression. + + The used to find the text. + + + + + Gets the next TextBodyItem in the document. + + + + + + Accepts or rejects changes tracked from the moment of last change acceptance. + + if it accepts changes, set to true. + + + + Checks a value indicating whether this item was inserted to the document, + when "Track Changes" is or was set to "true". + + + + + + Checks a value indicating whether this item was deleted from the document, + when "Track Changes" is or was set to "true". + + + + + + Defines whether format was changed. + + + + + + Defines whether paragraph/table format is changed. + + + + + + Removes the changes from character format. + + + + + Accept changes from paragraph/table. + + + + + Removes the character format changes. + + + + + Removes the paragraph format changes. + + + + + Determines whether item has tracked changes. + + + If it has tracked changes, set to true. + + + + + Sets the changed Character format. + + if it is check, set to true. + + + + Sets the changed Paragraph format. + + if it sets the Format, set to true. + + + + Sets the delete revision. + + if it sets delete revision, set to true. + + + + Sets the insert revision. + + if it sets insert revision, set to true. + + + + Apply insert revision for the item. + + + + + Apply delete revision for the item. + + + + + Gets the next text body item. + + + The instance from which the next item to be found. + The next object. + + + + Gets the owner text body of the current . + + The instance that is the owner of the current item. + + + + Gets a value indicating whether this item was inserted to the document, + when "Track Changes" is or was set to "true". + + True if this instance was inserted; otherwise, false. + + + + Gets a value indicating whether this item was deleted from the document, + when "Track Changes" is or was set to "true". + + True if this instance is delete revision; otherwise, false. + + + + Defines whether format was changed. + + The is changed format. + + + + Gets a value indicating whether paragraph/table format is changed. + + + If paragraph/table format is changed, set to true. + + + + + + + + + + + + + + + Initializes a new instance of the class. + + The doc. + + + + Creates a duplicate of the entity. + + + + + + Gets Next the text body item in the document. + + + + + + Returns the bool value based on the file extension of the given file name for updating teh alternate chunk. + + + + + + + Update the current Alternate chunk element in the Word document + + + + + Check the Textwrapping style of Picture + + + + + + + + Merge the owner paragraph of altchunk with the altchunk first + + + + + Merge the altchunk first paragraph with the owner text body last paragraph. + + Index of the AltChunk + Owner text body + Altchunk text body + + + + Updates the bookmarks into the AltChunk. + + The textbody. + Textbody child count before update AltChunk. + + + + Inserts the bookmark start to the body's first item. + + Textbody last item. + Bookmark start. + True if bookmark start is inserted, otherwise false. + + + + Adds the bookmark end to the body's last item. + + Textbody last item. + Bookmark end. + True if bookmark end is added, otherwise false. + + + + Clears the existing headers footers. + + The section. + + + + Update the HeaderFooter to the main document if the parent element is body/docPartBody/tableCell + + + + + + + + Checks a value indicating whether this item was deleted from the document, + when "Track Changes" is or was set to "true". + + + + if this instance is delete revision, set to true. + + + + + Sets the changed Paragraph format for table. + + if it specifies the format to be changed, set to true. + + + + Sets the changed C format. + + if it specifies formatting, set to true. + + + + Sets the delete rev. + + if specifies delete revision, set to true. + + + + Sets the insert rev. + + if it specifies insert revision, set to true. + + + + Determines whether item has tracked changes. + + + if has tracked changes, set to true. + + + + + Replaces all entries of given regular expression with replace string. + + The used to find the text. + The string specifies the text to replace. + The integer that represents the count of the replacements made. + + + + Replaces all entries of given string with replace string, taking into + consideration case sensitive and whole word options. + + The string represents the text to be found. + The string specifies the text to replace. + True to consider the case, otherwise false. + True to consider the text as whole word, otherwise false. + The integer that represents the count of the replacements made. + + + + Replaces the regular expression with a text selection. + + The used to find the text. + The which specifies the text to replace. + The integer that represents the count of the replacements made. + + + + Replaces all entries of given regular expression with TextRangesHolder. + + The pattern. + The text selection. + if it specifies save source formatting, set to true. + + + + + Replaces all entries of given string with TextRangesHolder, taking into + consideration caseSensitive and wholeWord options. + + The given. + The text selection. + if it specifies case sensitive, set to true. + if it specifies to check whole word, set to true . + + + + Replaces all entries of given string with TextRangesHolder, taking into + consideration caseSensitive and wholeWord options. + + The given. + The text selection. + if it specifies case sensitive, set to true . + if it specifies to search a whole word, set to true . + if it specifies save source formatting, set to true. + + + + + Replaces first entry of given string with replace string, taking into + consideration caseSensitive and wholeWord options. + + The string to replace + Replace string + Is case sensitive replace? + Search for whole word? + + + + + Replaces all entries of given regular expression with replace string. + + + + + + + Removes the character format changes. + + + + + Removes the paragraph/table format changes. + + + + + Accepts the changes for character format. + + + + + Accepts changes in paragraph/table format. + + + + + Defines whether format was changed. + + + + + + Checks a value indicating whether this item was inserted to the document, + when "Track Changes" is or was set to "true". + + + + if this instance was inserted, set to true. + + + + + Returns first entry of given regex. + + The pattern. + + + + + Returns first entry of given string, taking into consideration caseSensitive + and wholeWord options. + + The given. + if it is case sensitive, set to true. + if it specifies to search a whole word, set to true. + + + + + Accepts or rejects changes tracked from the moment of last change acceptance. + + if it accepts changes, set to true. + + + + Returns all entries of given regex. + + The pattern. + + + + + Closes the item. + + + + + Defines whether paragraph format is changed. + + + + + + Clones the relations. + + The doc. + + + + Updates the XML parts. + + The destination. + + + + Updates the XML part container. + + The SRC container. + The dest container. + The parts. + The index. + + + + + Updates the XML part. + + The SRC container. + The dest container. + The XML part. + + + + + Gets / sets the targer Id. + + The Targer id. + + + + Gets / sets the Content extension. + + The Content extension. + + + + Gets or sets the import option. + + The import option. + + + + Gets / sets the Content Type. + + The Content Type. + + + + Gets / sets the Content Path. + + The Content Path. + + + + Gets the alternate chunk stream. + + The alternate chunk stream. + + + + Gets the bookmark start and end which present before and after the alternate chunk. + + + + + Gets or sets the value indicates whether the owner document having one section only. + + + + + Gets or sets the value indicates whether the chunk is first chunk. + + + + + Gets or sets the value indicates whether the chunk is last chunk. + + + + + Gets or sets the value indicates the first chunk last section. + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets the child entities. + + The child entities. + + + + + + + + + + + + + + + + Represents the Metafile header. + + + + + Gets a that bounds the associated . + + A that bounds the associated . + + + + Contains types that support which is used to create and manipulate Word document. + + + + + + Represents the picture that appears behind the document. + + + The following code snippet illustrates how to add a picture watermark to the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add a section and a paragraph in the document + document.EnsureMinimal(); + IWParagraph paragraph = document.LastParagraph; + paragraph.AppendText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"); + //Create a new picture watermark + PictureWatermark picWatermark = new PictureWatermark(); + //Set the scaling to picture + picWatermark.Scaling = 120f; + picWatermark.Washout = true; + //Set the picture watermark to document + document.Watermark = picWatermark; + //Set the image to the picture watermark + picWatermark.Picture = Image.FromFile("ImagesPath" + "Water lilies.jpg"); + document.Save("PictureWatermark.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add a section and a paragraph in the document + document.EnsureMinimal() + Dim paragraph As IWParagraph = document.LastParagraph + paragraph.AppendText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua") + 'Create a new picture watermark + Dim picWatermark As New PictureWatermark() + 'Set the scaling to picture + picWatermark.Scaling = 120.0F + picWatermark.Washout = True + Set the picture watermark to document + document.Watermark = picWatermark + Set the image to the picture watermark + picWatermark.Picture = Image.FromFile(ImagesPath + "Water lilies.jpg") + document.Save("PictureWatermark.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + Represents the text or picture that appears behind the document. + + + + + + + + + + + + Initializes a new instance of the class. + + The type. + + + + Initializes a new instance of the class. + + The doc. + The type. + + + + Removes the self. + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets the watermark type. Read-Only. + + A represents the type of watermark in this + + + + Gets or sets the index of the order. + + The index of the order. + + + + Gets or sets the shape id. + + + + + Picture watermark members. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified + and effect. + + Image that appear behind the document + Washout property to set light shading effect to picture. + This constructor is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin application. + + The following code snippet illustrates how to add a picture watermark to the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Create a new picture watermark + PictureWatermark picWatermark = new PictureWatermark(Image.FromFile("ImagesPath" + "Water lilies.jpg"), false); + //Set the picture watermark to document + document.Watermark = picWatermark; + document.Save("PictureWatermark.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Create a new picture watermark + Dim picWatermark As New PictureWatermark(Image.FromFile(ImagesPath + "Water lilies.jpg"), False) + 'Set the picture watermark to document + document.Watermark = picWatermark + document.Save("PictureWatermark.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Initializes a new instance of the class. + + The doc. + + + + Closes the instance + + + + + Updates the image. + + + + + Gets the image. + + The image bytes. + + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Clones itself. + + + Returns cloned object. + + + + Gets or sets the picture scaling value in percents. + + The float that specifies the picture scaling value. + + + + Gets or sets a value indicating whether the washout property is enabled for the picture watermark. The default value is true. + + True if to have light shading effect to picture; otherwise, false. + + + + Gets or sets the picture for picture watermark. + + The that represents the picture. + This property is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin application. + + + + Gets or sets the WPicture. + + + + + Gets/sets index in BStoreContainer which contains + picture watermark data (image). + + + + + Represents the tabs in the document. + + + The following code example demonstrates how to modify the existing tab values in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument("Template.docx"); + //Add the section into Word document + WSection section = document.AddSection() as WSection; + //Access the first paragraph of the document + WParagraph paragraph = document.Sections[0].Paragraphs[0]; + //Get the first tab from the paragraph + Tab tab = paragraph.ParagraphFormat.Tabs[0]; + //Adjust the tab values + tab.Justification = TabJustification.Centered; + tab.Position = 200; + tab.TabLeader = Syncfusion.DocIO.DLS.TabLeader.Dotted; + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument("Template.docx") + 'Add the section into Word document + Dim section As WSection = TryCast(document.AddSection(), WSection) + 'Access the first paragraph of the document + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(0) + 'Get the first tab from the paragraph + Dim tab As Tab = paragraph.ParagraphFormat.Tabs(0) + 'Adjust the tab values + tab.Justification = TabJustification.Centered + tab.Position = 200 + tab.TabLeader = Syncfusion.DocIO.DLS.TabLeader.Dotted + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The doc. + The position. + The justification. + The leader. + + + + Initializes a new instance of the class. + + The doc. + The position. + The delete position. + The justification. + The leader. + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + True if the specified key is present, otherwise false. + + + + Sets the property value. + + The prop key. + The value. + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + + + + + + + Called when tab was changed. + + + + + Compares the tabs + + + + + Gets or sets the . + + The member that specifies the tab justification + of this . + + + + Gets or sets the . + + The member that specifies the tab leader. + + + + Gets or sets the position of the tab measured in points. + + The float that specifies the position of tab. + + + + Gets or sets the delete position for the tab measured in points. + + The float that specifies the delete position. + + + + Properties Collection. + + + + + Gets or sets the key in property collection. + + The integer that specifies the key. + An object that specifies the key. + + + + Represents the text that appears behind the document. + + + The following code snippet illustrates how to add a text watermark to the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add a section and a paragraph in the document + document.EnsureMinimal(); + IWParagraph paragraph = document.LastParagraph; + paragraph.AppendText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"); + //Create a new text watermark + TextWatermark textWatermark = new TextWatermark(); + //Set the created watermark to document + document.Watermark = textWatermark; + //Set the text watermark font size + textWatermark.Size = 72; + //Set the text watermark layout to Horizontal + textWatermark.Layout = WatermarkLayout.Horizontal; + textWatermark.Semitransparent = false; + //Set the text watermark text color + textWatermark.Color = Color.Black; + //Set the text to text watermark text + textWatermark.Text = "TextWatermark"; + document.Save("TextWatermark.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add a section and a paragraph in the document + document.EnsureMinimal() + Dim paragraph As IWParagraph = document.LastParagraph + paragraph.AppendText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua") + 'Create a new text watermark + Dim textWatermark As New TextWatermark() + 'Set the text watermark to document + document.Watermark = textWatermark + 'Set the text watermark font size + textWatermark.Size = 72 + 'Set the text watermark layout to Horizontal + textWatermark.Layout = WatermarkLayout.Horizontal + textWatermark.Semitransparent = False + 'Set the text watermark text color + textWatermark.Color = Color.Black + 'Set the text to the text watermark + textWatermark.Text = "TextWatermark" + document.Save("TextWatermark.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + Text watermark members. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with watermark text. + + A String that appears behind the document + + The following code snippet illustrates how to add a text watermark to the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template,docx"); + //Create a new text watermark + TextWatermark textWatermark = new TextWatermark("Demo Text"); + //Set the created watermark to document + document.Watermark = textWatermark; + document.Save("TextWatermark.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template,docx") + 'Create a new text watermark + Dim textWatermark As New TextWatermark("Demo Text") + 'Set the created watermark to document + document.Watermark = textWatermark + document.Save("TextWatermark.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Initializes a new instance of the class with the specified watermark text, font name, font size and layout options. + + A String that represents which appears behind the document + A String that represents the font name for the + A float value that represents the visual appearance size for the + A represents the appearance position of the watermark text in this + + The following code snippet illustrates how to add a text watermark to the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template,docx"); + //Create a new text watermark + TextWatermark textWatermark = new TextWatermark("Demo Text", "Arial", 48, WatermarkLayout.Diagonal); + //Set the created watermark to document + document.Watermark = textWatermark; + document.Save("TextWatermark.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template,docx") + 'Create a new text watermark + Dim textWatermark As New TextWatermark("Demo Text", "Arial", 48, WatermarkLayout.Diagonal) + 'Set the created watermark to document + document.Watermark = textWatermark + document.Save("TextWatermark.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Initializes a new instance of the class. + + The doc. + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Sets the default values for text Watermark properties. + + + + + Set the default size of watermark. + + + + + Gets the size of the shape + + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + True if the specified key is present, otherwise false. + + + + Sets the property value. + + The prop key. + The value. + + + + Gets or sets a value indicating whether this is visible. + + + True if visible; otherwise, false. + + + + + Gets or sets watermark text. + + A String that appear behind the document. + + + + Gets or sets watermark text's font name. + + A String that represents the font name for the + Setting new value to this will not auto update the width and height of the TextWatermark. Have to specify the and explicitly in ASP.NET Core and Xamarin platforms + + + + Gets or sets watermark text's size. + + A float value that represents the visual appearance size for the + Setting new value to this will not auto update the width and height of the TextWatermark. Have to specify the and explicitly in ASP.NET Core and Xamarin platforms + + + + Gets or sets watermark text display color. + + A Color value represents the visual appearance color for the + + + + Gets or sets semitransparent property for Text watermark. The default is false. + + True if the watermark text appear as semitransparent; otherwise, false + + + + Gets or sets layout for watermark text. + + A represents the appearance position of the watermark text in this . + + + + Gets or sets watermark text's height. + + A float value represents the visual appearance height for . + is only applicable for ASP.NET Core and Xamarin platforms. + + + + Gets or sets watermark text's width. + + A float value represents the visual appearance width for . + is only applicable for ASP.NET Core and Xamarin platforms. + + + + Gets shape size. + + The size of the shape. + + + + Gets or sets the wrapping style of text watermark. + + + + + Gets or sets the horizontal origin of text watermark. + + + + + Gets or sets the vertical origin of text watermark. + + + + + Gets or sets the text watermark horizontal alignment. + + + + + Gets or sets the text watermark vertical alignment. + + + + + Gets or sets the horizontal absolute position. + + + + + Gets or sets the vertical absolute position. + + + + + Gets or sets the the rotation angle. + + + + + Gets or sets the position type of text watermark. + + + + + Properties Collection. + + + + + Gets or sets the key in property collection. + + The integer that specifies the key. + An object that specifies the key. + + + + Represents the Word document variables. + + + The following code snippet illustrate how to add a DocVariable field in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("First Name of the customer: "); + //Add the DocVariable field with Variable name and its type + paragraph.AppendField("FirstName", FieldType.FieldDocVariable); + paragraph = section.AddParagraph(); + paragraph.AppendText("Last Name of the customer: "); + //Add the DocVariable field with Variable name and its type + paragraph.AppendField("LastName", FieldType.FieldDocVariable); + //Add the value for variable in WordDocument.Variable collection + document.Variables.Add("FirstName", "Jeff"); + document.Variables.Add("LastName", "Smith"); + //Update the document fields + document.UpdateDocumentFields(); + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("First Name of the customer: ") + 'Add the DocVariable field with Variable name and its type + paragraph.AppendField("FirstName", FieldType.FieldDocVariable) + paragraph = section.AddParagraph() + paragraph.AppendText("Last Name of the customer: ") + 'Add the DocVariable field with Variable name and its type + paragraph.AppendField("LastName", FieldType.FieldDocVariable) + 'Add the value for variable in WordDocument.Variable collection + document.Variables.Add("FirstName", "Jeff") + document.Variables.Add("LastName", "Smith") + 'Update the document fields + document.UpdateDocumentFields() + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Document variables + + + + + Initializes a new instance of the class. + + + + + Adds new document variable to document. + + The string that specifies the varaible name. + The string that specifies the varaible value. + + + + Gets variable's key by its index. + + The integer that specifies the index of the variable. + The string that represents the key of the variable. + + + + Gets variable's value by the index. + + The integer that specifies the index of the variable. + The string that represents the value of the variable. + + + + Removes document variable with specified name from the document. + + The string that represents the name of the variable. + + + + Closes this instance. + + + + + Updates the variables. + + The variables. + + + + Converts collection of variables to byte array. + + + + + + Finds the item. + + The index. + if returns name, set to true. + + + + + Checks the index. + + The index. + + + + Gets or sets the variable with the specified name. + + The string that specifies the name of the variable. + The string that represents the variable name. + + + + Gets the count of variables. + + The integer that specifies the variables count. + + + + Gets the collection of name/value items. + + The items. + + + + Represents the item of drop down formfield. + + + + + + + + + + Initializes a new instance of the class. + + The document + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Clones this instance. + + + + + + Gets / sets current DropDownItem text + + + + + Represents page headers and footers + + + The following code example demonstrates how to add text to different types of headers and footers. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Creates a new document. + WordDocument document = new WordDocument(); + //Adds the first section to the document. + IWSection section = document.AddSection(); + //Adds a paragraph to the section. + IWParagraph paragraph = section.AddParagraph(); + //Sets DifferentFirstPage and DifferentOddEvenPages to true for inserting Header and Footer text. + section.PageSetup.DifferentFirstPage = true; + section.PageSetup.DifferentOddAndEvenPages = true; + //Appends some text to the first page in document. + paragraph.AppendText("\r\r[ First Page ] \r\rText Body_Text Body_Text Body_Text Body_Text Body_Text Body"); + paragraph.ParagraphFormat.PageBreakAfter = true; + //Appends some text to the second page in document. + paragraph = section.AddParagraph(); + paragraph.AppendText("\r\r[ Second Page ] \r\rText Body_Text Body_Text Body_Text Body_Text Body_Text Body"); + paragraph.ParagraphFormat.PageBreakAfter = true; + //Appends some text to the third page in document. + paragraph = section.AddParagraph(); + paragraph.AppendText("\r\r[ Third Page ] \r\rText Body_Text Body_Text Body_Text Body_Text Body_Text Body"); + //Inserts First Page Header. + paragraph = new WParagraph(document); + paragraph.AppendText("[ FIRST PAGE Header ]"); + section.HeadersFooters.FirstPageHeader.Paragraphs.Add(paragraph); + //Inserts First Page Footer. + paragraph = new WParagraph(document); + paragraph.AppendText("[ FIRST PAGE Footer ]"); + section.HeadersFooters.FirstPageFooter.Paragraphs.Add(paragraph); + //Inserts Odd Pages Header. + paragraph = new WParagraph(document); + paragraph.AppendText("[ ODD Page Header Text goes here ]"); + section.HeadersFooters.OddHeader.Paragraphs.Add(paragraph); + //Inserts Odd Pages Footer. + paragraph = new WParagraph(document); + paragraph.AppendText("[ ODD Page Footer Text goes here ]"); + section.HeadersFooters.OddFooter.Paragraphs.Add(paragraph); + //Inserts Even Pages Header. + paragraph = new WParagraph(document); + paragraph.AppendText("[ EVEN Page Header Text goes here ]"); + section.HeadersFooters.EvenHeader.Paragraphs.Add(paragraph); + //Inserts Even Pages Footer. + paragraph = new WParagraph(document); + paragraph.AppendText("[ EVEN Page Footer Text goes here ]"); + section.HeadersFooters.EvenFooter.Paragraphs.Add(paragraph); + //Adds the second section to the document. + section = document.AddSection(); + section.PageSetup.DifferentFirstPage = true; + //Appends some text to the Second Sections's first page in the document. + paragraph = section.AddParagraph(); + paragraph.AppendText("\r\r[ First Page for SECOND SECTION ]\r[ ON DIFFERENT FIRTS PAGE ]\r\rText Body_Text Body_Text Body_Text Body_Text Body_Text Body"); + paragraph.ParagraphFormat.PageBreakAfter = true; + //Appends some text to the Second Sections's second page in the document. + paragraph = section.AddParagraph(); + paragraph.AppendText("\r\r[ Second Page for SECOND SECTION ]\rText Body_Text Body_Text Body_Text Body_Text Body_Text Body"); + //Inserts Second Sections's First Header. + paragraph = new WParagraph(document); + paragraph.AppendText("[ SECOND SECTION FIRST PAGE Header ]"); + section.HeadersFooters.FirstPageHeader.Paragraphs.Add(paragraph); + //Inserts Second Sections's First Footer. + paragraph = new WParagraph(document); + paragraph.AppendText("[ SECOND SECTION FIRST PAGE Footer ]"); + section.HeadersFooters.FirstPageFooter.Paragraphs.Add(paragraph); + //Inserts Second Sections's Header. + paragraph = new WParagraph(document); + paragraph.AppendText("SECOND SECTION Header Text goes here"); + section.HeadersFooters.OddHeader.Paragraphs.Add(paragraph); + //Inserts Second Sections's Footer. + paragraph = new WParagraph(document); + paragraph.AppendText("SECOND SECTION Footer Text goes here"); + section.HeadersFooters.OddFooter.Paragraphs.Add(paragraph); + //Saves the document to disk. + document.Save("Sample.docx", FormatType.Docx); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Creates a new document. + Dim document As WordDocument = New WordDocument() + 'Adds the first section to the document. + Dim section As IWSection = document.AddSection() + 'Adds a paragraph to the section. + Dim paragraph As IWParagraph = section.AddParagraph() + 'Sets DifferentFirstPage and DifferentOddEvenPages as true for inserting Header and Footer text. + section.PageSetup.DifferentFirstPage = True + section.PageSetup.DifferentOddAndEvenPages = True + 'Appends some text to the first page in document. + paragraph.AppendText(Constants.VB.NETCr + Constants.VB.NETCr and "[ First Page ] " and Constants.VB.NETCr + Constants.VB.NETCr and "Text Body_Text Body_Text Body_Text Body_Text Body_Text Body") + paragraph.ParagraphFormat.PageBreakAfter = True + 'Appends some text to the second page in document. + paragraph = section.AddParagraph() + paragraph.AppendText(Constants.VB.NETCr + Constants.VB.NETCr and "[ Second Page ] " and Constants.VB.NETCr + Constants.VB.NETCr and "Text Body_Text Body_Text Body_Text Body_Text Body_Text Body") + paragraph.ParagraphFormat.PageBreakAfter = True + 'Appends some text to the third page in document. + paragraph = section.AddParagraph() + paragraph.AppendText(Constants.VB.NETCr + Constants.VB.NETCr and "[ Third Page ] " and Constants.VB.NETCr + Constants.VB.NETCr and "Text Body_Text Body_Text Body_Text Body_Text Body_Text Body") + 'Inserts First Page Header. + paragraph = New WParagraph(document) + paragraph.AppendText("[ FIRST PAGE Header ]") + section.HeadersFooters.FirstPageHeader.Paragraphs.Add(paragraph) + 'Inserts First Page Footer. + paragraph = New WParagraph(document) + paragraph.AppendText("[ FIRST PAGE Footer ]") + section.HeadersFooters.FirstPageFooter.Paragraphs.Add(paragraph) + 'Inserts Odd Pages Header. + paragraph = New WParagraph(document) + paragraph.AppendText("[ ODD Page Header Text goes here ]") + section.HeadersFooters.OddHeader.Paragraphs.Add(paragraph) + 'Inserts Odd Pages Footer. + paragraph = New WParagraph(document) + paragraph.AppendText("[ ODD Page Footer Text goes here ]") + section.HeadersFooters.OddFooter.Paragraphs.Add(paragraph) + 'Inserts Even Pages Header. + paragraph = New WParagraph(document) + paragraph.AppendText("[ EVEN Page Header Text goes here ]") + section.HeadersFooters.EvenHeader.Paragraphs.Add(paragraph) + 'Inserts Even Pages Footer. + paragraph = New WParagraph(document) + paragraph.AppendText("[ EVEN Page Footer Text goes here ]") + section.HeadersFooters.EvenFooter.Paragraphs.Add(paragraph) + 'Adds the second section to the document. + section = document.AddSection() + section.PageSetup.DifferentFirstPage = True + 'Appends some text to the Second Sections's first page in the document. + paragraph = section.AddParagraph() + paragraph.AppendText(Constants.VB.NETCr + Constants.VB.NETCr and "[ First Page for SECOND SECTION ]" and Constants.VB.NETCr and "[ ON DIFFERENT FIRTS PAGE ]" and Constants.VB.NETCr + Constants.VB.NETCr and "Text Body_Text Body_Text Body_Text Body_Text Body_Text Body") + paragraph.ParagraphFormat.PageBreakAfter = True + 'Appends some text to the Second Sections's second page in the document. + paragraph = section.AddParagraph() + paragraph.AppendText(Constants.VB.NETCr + Constants.VB.NETCr and "[ Second Page for SECOND SECTION ]" and Constants.VB.NETCr and "Text Body_Text Body_Text Body_Text Body_Text Body_Text Body") + 'Inserts Second Sections's First Header. + paragraph = New WParagraph(document) + paragraph.AppendText("[ SECOND SECTION FIRST PAGE Header ]") + section.HeadersFooters.FirstPageHeader.Paragraphs.Add(paragraph) + 'Inserts Second Sections's First Footer. + paragraph = New WParagraph(document) + paragraph.AppendText("[ SECOND SECTION FIRST PAGE Footer ]") + section.HeadersFooters.FirstPageFooter.Paragraphs.Add(paragraph) + 'Inserts Second Sections's Header. + paragraph = New WParagraph(document) + paragraph.AppendText("SECOND SECTION Header Text goes here") + section.HeadersFooters.OddHeader.Paragraphs.Add(paragraph) + 'Inserts Second Sections's Footer. + paragraph = New WParagraph(document) + paragraph.AppendText("SECOND SECTION Footer Text goes here") + section.HeadersFooters.OddFooter.Paragraphs.Add(paragraph) + 'Saves the document to disk. + document.Save("Sample.docx", FormatType.Docx) + End Sub + + + + + + + + + + + Creates HeadersFooters object for specified document. + + + + + Registers child objects in XDSL holder. + + + + + + Clones this instance. + + + + + + Clones itself. + + + Returns cloned object. + + + + Closes this instance. + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Gets the link to previous. + + + + + + Updates the link to previous. + + if it links to previous header/footer, set to true. + + + + Gets default header of the document. Read-only. + + The instance that represents the default header for the document. + + + + Gets default footer of the document. Read-only. + + the instance that represents the default footer for the document. + + + + Gets even pages header of the document. Read-only. + + The instance that represents the even pages header for the document. + + + + Gets odd pages header of the document. Read-only. + + The instance that represents the odd pages header for the document. + This is also the default header for the document + + + + Gets even pages footer of the document. Read-only. + + The instance that represents the even pages footer for the document. + + + + Gets odd pages footer of the document. Read-only. + + The instance that represents the odd pages footer for the document. + This is also the default footer for the document. + + + + Gets first page header of the document. Read-only. + + The instance that represents the first page header for the document. + + + + Gets first page footer of the document. Read-only. + + The instance that represents the first page footer for the document. + + + + Gets a value indicating whether all the headers/footers are empty. + + + True if the document has empty headers/footers; otherwise, false. + + + + + Gets TextBody of the header/footer of the document at specified index. + + The integer that represents the + + The HeaderFooterType has 6 values which is used as index for this property. + Index 0 - EvenHeader + Index 1 - OddHeader + Index 2 - EvenFooter + Index 3 - OddFooter + Index 4 - FirstPageHeader + Index 5 - FirstPageFooter + + + + + Gets TextBody of the header/footer of the document by specified HeaderFooter type. + + + + + Gets or sets a value indicating whether the current header or footer is linked to the header or footer in the previous section. + + True if the current header or footer is linked to the header or footer in the previous section, otherwise false. + This property always returns false for the first section, since there is no previous section for the first section. + + The following code example demonstrates how to link the previous section header and footer for the current section. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new document + WordDocument document = new WordDocument(); + //Add the first section to the document + IWSection section = document.AddSection(); + //Insert the first section header + section.HeadersFooters.Header.AddParagraph().AppendText("[ First Section Header ]"); + //Insert the first section footer + section.HeadersFooters.Footer.AddParagraph().AppendText("[ First Section Footer ]"); + //Add a paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + string paraText = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"; + //Append some text to the first page in document + paragraph.AppendText("\r\r[ First Page ] \r\r" + paraText); + //Add the second section to the document + section = document.AddSection(); + //Insert the second section header + section.HeadersFooters.Header.AddParagraph().AppendText("[ Second Section Header ]"); + //Insert the second section footer. + section.HeadersFooters.Footer.AddParagraph().AppendText("[ Second Section Footer ]"); + //Set LinkToPrevious as true for retrieve the header and footer from previous section + section.HeadersFooters.LinkToPrevious = true; + //Append some text to the second page in document + paragraph = section.AddParagraph(); + paragraph.AppendText("\r\r[ Second Page ] \r\r" + paraText); + //Add the third section to the document + section = document.AddSection(); + //Insert the third section header + section.HeadersFooters.Header.AddParagraph().AppendText("[ Third Section Header ]"); + //Insert the third section footer + section.HeadersFooters.Footer.AddParagraph().AppendText("[ Third Section Footer ]"); + //Append some text to the third page in document + paragraph = section.AddParagraph(); + paragraph.AppendText("\r\r[ Third Page ] \r\r" + paraText); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new document + Dim document As New WordDocument() + 'Add the first section to the document + Dim section As IWSection = document.AddSection() + 'Insert the first section header + section.HeadersFooters.Header.AddParagraph().AppendText("[ First Section Header ]") + 'Insert the first section footer + section.HeadersFooters.Footer.AddParagraph().AppendText("[ First Section Footer ]") + 'Add a paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + Dim paraText As String = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula" + 'Append some text to the first page in document + paragraph.AppendText(Convert.ToString(vbCr & vbCr & "[ First Page ] " & vbCr & vbCr) & paraText) + 'Add the second section to the document + section = document.AddSection() + 'Insert the second section header + section.HeadersFooters.Header.AddParagraph().AppendText("[ Second Section Header ]") + 'Insert the second section footer + section.HeadersFooters.Footer.AddParagraph().AppendText("[ Second Section Footer ]") + 'Set LinkToPrevious as true for retrieve the header and footer from previous section + section.HeadersFooters.LinkToPrevious = True + 'Append some text to the second page in document + paragraph = section.AddParagraph() + paragraph.AppendText(Convert.ToString(vbCr & vbCr & "[ Second Page ] " & vbCr & vbCr) & paraText) + 'Add the third section to the document + section = document.AddSection() + 'Insert the third section header + section.HeadersFooters.Header.AddParagraph().AppendText("[ Third Section Header ]") + 'Insert the third section footer + section.HeadersFooters.Footer.AddParagraph().AppendText("[ Third Section Footer ]") + 'Append some text to the third page in document + paragraph = section.AddParagraph() + paragraph.AppendText(Convert.ToString(vbCr & vbCr & "[ Third Page ] " & vbCr & vbCr) & paraText) + �Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + Initializes a new instance of the class. + + The HFS. + + + + Advances the enumerator to the next element of the collection. + + + true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. + + The collection was modified after the enumerator was created. + + + + Sets the enumerator to its initial position, which is before the first element in the collection. + + The collection was modified after the enumerator was created. + + + + Gets the current element in the collection. + + + The current element in the collection. + The enumerator is positioned before the first element of the collection or after the last element. + + + + Represents the page header or footer. + + + + + Represent a text body of the Word document. + + + + + The base implementation of IWidgetContainer interface + + + + + Represents a collection of Widget objects. + + + + + Gets count of child widgets. + + + + + Gets child widget by index. + + + + + Gets ChildWidgets collection. + + + + + Initializes a new instance of the class. + + The document. + The owner. + + + + Closes this instance. + + + + + Gets count of child widgets. + + + + + + Gets child widget by index. + + + + + + + + + + Gets Childwidgets. Read-only. + + + + + Represents the text body + + + + + Represents the entity collection + + + + + Gets the child entities. + + The child entities. + + + + Adds a new paragraph at the end of section. + + The reference to the newly added object. + The following example illustrates how to add a paragraph to the text body. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create new Word document + WordDocument document = new WordDocument(); + //Add new section + IWSection section = document.AddSection(); + WTextBody textbody = section.Body; + //Add a paragraph to the text body + WParagraph paragraph = textbody.AddParagraph() as WParagraph; + //Add text + paragraph.AppendText("A new paragraph is added"); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create new Word document + Dim document As New WordDocument() + 'Add new section + Dim section As IWSection = document.AddSection() + Dim textbody As WTextBody = section.Body + 'Add a paragraph to the text body + Dim paragraph As WParagraph = TryCast(textbody.AddParagraph(), WParagraph) + 'Add text + paragraph.AppendText("A new paragraph is added") + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Adds a new table at the end of the section. + + The reference to the newly added object. + The following example illustrates how to add a table to the text body. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create new Word document + WordDocument document = new WordDocument(); + //Add new section + IWSection section = document.AddSection(); + WTextBody textbody = section.Body; + //Add a table to the text body + IWTable table = textbody.AddTable(); + table.ResetCells(2, 2); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create new Word document + Dim document As New WordDocument() + 'Add new section + Dim section As IWSection = document.AddSection() + Dim textbody As WTextBody = section.Body + 'Add a table to the text body + Dim table As IWTable = textbody.AddTable() + table.ResetCells(2, 2) + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub + + + + + The following example illustrates how to add a block content control to the text body. + + //Create new Word document + WordDocument document = new WordDocument(); + //Add new section + IWSection section = document.AddSection(); + WTextBody textbody = section.Body; + //Add a block content control to the text body + BlockContentControl blockControl = textbody.AddBlockContentControl(ContentControlType.RichText) as BlockContentControl; + //Add text to the control added + blockControl.TextBody.AddParagraph().AppendText("A new block control is added"); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + + + 'Create new Word document + Dim document As New WordDocument() + 'Add new section + Dim section As IWSection = document.AddSection() + Dim textbody As WTextBody = section.Body + 'Add a block content control to the text body + Dim blockControl As BlockContentControl = TryCast(textbody.AddBlockContentControl(ContentControlType.RichText), BlockContentControl) + 'Add text to the control added + blockControl.TextBody.AddParagraph().AppendText("A new block control is added") + 'Save and close the document + document.Save("Sample.docx") + document.Close() + + + + + The following example illustrates how to insert a html string to the text body. + + //Load the template document + WordDocument document = new WordDocument("Template.docx"); + //Html string to be inserted + string htmlstring = "

This text is inserted as HTML string.

"; + //Append Html string as first item of the second paragraph in the document + document.Sections[0].Body.InsertXHTML(htmlstring); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); +
+ + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx") + 'Html string to be inserted + Dim htmlstring As String = "

This text is inserted as HTML string.

" + 'Append Html string as first item of the second paragraph in the document + document.Sections(0).Body.InsertXHTML(htmlstring) + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub +
+
+
+ + The following example illustrates how to insert a html string at the specified paragraph in the text body. + + //Load the template document + WordDocument document = new WordDocument("Template.docx"); + //Html string to be inserted + string htmlstring = "

This text is inserted as HTML string.

"; + //Append Html string as first item of the second paragraph in the document + document.Sections[0].Body.InsertXHTML(htmlstring, 2); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); +
+ + 'Load the template document + Dim document As New WordDocument("Template.docx") + 'Html string to be inserted + Dim htmlstring As String = "

This text is inserted as HTML string.

" + 'Append Html string as first item of the second paragraph in the document + document.Sections(0).Body.InsertXHTML(htmlstring, 2) + 'Save and close the document + document.Save("Sample.docx") + document.Close() +
+
+
+ + + + Validates the specified html string with the specified XHTML validation type. + + The html string to validate. + The member that specifies the validation type. + True if it is valid XHTML; otherwise, false. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + //Load the template document + WordDocument document = new WordDocument("Template.docx"); + //Html string to be inserted + string htmlstring = "

This text is inserted as HTML string.

"; + //Validating the Html string + bool isValidHtml = document.LastSection.Body.IsValidXHTML(htmlstring, XHTMLValidationType.Transitional); + //If the Html string passes validation, it is inserted to document + if (isValidHtml) + { + //Append Html string as first item of the second paragraph in the document + document.Sections[0].Body.InsertXHTML(htmlstring, 2, 0); + } + //Save and close the document + document.Save("Sample.docx"); + document.Close(); +
+ + 'Load the template document + Dim document As New WordDocument("Template.docx") + 'Html string to be inserted + Dim htmlstring As String = "

This text is inserted as HTML string.

" + 'Validating the Html string + Dim isValidHtmlAs Boolean = document.LastSection.Body.IsValidXHTML(htmlstring, XHTMLValidationType.Transitional) + 'If the Html string passes validation, it is inserted to document + If isValidHtmlThen + 'Append Html string as first item of the second paragraph in the document + document.Sections(0).Body.InsertXHTML(htmlstring, 2, 0) + End If + 'Save and close the document + document.Save("Sample.docx") + document.Close() +
+
+
+ + + Validates the specified html string with the specified XHTML validation type and exception message. + + The html string to validate. + The member that specifies the validation type. + The string that specifies the exception message. + True if it is valid XHTML, otherwise false. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + //Load the template document + WordDocument document = new WordDocument("Template.docx"); + //Html string to be inserted + string htmlstring = "

This text is inserted as HTML string.

"; + string exception = "The string is not valid"; + //Validating the Html string + bool isValidHtml = document.LastSection.Body.IsValidXHTML(htmlstring, XHTMLValidationType.Transitional, out exception); + //If the Html string passes validation, it is inserted to document + if (isValidHtml) + { + //Append Html string as first item of the second paragraph in the document + document.Sections[0].Body.InsertXHTML(htmlstring, 2, 0); + } + //Save and close the document + document.Save("Sample.docx"); + document.Close(); +
+ + 'Load the template document + Dim document As New WordDocument("Template.docx") + 'Html string to be inserted + Dim htmlstring As String = "

This text is inserted as HTML string.

" + Dim exception As String = "The string is not valid" + 'Validating the Html string + Dim isValidHtmlAs Boolean = document.LastSection.Body.IsValidXHTML(htmlstring, XHTMLValidationType.Transitional, exception) + 'If the Html string passes validation, it is inserted to document + If isValidHtmlThen + 'Append Html string as first item of the second paragraph in the document + document.Sections(0).Body.InsertXHTML(htmlstring, 2, 0) + End If + 'Save and close the document + document.Save("Sample.docx") + document.Close() +
+
+
+ + + If the text body has no paragraphs, creates and add one paragraph to the text body. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create new Word document + WordDocument document = new WordDocument(); + //Add new section + IWSection section = document.AddSection(); + WTextBody textbody = section.Body; + //Add one paragraph to the section body + textbody.EnsureMinimum(); + textbody.LastParagraph.AppendText("Last paragraph"); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create new Word document + Dim document As New WordDocument() + 'Add new section + Dim section As IWSection = document.AddSection() + Dim textbody As WTextBody = section.Body + 'Add one paragraph to the section body + textbody.EnsureMinimum() + textbody.LastParagraph.AppendText("Last paragraph") + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Gets the collection of tables in the . Read-only. + + The collection that represents the tables in the text body. + + + + + + Gets the collection of paragraphs in the . Read-only. + + The collection that represents the paragraphs in the text body. + + + + + + Gets the collection of form fields in the . Read-only. + + The collection that represents the form fields in the text body. + + + + + + Gets the last paragraph in the section. Read-only. + + The object. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template Word document + WordDocument document = new WordDocument("Template.docx"); + //Get the textbody of first section + WTextBody textbody = document.Sections[0].Body; + //Get the last paragraph + IWParagraph paragraph = textbody.LastParagraph; + //Set horizontal alignment + paragraph.ParagraphFormat.HorizontalAlignment = HorizontalAlignment.Right; + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template Word document + Dim document As New WordDocument("Template.docx") + 'Get the textbody of first section + Dim textbody As WTextBody = document.Sections(0).Body + 'Get the last paragraph + Dim paragraph As IWParagraph = textbody.LastParagraph + 'Set horizontal alignment + paragraph.ParagraphFormat.HorizontalAlignment = HorizontalAlignment.Right + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Gets the child elements of the . + + The collection of the child elements. + + + + The section paragraphs + + + + + + Initializes a new instance of the class. + + The document. + The owner. + + + + Initializes a new instance of the class. + + The sec. + + + + Adds a new paragraph at the end of section. + + The reference to the newly added object. + The following example illustrates how to add a paragraph to the text body. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create new Word document + WordDocument document = new WordDocument(); + //Add new section + IWSection section = document.AddSection(); + WTextBody textbody = section.Body; + //Add a paragraph to the text body + WParagraph paragraph = textbody.AddParagraph() as WParagraph; + //Add text + paragraph.AppendText("A new paragraph is added"); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create new Word document + Dim document As New WordDocument() + 'Add new section + Dim section As IWSection = document.AddSection() + Dim textbody As WTextBody = section.Body + 'Add a paragraph to the text body + Dim paragraph As WParagraph = TryCast(textbody.AddParagraph(), WParagraph) + 'Add text + paragraph.AppendText("A new paragraph is added") + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Adds a new table at the end of the section. + + The reference to the newly added object. + The following example illustrates how to add a table to the text body. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create new Word document + WordDocument document = new WordDocument(); + //Add new section + IWSection section = document.AddSection(); + WTextBody textbody = section.Body; + //Add a table to the text body + IWTable table = textbody.AddTable(); + table.ResetCells(2, 2); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create new Word document + Dim document As New WordDocument() + 'Add new section + Dim section As IWSection = document.AddSection() + Dim textbody As WTextBody = section.Body + 'Add a table to the text body + Dim table As IWTable = textbody.AddTable() + table.ResetCells(2, 2) + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Adds a new block content control at the end of section. + + The reference to the newly added object. + Thrown when is + , or + The following example illustrates how to add a block content control to the text body. + + //Create new Word document + WordDocument document = new WordDocument(); + //Add new section + IWSection section = document.AddSection(); + WTextBody textbody = section.Body; + //Add a block content control to the text body + BlockContentControl blockControl = textbody.AddBlockContentControl(ContentControlType.RichText) as BlockContentControl; + //Add text to the control added + blockControl.TextBody.AddParagraph().AppendText("A new block control is added"); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + + + 'Create new Word document + Dim document As New WordDocument() + 'Add new section + Dim section As IWSection = document.AddSection() + Dim textbody As WTextBody = section.Body + 'Add a block content control to the text body + Dim blockControl As BlockContentControl = TryCast(textbody.AddBlockContentControl(ContentControlType.RichText), BlockContentControl) + 'Add text to the control added + blockControl.TextBody.AddParagraph().AppendText("A new block control is added") + 'Save and close the document + document.Save("Sample.docx") + document.Close() + + + + + + Add Structure document tag block + + + + + + Add Altername Chunk + + + + + + Add Altername Chunk + + + + + The following example illustrates how to insert a html string to the text body. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx"); + //Html string to be inserted + string htmlstring = "

This text is inserted as HTML string.

"; + //Append Html string as first item of the second paragraph in the document + document.Sections[0].Body.InsertXHTML(htmlstring); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } +
+ + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx") + 'Html string to be inserted + Dim htmlstring As String = "

This text is inserted as HTML string.

" + 'Append Html string as first item of the second paragraph in the document + document.Sections(0).Body.InsertXHTML(htmlstring) + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub +
+
+
+ + The following example illustrates how to insert a html string at the specified paragraph in the text body. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx"); + //Html string to be inserted + string htmlstring = "

This text is inserted as HTML string.

"; + //Append Html string as first item of the second paragraph in the document + document.Sections[0].Body.InsertXHTML(htmlstring, 2); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } +
+ + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx") + 'Html string to be inserted + Dim htmlstring As String = "

This text is inserted as HTML string.

" + 'Append Html string as first item of the second paragraph in the document + document.Sections(0).Body.InsertXHTML(htmlstring, 2) + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub +
+
+
+ + + + Validates the specified html string with the specified XHTML validation type. + + The html string to validate. + The member that specifies the validation type. + True if it is valid XHTML; otherwise, false. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx"); + //Html string to be inserted + string htmlstring = "

This text is inserted as HTML string.

"; + //Validating the Html string + bool isValidHtml = document.LastSection.Body.IsValidXHTML(htmlstring, XHTMLValidationType.Transitional); + //If the Html string passes validation, it is inserted to document + if (isValidHtml) + { + //Append Html string as first item of the second paragraph in the document + document.Sections[0].Body.InsertXHTML(htmlstring, 2, 0); + } + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } +
+ + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx") + 'Html string to be inserted + Dim htmlstring As String = "

This text is inserted as HTML string.

" + 'Validating the Html string + Dim isValidHtmlAs Boolean = document.LastSection.Body.IsValidXHTML(htmlstring, XHTMLValidationType.Transitional) + 'If the Html string passes validation, it is inserted to document + If isValidHtmlThen + 'Append Html string as first item of the second paragraph in the document + document.Sections(0).Body.InsertXHTML(htmlstring, 2, 0) + End If + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub +
+
+
+ + + Validates the specified html string with the specified XHTML validation type and exception message. + + The html string to validate. + The member that specifies the validation type. + The string that specifies the exception message. + True if it is valid XHTML, otherwise false. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx"); + //Html string to be inserted + string htmlstring = "

This text is inserted as HTML string.

"; + string exception = "The string is not valid"; + //Validating the Html string + bool isValidHtml = document.LastSection.Body.IsValidXHTML(htmlstring, XHTMLValidationType.Transitional, out exception); + //If the Html string passes validation, it is inserted to document + if (isValidHtml) + { + //Append Html string as first item of the second paragraph in the document + document.Sections[0].Body.InsertXHTML(htmlstring, 2, 0); + } + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } +
+ + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx") + 'Html string to be inserted + Dim htmlstring As String = "

This text is inserted as HTML string.

" + Dim exception As String = "The string is not valid" + 'Validating the Html string + Dim isValidHtmlAs Boolean = document.LastSection.Body.IsValidXHTML(htmlstring, XHTMLValidationType.Transitional, exception) + 'If the Html string passes validation, it is inserted to document + If isValidHtmlThen + 'Append Html string as first item of the second paragraph in the document + document.Sections(0).Body.InsertXHTML(htmlstring, 2, 0) + End If + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub +
+
+
+ + + If the text body has no paragraphs, creates and add one paragraph to the text body. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create new Word document + WordDocument document = new WordDocument(); + //Add new section + IWSection section = document.AddSection(); + WTextBody textbody = section.Body; + //Add one paragraph to the section body + textbody.EnsureMinimum(); + textbody.LastParagraph.AppendText("Last paragraph"); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create new Word document + Dim document As New WordDocument() + 'Add new section + Dim section As IWSection = document.AddSection() + Dim textbody As WTextBody = section.Body + 'Add one paragraph to the section body + textbody.EnsureMinimum() + textbody.LastParagraph.AppendText("Last paragraph") + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Finds the specified pattern. + + The pattern. + + + + + Finds the specified pattern. + + The pattern. + + + + + Replaces the specified pattern. + + The pattern. + The replace. + + + + + Replaces the specified pattern. + + The pattern. + The text selection. + if it specifies the save source formatting, set to true. + + + + + Replaces the specified pattern. + + The pattern. + The text part. + if it specifies save source formatting, set to true . + + + + + Replaces the specified pattern. + + The pattern. + The replace doc. + + + + + Retrieves the first paragraph within the specified text body. + + The text body to search for the first paragraph. + A flag indicating whether to add a new paragraph if none is found. + The first paragraph found within the text body, or null if no paragraph is found and isAddNewParagraph is false. + + + + Adds the self. + + + + + Creates a duplicate copy of the entity. + + + An that is newly created. + + + + Get the base entity + + + + + + + Clones the relations. + + + + + + Closes this instance. + + + + + Checks whether the textbody contains any block content control in it. + + + + + Accepts or rejects changes tracked from the moment of last change acceptance. + + if it is accept the changes, set to true + + + + Removes the changed item. + + The item. + if it accepts the changes, set to true. + Index of the item. + + + + + Determines whether text body has tracked changes. + + + If has tracked changes, set to true. + + + + + Removes the changed formatting. + + The item. + + + + Move srcTextBody items to next textBody + + The srcTextBody + + + + Checks the whether item's content has to be moved to next paragraph. + + The item. + if it is accept the changes, set to true . + + + + + Moves item's content to the next paragraph. + + The item. + + + + Checks whether the index should remove or not. + + Current paragraph + Current index + True, if index should reduce else false. + + + + Registers child objects in XDSL holder. + + + + + + Creates layout information. + + + + + + Decide whether current shape or text box has auto fit properties or not. + + true when wrap type is none + current text box + shape with rectangle type + return true when shape or text box has auto fit properties + + + + Update the matched index + + + + + Compare the text body items between the documents. + + The original document instance. + + + + Update the index + + + + + + + + + + + Compare the body items between two text bodies + + The original text body to compare + + + + Back up the document collections. + + + + + Clear the document collections. + + + + + Reset the document collections. + + + + + Delete or insert the unmatched items at the end of the textbodies + + + + + + Delete the unmatched item after the last matched item to end of the textbody + + + + + + Insert the unmatched after the last matched item to the end of the revised textbody to the original textbody + + + + + + Gets the string of the text body for word comaprison + + + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + + Gets the collection of paragraphs in the . Read-only. + + The collection that represents the paragraphs in the text body. + + + + + + Gets the collection of tables in the . Read-only. + + The collection that represents the tables in the text body. + + + + + + Gets the collection of form fields in the . Read-only. + + The collection that represents the form fields in the text body. + + + + + + Alternate chunk collection from the current section + + + + + Checks whether currently performing find and replace or not + + + + + Gets the last paragraph in the section. Read-only. + + The object. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template Word document + WordDocument document = new WordDocument("Template.docx"); + //Get the textbody of first section + WTextBody textbody = document.Sections[0].Body; + //Get the last paragraph + IWParagraph paragraph = textbody.LastParagraph; + //Set horizontal alignment + paragraph.ParagraphFormat.HorizontalAlignment = HorizontalAlignment.Right; + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template Word document + Dim document As New WordDocument("Template.docx") + 'Get the textbody of first section + Dim textbody As WTextBody = document.Sections(0).Body + 'Get the last paragraph + Dim paragraph As IWParagraph = textbody.LastParagraph + 'Set horizontal alignment + paragraph.ParagraphFormat.HorizontalAlignment = HorizontalAlignment.Right + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Gets a value indicating whether [form fields created]. + + if the form fields created, set to true. + + + + Gets the body items. + + The body items. + + + + Gets the child elements of the . + + The collection of the child elements. + + + + Gets the entity collection. Read-only. + + + The collection of entities. + + + + Inserts the watermark + + + + + + Checks the m_writeWatermark variable. + + + + + + Initializes a new instance of the class. + + The in which the current header or footer is present. + The member that specifies the type of header or footer. + + + + Gets the link to previous. + + + + + + + + + + + + Finds the source header/footer. + + + + + + Checks the shapes in header/footer. + + The hf. + + + + Gets the type of the entity. + + The of the current item. + + + + Gets or sets the type of current header or footer. + + The member that specifies the type of header or footer. + + + + Gets or sets a value indicating whether need write watermark. + + true if write watermark; otherwise, false. + + + + Gets or sets a value indicating watermark for each header. + + + + + Gets or sets a value indicating whether the current header or footer is linked to the header or footer in the previous section. + + True if the current header or footer is linked to the header or footer in the previous section, otherwise false. + + + + Represents a Word document and can be used to create a new Word document from the scratch. + + + + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Add a new section into the Word document + IWSection section = document.AddSection(); + //Specify the page margins + section.PageSetup.Margins.All = 50f; + //Add a new simple paragraph into the section + IWParagraph paragraph = section.AddParagraph(); + //Add a text range into the paragraph + paragraph.AppendText("Hello World!"); + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + + + 'Create an instance of WordDocument class + Dim document As New WordDocument() + 'Add a new section into the Word document + Dim section As IWSection = document.AddSection() + 'Specify the page margins + section.PageSetup.Margins.All = 50F + 'Add a new simple paragraph into the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add a text range into the paragraph + paragraph.AppendText("Hello World!") + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + + + + + + + + + Represents a Word document and can be used to create a new Word document from the scratch. + + + + + Creates a new paragraph. + + The this method created. + + + + Adds a single with one , when the document contains no sections. + + + The following code example demonstrates how to add new section with one paragraph to the empty Word document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Creates a new Word document. + WordDocument document = new WordDocument(); + //Add a section and a paragraph in the empty document + document.EnsureMinimal(); + IWParagraph paragraph = document.LastParagraph; + //Append text to the last paragraph of the document + paragraph.AppendText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"); + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Creates a new Word document. + Dim document As New WordDocument() + 'Add a section and a paragraph in the empty document + document.EnsureMinimal() + Dim paragraph As IWParagraph = document.LastParagraph + 'Append text to the last paragraph of the document + paragraph.AppendText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua") + 'Save and close the Word document + document.Save("Comment.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds a new section to document. + + The this method creates. + + The following code example demonstrates how to add a new section to document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText("A new section is added to the document."); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText("A new section is added to the document.") + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds a new paragraph style to the document. + + A String that contains the name of the newly created + The this method creates. + + The following code example demonstrates how to create a custom paragraph style and apply it to a paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + + //Create user defined style + IWParagraphStyle style = document.AddParagraphStyle("User_defined_style"); + style.ParagraphFormat.BackColor = Color.LightGray; + style.ParagraphFormat.AfterSpacing = 18f; + style.ParagraphFormat.BeforeSpacing = 18f; + style.ParagraphFormat.Borders.BorderType = Syncfusion.DocIO.DLS.BorderStyle.DotDash; + style.ParagraphFormat.Borders.LineWidth = 0.5f; + style.ParagraphFormat.LineSpacing = 15f; + style.CharacterFormat.FontName = "Calibri"; + style.CharacterFormat.Italic = true; + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + IWTextRange text = paragraph.AppendText("A new paragraph style is created and is applied to this paragraph."); + //Apply the new style to paragraph + paragraph.ApplyStyle("User_defined_style"); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Create user defined style + Dim style As IWParagraphStyle = document.AddParagraphStyle("User_defined_style") + style.ParagraphFormat.BackColor = Color.LightGray + style.ParagraphFormat.AfterSpacing = 18.0F + style.ParagraphFormat.BeforeSpacing = 18.0F + style.ParagraphFormat.Borders.BorderType = Syncfusion.DocIO.DLS.BorderStyle.DotDash + style.ParagraphFormat.Borders.LineWidth = 0.5F + style.ParagraphFormat.LineSpacing = 15.0F + style.CharacterFormat.FontName = "Calibri" + style.CharacterFormat.Italic = True + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + Dim text As IWTextRange = paragraph.AppendText("A new paragraph style is created and is applied to this paragraph.") + 'Apply the new style to paragraph + paragraph.ApplyStyle("User_defined_style") + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + + + + + Adds new list style to document. + + The of the new created. + A String that contains the name of the newly added list style. + The this method creates. + + The following code example demonstrates how to how to create user defined list styles. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new list style to the document + ListStyle listStyle = document.AddListStyle(ListType.Numbered, "UserdefinedList"); + WListLevel levelOne = listStyle.Levels[0]; + //Define the follow character, prefix, suffix, start index for level 0 + levelOne.FollowCharacter = FollowCharacterType.Tab; + levelOne.NumberPrefix = "("; + levelOne.NumberSufix = ")"; + levelOne.PatternType = ListPatternType.LowRoman; + levelOne.StartAt = 1; + levelOne.TabSpaceAfter = 5; + levelOne.NumberAlignment = ListNumberAlignment.Center; + WListLevel levelTwo = listStyle.Levels[1]; + //Define the follow character, suffix, pattern, start index for level 1 + levelTwo.FollowCharacter = FollowCharacterType.Tab; + levelTwo.NumberSufix = "}"; + levelTwo.PatternType = ListPatternType.LowLetter; + levelTwo.StartAt = 2; + + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add text to the paragraph + paragraph.AppendText("User defined list - Level 0"); + //Apply default numbered list style + paragraph.ListFormat.ApplyStyle("UserdefinedList"); + //Add second paragraph + paragraph = section.AddParagraph(); + paragraph.AppendText("User defined list - Level 1"); + //Continue last defined list + paragraph.ListFormat.ContinueListNumbering(); + //Increase the level indent + paragraph.ListFormat.IncreaseIndentLevel(); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new list style to the document + Dim listStyle As ListStyle = document.AddListStyle(ListType.Numbered, "UserdefinedList") + Dim levelOne As WListLevel = listStyle.Levels(0) + 'Define the follow character, prefix, suffix, start index for level 0 + levelOne.FollowCharacter = FollowCharacterType.Tab + levelOne.NumberPrefix = "(" + levelOne.NumberSufix = ")" + levelOne.PatternType = ListPatternType.LowRoman + levelOne.StartAt = 1 + levelOne.TabSpaceAfter = 5 + levelOne.NumberAlignment = ListNumberAlignment.Center + Dim levelTwo As WListLevel = listStyle.Levels(1) + 'Define the follow character, suffix, pattern, start index for level 1 + levelTwo.FollowCharacter = FollowCharacterType.Tab + levelTwo.NumberSufix = "}" + levelTwo.PatternType = ListPatternType.LowLetter + levelTwo.StartAt = 2 + + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add text to the paragraph + paragraph.AppendText("User defined list - Level 0") + 'Apply default numbered list style + paragraph.ListFormat.ApplyStyle("UserdefinedList") + 'Add second paragraph + paragraph = section.AddParagraph() + paragraph.AppendText("User defined list - Level 1") + 'Continue last defined list + paragraph.ListFormat.ContinueListNumbering() + 'Increase the level indent + paragraph.ListFormat.IncreaseIndentLevel() + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + + + + + + Returns a string that contains whole document content as text. + + The text this document contains. + This method is not supported in Silverlight, Windows Phone and Xamarin platforms. + + The following code example demonstrates how to retrieve the Word document contents as a plain text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the document text and close the document + string text = document.GetText(); + document.Close(); + //Create new Word document + WordDocument newdocument = new WordDocument(); + //Add new section + IWSection section = newdocument.AddSection(); + //Add new paragraph + IWParagraph paragraph = section.AddParagraph(); + //Append the text to the paragraph + paragraph.AppendText(text); + //Save and close the document + newdocument.Save("Sample.docx"); + newdocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the document text and close the document + Dim text As String = document.GetText() + document.Close() + 'Create new Word document + Dim newdocument As New WordDocument() + 'Add new section + Dim section As IWSection = newdocument.AddSection() + 'Add new paragraph + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the text to the paragraph + paragraph.AppendText(text) + 'Save and close the document + newdocument.Save("Sample.docx") + newdocument.Close() + End Sub + + + + + + Creates the duplicate copy of this instance. + + The this method duplicated. + + The following code example demonstrates how to clone the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an existing document + WordDocument inputTemplateDoc = new WordDocument("Template.docx"); + //Create a clone of Input Template + WordDocument clonedDocument = inputTemplateDoc.Clone(); + //Close the input template document instance + inputTemplateDoc.Close(); + //Save and Close the cloned document instance + clonedDocument.Save("ClonedDocument.docx"); + clonedDocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an existing document + Dim inputTemplateDoc As New WordDocument(fileName) + 'Create a clone of Input Template + Dim clonedDocument As WordDocument = inputTemplateDoc.Clone() + 'Close the input template document instance + inputTemplateDoc.Close() + 'Save and Close the cloned document instance + clonedDocument.Save("ClonedDocument.docx") + clonedDocument.Close() + End Sub + + + + + + Imports the specified section into the current document. + + The source whose contents are appended at the end of the current instance. + + The following code example demonstrates how to import the section into the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open the source document + WordDocument sourceDocument = new WordDocument(sourceFileName); + //Open the destination document + WordDocument destinationDocument = new WordDocument(targetFileName); + //Import the last section of source document at the end of destination document + destinationDocument.ImportSection(sourceDocument.LastSection); + //Close the document instance + sourceDocument.Close(); + //Save the destination document + destinationDocument.Save(outputFileName, FormatType.Docx); + //Close the document instance + destinationDocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open the source document + Dim sourceDocument As New WordDocument("sourceFileName.docx") + 'Open the destination document + Dim destinationDocument As New WordDocument("targetFileName.docx") + 'Import the last section of source document at the end of destination document + destinationDocument.ImportSection(sourceDocument.LastSection) + 'Close the document instance + sourceDocument.Close() + 'Save the destination document + destinationDocument.Save("outputFileName.docx", FormatType.Docx) + 'Close the document instance + destinationDocument.Close() + End Sub + + + + + + Import contents and styles from the source document to the destination document. + + The source whose contents are appended at the end of the current instance. + When source and destination documents have styles with the same names, then Guid is added as a suffix to the name of the imported styles in the destination document. Due to the above duplication of the same style will increase the file size of the document and also it may lead to Out of memory exception if the machine has some limited amount memory. + To resolve the duplication of the same style from source to destination document, use ImportContent(IWordDocument doc, bool importStyles) methods with false value for "importStyle" parameter. + + The following code example demonstrates how to import the contents from source document into destination document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open the source document + WordDocument sourceDocument = new WordDocument("sourceFileName.docx"); + //Open the destination document + WordDocument destinationDocument = new WordDocument("targetFileName.docx"); + //Import the contents of source document at the end of destination document + destinationDocument.ImportContent(sourceDocument); + //Close the document instance + sourceDocument.Close() + //Save the destination document + destinationDocument.Save("outputFileName.docx", FormatType.Docx); + //Close the document instance + destinationDocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open the source document + Dim sourceDocument As New WordDocument(sourceFileName) + 'Open the destination document + Dim destinationDocument As New WordDocument(targetFileName) + 'Import the contents of source document at the end of destination document + destinationDocument.ImportContent(sourceDocument) + 'Close the document instance + sourceDocument.Close() + 'Save the destination document + destinationDocument.Save(outputFileName, FormatType.Docx) + 'Close the document instance + destinationDocument.Close() + End Sub + + + + + + Import contents from the source document to the destination document with various import options. + + The source whose contents are appended at the end of the current instance. + The that represents the options to import the source document contents to the destination document. + + Essential DocIO supports the importing contents from the source document to the destination document with various import options similar to Microsoft Word copy and paste options. Following are the import options supported by Essential DocIO. + + KeepSourceFormatting�Imports the contents from the source document, applies the default style (Normal), and preserves all other formatting as direct formatting in order to preserve the contents as in source document. Header and footer contents will be imported similar to the UseDestinationStyles option. + MergeFormatting�Imports the contents of the source document to the destination document, and applies the formatting of surrounding content to the destination document. Merges formatting of the contents surrounding it by preserving some of the source formatting (such as bold, italic, underline, and so on). Header and footer contents are imported similar to the UseDestinationStyles option. + KeepTextOnly�Imports only the text from the source document to the destination document (tables, textboxes, pictures, headers, footers, and so on, are removed), similar to content copied from a text file (.txt). + UseDestinationStyles�Imports the contents of the source document to the destination document, and applies the styles present in the destination document, or imports the source style to the destination document when there is no style with the same name in the destination document. + + + + The following code example demonstrates how to import the contents from source document into destination document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open the source document + WordDocument sourceDocument = new WordDocument("sourceFileName.docx"); + //Open the destination document + WordDocument destinationDocument = new WordDocument("targetFileName.docx"); + //Import the contents of source document at the end of destination document + destinationDocument.ImportContent(sourceDocument, ImportOptions.UseDestinationStyles); + //Close the document instance + sourceDocument.Close(); + //Save the destination document + destinationDocument.Save("outputFileName.docx", FormatType.Docx); + //Close the document instance + destinationDocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open the source document + Dim sourceDocument As New WordDocument(sourceFileName) + 'Open the destination document + Dim destinationDocument As New WordDocument(targetFileName) + 'Import the contents of source document at the end of destination document + destinationDocument.ImportContent(sourceDocument, ImportOptions.UseDestinationStyles) + 'Close the document instance + sourceDocument.Close() + 'Save the destination document + destinationDocument.Save(outputFileName, FormatType.Docx) + 'Close the document instance + destinationDocument.Close() + End Sub + + + + + + Import contents from the source document to the destination document by specifying whether to import styles that have the same name between the source and destination document. + + The source whose contents are appended at the end of the current instance. + Set to true to import all the styles from the source document to destination document; otherwise, false. + + When importStyles is set to false, all the contents are imported; but, the styles of the source document with style names that do not match with the styles in the destination document are not imported. When the style names match the destination style names, then the same name is applied to the imported contents. This behavior is similar to the Microsoft Word paste option � UseDestinationStyles. + When importStyles is set to true, all the contents and styles of the source document are imported to the destination document. In cases where a style in the source document has the same name as a style in the destination document, �Guid� is added as a suffix to the name of the imported style in order to preserve unique style name. Due to the above duplication of the same style will increase the file size of the document and also it may lead to Out of memory exception if the machine has some limited amount memory. + + + The following code example demonstrates how to import the contents from source document into destination document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open the source document + WordDocument sourceDocument = new WordDocument("sourceFileName.docx"); + //Open the destination document + WordDocument destinationDocument = new WordDocument("targetFileName.docx"); + //Import the contents of source document at the end of destination document + destinationDocument.ImportContent(sourceDocument, true); + //Close the document instance + sourceDocument.Close(); + //Save the destination document + destinationDocument.Save("outputFileName.docx", FormatType.Docx); + //Close the document instance + destinationDocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open the source document + Dim sourceDocument As New WordDocument(sourceFileName) + 'Open the destination document + Dim destinationDocument As New WordDocument(targetFileName) + 'Import the contents of source document at the end of destination document + destinationDocument.ImportContent(sourceDocument, true) + 'Close the document instance + sourceDocument.Close() + 'Save the destination document + destinationDocument.Save(outputFileName, FormatType.Docx) + 'Close the document instance + destinationDocument.Close() + End Sub + + + + + + Adds the built-in style to the collection. + + The that represents the added built-in style of the document. + The this method added to collection. + + The following code example demonstrates how to add the built-in style to the document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Add the built-in style to the document style collection + IStyle style = document.AddStyle(BuiltinStyle.Heading5); + //Apply the added built-in style to the last paragraph of the document + document.LastParagraph.ApplyStyle(style.Name); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Add the built-in style to the document style collection + Dim style As IStyle = document.AddStyle(BuiltinStyle.Heading5) + 'Apply the added built-in style to the last paragraph of the document + document.LastParagraph.ApplyStyle(style.Name) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Accepts changes tracked from the moment of last change acceptance. + + + The following code example demonstrates how to accept the tracked changes in the document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Check whether document has tracked changes + if (document.HasChanges) + //Accept the changes made to the document + document.AcceptChanges(); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Check whether document has tracked changes + If document.HasChanges Then + 'Accept the changes made to the document + document.AcceptChanges() + End If + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Rejects changes tracked from the moment of last change acceptance. + + + The following code example demonstrates how to reject the tracked changes in the document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Check whether document has tracked changes + if (document.HasChanges) + //Reject the changes made to the document + document.RejectChanges(); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Check whether document has tracked changes + If document.HasChanges Then + 'Reject the changes made to the document + document.RejectChanges() + End If + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Protects the document from unintentional editing. + + The type of protection to be applied. + + The following code example demonstrates how to protect the document from unintentional editing. + This method is not supported in MVC6 and Xamarin platforms. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Apply the protection to the document + document.Protect(ProtectionType.AllowOnlyComments); + //Save and close the document instances + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Apply the protection to the document + document.Protect(ProtectionType.AllowOnlyComments) + 'Save and close the document instances + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Protects the document from unintentional editing with secure password. + + The type of protection to be applied. + The password used for protection. + This method is not supported in MVC6 and Xamarin platforms. + + The following code example demonstrates how to protect the document from unintentional editing. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx", "password"); + //Apply the protection to the document + document.Protect(ProtectionType.AllowOnlyComments); + //Save and close the document instances + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Apply the protection to the document + document.Protect(ProtectionType.AllowOnlyComments, "password") + 'Save and close the document instances + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Protects the document with password from unauthorized access. + + A String used to encrypt the document. + This API is supported from .NET Framework 2.0 and .NET Standard 2.0 onwards. + + The following code example demonstrates how to encrypt the Word document with password. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an input Word document + WordDocument document = new WordDocument("Template.docx"); + //Encrypt the Word document with a password + document.EncryptDocument("password"); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an input Word document + Dim document As New WordDocument("Template.docx") + 'Encrypt the Word document with a password + document.EncryptDocument("password") + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Removes the encryption from the document. + + This API is supported from .NET Framework 2.0 and .NET Standard 2.0 onwards. + + The following code example demonstrates how to remove encrypt from the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an input Word document + WordDocument document = new WordDocument("Template.docx"); + //Remove the encryption from document + document.RemoveEncryption(); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an input Word document + Dim document As New WordDocument("Template.docx") + 'Remove the encryption from document + document.RemoveEncryption(); + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the list/array of items that can be cross-referenced based on the specified reference type. + + + Specifies the type of item you want to insert a cross-reference to. + + The collection that represents the cross reference items in the document. + + + This method returns the cross reference of Bookmarks items only. + + + For bookmarks, it returns the entity collections of BookmarkStart only if the bookmark contains proper start and end. + + + + The following code example demonstrates how to append cross reference for bookmark in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Get the collection of bookmark start in the word document + List<Entity> items = document.GetCrossReferenceItems(ReferenceType.Bookmark); + if (items.Count > 0) + //Change the first cross reference items owner paragraph back color as YelloGreen + (items[0] as BookmarkStart).OwnerParagraph.ParagraphFormat.BackColor = Color.YellowGreen; + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Get the collection of bookmark start in the word document + Dim items As List(Of Entity) = document.GetCrossReferenceItems(ReferenceType.Bookmark) + If items.Count > 0 Then + 'Change the first cross reference items owner paragraph back color as YelloGreen + TryCast(items(0), BookmarkStart).OwnerParagraph.ParagraphFormat.BackColor = Color.YellowGreen + End If + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Saves this as text file(.txt) with specified encoding. + + A string that contains the name of the file to save. + The character encoding to use. + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + The following code example demonstrates how to convert the Word document into text file. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Save the document as Text file + document.SaveTxt("sample.txt", Encoding.ASCII); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Save the document as Text file + document.SaveTxt("sample.txt", Encoding.ASCII) + 'Close the document + document.Close() + End Sub + + + + + + Opens an existing document. + + A string that contains the name of the file to open + + The following code example demonstrates how to open an existing document from file system. + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx"); + //Saves the specified document + document.Save("Sample.docx"); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx") + 'Saves the specified document + document.Save("Sample.docx") + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type. + + A string that contains the name of the file to open. + The file format type of the document to open. + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + The following code example demonstrates how to open an existing document of the specified type from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx", FormatType.Docx); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx", FormatType.Docx) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type with HTML file validation options and base path for relative path to absolute path conversion. + + A string that contains the name of the file to open. + The file format type of the document to open. + The XHTML validation type used to validate the HTML file, if the is . + Base path which is used to convert the relative path in the HTML file to absolute path. + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to open a protected document of the specified type from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx", FormatType.Docx, XHTMLValidationType.Strict, "basePath"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx", FormatType.Docx, "password", XHTMLValidationType.Strict, basePath) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type with HTML file validation options. + + A string that contains the name of the file to open. + The file format type of the document to open. + The XHTML validation type used to validate the HTML file, if the is . + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to open a protected document of the specified type from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx", FormatType.Docx, XHTMLValidationType.Strict); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx", FormatType.Docx, "password", XHTMLValidationType.Strict) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type, which is protected with password. + + A string that contains the name of the file to open. + The file format type of the document to open. + The password used to decrypt the protected file. + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to open a protected document of the specified type from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx", FormatType.Docx, "password"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx", FormatType.Docx, "password") + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type in read-only mode. + + A string that contains the name of the file to open. + The file format type of the document to open. + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + + + Opens an existing document of the specified file format type, which is protected with password in read-only mode. + + A string that contains the name of the file to open. + The file format type of the document to open. + The password used to decrypt the protected file. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + fileName is null. + password is null. + + The following code example demonstrates how to open a protected document of the specified type from file system in read-only mode. + + //Create a new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.OpenReadOnly("Template.docx", FormatType.Docx, "password"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + + + 'Create a new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.OpenReadOnly("Template.docx", FormatType.Docx, "password") + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + + + + + + Opens an existing document of the specified file format type with HTML file validation options in read-only mode. + + A string that contains the name of the file to open. + The file format type of the document to open. + The XHTML validation type used to validate the HTML file, if the is . + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + fileName is null. + + The following code example demonstrates how to open an existing document of the specified type from file system with XHTML validation options in read-only mode. + + //Create a new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.OpenReadOnly("Template.docx", FormatType.Docx, XHTMLValidationType.Strict); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + + + 'Create a new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.OpenReadOnly("Template.docx", FormatType.Docx, XHTMLValidationType.Strict) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + + + + + + Opens an existing document of the specified file format type with HTML file validation options and base path for relative path to absolute path conversion in read-only mode. + + A string that contains the name of the file to open. + The file format type of the document to open. + The XHTML validation type used to validate the HTML file, if the is . + Base path which is used to convert the relative path in the HTML file to absolute path. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + fileName is null. + baseUrl is null. + + The following code example demonstrates how to open an existing document of the specified type from file system with XHTML validation options in read-only mode. + + //Create a new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.OpenReadOnly("Template.docx", FormatType.Docx, XHTMLValidationType.Strict, "basePath"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + + + 'Create a new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.OpenReadOnly("Template.docx", FormatType.Docx, XHTMLValidationType.Strict, basePath) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + + + + + + Saves this to the specified file. + + A string that contains the name of the document to save. + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + The following code example demonstrates how to open an existing document from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx"); + //Saves the specified document + document.Save("Sample.docx"); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx") + 'Saves the specified document + document.Save("Sample.docx") + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Saves this to the specified file in the specified format. + + A string that contains the name of the document to save. + The format in which the document is saved. + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + The following code example demonstrates how to open an existing document from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx") + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Saves this as EPUB. + + A string that contains the name of the file to save. + The cover page image of the EPUB. + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to convert the Word document to EPub file. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + MemoryStream stream = new MemoryStream(); + //Create the new WPicture for cover page image + WPicture coverImage = new WPicture(document); + coverImage.LoadImage(Image.FromFile("CoverImage.png")); + //Save the document as EPUB + document.SaveAsEpub("sample.epub", coverImage); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + Dim stream As New MemoryStream() + 'Create the new WPicture for cover page image + Dim coverImage As New WPicture(document) + coverImage.LoadImage(Image.FromFile("CoverImage.png")) + 'Save the document as EPUB + document.SaveAsEpub("sample.epub", coverImage) + 'Close the document + document.Close() + End Sub + + + + + + Saves this to the specified file in the specified format. + + A string that contains the name of the document to save. + The format in which the document is saved. + The HTTP response information. + Specifies options to stream content to browser. + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to open an existing document from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx, HttpContext.Current.Response, HttpContentDisposition.Attachment); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx") + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx, Response, HttpContentDisposition.Attachment) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Saves this as EPUB. + + A string that contains the name of the file to save. + The cover page image of the EPUB. + The HTTP response information. + Specifies options to stream content to browser. + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + MemoryStream stream = new MemoryStream(); + //Create the new WPicture for cover page image + WPicture coverImage = new WPicture(document); + coverImage.LoadImage(Image.FromFile("CoverImage.png")); + //Save the document as EPUB + document.SaveAsEpub("sample.epub", coverImage, HttpContext.Current.Response, HttpContentDisposition.Attachment); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + Dim stream As New MemoryStream() + 'Create the new WPicture for cover page image + Dim coverImage As New WPicture(document) + coverImage.LoadImage(Image.FromFile("CoverImage.png")) + 'Save the document as EPUB + document.SaveAsEpub("sample.epub", coverImage, Response, HttpContentDisposition.Attachment) + 'Close the document + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type from the data stream with HTML file validation options and base path for relative path to absolute path conversion. + + A that contains the data for this . + The file format type of the document to open. + The XHTML validation type used to validate the html file, if the is . + Base path which is used to convert the relative path in the HTML file to absolute path. + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to open an existing document of the specified type from data stream with XHTML validation options. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + Stream fileStream = new FileStream("Sample.html", FileMode.Open, FileAccess.Read, FileShare.Read); + //Open an existing document from file system + document.Open(fileStream, FormatType.Docx, XHTMLValidationType.Strict, "basepath"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + Dim fileStream As Stream = New FileStream("Sample.html", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Open an existing document from file system + document.Open(fileStream, FormatType.Docx, XHTMLValidationType.Strict, basepath) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type from the data stream with HTML validation options. + + A that contains the data for this . + The file format type of the document to open. + The XHTML validation type used to validate the HTML file, if the is . + This method is not supported in Silverlight, WinRt, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to open an existing document of the specified type from data stream with XHTML validation options. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + Stream fileStream = new FileStream("Sample.html", FileMode.Open, FileAccess.Read, FileShare.Read); + //Open an existing document from file system + document.Open(fileStream, FormatType.Docx, XHTMLValidationType.Strict); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + Dim fileStream As Stream = New FileStream("Sample.html", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Open an existing document from file system + document.Open(fileStream, FormatType.Docx, XHTMLValidationType.Strict) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type from the data stream. + + A that contains the data for this . + The file format type of the document to open. + + The following code example demonstrates how to open an existing document of the specified type from data stream. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + Stream fileStream = new FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read); + //Open an existing document from file system + document.Open(fileStream, FormatType.Docx); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + Dim fileStream As Stream = New FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Open an existing document from file system + document.Open(fileStream, FormatType.Docx) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type from the data stream, which is protected with password. + + A that contains the data for this . + The file format type of the document to open. + The password used to decrypt the document. + This API is supported from .NET Framework 2.0 and .NET Standard 2.0 onwards. + + The following code example demonstrates how to open a protected document of the specified type from data stream. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + Stream fileStream = new FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read); + //Open an existing document from file system + document.Open(fileStream, FormatType.Docx, "password"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + Dim fileStream As Stream = New FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Open an existing document from file system + document.Open(fileStream, FormatType.Docx, "password") + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Saves this to the specified stream in the specified file format type. + + The Stream where the document will be saved. + The format in which the document is saved. + + The following code example demonstrates how to save the document to MemoryStream + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + MemoryStream stream = new MemoryStream(); + //Save the document to stream + document.Save(stream, FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + Dim stream As New MemoryStream() + 'Save the document to stream + document.Save(stream, FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Release the resources occupied by this instance. + + + + + Converts the whole document into an images. + + An ImageType that specifies the type of the image to render. + Return the array of images that contains the each document page as single image. + + + Layouting the contents of a Word document as pages in the Essential DocIO is not exactly the same as the layouting in Microsoft Word. So, the total number of pages and each page content may vary slightly compared to that of the Microsoft Word. + + + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + The following code example demonstrates how to convert the Word document to image. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = new ChartToImageConverter(); + //Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal; + //Convert word document to image + Image[] images = wordDocument.RenderAsImages(ImageType.Bitmap); + //Close the document + wordDocument.Close(); + int i = 0; + foreach (Image image in images) + { + //Save the images as jpeg + image.Save("WordToImage_" + i + ".jpeg", ImageFormat.Jpeg); + i++; + } + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) + 'Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = New ChartToImageConverter() + 'Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal + 'Convert word document to image + Dim images As Image() = wordDocument.RenderAsImages(ImageType.Bitmap) + 'Close the document + wordDocument.Close() + Dim i As Integer = 0 + For Each image As Image In images + 'Save the images as jpeg + image.Save("WordToImage_" & i & ".jpeg", ImageFormat.Jpeg) + i += 1 + Next + End Sub + + + + + + + Converts the specified document page into image. + + + The zero based page index that represent which page to convert. + + + An ImageFormat that specifies the format of the saved image. + + + An that represent specified document page as image. + + + + Layouting the contents of a Word document as pages in the Essential DocIO is not exactly the same as the layouting in Microsoft Word. So, the total number of pages may vary slightly compared to that of the Microsoft Word. + + + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + The following code example demonstrates how to convert the Word document to image. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = new ChartToImageConverter(); + //Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal; + //Convert word document to stream + Stream imageStream = wordDocument.RenderAsImages(2, System.Drawing.Imaging.ImageFormat.Bmp); + //Close the document + wordDocument.Close(); + //Convert the stream to Image + Image image = Image.FromStream(imageStream); + //Save the image as jpeg + image.Save("WordToImage.jpeg", ImageFormat.Jpeg); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) + 'Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = New ChartToImageConverter() + 'Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal + 'Convert word document to stream + Dim imageStream As Stream = wordDocument.RenderAsImages(2, System.Drawing.Imaging.ImageFormat.Bmp) + 'Close the document + wordDocument.Close() + 'Convert the stream to Image + Dim image As Image = Image.FromStream(imageStream) + 'Save the image as jpeg + image.Save("WordToImage.jpeg", ImageFormat.Jpeg) + End Sub + + + + + + + Converts the specified document page into image. + + + The zero based page index that represent which page to convert. + + + An ImageType that specifies the type of the image to render. + + + An that represent specified document page as image. + + + + Layouting the contents of a Word document as pages in the Essential DocIO is not exactly the same as the layouting in Microsoft Word. So, the total number of pages may vary slightly compared to that of the Microsoft Word. + + + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + The following code example demonstrates how to convert the specified Word document page as image. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = new ChartToImageConverter(); + //Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal; + //Convert word document to image + Image image = wordDocument.RenderAsImages(2, ImageType.Bitmap); + //Close the document + wordDocument.Close(); + //Save the image + image.Save("WordToImage.jpeg", ImageFormat.Jpeg); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) + 'Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = New ChartToImageConverter() + 'Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal + 'Convert word document to image + Dim image As Image = wordDocument.RenderAsImages(2, ImageType.Bitmap) + 'Close the document + wordDocument.Close() + 'Save the images as jpeg + image.Save("WordToImage_" & i & ".jpeg", ImageFormat.Jpeg) + End Sub + + + + + + + Converts the specified range of document pages into images + + + The zero based page index that represents the starting document page index. + + + The total number of pages to convert. + + + An ImageType That specifies the type of the image to render. + + + An array of images that represent specified range of document pages as images. + + + + Layouting the contents of a Word document as pages in the Essential DocIO is not exactly the same as the layouting in Microsoft Word. So, the total number of pages may vary slightly compared to that of the Microsoft Word. + + + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + The following code example demonstrates how to convert the Word document to image. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = new ChartToImageConverter(); + //Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal; + //Convert word document to image + Image[] images = wordDocument.RenderAsImages(0, 2, ImageType.Bitmap); + //Close the document + wordDocument.Close(); + int i = 0; + foreach (Image image in images) + { + //Save the images as jpeg + image.Save("WordToImage_" + i + ".jpeg", ImageFormat.Jpeg); + i++; + } + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) + 'Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = New ChartToImageConverter() + 'Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal + 'Convert word document to image + Dim images As Image() = wordDocument.RenderAsImages(0, 2, ImageType.Bitmap) + 'Close the document + wordDocument.Close() + Dim i As Integer = 0 + For Each image As Image In images + 'Save the images as jpeg + image.Save("WordToImage_" & i & ".jpeg", ImageFormat.Jpeg) + i += 1 + Next + End Sub + + + + + + + Finds the text based on specified regular expression. + + + The used to find the text. + + + The that contains the found text in the document. + + + The following code example demonstrates how to find a particular text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of a particular text in the document + TextSelection textSelection = document.Find(new Regex("panda")); + //Get the found text as single text range + WTextRange textRange = textSelection.GetAsOneRange(); + //Modify the text + textRange.Text = "Replaced text"; + //Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow; + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of a particular text in the document + Dim textSelection As TextSelection = document.Find(New Regex("panda")) + 'Get the found text as single text range + Dim textRange As WTextRange = textSelection.GetAsOneRange() + 'Modify the text + textRange.Text = "Replaced text" + 'Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Finds the first entry of specified pattern of text in single-line mode which is extended to several paragraph in the document. + + The used to find the text. + The collection that contains the found text in the document. + + The following code example demonstrates how to + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text extended to several paragraphs in the document + TextSelection[] textSelections = document.FindSingleLine(new Regex("First paragraph Second paragraph")); + WParagraph paragraph = null; + foreach (TextSelection textSelection in textSelections) + { + //Get the found text as single text range and set highlight color + WTextRange textRange = textSelection.GetAsOneRange(); + textRange.CharacterFormat.HighlightColor = Color.YellowGreen; + paragraph = textRange.OwnerParagraph; + } + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text extended to several paragraphs in the document + Dim textSelections As TextSelection() = document.FindSingleLine(new Regex("First paragraph Second paragraph")) + Dim paragraph As WParagraph = Nothing + For Each textSelection As TextSelection In textSelections + 'Get the found text as single text range and set highlight color + Dim textRange As WTextRange = textSelection.GetAsOneRange() + textRange.CharacterFormat.HighlightColor = Color.YellowGreen + paragraph = textRange.OwnerParagraph + Next + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + Finds the text based on specified string, taking into the consideration of caseSensitive and wholeWord options. + + + A string used to find the text. + + + Set to true to match the similar case text which specified in the parameter; otherwise false. + + + Set to true to match the whole word text which specified in the parameter; otherwise false. + + + The that contains the found text in the document. + + + The following code example demonstrates how to find a particular text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of a particular text in the document + TextSelection textSelection = document.Find("panda", true, true); + //Get the found text as single text range + WTextRange textRange = textSelection.GetAsOneRange(); + //Modify the text + textRange.Text = "Replaced text"; + //Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow; + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of a particular text in the document + Dim textSelection As TextSelection = document.Find("panda", true, true) + 'Get the found text as single text range + Dim textRange As WTextRange = textSelection.GetAsOneRange() + 'Modify the text + textRange.Text = "Replaced text" + 'Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Finds the first entry of specified pattern of text in single-line mode which is extended to several paragraph in the document, taking into the consideration of caseSensitive and wholeWord options. + + + A string used to find the text. + + + Set to true to match the similar case text which specified in the parameter; otherwise false. + + + Set to true to match the whole word text which specified in the parameter; otherwise false. + + The collection that contains the found text in the document. + + The following code example demonstrates how to + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text extended to several paragraphs in the document + TextSelection[] textSelections = document.FindSingleLine("First paragraph Second paragraph", true, false); + WParagraph paragraph = null; + foreach (TextSelection textSelection in textSelections) + { + //Get the found text as single text range and set highlight color + WTextRange textRange = textSelection.GetAsOneRange(); + textRange.CharacterFormat.HighlightColor = Color.YellowGreen; + paragraph = textRange.OwnerParagraph; + } + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text extended to several paragraphs in the document + Dim textSelections As TextSelection() = document.FindSingleLine("First paragraph Second paragraph", True, False) + Dim paragraph As WParagraph = Nothing + For Each textSelection As TextSelection In textSelections + 'Get the found text as single text range and set highlight color + Dim textRange As WTextRange = textSelection.GetAsOneRange() + textRange.CharacterFormat.HighlightColor = Color.YellowGreen + paragraph = textRange.OwnerParagraph + Next + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + Finds and returns all entries of the specified regular expression. + + + The used to find the text. + + + The collection that contains all the entries of the found text in the document. + + + The following code example demonstrates how to search a particular text and highlight it. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Find the occurrence of the Word "panda" in the document + TextSelection[] textSelection = document.FindAll(new Regex("panda")); + //Iterate through each occurrence and highlight it + foreach (TextSelection selection in textSelection) + { + IWTextRange textRange = selection.GetAsOneRange(); + textRange.CharacterFormat.HighlightColor = Color.Yellow; + } + //Save and Close the document + document.Save("Result.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Find the occurrence of the word "panda" in the document + Dim textSelection As TextSelection() = document.FindAll(new Regex("panda")) + 'Iterate through each occurrence and highlight it + For Each selection As TextSelection In textSelection + Dim textRange As IWTextRange = selection.GetAsOneRange() + textRange.CharacterFormat.HighlightColor = Color.Yellow + Next + document.Save("Result.docx") + document.Close() + End Sub + + + + + + + Finds and returns all entries of the specified string, taking into the consideration of caseSensitive and wholeWord options. + + + A string used to find the text. + + + Set to true to match the similar case text which specified in the parameter; otherwise false. + + + Set to true to match the whole word text which specified in the parameter; otherwise false. + + + The collection that contains all the entries of the found text in the document. + + + The following code example demonstrates how to search a particular text and highlight it. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Find the occurrence of the Word "panda" in the document + TextSelection[] textSelection = document.FindAll("panda", false, true); + //Iterate through each occurrence and highlight it + foreach (TextSelection selection in textSelection) + { + IWTextRange textRange = selection.GetAsOneRange(); + textRange.CharacterFormat.HighlightColor = Color.Yellow; + } + //Save and Close the document + document.Save("Result.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Find the occurrence of the word "panda" in the document + Dim textSelection As TextSelection() = document.FindAll("panda", false, true) + 'Iterate through each occurrence and highlight it + For Each selection As TextSelection In textSelection + Dim textRange As IWTextRange = selection.GetAsOneRange() + textRange.CharacterFormat.HighlightColor = Color.Yellow + Next + document.Save("Result.docx") + document.Close() + End Sub + + + + + + + Replaces all entries of the given with the replace string. + + The used to find the text. + The string specifies the text to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Replace all occurrence of a particular text in the document + document.Replace(new Regex("Paragraph"),"paragraph"); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Replace all occurrence of a particular text in the document + document.Replace(New Regex("Paragraph"), "paragraph") + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with replace string, taking into + consideration of case sensitive and whole word options. + + The string represents the text to be found. + The string specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Replace all occurrence of a particular text in the document + document.Replace("Paragraph","paragraph", false, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Replace all occurrence of a particular text in the document + document.Replace("Paragraph", "paragraph", False, True) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with , taking into + consideration case sensitive and whole word options. + + The string represents the text to be found. + The specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace("Giant panda", selection, true, false); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace("Giant panda", selection, True, False) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with , taking into + consideration case sensitive, whole word and formatting options. + + The string represents the text to be found. + The specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + Set to true if to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace("Giant panda", selection, true, false, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace("Giant panda", selection, True, False, False) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces the specified regular expression with a in the document. + + The used to find the text. + The specifies the text to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace(new Regex("Giant panda"), selection); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace(New Regex("Giant panda"), selection) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression in the document with the + along with its formatting. + + The used to find the text. + The specifies the text to replace. + Set to true to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace(new Regex("Giant panda"), selection, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace(New Regex("Giant panda"), selection, True) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with , taking into + consideration case sensitive, whole word options. + + The string represents the text to be found. + The text body part to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + if it specifies whole word, set to true. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.Replace("Giant panda", bodyPart, true, false); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.Replace("Giant panda", bodyPart, True, False) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with , taking into + consideration case sensitive, whole word and formatting options. + + The string represents the text to be found. + The text body part to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false.. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + Set to true to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.Replace("Giant panda", bodyPart, true, false, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.Replace("Giant panda", bodyPart, True, False, True) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression in the document with the + . + + The used to find the text. + The text body part to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.Replace(new Regex("Giant panda"), bodyPart); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.Replace(New Regex("Giant panda"), bodyPart) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression in the document with the + along with its formatting. + + The used to find the text. + The text body part to replace. + Set to true to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.Replace(new Regex("Giant panda"), bodyPart, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.Replace(New Regex("Giant panda"), bodyPart, True) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with another Word document, taking into + consideration case sensitive, whole word options. + + The string represents the text to be found. + The Word document to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Load the another existing Word document to replace + WordDocument replaceDocument = new WordDocument("Replace.docx"); + //Replace all occurrence of a particular regular expression with the another document and close the document + document.Replace("Giant panda", replaceDocument, true, false); + replaceDocument.Close(); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Load the another existing Word document to replace + Dim replaceDocument As New WordDocument("Replace.docx") + 'Replace all occurrence of a particular regular expression with the another document and close the document + document.Replace("Giant panda", replaceDocument, True, False) + replaceDocument.Close(); + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with another Word document, taking into + consideration case sensitive, whole word and formatting options. + + The string represents the text to be found. + The Word document to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + Set to true to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Load the another existing Word document to replace + WordDocument replaceDocument = new WordDocument("Replace.docx"); + //Replace all occurrence of a particular regular expression with the another document and close the document + document.Replace("Giant panda", replaceDocument, true, false, true); + replaceDocument.Close(); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Load the another existing Word document to replace + Dim replaceDocument As New WordDocument("Replace.docx") + 'Replace all occurrence of a particular regular expression with the another document and close the document + document.Replace("Giant panda", replaceDocument, True, False, True) + replaceDocument.Close(); + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression in the document with the + another word document along with its formatting. + + The used to find the text. + The Word document to replace. + Set to true to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Load the another existing Word document to replace + WordDocument replaceDocument = new WordDocument("Replace.docx"); + //Replace all occurrence of a particular regular expression with the another document and close the document + document.Replace(new Regex("Giant panda"), replaceDocument, true); + replaceDocument.Close(); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Load the another existing Word document to replace + Dim replaceDocument As New WordDocument("Replace.docx") + 'Replace all occurrence of a particular regular expression with the another document and close the document + document.Replace(New Regex("Giant panda"), replaceDocument, True) + replaceDocument.Close(); + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Updates Paragraphs count, Word count and Character count in the document + + + The following code example demonstrates how to update Paragraphs count, Word count and Character count in the document. + + //Open an input word template + IWordDocument document = new WordDocument(@"Template.docx"); + //Update the Paragraphs count, Word count and Character count in the document + document.UpdateWordCount(); + //Save and close the Word document instance. + document.Save("Output.docx", FormatType.Docx); + document.Close(); + } + + + 'Open an input word template + Dim document As New IWordDocument("Template.docx") + 'Update the Paragraphs count, Word count and Character count in the document. + document.UpdateWordCount() + �Save and close the Word document instance. + document.Save("Output.docx", FormatType.Docx) + document.Close() + + + + + + Updates Paragraphs count, Word count and Character count. Updates page count if performLayout set to true using Doc to PDF layouting engine. + + Set to true to update the page count of the document using Word to PDF layouting engine; otherwise, false. The default is false. + + This method is not supported in Silverlight, WinRT, Universal, Universal Windows Platform, MVC6, Xamarin and windows phone platforms. + + + The following code example demonstrates how to update Page count, Paragraphs count, Word count and Character count in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an input word template + WordDocument document = new WordDocument(@"Template.docx"); + //Update the Page count, Paragraphs count, Word count and Character count in the document + document.UpdateWordCount(true); + //Save and close the Word document instance. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an input word template + Dim document As New WordDocument("Template.docx") + 'Update the Page count, Paragraphs count, Word count and Character count in the document. + document.UpdateWordCount(True) + �Save and close the Word document instance. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Updates fields present in the document. + + + Updating of NUMPAGES field and Cross Reference field with Page number and Paragraph number options are not supported in Silverlight, WinRT, Universal and Windows Phone platforms. + Currently group shapes, drawing canvas, and table auto resizing are not supported in Word to PDF lay outing, and this may lead to update incorrect page number and total number of pages. + While updating NUMPAGES field and Cross Reference field with Page number and Paragraph number options uses makes use of our Word to PDF layouting engine which may lead to take some considerable amount of performance to update the above mentioned fields. + + + The following code example demonstrates how to update the fields present in Word document. + + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Input.docx", FormatType.Docx); + //Updates the fields present in a document. + document.UpdateDocumentFields(); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Input.docx", FormatType.Docx) + 'Updates the fields present in a document. + document.UpdateDocumentFields() + document.Save("Result.docx", FormatType.Docx) + document.Close() + + + + + + Updates the Alternate chunks present in the Word document + + + The following code example demonstrates how to update the Alternate chunks present in Word document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Input.docx", FormatType.Docx); + //Updates the Alternate chunks present in a document. + document.UpdateAlternateChunks(); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Input.docx", FormatType.Docx) + 'Updates the Alternate chunks present in a document. + document.UpdateAlternateChunks() + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Update Table of contents in the document. + + + Updating TOC makes use of our Word to PDF layouting engine which may lead to the updation of incorrect page number due to its limitations. Also use of WOrd to PDF layout engine may lead to take some considerable amount of performance to update the page numbers. + + + The following code example demonstrates how to update a TOC in an existing word document. + + //Open an input word template + WordDocument document = new WordDocument(@"Template.docx"); + //Update the table of contents. + document.UpdateTableOfContents(); + //Save and close the Word document instance. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Open an input word template + Dim document As New WordDocument("Template.docx") + 'Update the table of contents. + document.UpdateTableOfContents() + 'Save and close the Word document instance. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Replaces all entries of given string which is extended to several paragraphs in the document with replace string, taking into + consideration of case sensitive and whole word options. + + The string represents the text to be found. + The string specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace the text extended to several paragraphs with simple text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Replace the text extended to two paragraphs with simple text + document.ReplaceSingleLine("First paragraph Second paragraph", "Replaced paragraph", true, false); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Replace the text extended to two paragraphs with simple text + document.ReplaceSingleLine("First paragraph Second paragraph", "Replaced paragraph", True, False) + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of the specified pattern text, which is extended to several paragraph, with replace text. + + The used to find the text. + The string specifies the text to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace the text extended to several paragraphs with simple text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Replace the text extended to two paragraphs with simple text + document.ReplaceSingleLine(new Regex("First paragraph Second paragraph"), "Replaced paragraph"); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Replace the text extended to two paragraphs with simple text + document.ReplaceSingleLine(New Regex("First paragraph Second paragraph"), "Replaced paragraph") + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string which is extended to several paragraph in the document with , taking into + consideration case sensitive and whole word options. + + The string represents the text to be found. + The specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace the text extended to several paragraphs with another text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text in the document + TextSelection selection = document.Find("contents", false, false); + //Replace the text extended to two paragraphs with text selection + document.ReplaceSingleLine("First paragraph Second paragraph", selection, true, false); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text in the document + Dim selection As TextSelection = document.Find("contents", False, False) + 'Replace the text extended to two paragraphs with text selection + document.ReplaceSingleLine("First paragraph Second paragraph", selection, True, False) + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression text which is extended to several paragraph in the document with the + . + + The used to find the text. + The text selection to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace the text extended to several paragraphs with another text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text in the document + TextSelection selection = document.Find("contents", false, false); + //Replace the text extended to two paragraphs with text selection + document.ReplaceSingleLine(new Regex("First paragraph Second paragraph"), selection); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text in the document + Dim selection As TextSelection = document.Find("contents", False, False) + 'Replace the text extended to two paragraphs with text selection + document.ReplaceSingleLine(New Regex("First paragraph Second paragraph"), selection) + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string which is extended to several paragraphs in the document with , taking into + consideration case sensitive, whole word options. + + The string represents the text to be found. + The text body part to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + if it specifies whole word, set to true. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace the text extended to several paragraphs with . + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text in the document + TextSelection selection = document.Find("contents", false, false); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.ReplaceSingleLine("First paragraph Second paragraph", bodyPart, true, false); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text in the document + Dim selection As TextSelection = document.Find("contents", False, False) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.ReplaceSingleLine("First paragraph Second paragraph", bodyPart, True, False) + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression text which is extended to several paragraph in the document with the + . + + The used to find the text. + The text body part to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace the text extended to several paragraphs with . + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text in the document + TextSelection selection = document.Find("contents", false, false); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.ReplaceSingleLine(new Regex("First paragraph Second paragraph"), bodyPart); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text in the document + Dim selection As TextSelection = document.Find("contents", False, False) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.ReplaceSingleLine(New Regex("First paragraph Second paragraph"), bodyPart) + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Finds the next entry of the specified text from the specified text body item, taking into the consideration of caseSensitive + and wholeWord options. + + The that represents the start body item at which search starts (paragraph or table). + + A string used to find the text. + + + Set to true to match the similar case text which specified in the parameter; otherwise false. + + + Set to true to match the whole word text which specified in the parameter; otherwise false. + + + The that contains the found text in the document. + + + The following code example demonstrates how to find a particular text and its next occurrence in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text in the document + TextSelection textSelection = document.Find("as graphical contents", false, true); + //Get the found text as single text range + WTextRange textRange = textSelection.GetAsOneRange(); + //Modify the text + textRange.Text = "Replaced text"; + //Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow; + //Find the next occurrence of a particular text from the previous paragraph + textSelection = document.FindNext(textRange.OwnerParagraph, "paragraph", true, false); + //Get the found text as single text range + WTextRange range = textSelection.GetAsOneRange(); + //Set bold formatting + range.CharacterFormat.Bold = true; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text in the document + Dim textSelection As TextSelection = document.Find("as graphical contents", false, true) + 'Get the found text as single text range + Dim textRange As WTextRange = textSelection.GetAsOneRange() + 'Modify the text + textRange.Text = "Replaced text" + 'Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow + 'Find the next occurrence of a particular text from the previous paragraph + textSelection = document.FindNext(textRange.OwnerParagraph, "paragraph", true, false) + 'Get the found text as single text range + Dim range As WTextRange = textSelection.GetAsOneRange() + 'Set bold formatting + range.CharacterFormat.Bold = True + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + Finds the next entry of the specified regular expression from the specified text body item. + + The that represents the start body item at which search starts (paragraph or table). + The used to find the text. + The that contains the found text in the document. + + The following code example demonstrates how to find a particular text and its next occurrence in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text in the document + TextSelection textSelection = document.Find(new Regex("as graphical contents")); + //Get the found text as single text range + WTextRange textRange = textSelection.GetAsOneRange(); + //Modify the text + textRange.Text = "Replaced text"; + //Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow; + //Find the next occurrence of a particular text from the previous paragraph + textSelection = document.FindNext(textRange.OwnerParagraph, new Regex("paragraph")); + //Get the found text as single text range + WTextRange range = textSelection.GetAsOneRange(); + //Set bold formatting + range.CharacterFormat.Bold = true; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text in the document + Dim textSelection As TextSelection = document.Find("as graphical contents") + 'Get the found text as single text range + Dim textRange As WTextRange = textSelection.GetAsOneRange() + 'Modify the text + textRange.Text = "Replaced text" + 'Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow + 'Find the next occurrence of a particular text from the previous paragraph + textSelection = document.FindNext(textRange.OwnerParagraph, "paragraph") + 'Get the found text as single text range + Dim range As WTextRange = textSelection.GetAsOneRange() + 'Set bold formatting + range.CharacterFormat.Bold = True + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + Finds the next entry of the specified text from the specified text body item in single-line mode which is extended to several paragraph in the document, taking into the consideration of caseSensitive + and wholeWord options. + + The that represents the start body item at which search starts (paragraph or table). + + A string used to find the text. + + + Set to true to match the similar case text which specified in the parameter; otherwise false. + + + Set to true to match the whole word text which specified in the parameter; otherwise false. + + + The that contains the found text in the document. + + + The following code example demonstrates how to find a particular text and its next occurrence which is extended to several paragraphs in the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text extended to several paragraphs in the document + TextSelection[] textSelections = document.FindSingleLine("First paragraph Second paragraph", true, false); + WParagraph paragraph = null; + foreach (TextSelection textSelection in textSelections) + { + //Get the found text as single text range and set highlight color + WTextRange textRange = textSelection.GetAsOneRange(); + textRange.CharacterFormat.HighlightColor = Color.YellowGreen; + paragraph = textRange.OwnerParagraph; + } + //Find the next occurrence of a particular text extended to several paragraphs in the document + textSelections = document.FindNextSingleLine(paragraph, "First paragraph Second paragraph", true, false); + foreach (TextSelection textSelection in textSelections) + { + //Get the found text as single text range and set italic formatting + WTextRange text = textSelection.GetAsOneRange(); + text.CharacterFormat.Italic = true; + } + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text extended to several paragraphs in the document + Dim textSelections As TextSelection() = document.FindSingleLine("First paragraph Second paragraph", True, False) + Dim paragraph As WParagraph = Nothing + For Each textSelection As TextSelection In textSelections + 'Get the found text as single text range and set highlight color + Dim textRange As WTextRange = textSelection.GetAsOneRange() + textRange.CharacterFormat.HighlightColor = Color.YellowGreen + paragraph = textRange.OwnerParagraph + Next + 'Find the next occurrence of a particular text extended to several paragraphs in the document + textSelections = document.FindNextSingleLine(paragraph, "First paragraph Second paragraph", True, False) + For Each textSelection As TextSelection In textSelections + 'Get the found text as single text range and set italic formatting + Dim text As WTextRange = textSelection.GetAsOneRange() + text.CharacterFormat.Italic = True + Next + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + Finds the next entry of the specified pattern of text in single-line mode which is extended to several paragraph in the document. + + The that represents the start body item at which search starts (paragraph or table). + The used to find the text. + The that contains the found text in the document. + + The following code example demonstrates how to find a particular text and its next occurrence which is extended to several paragraphs in the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text extended to several paragraphs in the document + TextSelection[] textSelections = document.FindSingleLine("First paragraph Second paragraph", true, false); + WParagraph paragraph = null; + foreach (TextSelection textSelection in textSelections) + { + //Get the found text as single text range and set highlight color + WTextRange textRange = textSelection.GetAsOneRange(); + textRange.CharacterFormat.HighlightColor = Color.YellowGreen; + paragraph = textRange.OwnerParagraph; + } + //Find the next occurrence of a particular text extended to several paragraphs in the document + textSelections = document.FindNextSingleLine(paragraph, new Regex("First paragraph Second paragraph")); + foreach (TextSelection textSelection in textSelections) + { + //Get the found text as single text range and set italic formatting + WTextRange text = textSelection.GetAsOneRange(); + text.CharacterFormat.Italic = true; + } + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text extended to several paragraphs in the document + Dim textSelections As TextSelection() = document.FindSingleLine("First paragraph Second paragraph", True, False) + Dim paragraph As WParagraph = Nothing + For Each textSelection As TextSelection In textSelections + 'Get the found text as single text range and set highlight color + Dim textRange As WTextRange = textSelection.GetAsOneRange() + textRange.CharacterFormat.HighlightColor = Color.YellowGreen + paragraph = textRange.OwnerParagraph + Next + 'Find the next occurrence of a particular text extended to several paragraphs in the document + textSelections = document.FindNextSingleLine(paragraph, new Regex("First paragraph Second paragraph")) + For Each textSelection As TextSelection In textSelections + 'Get the found text as single text range and set italic formatting + Dim text As WTextRange = textSelection.GetAsOneRange() + text.CharacterFormat.Italic = True + Next + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + Resets the find next of . + + + + + Creates a new paragraph item instance. + + A represents the type of paragraph item to create. + The this method created. + + + + Removes the macros in the document. + + The following code example demonstrates how to remove macros from the Word document. + This method removes the macros from DOCM and DOTM format files. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the document with macros + WordDocument document = new WordDocument("Sample.docm"); + //Check whether the document has macros and remove them + if (document.HasMacros) + document.RemoveMacros(); + //Save the document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the document with macros + Dim document As New WordDocument("Sample.docm") + 'Check whether the document has macros and remove them + If document.HasMacros Then + document.RemoveMacros() + End If + 'Save the document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Gets or sets the object for converting chart to image + + + In Word to PDF conversion, to preserve the charts as images in the generated PDF document, this must be initialized. Otherwise the charts will not be exported to the converted PDF + ChartToImageConverter is supported from .NET Framework 4.0 onwards. + + + The following code example demonstrates how to initialize the to preserve the charts as images in the generated PDF document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Initialize ChartToImageConverter for converting charts during Word to pdf conversion + wordDocument.ChartToImageConverter = new ChartToImageConverter(); + //Create an instance of DocToPDFConverter + DocToPDFConverter converter = new DocToPDFConverter(); + //Convert Word document into PDF document + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + //Close the instance of Word document object + wordDocument.Close(); + //Save the PDF file + pdfDocument.Save("WordtoPDF.pdf"); + //Close the instance of PDF document object + pdfDocument.Close(true); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) + 'Initialize ChartToImageConverter for converting charts during Word to pdf conversion + /// wordDocument.ChartToImageConverter = New ChartToImageConverter() + 'Create an instance of DocToPDFConverter + Dim converter As New DocToPDFConverter() + 'Convert Word document into PDF document + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + 'Close the instance of document object + wordDocument.Close() + 'Save the PDF file + pdfDocument.Save("WordtoPDF.pdf") + 'Close the instance of document object + pdfDocument.Close(True) + End Sub + + + + + + Gets a instance that represents the font settings of the Word document. Read-only. + + The instance that represents the font settings of the Word document. + + + The following code example demonstrates how to initialize the to perform font substitution when a specified font is not installed in the production environment. + + // Loads an existing Word document. + WordDocument wordDocument = new WordDocument("template.docx", FormatType.Docx); + // Initializes the SubstituteFont event to perform font substitution during Word to PDF conversion. + wordDocument.FontSettings.SubstituteFont += new SubstituteFontEventHandler(SubstituteFont); + // Creates an instance of DocToPDFConverter. + DocToPDFConverter converter = new DocToPDFConverter(); + // Converts the Word document into PDF document. + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + // Closes the instance of Word document object. + wordDocument.Close(); + // Saves the PDF file. + pdfDocument.Save("WordtoPDF.pdf"); + // Closes the instance of PDF document object. + pdfDocument.Close(true); + + private void SubstituteFont(object sender, SubstituteFontEventArgs args) + { + // Sets the alternate font when a specified font is not installed in the production environment. + if (args.OrignalFontName == "Arial Unicode MS") + args.AlternateFontName = "Arial"; + else + args.AlternateFontName = "Times New Roman"; + } + + + ' Loads an existing Word document. + Dim wordDocument As New WordDocument("template.docx", FormatType.Docx) + ' Initializes the SubstituteFont event to perform font substitution during Word to PDF conversion. + AddHandler wordDocument.FontSettings.SubstituteFont, AddressOf SubstituteFont + ' Creates an instance of DocToPDFConverter. + Dim converter As New DocToPDFConverter() + ' Converts the Word document into PDF document. + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + ' Closes the instance of document object. + wordDocument.Close() + ' Saves the PDF file . + pdfDocument.Save("WordtoPDF.pdf") + ' Closes the instance of document object. + pdfDocument.Close(True) + + Private Sub SubstituteFont(ByVal sender As Object, ByVal args As SubstituteFontEventArgs) + ' Sets the alternate font when a specified font is not installed in the production environment. + If args.OrignalFontName = "Arial Unicode MS" Then + args.AlternateFontName = "Arial" + Else + args.AlternateFontName = "Times New Roman" + End If + End Sub + + + + + + Gets or sets the footnote separators of the document. + + The instance used to specify the footnote separator of this . + + + + + Gets or sets the endnote separators of the document. + + The instance used to specify the endnote separator of this . + + + + + Gets or sets the default tab stop position value measured in points. + + The width of the default tab. + + + + + Gets a collection that represents all the built-in document properties for the specified document. Read-only. + + + + + + + Gets a object that represents the attached template of the document. Read-only. + + Attached template of the document + + + + + Gets or sets a value indicating whether to automatically update styles of the document from the attached template each time the document is opened. Default value is false. + + True if the styles of the document are updated to from the attached template;otherwise, false. + + + + Gets a collection that represents all the custom document properties for the specified document. Read-only. + + + + + Gets a collection that represents all the sections in the document. Read-Only. + + A Sections collection represents all the in this + + + + + + Gets a collection that represents all the styles in the document. Read-Only. + + A collection represents all the in this + + + + + + + + Gets a collection that represents all the list styles in the document. Read-Only. + + All the in this . + + + + + + Gets a collection that represents all the bookmarks in the document. Read-Only. + + + + + + + + + Gets a collection that represents all the textboxes in the document. Read-Only. + + A collection represents all the in this . + + + + + + Gets a collection that represents all the comments in the document. Read-Only. + + + + + + + Gets the last of the document. Read-Only. + + The represents the last section of this + + The following code example demonstrates how to retrieve the last section of the document + + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Retrieve the last section of the document and add new paragraph + document.LastSection.AddParagraph().AppendText("Adding new paragraph to the document"); + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Retrieve the last section of the document and add new paragraph + document.LastSection.AddParagraph().AppendText("Adding new paragraph to the document") + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + + Gets the last of the document. Read-only. + + The represents the last paragraph of this + + The following code example demonstrates how to retrieve the last paragraph of the document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the last paragraph back color as Blue + document.LastParagraph.ParagraphFormat.BackColor = Color.Blue; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the last paragraph back color as Blue + document.LastParagraph.ParagraphFormat.BackColor = Color.Blue + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Gets or sets the numbering format for the endnotes in the document. + + The for the endnotes in the Word document + + The following code example demonstrates how to specify the endnote number format in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the endnote format + document.EndnoteNumberFormat = FootEndNoteNumberFormat.Arabic; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the endnote format + document.EndnoteNumberFormat = FootEndNoteNumberFormat.Arabic + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the numbering format for the footnotes in the document. + + The for the footnotes in the Word document + + The following code example demonstrates how to specify the footnote number format in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the footnote number format + document.FootnoteNumberFormat = FootEndNoteNumberFormat.UpperCaseRoman; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the footnote number format + document.FootnoteNumberFormat = FootEndNoteNumberFormat.UpperCaseRoman + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the restart index for the endnotes in the document. + + + The following code example demonstrates how to specify the endnote restart index number in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the endnote restart index number + document.RestartIndexForEndnote = EndnoteRestartIndex.RestartForEachSection; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the endnote restart index number + document.RestartIndexForEndnote = EndnoteRestartIndex.RestartForEachSection + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets endnotes position in the document. + + The for the endnotes in the document + + The following code example demonstrates how to specify the endnote position in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the endnote position at end of each section + document.EndnotePosition = EndnotePosition.DisplayEndOfSection; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the endnote position at end of each section + document.EndnotePosition = EndnotePosition.DisplayEndOfSection + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the restart index for the footnotes in the document. + + + The following code example demonstrates how to specify the footnote restart index number in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the footnote restart index number + document.RestartIndexForFootnotes = FootnoteRestartIndex.RestartForEachPage; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the footnote restart index number + document.RestartIndexForFootnotes = FootnoteRestartIndex.RestartForEachPage + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets footnotes position in the document. + + The for the footnote in the document + + The following code example demonstrates how to specify the footnote position in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the footnote position at immediately beneath text + document.FootnotePosition = FootnotePosition.PrintImmediatelyBeneathText; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the footnote position at immediately beneath text + document.FootnotePosition = FootnotePosition.PrintImmediatelyBeneathText + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a watermark for the document. + + A text/picture that appears behind the document + + + + + + + Gets the object that represents the background effects of the document. Read-only. + + The background effects of the document + + + + + Gets a object that represents the mail merge functionality of the document. Read-only. + + The instance used to replace the with value in the document + + + + + + Gets or sets the document protection type. + + The will prevent the document from unintentional editing. + + The following code example demonstrates how to protect the changing of document content. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //protect the document from editing + document.ProtectionType = Syncfusion.DocIO.ProtectionType.AllowOnlyReading; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'protect the document from editing + document.ProtectionType = Syncfusion.DocIO.ProtectionType.AllowOnlyReading + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the document view type. + + A represents the display options of this in MS Word application + + + + Gets or sets a value indicating whether to throw exceptions for unsupported elements. The default is false. + + True then throw the exception for unsupported elements; otherwise, false. + + + + Gets or sets the initial footnote number of the document. + + + The following code example demonstrates how to specify the endnote number format in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the footnote initial number + document.InitialFootnoteNumber = 3; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the footnote initial number + document.InitialFootnoteNumber = 3 + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the initial endnote number of the document. + + + The following code example demonstrates how to specify the endnote initial number in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the endnote initial number + document.InitialEndnoteNumber = 5; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the endnote initial number + document.InitialEndnoteNumber = 5 + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the collection that represents the child entities of this . Read-only. + + The child entities. + + + + Gets or sets the HTML validate option. + + + This property is not supported in Silverlight, Universal, Windows Phone, MVC6 and Xamarin application. + + + + + Gets or sets the background image of a document. + + + + + + Gets a collection that represents the variables stored in the document. Read-only. + + + Variables collection contains a Key-Value pair of variable name and its value + + + The following code snippet illustrate how to add a DocVariable field in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("First Name of the customer: "); + //Add the DocVariable field with Variable name and its type + paragraph.AppendField("FirstName", FieldType.FieldDocVariable); + paragraph = section.AddParagraph(); + paragraph.AppendText("Last Name of the customer: "); + //Add the DocVariable field with Variable name and its type + paragraph.AppendField("LastName", FieldType.FieldDocVariable); + //Add the value for variable in WordDocument.Variable collection + document.Variables.Add("FirstName", "Jeff"); + document.Variables.Add("LastName", "Smith"); + //Update the document fields + document.UpdateDocumentFields(); + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("First Name of the customer: ") + 'Add the DocVariable field with Variable name and its type + paragraph.AppendField("FirstName", FieldType.FieldDocVariable) + paragraph = section.AddParagraph() + paragraph.AppendText("Last Name of the customer: ") + 'Add the DocVariable field with Variable name and its type + paragraph.AppendField("LastName", FieldType.FieldDocVariable) + 'Add the value for variable in WordDocument.Variable collection + document.Variables.Add("FirstName", "Jeff") + document.Variables.Add("LastName", "Smith") + 'Update the document fields + document.UpdateDocumentFields() + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the document properties. Read-only. + + The instance used to specify the document version, form field shading and hyphenation properties of the document + + + + Gets a value indicating whether the document has tracked changes. Read-only. + + + True if the document has tracked changes; otherwise, false. + + + + + Gets or sets a value indicating whether edits are tracked as revision. The default is false. + + True if track changes in on; otherwise, false. + + The following code snippet shows how to track the edits as revisions in the document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Enable the TrackChanges to track the edits as revision + document.TrackChanges = true; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Enable the TrackChanges to track the edits as revision + document.TrackChanges = True + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether replace only the first occurrence. The default is false. + + True replace only the first occurrence in the document; false replace all the occurrence. + + The following code snippet illustrates how to replace the first occurrence of a particular text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Set to replace only the first occurrence of a particular text + document.ReplaceFirst = true; + //Find the first occurrence of a particular text in the document + TextSelection selection = document.Find("contents", false, false); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.Replace("paragraph", bodyPart, false, true, true); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Set to replace only the first occurrence of a particular text + document.ReplaceFirst = True + 'Find the first occurrence of a particular text in the document + Dim selection As TextSelection = document.Find("contents", False, False) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.Replace("paragraph", bodyPart, False, True, True) + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the HTML import settings for HTML to Word conversion. + + This property is not supported in MVC6. + + + + + + Gets the document save options. Read-only. + + A that represents the save options for this + + + + + Gets or sets a that represents the options to import the source document contents to the destination document. + Default value is UseDestinationStyles. + + This property will not be considered while executing ImportContent method and its overloads in class. + If invalid combination applied, then it will be skipped or auto corrected based on priority. + + + //Creates an new instance of WordDocument class. + WordDocument srcDocument = new WordDocument("SourceTemplate.docx"); + // Creates an new instance of WordDocument class. + WordDocument destDocument = new WordDocument("DestinationTemplate.docx"); + //Import the contents of source document at the end of destination document with destination styles. + destDocument.ImportOptions = ImportOptions.UseDestinationStyles; + destDocument.Sections.Add(srcDocument.LastSection.Clone()); + // Releases the resources occupied by WordDocument instance. + srcDocument.Close(); + // Saves the document in the given name and format. + destDocument.Save("Document.docx", FormatType.Docx); + // Releases the resources occupied by WordDocument instance. + destDocument.Close(); + + + 'Creates an new instance of WordDocument class. + Dim srcDocument As New WordDocument("SourceTemplate.docx") + ' Creates an new instance of WordDocument class. + Dim destDocument As New WordDocument("DestinationTemplate.docx") + 'Import the contents of source document at the end of destination document with destination styles. + destDocument.ImportOptions = ImportOptions.UseDestinationStyles + destDocument.Sections.Add(srcDocument.LastSection.Clone()) + ' Releases the resources occupied by WordDocument instance. + srcDocument.Close() + ' Saves the document in the given name and format. + destDocument.Save("Document.docx", FormatType.Docx) + ' Releases the resources occupied by WordDocument instance. + destDocument.Close() + + + + + This flag will be useful for importing styles behavior switching in the scenario of style exist in destination document with same name and type, but different formatting. + + Gets or sets a value indicating whether to import styles with new unique name, if style exist in destination document with same name, type and different formatting. Default value is true + + True: if import styles with same name, type and different formatting into destination document by renaming uniquely; otherwise, false. + + This property is used for defining styles import behavior in the scenario of style exist in destination document with same name and type, but different formatting. + Setting this property to true, styles with same name, type and different formatting will be imported into destination document from source document with new unique name. + Setting it to false, styles with same name, type and different formatting will not be imported and instead the document contents will use the existing matched (same name and type) style. + + + + // Creates an new instance of WordDocument class. + WordDocument srcDocument = new WordDocument(); + // Adds a section and a paragraph in the empty document. + srcDocument.EnsureMinimal(); + // Sets bold to character format of "Normal" style to differentiate source and destination document. + (srcDocument.Styles.FindByName("Normal") as WParagraphStyle).CharacterFormat.Bold = true; + // Creates an new instance of WordDocument class. + WordDocument destDocument = new WordDocument(); + // Adds a section and a paragraph in the empty document. + destDocument.EnsureMinimal(); + // Sets false value to exclude importing duplicate styles to destination document. + destDocument.ImportStyles = false; + destDocument.Sections.Add(srcDocument.LastSection.Clone()); + // Releases the resources occupied by WordDocument instance. + srcDocument.Close(); + // Saves the document in the given name and format. + destDocument.Save("Document.docx", FormatType.Docx); + // Releases the resources occupied by WordDocument instance. + destDocument.Close(); + + + ' Creates an new instance of WordDocument class. + Dim srcDocument As New WordDocument() + ' Adds a section and a paragraph in the empty document. + srcDocument.EnsureMinimal() + ' Sets bold to character format of "Normal" style to differentiate source and destination document. + TryCast(srcDocument.Styles.FindByName("Normal"), WParagraphStyle).CharacterFormat.Bold = True + ' Creates an new instance of WordDocument class. + Dim destDocument As New WordDocument() + ' Adds a section and a paragraph in the empty document. + destDocument.EnsureMinimal() + ' Sets false value to exclude importing duplicate styles to destination document. + destDocument.ImportStyles = False + destDocument.Sections.Add(srcDocument.LastSection.Clone()) + ' Releases the resources occupied by WordDocument instance. + srcDocument.Close() + ' Saves the document in the given name and format. + destDocument.Save("Document.docx", FormatType.Docx) + ' Releases the resources occupied by WordDocument instance. + destDocument.Close() + + + + + + Gets or sets a value indicating whether to import styles with new unique name, if style exist in destination document with same name and different type. Default value is false + + True: if import styles with same name and different type into destination document by renaming uniquely; otherwise, false. + + This property is used for defining styles import behavior in the scenario of style exist in destination document with same name, but different type. + Setting this property to true, styles with same name and different type will be imported into destination document from source document with new unique name. + Setting it to false, styles with same name and different typewill not be imported and instead the document contents will use default style. + + + + // Creates an new instance of WordDocument class. + WordDocument srcDocument = new WordDocument(); + // Adds a section and a paragraph in the empty document. + srcDocument.EnsureMinimal(); + // Creates a paragraph style (with name "Test") and adds into source document. + WParagraphStyle paragraphStyle = new WParagraphStyle(srcDocument); + paragraphStyle.Name = "Test"; + srcDocument.Styles.Add(paragraphStyle); + // Creates an new instance of WordDocument class. + WordDocument destDocument = new WordDocument(); + // Adds a section and a paragraph in the empty document. + destDocument.EnsureMinimal(); + // Creates a character style (with same paragraph styel name in source) and adds into destination document. + WCharacterStyle characterStyle = new WCharacterStyle(destDocument); + characterStyle.Name = "Test"; + destDocument.Styles.Add(characterStyle); + // Sets true value to include importing duplicate styles (mismatched with types) to destination document. + destDocument.ImportStylesOnTypeMismatch = true; + destDocument.Sections.Add(srcDocument.LastSection.Clone()); + // Releases the resources occupied by WordDocument instance. + srcDocument.Close(); + // Saves the document in the given name and format. + destDocument.Save("Document.docx", FormatType.Docx); + // Releases the resources occupied by WordDocument instance. + destDocument.Close(); + + + ' Creates an new instance of WordDocument class. + Dim srcDocument As New WordDocument() + ' Adds a section and a paragraph in the empty document. + srcDocument.EnsureMinimal() + ' Creates a paragraph style (with name "Test") and adds into source document. + Dim paragraphStyle As New WParagraphStyle(srcDocument) + paragraphStyle.Name = "Test" + srcDocument.Styles.Add(paragraphStyle) + ' Creates an new instance of WordDocument class. + Dim destDocument As New WordDocument() + ' Adds a section and a paragraph in the empty document. + destDocument.EnsureMinimal() + ' Creates a character style (with same paragraph styel name in source) and adds into destination document. + Dim characterStyle As New WCharacterStyle(destDocument) + characterStyle.Name = "Test" + destDocument.Styles.Add(characterStyle) + ' Sets true value to include importing duplicate styles (mismatched with types) to destination document. + destDocument.ImportStylesOnTypeMismatch = True + destDocument.Sections.Add(srcDocument.LastSection.Clone()) + ' Releases the resources occupied by WordDocument instance. + srcDocument.Close() + ' Saves the document in the given name and format. + destDocument.Save("Document.docx", FormatType.Docx) + ' Releases the resources occupied by WordDocument instance. + destDocument.Close() + + + + + + Gets or sets a value indicating whether to update fields in the document. + + if update fields, set to true. + + + + Gets the actual format type of the document which was loaded. While creating new document, it returns FormatType.Doc value. Read-only. + + The file format type of this + + + + Gets or sets a dictionary collections which represents the font substitution table. The key should be the font name and the value should be the alternate font name. + + The font substitution table contains an alternative font information for missing fonts in the document. + + The following code example demonstrates how to specify the alternative font information for missing fonts in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Apply the Arial font instead of the Arabic font, if the system does not contains Arabic font + document.FontSubstitutionTable.Add("Arabic", "Arial"); + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Apply the Arial font instead of the Arabic font, if the system does not contains Arabic font + document.FontSubstitutionTable.Add("Arabic", "Arial"); + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets a value indicating whether the document has macros. Read-only. + + + True if the document has macros; otherwise, false. + + + + + + Gets the revision options for the track changes in Word to PDF conversion. + + A that represents the save options for this + + The following code example demonstrates how to set the to preserve track changes in Word to PDF Conversion. + + //Loads an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions | RevisionType.Formatting | RevisionType.Deletions; + //Instantiation of DocToPDFConverter for Word to PDF conversion + DocToPDFConverter converter = new DocToPDFConverter(); + //Converts Word document into PDF document + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + //Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf"); + //Releases all resources used by the object + converter.Dispose(); + //Closes the instance of document objects + wordDocument.Close(); + pdfDocument.Close(true); + + + 'Loads an existing Word document + Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) + 'Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions Or RevisionType.Formatting Or RevisionType.Deletions + 'Instantiation of DocToPDFConverter for Word to PDF conversion + Dim converter As DocToPDFConverter = New DocToPDFConverter + 'Converts Word document into PDF document + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + 'Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf") + 'Releases all resources used by the object + converter.Dispose() + 'Closes the instance of document objects + wordDocument.Close() + pdfDocument.Close(True) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Collection of document sections + + + + + + Collection of document styles + + + + + + Collection of list styles + + + + + + Stores the sequence fields last values. + + + + + Collection of comments para id + + + + + + + + + + Collection of bookmarks + + + + + Collection of editable ranges. + + + + + Collection of fields + + + + + Collection of textboxes + + + + + Collection of revisions + + + + + Collection of meta properties + + + + + Collection of Comments. + + + + + Collection of Comments Extended + + + + + default value for DefaultTabWidth + + + + + default value for CharacterSpacingControl + + + + + + + + + + + + + + + Document's watermark; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Object which holds structured docx format objects with data stream. + + + + + + + + + + + + + + + + + + + + Field is used for FindNext functionality to define next + paragraph item. + + + + + + + + + + + + + + + Non parsed properties read from docx file. + + + + + + + + + + + + + + + paragraphs count in document + + + + + words count in document + + + + + characters count in document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To hold the font settings for the document. + + + + + To hold the hyphentation object for the document. + + + + + To hold the all floating items inside the document + + + + + This flag is used for identify what are all the supported elements triggered in the Document + + + + + Holds the Owner document of the alternate chunk document. + + + + + Holds the track changes balloon count value. + + + + + Index of the current section + + + + + Index of current body item in a section + + + + + Index of current paragraph item in a paragraph + + + + + Index of textrange where the text starts + + + Maintain para item index. Either it is textrange or any other paragraph items. If moving to next paragraph, then rest to 0 + + + + + Index of textrange where the text ends + + + Maintain para item index or matched end textrange index. Either it is textrange or any other paragraph items. If moving to next paragraph, then rest to 0 + + + + + Index where the current text starts i.e., start position in a textrange + + + Set as 0 if moving to next new para. For textrange only, set the value which denotes the start cut position in textrange index. + + + + + Index where the current text ends i.e., end position in a textrange + + + If the current item is matched textrange and it has match in half of the textrange means, then maintain that text end index. Otherwise always maintain as -1. + + + + + Sets the default values for the section formatting. + + + + + + Initializes a new instance of the class from the existing file. + + A string that contains the name of the file from which to create the . + This constructor is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + + //Load an existing Word document into WordDocument instance + WordDocument document = new WordDocument("Sample.docx"); + //Add a new simple paragraph into the last section of the document + IWParagraph paragraph = document.LastSection.AddParagraph(); + //Add a text range into the paragraph + paragraph.AppendText("Hello World!"); + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + + + 'Load an existing Word document into WordDocument instance + Dim document As New WordDocument("Sample.docx") + 'Add a new simple paragraph into the last section of the document + Dim paragraph As IWParagraph = document.LastSection.AddParagraph() + 'Add a text range into the paragraph + paragraph.AppendText("Hello World!") + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + + + + + + + + + Initializes a new instance of the class from the existing file, + which is protected with password. + + A string that contains the name of the file from which to create the . + The password used to decrypt the protected file. + This constructor is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + + //Load an existing Word document into WordDocument instance + WordDocument document = new WordDocument("Sample.docx", "password"); + //Add a new simple paragraph into the last section of the document + IWParagraph paragraph = document.LastSection.AddParagraph(); + //Add a text range into the paragraph + paragraph.AppendText("Hello World!"); + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + + + 'Load an existing Word document into WordDocument instance + Dim document As New WordDocument("Sample.docx", "password") + 'Add a new simple paragraph into the last section of the document + Dim paragraph As IWParagraph = document.LastSection.AddParagraph() + 'Add a text range into the paragraph + paragraph.AppendText("Hello World!") + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + + + + + + + + + Initializes a new instance of the class from the existing file of the specified file format type. + + A string that contains the name of the file from which to create the . + The file format type of this . + This constructor is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + + //Load an existing Word document into WordDocument instance + WordDocument document = new WordDocument("Sample.docx", FormatType.Docx); + //Add a new simple paragraph into the last section of the document + IWParagraph paragraph = document.LastSection.AddParagraph(); + //Add a text range into the paragraph + paragraph.AppendText("Hello World!"); + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + + + 'Load an existing Word document into WordDocument instance + Dim document As New WordDocument("Sample.docx", FormatType.Docx) + 'Add a new simple paragraph into the last section of the document + Dim paragraph As IWParagraph = document.LastSection.AddParagraph() + 'Add a text range into the paragraph + paragraph.AppendText("Hello World!") + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + + + + + + + + + Initializes a new instance of the class from the existing file of the specified file format type with XHTML validation type. + + A string that contains the name of the file from which to create the . + The file format type of this . + The XHTML validation type used to validate the HTML file, if the is . + This constructor is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + + //Load an existing HTML file into WordDocument instance with Strict validation type + WordDocument document = new WordDocument("Sample.html", FormatType.Html, XHTMLValidationType.Strict); + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + + + 'Load an existing HTML file into WordDocument instance with Strict validation type + Dim document As New WordDocument("Sample.html", FormatType.Html, XHTMLValidationType.[Strict]) + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + + + + + + + Initializes a new instance of the class from the + existing file of the specified file format type, which is protected with password. + + A string that contains the name of the file from which to create the . + The file format type of this . + The password used to decrypt the protected file. + This constructor is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + + //Load an existing Word document into WordDocument instance + WordDocument document = new WordDocument("Sample.docx", FormatType.Docx, "password"); + //Add a new simple paragraph into the last section of the document + IWParagraph paragraph = document.LastSection.AddParagraph(); + //Add a text range into the paragraph + paragraph.AppendText("Hello World!"); + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + + + 'Load an existing Word document into WordDocument instance + Dim document As New WordDocument("Sample.docx", FormatType.Docx, "password") + 'Add a new simple paragraph into the last section of the document + Dim paragraph As IWParagraph = document.LastSection.AddParagraph() + 'Add a text range into the paragraph + paragraph.AppendText("Hello World!") + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + + + + + + + + + Gets the File Type for the Given fileName. + + + + + + + Initializes a new instance of the class from the existing data stream of the specified file format type with XHTML validation type. + + A that contains the data for this . + The file format type of this . + The XHTML validation type used to validate the HTML file, if the is . + This constructor is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + + Stream htmlFile = new FileStream("Sample.html", FileMode.Open, FileAccess.Read, FileShare.Read); + //Load an existing Stream into WordDocument instance with Strict validation type + WordDocument document = new WordDocument(htmlFile, FormatType.Html, XHTMLValidationType.Strict); + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + + + Dim htmlFile As Stream = New FileStream("Sample.html", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Load an existing Stream into WordDocument instance with Strict validation type + Dim document As New WordDocument(htmlFile, FormatType.Html, XHTMLValidationType.[Strict]) + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + + + + + + + Initializes a new instance of the class. + + + + //Create an instance of WordDocument class + WordDocument document = new WordDocument(); + //Add a new section into the Word document + IWSection section = document.AddSection(); + //Specify the page margins + section.PageSetup.Margins.All = 50f; + //Add a new simple paragraph into the section + IWParagraph paragraph = section.AddParagraph(); + //Add a text range into the paragraph + paragraph.AppendText("Hello World!"); + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + + + 'Create an instance of WordDocument class + Dim document As New WordDocument() + 'Add a new section into the Word document + Dim section As IWSection = document.AddSection() + 'Specify the page margins + section.PageSetup.Margins.All = 50F + 'Add a new simple paragraph into the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add a text range into the paragraph + paragraph.AppendText("Hello World!") + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + + + + + + + + + + + Initializes a new instance of the class from the existing data stream. + + A that contains the data for this . + + + Stream fileStream = new FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read); + //Load an existing Stream into WordDocument instance + WordDocument document = new WordDocument(fileStream); + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + + + Dim fileStream As Stream = New FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Load an existing Stream into WordDocument instance + Dim document As New WordDocument(fileStream) + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + + + + + + Initializes a new instance of the class from the existing data stream of the specified file format type. + + A that contains the data for this . + The file format type of this . + + + Stream fileStream = new FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read); + //Load an existing Stream into WordDocument instance + WordDocument document = new WordDocument(fileStream, FormatType.Docx); + //Add a new simple paragraph into the last section of the document + IWParagraph paragraph = document.LastSection.AddParagraph(); + //Add a text range into the paragraph + paragraph.AppendText("Hello World!"); + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + + + Dim fileStream As Stream = New FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Load an existing Stream into WordDocument instance + Dim document As New WordDocument(fileStream, FormatType.Docx) + 'Add a new simple paragraph into the last section of the document + Dim paragraph As IWParagraph = document.LastSection.AddParagraph() + 'Add a text range into the paragraph + paragraph.AppendText("Hello World!") + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + + + + + + Initializes a new instance of the class from the existing data stream, + which is protected with password. + + A that contains the data for this . + The password used to decrypt the protected file. + This API is supported from .NET Framework 2.0 and .NET Standard 2.0 onwards. + + + Stream fileStream = new FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read); + //Load an existing Stream into WordDocument instance + WordDocument document = new WordDocument(fileStream, "password"); + //Add a new simple paragraph into the last section of the document + IWParagraph paragraph = document.LastSection.AddParagraph(); + //Add a text range into the paragraph + paragraph.AppendText("Hello World!"); + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + + + Dim fileStream As Stream = New FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Load an existing Stream into WordDocument instance + Dim document As New WordDocument(fileStream, "password") + 'Add a new simple paragraph into the last section of the document + Dim paragraph As IWParagraph = document.LastSection.AddParagraph() + 'Add a text range into the paragraph + paragraph.AppendText("Hello World!") + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + + + + + + Initializes a new instance of the class + from the existing data stream of the specified file format type, which is protected with password. + + A that contains the data for this . + The file format type of this . + The password used to decrypt the protected file. + This API is supported from .NET Framework 2.0 and .NET Standard 2.0 onwards. + + + Stream fileStream = new FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read); + //Load an existing Stream into WordDocument instance + WordDocument document = new WordDocument(fileStream, FormatType.Docx, "password"); + //Add a new simple paragraph into the last section of the document + IWParagraph paragraph = document.LastSection.AddParagraph(); + //Add a text range into the paragraph + paragraph.AppendText("Hello World!"); + //Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + + + Dim fileStream As Stream = New FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Load an existing Stream into WordDocument instance + Dim document As New WordDocument(fileStream, FormatType.Docx, "password") + 'Add a new simple paragraph into the last section of the document + Dim paragraph As IWParagraph = document.LastSection.AddParagraph() + 'Add a text range into the paragraph + paragraph.AppendText("Hello World!") + 'Save the document in the given name and format + document.Save("Document.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + + + + + + Initializes a new instance of the class from the existing WordDocument instance. + + The instance used to create this . + + + + Returns the format type based on the file extension of the given file name. + + + + + + + Creates a new paragraph. + + The this method created. + + + + Adds a single with one , when the document contains no sections. + + + The following code example demonstrates how to add new section with one paragraph to the empty Word document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Creates a new Word document. + WordDocument document = new WordDocument(); + //Add a section and a paragraph in the empty document + document.EnsureMinimal(); + IWParagraph paragraph = document.LastParagraph; + //Append text to the last paragraph of the document + paragraph.AppendText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"); + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Creates a new Word document. + Dim document As New WordDocument() + 'Add a section and a paragraph in the empty document + document.EnsureMinimal() + Dim paragraph As IWParagraph = document.LastParagraph + 'Append text to the last paragraph of the document + paragraph.AppendText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua") + 'Save and close the Word document + document.Save("Comment.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds a new section to document. + + The this method creates. + + The following code example demonstrates how to add a new section to document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText("A new section is added to the document."); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText("A new section is added to the document.") + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds a new paragraph style to the document. + + A String that contains the name of the newly created + The this method creates. + + The following code example demonstrates how to create a custom paragraph style and apply it to a paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + + //Create user defined style + IWParagraphStyle style = document.AddParagraphStyle("User_defined_style"); + style.ParagraphFormat.BackColor = Color.LightGray; + style.ParagraphFormat.AfterSpacing = 18f; + style.ParagraphFormat.BeforeSpacing = 18f; + style.ParagraphFormat.Borders.BorderType = Syncfusion.DocIO.DLS.BorderStyle.DotDash; + style.ParagraphFormat.Borders.LineWidth = 0.5f; + style.ParagraphFormat.LineSpacing = 15f; + style.CharacterFormat.FontName = "Calibri"; + style.CharacterFormat.Italic = true; + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + IWTextRange text = paragraph.AppendText("A new paragraph style is created and is applied to this paragraph."); + //Apply the new style to paragraph + paragraph.ApplyStyle("User_defined_style"); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Create user defined style + Dim style As IWParagraphStyle = document.AddParagraphStyle("User_defined_style") + style.ParagraphFormat.BackColor = Color.LightGray + style.ParagraphFormat.AfterSpacing = 18.0F + style.ParagraphFormat.BeforeSpacing = 18.0F + style.ParagraphFormat.Borders.BorderType = Syncfusion.DocIO.DLS.BorderStyle.DotDash + style.ParagraphFormat.Borders.LineWidth = 0.5F + style.ParagraphFormat.LineSpacing = 15.0F + style.CharacterFormat.FontName = "Calibri" + style.CharacterFormat.Italic = True + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + Dim text As IWTextRange = paragraph.AppendText("A new paragraph style is created and is applied to this paragraph.") + 'Apply the new style to paragraph + paragraph.ApplyStyle("User_defined_style") + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + + + + + Adds new character style to document. + + A String that contains the name of the newly created + The newly created + + + + Adds new list style to document. + + The of the new created. + A String that contains the name of the newly added list style. + The this method creates. + + The following code example demonstrates how to how to create user defined list styles. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new list style to the document + ListStyle listStyle = document.AddListStyle(ListType.Numbered, "UserdefinedList"); + WListLevel levelOne = listStyle.Levels[0]; + //Define the follow character, prefix, suffix, start index for level 0 + levelOne.FollowCharacter = FollowCharacterType.Tab; + levelOne.NumberPrefix = "("; + levelOne.NumberSufix = ")"; + levelOne.PatternType = ListPatternType.LowRoman; + levelOne.StartAt = 1; + levelOne.TabSpaceAfter = 5; + levelOne.NumberAlignment = ListNumberAlignment.Center; + WListLevel levelTwo = listStyle.Levels[1]; + //Define the follow character, suffix, pattern, start index for level 1 + levelTwo.FollowCharacter = FollowCharacterType.Tab; + levelTwo.NumberSufix = "}"; + levelTwo.PatternType = ListPatternType.LowLetter; + levelTwo.StartAt = 2; + + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add text to the paragraph + paragraph.AppendText("User defined list - Level 0"); + //Apply default numbered list style + paragraph.ListFormat.ApplyStyle("UserdefinedList"); + //Add second paragraph + paragraph = section.AddParagraph(); + paragraph.AppendText("User defined list - Level 1"); + //Continue last defined list + paragraph.ListFormat.ContinueListNumbering(); + //Increase the level indent + paragraph.ListFormat.IncreaseIndentLevel(); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new list style to the document + Dim listStyle As ListStyle = document.AddListStyle(ListType.Numbered, "UserdefinedList") + Dim levelOne As WListLevel = listStyle.Levels(0) + 'Define the follow character, prefix, suffix, start index for level 0 + levelOne.FollowCharacter = FollowCharacterType.Tab + levelOne.NumberPrefix = "(" + levelOne.NumberSufix = ")" + levelOne.PatternType = ListPatternType.LowRoman + levelOne.StartAt = 1 + levelOne.TabSpaceAfter = 5 + levelOne.NumberAlignment = ListNumberAlignment.Center + Dim levelTwo As WListLevel = listStyle.Levels(1) + 'Define the follow character, suffix, pattern, start index for level 1 + levelTwo.FollowCharacter = FollowCharacterType.Tab + levelTwo.NumberSufix = "}" + levelTwo.PatternType = ListPatternType.LowLetter + levelTwo.StartAt = 2 + + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add text to the paragraph + paragraph.AppendText("User defined list - Level 0") + 'Apply default numbered list style + paragraph.ListFormat.ApplyStyle("UserdefinedList") + 'Add second paragraph + paragraph = section.AddParagraph() + paragraph.AppendText("User defined list - Level 1") + 'Continue last defined list + paragraph.ListFormat.ContinueListNumbering() + 'Increase the level indent + paragraph.ListFormat.IncreaseIndentLevel() + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + + + + + + Returns a string that contains whole document content as text. + + The text this document contains. + This method is not supported in Silverlight, Windows Phone and Xamarin platforms. + + The following code example demonstrates how to retrieve the Word document contents as a plain text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the document text and close the document + string text = document.GetText(); + document.Close(); + //Create new Word document + WordDocument newdocument = new WordDocument(); + //Add new section + IWSection section = newdocument.AddSection(); + //Add new paragraph + IWParagraph paragraph = section.AddParagraph(); + //Append the text to the paragraph + paragraph.AppendText(text); + //Save and close the document + newdocument.Save("Sample.docx"); + newdocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the document text and close the document + Dim text As String = document.GetText() + document.Close() + 'Create new Word document + Dim newdocument As New WordDocument() + 'Add new section + Dim section As IWSection = newdocument.AddSection() + 'Add new paragraph + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the text to the paragraph + paragraph.AppendText(text) + 'Save and close the document + newdocument.Save("Sample.docx") + newdocument.Close() + End Sub + + + + + + Creates the duplicate copy of this instance. + + The this method duplicated. + + The following code example demonstrates how to clone the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an existing document + WordDocument inputTemplateDoc = new WordDocument("Template.docx"); + //Create a clone of Input Template + WordDocument clonedDocument = inputTemplateDoc.Clone(); + //Close the input template document instance + inputTemplateDoc.Close(); + //Save and Close the cloned document instance + clonedDocument.Save("ClonedDocument.docx"); + clonedDocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an existing document + Dim inputTemplateDoc As New WordDocument(fileName) + 'Create a clone of Input Template + Dim clonedDocument As WordDocument = inputTemplateDoc.Clone() + 'Close the input template document instance + inputTemplateDoc.Close() + 'Save and Close the cloned document instance + clonedDocument.Save("ClonedDocument.docx") + clonedDocument.Close() + End Sub + + + + + + Imports the specified section into the current document. + + The source whose contents are appended at the end of the current instance. + + The following code example demonstrates how to import the section into the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open the source document + WordDocument sourceDocument = new WordDocument("sourceFileName.docx"); + //Open the destination document + WordDocument destinationDocument = new WordDocument("targetFileName.docx"); + //Import the last section of source document at the end of destination document + destinationDocument.ImportSection(sourceDocument.LastSection); + //Close the document instance + sourceDocument.Close(); + //Save the destination document + destinationDocument.Save("outputFileName.docx", FormatType.Docx); + //Close the document instance + destinationDocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open the source document + Dim sourceDocument As New WordDocument(sourceFileName) + 'Open the destination document + Dim destinationDocument As New WordDocument(targetFileName) + 'Import the last section of source document at the end of destination document + destinationDocument.ImportSection(sourceDocument.LastSection) + 'Close the document instance + sourceDocument.Close() + 'Save the destination document + destinationDocument.Save(outputFileName, FormatType.Docx) + 'Close the document instance + destinationDocument.Close() + End Sub + + + + + + Import contents and styles from the source document to the destination document. + + The source whose contents are appended at the end of the current instance. + When source and destination documents have styles with the same names, then Guid is added as a suffix to the name of the imported styles in the destination document. Due to the above duplication of the same style will increase the file size of the document and also it may lead to Out of memory exception if the machine has some limited amount memory. + To resolve the duplication of the same style from source to destination document, use ImportContent(IWordDocument doc, bool importStyles) methods with false value for "importStyle" parameter. + + The following code example demonstrates how to import the contents from source document into destination document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open the source document + WordDocument sourceDocument = new WordDocument("sourceFileName.docx"); + //Open the destination document + WordDocument destinationDocument = new WordDocument("targetFileName.docx"); + //Import the contents of source document at the end of destination document + destinationDocument.ImportContent(sourceDocument); + //Close the document instance + sourceDocument.Close(); + //Save the destination document + destinationDocument.Save("outputFileName.docx", FormatType.Docx); + //Close the document instance + destinationDocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open the source document + Dim sourceDocument As New WordDocument(sourceFileName) + 'Open the destination document + Dim destinationDocument As New WordDocument(targetFileName) + 'Import the contents of source document at the end of destination document + destinationDocument.ImportContent(sourceDocument) + 'Close the document instance + sourceDocument.Close() + 'Save the destination document + destinationDocument.Save(outputFileName, FormatType.Docx) + 'Close the document instance + destinationDocument.Close() + End Sub + + + + + + Import contents from the source document to the destination document with various import options. + + The source whose contents are appended at the end of the current instance. + The that represents the options to import the source document contents to the destination document. + + Essential DocIO supports the importing contents from the source document to the destination document with various import options similar to Microsoft Word copy and paste options. Following are the import options supported by Essential DocIO. + + KeepSourceFormatting - Imports the contents from the source document, applies the default style (Normal), and preserves all other formatting as direct formatting in order to preserve the contents as in source document. Header and footer contents will be imported similar to the UseDestinationStyles option. + MergeFormatting - Imports the contents of the source document to the destination document, and applies the formatting of surrounding content to the destination document. Merges formatting of the contents surrounding it by preserving some of the source formatting (such as bold, italic, underline, and so on). Header and footer contents are imported similar to the UseDestinationStyles option. + KeepTextOnly - Imports only the text from the source document to the destination document (tables, textboxes, pictures, headers, footers, and so on, are removed), similar to content copied from a text file (.txt). + UseDestinationStyles - Imports the contents of the source document to the destination document, and applies the styles present in the destination document, or imports the source style to the destination document when there is no style with the same name in the destination document. + + + + The following code example demonstrates how to import the contents from source document into destination document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open the source document + WordDocument sourceDocument = new WordDocument("sourceFileName.docx"); + //Open the destination document + WordDocument destinationDocument = new WordDocument("targetFileName.docx"); + //Import the contents of source document at the end of destination document + destinationDocument.ImportContent(sourceDocument, ImportOptions.UseDestinationStyles); + //Close the document instance + sourceDocument.Close(); + //Save the destination document + destinationDocument.Save("outputFileName.docx", FormatType.Docx); + //Close the document instance + destinationDocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open the source document + Dim sourceDocument As New WordDocument(sourceFileName) + 'Open the destination document + Dim destinationDocument As New WordDocument(targetFileName) + 'Import the contents of source document at the end of destination document + destinationDocument.ImportContent(sourceDocument, ImportOptions.UseDestinationStyles) + 'Close the document instance + sourceDocument.Close() + 'Save the destination document + destinationDocument.Save(outputFileName, FormatType.Docx) + 'Close the document instance + destinationDocument.Close() + End Sub + + + + + + Imports the document text. + + The doc. + + + + Import contents from the source document to the destination document by specifying whether to import styles that have the same name between the source and destination document. + + The source whose contents are appended at the end of the current instance. + Set to true to import all the styles from the source document to destination document; otherwise, false. + + When importStyles is set to false, all the contents are imported; but, the styles of the source document with style names that do not match with the styles in the destination document are not imported. When the style names match the destination style names, then the same name is applied to the imported contents. This behavior is similar to the Microsoft Word paste option - UseDestinationStyles. + When importStyles is set to true, all the contents and styles of the source document are imported to the destination document. In cases where a style in the source document has the same name as a style in the destination document, "Guid" is added as a suffix to the name of the imported style in order to preserve unique style name. Due to the above duplication of the same style will increase the file size of the document and also it may lead to Out of memory exception if the machine has some limited amount memory. + + + The following code example demonstrates how to import the contents from source document into destination document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open the source document + WordDocument sourceDocument = new WordDocument("sourceFileName.docx"); + //Open the destination document + WordDocument destinationDocument = new WordDocument("targetFileName.docx"); + //Import the contents of source document at the end of destination document + destinationDocument.ImportContent(sourceDocument, true); + //Close the document instance + sourceDocument.Close(); + //Save the destination document + destinationDocument.Save("outputFileName.docx", FormatType.Docx); + //Close the document instance + destinationDocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open the source document + Dim sourceDocument As New WordDocument(sourceFileName) + 'Open the destination document + Dim destinationDocument As New WordDocument(targetFileName) + 'Import the contents of source document at the end of destination document + destinationDocument.ImportContent(sourceDocument, true) + 'Close the document instance + sourceDocument.Close() + 'Save the destination document + destinationDocument.Save(outputFileName, FormatType.Docx) + 'Close the document instance + destinationDocument.Close() + End Sub + + + + + + Adds the built-in style to the collection. + + The that represents the added built-in style of the document. + The this method added to collection. + + The following code example demonstrates how to add the built-in style to the document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Add the built-in style to the document style collection + IStyle style = document.AddStyle(BuiltinStyle.Heading5); + //Apply the added built-in style to the last paragraph of the document + document.LastParagraph.ApplyStyle(style.Name); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Add the built-in style to the document style collection + Dim style As IStyle = document.AddStyle(BuiltinStyle.Heading5) + 'Apply the added built-in style to the last paragraph of the document + document.LastParagraph.ApplyStyle(style.Name) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Get the built in table style. + + + + + + + Checks the table normal style. + + + + + Updates the next style for paragraph build-in style. + + The paragraph build-in style. + + + + Accepts changes tracked from the moment of last change acceptance. + + + The following code example demonstrates how to accept the tracked changes in the document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Check whether document has tracked changes + if (document.HasChanges) + //Accept the changes made to the document + document.AcceptChanges(); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Check whether document has tracked changes + If document.HasChanges Then + 'Accept the changes made to the document + document.AcceptChanges() + End If + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Rejects changes tracked from the moment of last change acceptance. + + + The following code example demonstrates how to reject the tracked changes in the document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Check whether document has tracked changes + if (document.HasChanges) + //Reject the changes made to the document + document.RejectChanges(); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Check whether document has tracked changes + If document.HasChanges Then + 'Reject the changes made to the document + document.RejectChanges() + End If + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Protects the document from unintentional editing. + + The type of protection to be applied. + + The following code example demonstrates how to protect the document from unintentional editing. + This method is not supported in MVC6 and Xamarin platforms. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Apply the protection to the document + document.Protect(ProtectionType.AllowOnlyComments); + //Save and close the document instances + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Apply the protection to the document + document.Protect(ProtectionType.AllowOnlyComments) + 'Save and close the document instances + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Protects the document from unintentional editing with secure password. + + The type of protection to be applied. + The password used for protection. + This method is not supported in MVC6 and Xamarin platforms. + + The following code example demonstrates how to protect the document from unintentional editing. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx", "password"); + //Apply the protection to the document + document.Protect(ProtectionType.AllowOnlyComments); + //Save and close the document instances + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Apply the protection to the document + document.Protect(ProtectionType.AllowOnlyComments, "password") + 'Save and close the document instances + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Resets the attributes of documentProtection to default values + + + + + Protects the document with password from unauthorized access. + + A String used to encrypt the document. + This API is supported from .NET Framework 2.0 and .NET Standard 2.0 onwards. + + The following code example demonstrates how to encrypt the Word document with password. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an input Word document + WordDocument document = new WordDocument("Template.docx"); + //Encrypt the Word document with a password + document.EncryptDocument("password"); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an input Word document + Dim document As New WordDocument("Template.docx") + 'Encrypt the Word document with a password + document.EncryptDocument("password") + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Removes the encryption from the document. + + This API is supported from .NET Framework 2.0 and .NET Standard 2.0 onwards. + + The following code example demonstrates how to remove encrypt from the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an input Word document + WordDocument document = new WordDocument("Template.docx"); + //Remove the encryption from document + document.RemoveEncryption(); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an input Word document + Dim document As New WordDocument("Template.docx") + 'Remove the encryption from document + document.RemoveEncryption(); + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds new style to document. + + Style type + Style name + + + + + Checks the normal style. + + + + + Gets the list/array of items that can be cross-referenced based on the specified reference type. + + + Specifies the type of item you want to insert a cross-reference to. + + The collection that represents the cross reference items in the document. + + + This method returns the cross reference of Bookmarks items only. + + + For bookmarks, it returns the entity collections of BookmarkStart only if the bookmark contains proper start and end. + + + + The following code example demonstrates how to append cross reference for bookmark in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Get the collection of bookmark start in the word document + List< Entity > items = document.GetCrossReferenceItems(ReferenceType.Bookmark); + if (items.Count > 0) + //Change the first cross reference items owner paragraph back color as YelloGreen + (items[0] as BookmarkStart).OwnerParagraph.ParagraphFormat.BackColor = Color.YellowGreen; + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Get the collection of bookmark start in the word document + Dim items As List(Of Entity) = document.GetCrossReferenceItems(ReferenceType.Bookmark) + If items.Count > 0 Then + 'Change the first cross reference items owner paragraph back color as YelloGreen + TryCast(items(0), BookmarkStart).OwnerParagraph.ParagraphFormat.BackColor = Color.YellowGreen + End If + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the bookmarks. + + + + + + Opens the Word Docx document + + The stream contains the document content + + + + Opens the Word XML document + + Name of the file + + + + Opens the Word XML document + + The stream contains the document content + + + + Opens the document from XML format file. + + The name of file + + + + Opens the XML document from stream. + + The stream object + + + + Display any warnings or errors. + + + + + + + Saves the document in XML format. + + The name of target file + + + + Saves the document in XML format. + + The target stream + + + + Saves the document in text format. + + The name of target file + + + + Saves this as text file(.txt) with specified encoding. + + A string that contains the name of the file to save. + The character encoding to use. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + The following code example demonstrates how to convert the Word document into text file. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Save the document as Text file + document.SaveTxt("sample.txt", Encoding.ASCII); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Save the document as Text file + document.SaveTxt("sample.txt", Encoding.ASCII) + 'Close the document + document.Close() + End Sub + + + + + + Saves the document in EPub format. + + + + + + Saves the document as EPub stream + + + + + + Saves the document in open XML format (Docx). + + + + + + Saves the document in Word ML format (WordML). + + file name to save + + + + Saves the document in open XML format (Odt). + + + + + + Saves the document in open XML format (Docx). + + + + + + Saves the document in open XML format (Odt). + + + + + + Saves the document in Word ML format (WordML). + + stream to save + + + + Saves the RTF. + + The stream. + + + + Gets the RTF text. + + + + + + Saves the document in text format. + + The name of target file + + + + Saves the document in markdown text format. + + The name of target file + + + + Saves this as text (.txt) in Stream with specified encoding. + + A to save this . + The character encoding to use. + + The following code example demonstrates how to convert the Word document into text file. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + MemoryStream stream = new MemoryStream(); + //Save the document as Text file + document.SaveTxt(stream, Encoding.ASCII); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + Dim stream As New MemoryStream() + 'Save the document as Text file + document.SaveTxt(stream, Encoding.ASCII) + 'Close the document + document.Close() + End Sub + + + + + + Opens the document in text format. + + The name of target file + + + + Opens the document in markdown format. + + The name of target file + + + + Opens the text. + + The text. + + + + Opens the document in HTML format + + The file stream + XHTML validation type. + + + + Opens doc file. + + + + + + Opens an existing document. + + A string that contains the name of the file to open + + The following code example demonstrates how to open an existing document from file system. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx"); + //Saves the specified document + document.Save("Sample.docx"); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx") + 'Saves the specified document + document.Save("Sample.docx") + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type. + + A string that contains the name of the file to open. + The file format type of the document to open. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + The following code example demonstrates how to open an existing document of the specified type from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx", FormatType.Docx); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx", FormatType.Docx) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type with HTML file validation options and base path for relative path to absolute path conversion. + + A string that contains the name of the file to open. + The file format type of the document to open. + The XHTML validation type used to validate the HTML file, if the is . + Base path which is used to convert the relative path in the HTML file to absolute path. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to open a protected document of the specified type from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx", FormatType.Docx, XHTMLValidationType.Strict, "basePath"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx", FormatType.Docx, "password", XHTMLValidationType.Strict, basePath) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type with HTML file validation options. + + A string that contains the name of the file to open. + The file format type of the document to open. + The XHTML validation type used to validate the HTML file, if the is . + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to open a protected document of the specified type from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx", FormatType.Docx, XHTMLValidationType.Strict); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx", FormatType.Docx, "password", XHTMLValidationType.Strict) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens the HTML document from file. + + Name of the file. + Type of the format. + Type of the validation. + + + + Opens an existing document of the specified file format type, which is protected with password. + + A string that contains the name of the file to open. + The file format type of the document to open. + The password used to decrypt the protected file. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to open a protected document of the specified type from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx", FormatType.Docx, "password"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx", FormatType.Docx, "password") + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens the document from file in XML or Microsoft Word format. + + Name of the file. + Type of the format. + The password. + + + + Updates the type of the format. + + Name of the file. + Type of the format. + + + + Opens an existing document of the specified file format type in read-only mode. + + A string that contains the name of the file to open. + The file format type of the document to open. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + + + Opens an existing document of the specified file format type, which is protected with password in read-only mode. + + A string that contains the name of the file to open. + The file format type of the document to open. + The password used to decrypt the protected file. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + fileName is null. + password is null. + + The following code example demonstrates how to open a protected document of the specified type from file system in read-only mode. + + //Create a new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.OpenReadOnly("Template.docx", FormatType.Docx, "password"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + + + 'Create a new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.OpenReadOnly("Template.docx", FormatType.Docx, "password") + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + + + + + + Opens an existing document of the specified file format type with HTML file validation options in read-only mode. + + A string that contains the name of the file to open. + The file format type of the document to open. + The XHTML validation type used to validate the HTML file, if the is . + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + fileName is null. + + The following code example demonstrates how to open an existing document of the specified type from file system with XHTML validation options in read-only mode. + + //Create a new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.OpenReadOnly("Template.docx", FormatType.Docx, XHTMLValidationType.Strict); + //Saves the specified document + document.Save("Sample.Docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + + + 'Create a new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.OpenReadOnly("Template.docx", FormatType.Docx, XHTMLValidationType.Strict) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + + + + + + Opens an existing document of the specified file format type with HTML file validation options and base path for relative path to absolute path conversion in read-only mode. + + A string that contains the name of the file to open. + The file format type of the document to open. + The XHTML validation type used to validate the HTML file, if the is . + Base path which is used to convert the relative path in the HTML file to absolute path. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + fileName is null. + baseUrl is null. + + The following code example demonstrates how to open an existing document of the specified type from file system with XHTML validation options in read-only mode. + + //Create a new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.OpenReadOnly("Template.docx", FormatType.Docx, XHTMLValidationType.Strict, "basePath"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + + + 'Create a new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.OpenReadOnly("Template.docx", FormatType.Docx, XHTMLValidationType.Strict, basePath) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + + + + + + Saves this to the specified file. + + A string that contains the name of the document to save. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + The following code example demonstrates how to open an existing document from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx"); + //Saves the specified document + document.Save("Sample.docx"); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx") + 'Saves the specified document + document.Save("Sample.docx") + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Saves this to the specified file in the specified format. + + A string that contains the name of the document to save. + The format in which the document is saved. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform and Xamarin platforms. + + The following code example demonstrates how to open an existing document from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx") + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + If the file name extension mismatches the FormatType parameter specified for saving the document, + then the file will be saved in the format specified by FormatType parameter and wrong extension as specified by file name parameter. + If the FormatType is specified as Automatic, then the document will be saved in the format specified by file name extension + + + + Saves the document into file in specified format type. + + The FileName. + The FormatType. + + + + Saves the document in markdown format. + + + + + + Saves document in Markdown format. + + A string that contains the name of the file to save. + The character encoding to use. + + + + Saves this as EPUB. + + A string that contains the name of the file to save. + The cover page image of the EPUB. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to convert the Word document to EPub file. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + MemoryStream stream = new MemoryStream(); + //Create the new WPicture for cover page image + WPicture coverImage = new WPicture(document); + coverImage.LoadImage(Image.FromFile("CoverImage.png")); + //Save the document as EPUB + document.SaveAsEpub("sample.epub", coverImage); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + Dim stream As New MemoryStream() + 'Create the new WPicture for cover page image + Dim coverImage As New WPicture(document) + coverImage.LoadImage(Image.FromFile("CoverImage.png")) + 'Save the document as EPUB + document.SaveAsEpub("sample.epub", coverImage) + 'Close the document + document.Close() + End Sub + + + + + + Saves the document as Doc format. + + Name of the file. + + + + Saves this to the specified file in the specified format. + + A string that contains the name of the document to save. + The format in which the document is saved. + The HTTP response information. + Specifies options to stream content to browser. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to open an existing document from file system. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + //Open an existing document from file system + document.Open("Template.docx"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx,HttpContext.Current.Response, HttpContentDisposition.Attachment); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + 'Open an existing document from file system + document.Open("Template.docx") + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx, Response, HttpContentDisposition.Attachment) + 'Close the WordDocument instance + document.Close() + End Sub + + + If the file name extension mismatches the FormatType parameter specified for saving the document, + then the file will be saved in the format specified by FormatType parameter and wrong extension as specified by file name parameter. + If the FormatType is specified as Automatic, then the document will be saved in the format specified by file name extension + + + + Saves the specified file name. + + The FileName. + The FormatType. + The response. + The content disposition. + + + + Saves this as EPUB. + + A string that contains the name of the file to save. + The cover page image of the EPUB. + The HTTP response information. + Specifies options to stream content to browser. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + MemoryStream stream = new MemoryStream(); + //Create the new WPicture for cover page image + WPicture coverImage = new WPicture(document); + coverImage.LoadImage(Image.FromFile("CoverImage.png")); + //Save the document as EPUB + document.SaveAsEpub("sample.epub", coverImage, HttpContext.Current.Response, HttpContentDisposition.Attachment); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + Dim stream As New MemoryStream() + 'Create the new WPicture for cover page image + Dim coverImage As New WPicture(document) + coverImage.LoadImage(Image.FromFile("CoverImage.png")) + 'Save the document as EPUB + document.SaveAsEpub("sample.epub", coverImage, Response, HttpContentDisposition.Attachment) + 'Close the document + document.Close() + End Sub + + + + + + Saves the dot. + + Name of the file. + + + + Saves the document in RTF format. + + Name of the file. + + + + Opens an existing document of the specified file format type from the data stream with HTML file validation options and base path for relative path to absolute path conversion. + + A that contains the data for this . + The file format type of the document to open. + The XHTML validation type used to validate the html file, if the is . + Base path which is used to convert the relative path in the HTML file to absolute path. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to open an existing document of the specified type from data stream with XHTML validation options. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + Stream fileStream = new FileStream("Sample.html", FileMode.Open, FileAccess.Read, FileShare.Read); + //Open an existing document from file system + document.Open(fileStream, FormatType.Docx, XHTMLValidationType.Strict, "basepath"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + Dim fileStream As Stream = New FileStream("Sample.html", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Open an existing document from file system + document.Open(fileStream, FormatType.Docx, XHTMLValidationType.Strict, basepath) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type from the data stream with HTML validation options. + + A that contains the data for this . + The file format type of the document to open. + The XHTML validation type used to validate the HTML file, if the is . + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, UNiversal Windows Platform, MVC6 and Xamarin platforms. + + The following code example demonstrates how to open an existing document of the specified type from data stream with XHTML validation options. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + Stream fileStream = new FileStream("Sample.html", FileMode.Open, FileAccess.Read, FileShare.Read); + //Open an existing document from file system + document.Open(fileStream, FormatType.Docx, XHTMLValidationType.Strict); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + Dim fileStream As Stream = New FileStream("Sample.html", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Open an existing document from file system + document.Open(fileStream, FormatType.Docx, XHTMLValidationType.Strict) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens the HTML document from stream. + + The stream. + Type of the format. + Type of the validation. + + + + Opens an existing document of the specified file format type from the data stream. + + A that contains the data for this . + The file format type of the document to open. + + The following code example demonstrates how to open an existing document of the specified type from data stream. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + Stream fileStream = new FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read); + //Open an existing document from file system + document.Open(fileStream, FormatType.Docx); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + Dim fileStream As Stream = New FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Open an existing document from file system + document.Open(fileStream, FormatType.Docx) + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens an existing document of the specified file format type from the data stream, which is protected with password. + + A that contains the data for this . + The file format type of the document to open. + The password used to decrypt the document. + This API is supported from .NET Framework 2.0 and .NET Standard 2.0 onwards. + + The following code example demonstrates how to open a protected document of the specified type from data stream. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an new instance of WordDocument class + WordDocument document = new WordDocument(); + Stream fileStream = new FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read); + //Open an existing document from file system + document.Open(fileStream, FormatType.Docx, "password"); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an new instance of WordDocument class + Dim document As New WordDocument() + Dim fileStream As Stream = New FileStream("Sample.docx", FileMode.Open, FileAccess.Read, FileShare.Read) + 'Open an existing document from file system + document.Open(fileStream, FormatType.Docx, "password") + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + End Sub + + + + + + Opens the document from stream. + + The Stream. + The FormatType. + The Password. + + + + Open an Rtf file + + + + + Opens the RTF. + + The RTF text. + + + + Updates the type of the format. + + The stream. + Type of the format. + + + + Saves this to the specified stream in the specified file format type. + + The Stream where the document will be saved. + The format in which the document is saved. + + The following code example demonstrates how to save the document to MemoryStream + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + MemoryStream stream = new MemoryStream(); + //Save the document to stream + document.Save(stream, FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + Dim stream As New MemoryStream() + 'Save the document to stream + document.Save(stream, FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Get the roman value for the number + + + + + + + Gets the chinese expression for a number within ten thousand + + + + + + + Gets the chinese expression of a number + + + + + + + To Get alphabet letter + + + + + + + Gets the Spanish cardinal text string. + + if set to true [cardinal string]. + The text. + + + + + Gets the card text string. + + if set to true [cardinal string]. + The text. + + + + + Gets the ord text string. + + if set to true [ordinal string]. + The text. + + + + + Gets the Spanish ordinal text string. + + if set to true [ordinal string]. + The text. + + + + + Numbers to Spanish words. + + The number. + if set to true [is card text]. + + + + + Numbers to words. + + The number. + if set to true [is card text]. + + + + + Saves the document into stream in specified format type. + + The Stream. + The FormatType. + + + + Get's Ordinal List Value + + + + + + + Get's Ordinal in Swedish + + + + + + + Get's Ordinal in Catalan + + + + + + + Get's Ordinal in Danish + + + + + + + Get's Ordinal in English (Default) + + + + + + + Release the resources occupied by this instance. + + + + + Releases all resources used by the object. + + + + + Compares the array. + + The buffer1. + The buffer2. + + + + + + + + + + Closes the content of the sections. + + + + + Closes the styles. + + + + + Converts the whole document into an images. + + An ImageType that specifies the type of the image to render. + Return the array of images that contains the each document page as single image. + + + Layouting the contents of a Word document as pages in the Essential DocIO is not exactly the same as the layouting in Microsoft Word. So, the total number of pages and each page content may vary slightly compared to that of the Microsoft Word. + + + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + is not supported when running in Azure environment, only is available. So, is used instead of automatically when rendering in Azure environment. + + + + The following code example demonstrates how to convert the Word document to image. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = new ChartToImageConverter(); + //Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal; + //Convert word document to image + Image[] images = wordDocument.RenderAsImages(ImageType.Bitmap); + //Close the document + wordDocument.Close(); + int i = 0; + foreach (Image image in images) + { + //Save the images as jpeg + image.Save("WordToImage_" + i + ".jpeg", ImageFormat.Jpeg); + i++; + } + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) + 'Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = New ChartToImageConverter() + 'Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal + 'Convert word document to image + Dim images As Image() = wordDocument.RenderAsImages(ImageType.Bitmap) + 'Close the document + wordDocument.Close() + Dim i As Integer = 0 + For Each image As Image In images + 'Save the images as jpeg + image.Save("WordToImage_" & i & ".jpeg", ImageFormat.Jpeg) + i += 1 + Next + End Sub + + + + + + + Converts the specified document page into image. + + + The zero based page index that represent which page to convert. + + + An ImageFormat that specifies the format of the saved image. + + + An that represent specified document page as image. + + + + Layouting the contents of a Word document as pages in the Essential DocIO is not exactly the same as the layouting in Microsoft Word. So, the total number of pages may vary slightly compared to that of the Microsoft Word. + + + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + is not supported when running in Azure environment, only is available. So, is used instead of automatically when rendering in Azure environment. + + + + The following code example demonstrates how to convert the Word document to image. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = new ChartToImageConverter(); + //Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal; + //Convert word document to stream + Stream imageStream = wordDocument.RenderAsImages(2, System.Drawing.Imaging.ImageFormat.Bmp); + //Close the document + wordDocument.Close(); + //Convert the stream to Image + Image image = Image.FromStream(imageStream); + //Save the image as jpeg + image.Save("WordToImage.jpeg", ImageFormat.Jpeg); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) + 'Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = New ChartToImageConverter() + 'Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal + 'Convert word document to stream + Dim imageStream As Stream = wordDocument.RenderAsImages(2, System.Drawing.Imaging.ImageFormat.Bmp) + 'Close the document + wordDocument.Close() + 'Convert the stream to Image + Dim image As Image = Image.FromStream(imageStream) + 'Save the image as jpeg + image.Save("WordToImage.jpeg", ImageFormat.Jpeg) + End Sub + + + + + + + Converts the specified document page into image. + + + The zero based page index that represent which page to convert. + + + An ImageType that specifies the type of the image to render. + + + An that represent specified document page as image. + + + + Layouting the contents of a Word document as pages in the Essential DocIO is not exactly the same as the layouting in Microsoft Word. So, the total number of pages may vary slightly compared to that of the Microsoft Word. + + + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + is not supported when running in Azure environment, only is available. So, is used instead of automatically when rendering in Azure environment. + + + + The following code example demonstrates how to convert the specified Word document page as image. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = new ChartToImageConverter(); + //Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal; + //Convert word document to image + Image image = wordDocument.RenderAsImages(2, ImageType.Bitmap); + //Close the document + wordDocument.Close(); + //Save the image + image.Save("WordToImage.jpeg", ImageFormat.Jpeg); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) + 'Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = New ChartToImageConverter() + 'Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal + 'Convert word document to image + Dim image As Image = wordDocument.RenderAsImages(2, ImageType.Bitmap) + 'Close the document + wordDocument.Close() + 'Save the images as jpeg + image.Save("WordToImage_" & i & ".jpeg", ImageFormat.Jpeg) + End Sub + + + + + + + Converts the specified range of document pages into images + + + The zero based page index that represents the starting document page index. + + + The total number of pages to convert. + + + An ImageType That specifies the type of the image to render. + + + An array of images that represent specified range of document pages as images. + + + + Layouting the contents of a Word document as pages in the Essential DocIO is not exactly the same as the layouting in Microsoft Word. So, the total number of pages may vary slightly compared to that of the Microsoft Word. + + + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + is not supported when running in Azure environment, only is available. So, is used instead of automatically when rendering in Azure environment. + + + + The following code example demonstrates how to convert the Word document to image. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = new ChartToImageConverter(); + //Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal; + //Convert word document to image + Image[] images = wordDocument.RenderAsImages(0, 2, ImageType.Bitmap); + //Close the document + wordDocument.Close(); + int i = 0; + foreach (Image image in images) + { + //Save the images as jpeg + image.Save("WordToImage_" + i + ".jpeg", ImageFormat.Jpeg); + i++; + } + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) + 'Initialize ChartToImageConverter for converting charts during Word to image conversion + wordDocument.ChartToImageConverter = New ChartToImageConverter() + 'Set the scaling mode for charts (Normal mode reduces the file size) + wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal + 'Convert word document to image + Dim images As Image() = wordDocument.RenderAsImages(0, 2, ImageType.Bitmap) + 'Close the document + wordDocument.Close() + Dim i As Integer = 0 + For Each image As Image In images + 'Save the images as jpeg + image.Save("WordToImage_" & i & ".jpeg", ImageFormat.Jpeg) + i += 1 + Next + End Sub + + + + + + + Finds the text based on specified regular expression. + + + The used to find the text. + + + The that contains the found text in the document. + + + The following code example demonstrates how to find a particular text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of a particular text in the document + TextSelection textSelection = document.Find(new Regex("panda")); + //Get the found text as single text range + WTextRange textRange = textSelection.GetAsOneRange(); + //Modify the text + textRange.Text = "Replaced text"; + //Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow; + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of a particular text in the document + Dim textSelection As TextSelection = document.Find(New Regex("panda")) + 'Get the found text as single text range + Dim textRange As WTextRange = textSelection.GetAsOneRange() + 'Modify the text + textRange.Text = "Replaced text" + 'Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Finds the first entry of specified pattern of text in single-line mode which is extended to several paragraph in the document. + + The used to find the text. + The collection that contains the found text in the document. + + The following code example demonstrates how to + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text extended to several paragraphs in the document + TextSelection[] textSelections = document.FindSingleLine(new Regex("First paragraph Second paragraph")); + WParagraph paragraph = null; + foreach (TextSelection textSelection in textSelections) + { + //Get the found text as single text range and set highlight color + WTextRange textRange = textSelection.GetAsOneRange(); + textRange.CharacterFormat.HighlightColor = Color.YellowGreen; + paragraph = textRange.OwnerParagraph; + } + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text extended to several paragraphs in the document + Dim textSelections As TextSelection() = document.FindSingleLine(new Regex("First paragraph Second paragraph")) + Dim paragraph As WParagraph = Nothing + For Each textSelection As TextSelection In textSelections + 'Get the found text as single text range and set highlight color + Dim textRange As WTextRange = textSelection.GetAsOneRange() + textRange.CharacterFormat.HighlightColor = Color.YellowGreen + paragraph = textRange.OwnerParagraph + Next + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + This API not works for the text inside an. + + + + Finds the text based on specified string, taking into the consideration of caseSensitive and wholeWord options. + + + A string used to find the text. + + + Set to true to match the similar case text which specified in the parameter; otherwise false. + + + Set to true to match the whole word text which specified in the parameter; otherwise false. + + + The that contains the found text in the document. + + + The following code example demonstrates how to find a particular text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of a particular text in the document + TextSelection textSelection = document.Find("panda", true, true); + //Get the found text as single text range + WTextRange textRange = textSelection.GetAsOneRange(); + //Modify the text + textRange.Text = "Replaced text"; + //Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow; + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of a particular text in the document + Dim textSelection As TextSelection = document.Find("panda", true, true) + 'Get the found text as single text range + Dim textRange As WTextRange = textSelection.GetAsOneRange() + 'Modify the text + textRange.Text = "Replaced text" + 'Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Finds the first entry of specified pattern of text in single-line mode which is extended to several paragraph in the document, taking into the consideration of caseSensitive and wholeWord options. + + + A string used to find the text. + + + Set to true to match the similar case text which specified in the parameter; otherwise false. + + + Set to true to match the whole word text which specified in the parameter; otherwise false. + + The collection that contains the found text in the document. + + The following code example demonstrates how to + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text extended to several paragraphs in the document + TextSelection[] textSelections = document.FindSingleLine("First paragraph Second paragraph", true, false); + WParagraph paragraph = null; + foreach (TextSelection textSelection in textSelections) + { + //Get the found text as single text range and set highlight color + WTextRange textRange = textSelection.GetAsOneRange(); + textRange.CharacterFormat.HighlightColor = Color.YellowGreen; + paragraph = textRange.OwnerParagraph; + } + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text extended to several paragraphs in the document + Dim textSelections As TextSelection() = document.FindSingleLine("First paragraph Second paragraph", True, False) + Dim paragraph As WParagraph = Nothing + For Each textSelection As TextSelection In textSelections + 'Get the found text as single text range and set highlight color + Dim textRange As WTextRange = textSelection.GetAsOneRange() + textRange.CharacterFormat.HighlightColor = Color.YellowGreen + paragraph = textRange.OwnerParagraph + Next + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + This API not works for the text inside an. + + + + Finds and returns all entries of the specified regular expression. + + + The used to find the text. + + + The collection that contains all the entries of the found text in the document. + + + The following code example demonstrates how to search a particular text and highlight it. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Find the occurrence of the Word "panda" in the document + TextSelection[] textSelection = document.FindAll(new Regex("panda")); + //Iterate through each occurrence and highlight it + foreach (TextSelection selection in textSelection) + { + IWTextRange textRange = selection.GetAsOneRange(); + textRange.CharacterFormat.HighlightColor = Color.Yellow; + } + //Save and Close the document + document.Save("Result.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Find the occurrence of the word "panda" in the document + Dim textSelection As TextSelection() = document.FindAll(new Regex("panda")) + 'Iterate through each occurrence and highlight it + For Each selection As TextSelection In textSelection + Dim textRange As IWTextRange = selection.GetAsOneRange() + textRange.CharacterFormat.HighlightColor = Color.Yellow + Next + document.Save("Result.docx") + document.Close() + End Sub + + + + + + + Find the text in main body while comparing Word documents. + We handled find for textbody to check headers and footers. + + Represents the Regex for finding item + /// Represents the Document Comparison or not + + + + Finds and returns all entries of the specified string, taking into the consideration of caseSensitive and wholeWord options. + + + A string used to find the text. + + + Set to true to match the similar case text which specified in the parameter; otherwise false. + + + Set to true to match the whole word text which specified in the parameter; otherwise false. + + + The collection that contains all the entries of the found text in the document. + + + The following code example demonstrates how to search a particular text and highlight it. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Find the occurrence of the Word "panda" in the document + TextSelection[] textSelection = document.FindAll("panda", false, true); + //Iterate through each occurrence and highlight it + foreach (TextSelection selection in textSelection) + { + IWTextRange textRange = selection.GetAsOneRange(); + textRange.CharacterFormat.HighlightColor = Color.Yellow; + } + //Save and Close the document + document.Save("Result.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Find the occurrence of the word "panda" in the document + Dim textSelection As TextSelection() = document.FindAll("panda", false, true) + 'Iterate through each occurrence and highlight it + For Each selection As TextSelection In textSelection + Dim textRange As IWTextRange = selection.GetAsOneRange() + textRange.CharacterFormat.HighlightColor = Color.Yellow + Next + document.Save("Result.docx") + document.Close() + End Sub + + + + + + + Replaces all entries of the given with the replace string. + + The used to find the text. + The string specifies the text to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Replace all occurrence of a particular text in the document + document.Replace(new Regex("Paragraph"),"paragraph"); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Replace all occurrence of a particular text in the document + document.Replace(New Regex("Paragraph"), "paragraph") + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with replace string, taking into + consideration of case sensitive and whole word options. + + The string represents the text to be found. + The string specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Replace all occurrence of a particular text in the document + document.Replace("Paragraph","paragraph", false, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Replace all occurrence of a particular text in the document + document.Replace("Paragraph", "paragraph", False, True) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with , taking into + consideration case sensitive and whole word options. + + The string represents the text to be found. + The specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace("Giant panda", selection, true, false); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace("Giant panda", selection, True, False) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with , taking into + consideration case sensitive, whole word and formatting options. + + The string represents the text to be found. + The specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + Set to true if to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace("Giant panda", selection, true, false, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace("Giant panda", selection, True, False, False) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces the specified regular expression with a in the document. + + The used to find the text. + The specifies the text to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace(new Regex("Giant panda"), selection); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace(New Regex("Giant panda"), selection) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression in the document with the + along with its formatting. + + The used to find the text. + The specifies the text to replace. + Set to true to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace(new Regex("Giant panda"), selection, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the document + document.Replace(New Regex("Giant panda"), selection, True) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with , taking into + consideration case sensitive, whole word options. + + The string represents the text to be found. + The text body part to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + if it specifies whole word, set to true. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.Replace("Giant panda", bodyPart, true, false); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.Replace("Giant panda", bodyPart, True, False) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with , taking into + consideration case sensitive, whole word and formatting options. + + The string represents the text to be found. + The text body part to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false.. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + Set to true to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.Replace("Giant panda", bodyPart, true, false, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.Replace("Giant panda", bodyPart, True, False, True) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression in the document with the + . + + The used to find the text. + The text body part to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.Replace(new Regex("Giant panda"), bodyPart); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.Replace(New Regex("Giant panda"), bodyPart) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression in the document with the + along with its formatting. + + The used to find the text. + The text body part to replace. + Set to true to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Find the first occurrence of the regular expression + TextSelection selection = document.Find(new Regex("Panda")); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.Replace(new Regex("Giant panda"), bodyPart, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = document.Find(New Regex("Panda")) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.Replace(New Regex("Giant panda"), bodyPart, True) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with another Word document, taking into + consideration case sensitive, whole word options. + + The string represents the text to be found. + The Word document to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Load the another existing Word document to replace + WordDocument replaceDocument = new WordDocument("Replace.docx"); + //Replace all occurrence of a particular regular expression with the another document and close the document + document.Replace("Giant panda", replaceDocument, true, false); + replaceDocument.Close(); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Load the another existing Word document to replace + Dim replaceDocument As New WordDocument("Replace.docx") + 'Replace all occurrence of a particular regular expression with the another document and close the document + document.Replace("Giant panda", replaceDocument, True, False) + replaceDocument.Close(); + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the document with another Word document, taking into + consideration case sensitive, whole word and formatting options. + + The string represents the text to be found. + The Word document to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + Set to true to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Load the another existing Word document to replace + WordDocument replaceDocument = new WordDocument("Replace.docx"); + //Replace all occurrence of a particular regular expression with the another document and close the document + document.Replace("Giant panda", replaceDocument, true, false, true); + replaceDocument.Close(); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Load the another existing Word document to replace + Dim replaceDocument As New WordDocument("Replace.docx") + 'Replace all occurrence of a particular regular expression with the another document and close the document + document.Replace("Giant panda", replaceDocument, True, False, True) + replaceDocument.Close(); + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression in the document with the + another word document along with its formatting. + + The used to find the text. + The Word document to replace. + Set to true to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //Load the another existing Word document to replace + WordDocument replaceDocument = new WordDocument("Replace.docx"); + //Replace all occurrence of a particular regular expression with the another document and close the document + document.Replace(new Regex("Giant panda"), replaceDocument, true); + replaceDocument.Close(); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + 'Load the another existing Word document to replace + Dim replaceDocument As New WordDocument("Replace.docx") + 'Replace all occurrence of a particular regular expression with the another document and close the document + document.Replace(New Regex("Giant panda"), replaceDocument, True) + replaceDocument.Close(); + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Updates Paragraphs count, Word count and Character count in the document. + + + The following code example demonstrates how to update Paragraphs count, Word count and Character count in the document. + + //Open an input word template + WordDocument document = new WordDocument(@"Template.docx", FormatType.Automatic); + //Update the Paragraphs count, Word count and Character count in the document + document.UpdateWordCount(); + //Save and close the Word document instance. + document.Save("Output.docx", FormatType.Docx); + document.Close(); + } + + + 'Open an input word template + Dim document As New WordDocument("Template.docx", FormatType.Automatic) + 'Update the Paragraphs count, Word count and Character count in the document. + document.UpdateWordCount() + 'Save and close the Word document instance. + document.Save("Output.docx", FormatType.Docx) + document.Close() + + + + + + Updates the word count and character count for Fields in the document + + + + + Splits the text into words by replacing the characters that are not considered for word and char count + + The string represents the text to be split + Arrays of words split + + + + Updates Paragraphs count, Word count and Character count. Updates page count if performLayout set to true using Doc to PDF layouting engine. + + Set to true to update the page count of the document using Word to PDF layouting engine; otherwise, false. + + This method is not supported in Silverlight, WinRT, Universal, Universal Windows Platform, MVC6, Xamarin and windows phone platforms. + + + The following code example demonstrates how to update Page count, Paragraphs count, Word count and Character count in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open an input word template + WordDocument document = new WordDocument(@"Template.docx"); + //Update the Page count, Paragraphs count, Word count and Character count in the document + document.UpdateWordCount(true); + //Save and close the Word document instance. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open an input word template + Dim document As New WordDocument("Template.docx") + 'Update the Page count, Paragraphs count, Word count and Character count in the document. + document.UpdateWordCount(True) + 'Save and close the Word document instance. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Updates Paragraphs count, Word count and Character count. Updates page count if performLayout set to true using Word to PDF layout engine. + + Set to true to update the page count of the document using Word to PDF layout engine; otherwise, false. + + + + Updates fields present in the document. + + + Updating of NUMPAGES field and Cross Reference field with Page number and Paragraph number options are not supported in Silverlight, WinRT, Universal and Windows Phone platforms. + Currently group shapes, drawing canvas, and table auto resizing are not supported in Word to PDF lay outing, and this may lead to update incorrect page number and total number of pages. + While updating NUMPAGES field and Cross Reference field with Page number and Paragraph number options uses makes use of our Word to PDF layouting engine which may lead to take some considerable amount of performance to update the above mentioned fields. + + + The following code example demonstrates how to update the fields present in Word document. + + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Input.docx", FormatType.Docx); + //Updates the fields present in a document. + document.UpdateDocumentFields(); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Input.docx", FormatType.Docx) + 'Updates the fields present in a document. + document.UpdateDocumentFields() + document.Save("Result.docx", FormatType.Docx) + document.Close() + + + + + + Updates fields present in the document. Updates page field if performLayout set to true using Doc to PDF layouting engine. + + Set to true to update the page field in the document using Word to PDF layout engine; otherwise, false. + + + + Update sequence field values for sequence field which refer the bookmark. + + + + + + Gets the bookmark sequence field result. + + + + + + + Updates fields present in the document in optimal way. + + + Updating of NUMPAGES field and Cross Reference field with Page number and Paragraph number options are not supported in Silverlight, WinRT, Universal, Windows Phone and Xamarin platforms. + Currently group shapes, drawing canvas, and table auto resizing are not supported in Word to PDF lay outing, and this may lead to update incorrect page number and total number of pages. + While updating NUMPAGES field and Cross Reference field with Page number and Paragraph number options uses makes use of our Word to PDF layouting engine which may lead to take some considerable amount of performance to update the above mentioned fields. + + + + + Updates the Alternate chunks present in the Word document + + + The following code example demonstrates how to update the Alternate chunks present in Word document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Input.docx", FormatType.Docx); + //Updates the Alternate chunks present in a document. + document.UpdateAlternateChunks(); + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Input.docx", FormatType.Docx) + 'Updates the Alternate chunks present in a document. + document.UpdateAlternateChunks() + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Get the first Alternate chunk of the section. + + The first AlternateChunk of the section, or null if none is found. + + + + Get the last Alternate chunk of the section. + + The last AlternateChunk of the section, or null if none is found. + + + + Updates the bookmark page cross reference fields. + + The pageref fields. + The layouter. + + + + Updates the bookmark cross reference fields. + + The reference fields. + + + + Updates the list value. + + The textbody. + The index. + The list value collections. + The level number collections. + + + + Updates the header footer list values. + + The list value collections. + The level number collections. + + + + Updates the shape list values. + + The list value collections. + The level number collections. + + + + Updates the end note list values. + + The list value collections. + The level number collections. + + + + Updates the foot note list values. + + The list value collections. + The level number collections. + + + + Updates the comment list values. + + The list value collections. + The level number collections. + + + + Updates the section list values. + + The list value collections. + The level number collections. + + + + Gets the paragraph number. + + The reference fields. + The bk start. + The owner para. + The level. + The separator. + The referencekind. + The paragraph list value. + The paragraph level numbers. + + + + + Gets the entity owner text body. + + The para. + + + + + Checking for NumPages/PageRef/Ref field present in the document + + + + + check all text body items + + + + + + Gets the text from paragraph item collection present in the owner paragraph + + Para items in owner paragraph + + + + + Check all cell in table + + + + + + Calculate paragraphs count, word count and character count + + + + + + Update Table of contents in the document. + + + Updating TOC makes use of our Word to PDF layouting engine which may lead to the updation of incorrect page number due to its limitations. Also use of WOrd to PDF layout engine may lead to take some considerable amount of performance to update the page numbers. + + + The following code example demonstrates how to update a TOC in an existing word document. + + //Open an input word template + WordDocument document = new WordDocument(@"Template.docx"); + //Update the table of contents. + document.UpdateTableOfContents(); + //Save and close the Word document instance. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Open an input word template + Dim document As New WordDocument("Template.docx") + 'Update the table of contents. + document.UpdateTableOfContents() + 'Save and close the Word document instance. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Update Table of contents in the document. + + + + + Updates the list. + + The paragraph. + + + + Update the suffix equivalent to list level + + The list format. + Name of the style. + The level. + Index of the list item. + + + + Updates the number prefix. + + The level number prefix. + The list format. + Returns the updated number prefix. + + + + Gets the display level text. (String literal) + + Level text which specified in file level. + + + + + Clears the list collection. + + + + + + Ensures the level restart. + + The format. + Name of the style. + if set to true full restart is performed. + + + + Gets the list item index value. + + The List format + Name of the style. + + + + + Gets the list start value. + + The format. + Name of the style. + + + + + We have to reset the startat value in "lstStyle" dictionary for the levels which + exists inbetween current and previous paragraph referred levels when leveltext of + current paragrah is more than one time increased While compare with leveltext of + previous paragraph. + + + + + + + + + Gets the list value. + + The list format. + Name of the style. + The level. + The start at. + Index of the list item. + + + + + Gets the ordered prefix value of level number. + + The level number prefix. + The ordered level number prefix. + + + + Gets the list prefix string, based on list level number + + Current list level number + List format entire prefix string + currentListLevelPrefix value + + + + Gets the list start value. + + The level. + list value. + value. + Index of the list item. + List prefix text value + + + + + Sort the Keys + + keys + returns keys value + + + + Replaces all entries of given string which is extended to several paragraphs in the document with replace string, taking into + consideration of case sensitive and whole word options. + + The string represents the text to be found. + The string specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace the text extended to several paragraphs with simple text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Replace the text extended to two paragraphs with simple text + document.ReplaceSingleLine("First paragraph Second paragraph", "Replaced paragraph", true, false); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Replace the text extended to two paragraphs with simple text + document.ReplaceSingleLine("First paragraph Second paragraph", "Replaced paragraph", True, False) + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + This API not works for the text inside an. + + + + Replaces all entries of the specified pattern text, which is extended to several paragraph, with replace text. + + The used to find the text. + The string specifies the text to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace the text extended to several paragraphs with simple text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Replace the text extended to two paragraphs with simple text + document.ReplaceSingleLine(new Regex("First paragraph Second paragraph"), "Replaced paragraph"); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Replace the text extended to two paragraphs with simple text + document.ReplaceSingleLine(New Regex("First paragraph Second paragraph"), "Replaced paragraph") + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + This API not works for the text inside an. + + + + Replaces all entries of given string which is extended to several paragraph in the document with , taking into + consideration case sensitive and whole word options. + + The string represents the text to be found. + The specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace the text extended to several paragraphs with another text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text in the document + TextSelection selection = document.Find("contents", false, false); + //Replace the text extended to two paragraphs with text selection + document.ReplaceSingleLine("First paragraph Second paragraph", selection, true, false); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text in the document + Dim selection As TextSelection = document.Find("contents", False, False) + 'Replace the text extended to two paragraphs with text selection + document.ReplaceSingleLine("First paragraph Second paragraph", selection, True, False) + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + This API not works for the text inside an. + + + + Replaces all entries of given regular expression text which is extended to several paragraph in the document with the + . + + The used to find the text. + The text selection to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace the text extended to several paragraphs with another text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text in the document + TextSelection selection = document.Find("contents", false, false); + //Replace the text extended to two paragraphs with text selection + document.ReplaceSingleLine(new Regex("First paragraph Second paragraph"), selection); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text in the document + Dim selection As TextSelection = document.Find("contents", False, False) + 'Replace the text extended to two paragraphs with text selection + document.ReplaceSingleLine(New Regex("First paragraph Second paragraph"), selection) + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + This API not works for the text inside an. + + + + Replaces all entries of given string which is extended to several paragraphs in the document with , taking into + consideration case sensitive, whole word options. + + The string represents the text to be found. + The text body part to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + if it specifies whole word, set to true. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace the text extended to several paragraphs with . + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text in the document + TextSelection selection = document.Find("contents", false, false); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.ReplaceSingleLine("First paragraph Second paragraph", bodyPart, true, false); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text in the document + Dim selection As TextSelection = document.Find("contents", False, False) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.ReplaceSingleLine("First paragraph Second paragraph", bodyPart, True, False) + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + This API not works for the text inside an. + + + + Replaces all entries of given regular expression text which is extended to several paragraph in the document with the + . + + The used to find the text. + The text body part to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace the text extended to several paragraphs with . + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text in the document + TextSelection selection = document.Find("contents", false, false); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.ReplaceSingleLine(new Regex("First paragraph Second paragraph"), bodyPart); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text in the document + Dim selection As TextSelection = document.Find("contents", False, False) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.ReplaceSingleLine(New Regex("First paragraph Second paragraph"), bodyPart) + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + This API not works for the text inside an. + + + + Replaces the HF single line. + + The pattern. + The replace. + + + + + Resets the single line replace. + + + + + Replaces the single line. + + The pattern. + The replace. + The start item. + + + + + Check whether any of floating items contain same Z Order or not. + + + + + + Sort the document floating items based on its Z-Index by ascending order + + + + + Assign the new ZIndex values for all floating items in the document + + + + + Finds the next entry of the specified text from the specified text body item, taking into the consideration of caseSensitive + and wholeWord options. + + The that represents the start body item at which search starts (paragraph or table). + + A string used to find the text. + + + Set to true to match the similar case text which specified in the parameter; otherwise false. + + + Set to true to match the whole word text which specified in the parameter; otherwise false. + + + The that contains the found text in the document. + + + The following code example demonstrates how to find a particular text and its next occurrence in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text in the document + TextSelection textSelection = document.Find("as graphical contents", false, true); + //Get the found text as single text range + WTextRange textRange = textSelection.GetAsOneRange(); + //Modify the text + textRange.Text = "Replaced text"; + //Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow; + //Find the next occurrence of a particular text from the previous paragraph + textSelection = document.FindNext(textRange.OwnerParagraph, "paragraph", true, false); + //Get the found text as single text range + WTextRange range = textSelection.GetAsOneRange(); + //Set bold formatting + range.CharacterFormat.Bold = true; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text in the document + Dim textSelection As TextSelection = document.Find("as graphical contents", false, true) + 'Get the found text as single text range + Dim textRange As WTextRange = textSelection.GetAsOneRange() + 'Modify the text + textRange.Text = "Replaced text" + 'Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow + 'Find the next occurrence of a particular text from the previous paragraph + textSelection = document.FindNext(textRange.OwnerParagraph, "paragraph", true, false) + 'Get the found text as single text range + Dim range As WTextRange = textSelection.GetAsOneRange() + 'Set bold formatting + range.CharacterFormat.Bold = True + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + Finds the next entry of the specified regular expression from the specified text body item. + + The that represents the start body item at which search starts (paragraph or table). + The used to find the text. + The that contains the found text in the document. + + The following code example demonstrates how to find a particular text and its next occurrence in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text in the document + TextSelection textSelection = document.Find(new Regex("as graphical contents")); + //Get the found text as single text range + WTextRange textRange = textSelection.GetAsOneRange(); + //Modify the text + textRange.Text = "Replaced text"; + //Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow; + //Find the next occurrence of a particular text from the previous paragraph + textSelection = document.FindNext(textRange.OwnerParagraph, new Regex("paragraph")); + //Get the found text as single text range + WTextRange range = textSelection.GetAsOneRange(); + //Set bold formatting + range.CharacterFormat.Bold = true; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text in the document + Dim textSelection As TextSelection = document.Find("as graphical contents") + 'Get the found text as single text range + Dim textRange As WTextRange = textSelection.GetAsOneRange() + 'Modify the text + textRange.Text = "Replaced text" + 'Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow + 'Find the next occurrence of a particular text from the previous paragraph + textSelection = document.FindNext(textRange.OwnerParagraph, "paragraph") + 'Get the found text as single text range + Dim range As WTextRange = textSelection.GetAsOneRange() + 'Set bold formatting + range.CharacterFormat.Bold = True + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + Finds the next selection. + + The pattern. + + + + + Updates the next item at which next find will start. + + The selection. + + + + Gets the next paragraph item in textbody item. + + The textbody item. + + + + + Gets the next paragraph item in text body. + + The text body. + + + + + Checks the selection. + + The text selection. + + + + Finds the next entry of the specified text from the specified text body item in single-line mode which is extended to several paragraph in the document, taking into the consideration of caseSensitive + and wholeWord options. + + The that represents the start body item at which search starts (paragraph or table). + + A string used to find the text. + + + Set to true to match the similar case text which specified in the parameter; otherwise false. + + + Set to true to match the whole word text which specified in the parameter; otherwise false. + + + The that contains the found text in the document. + + + The following code example demonstrates how to find a particular text and its next occurrence which is extended to several paragraphs in the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text extended to several paragraphs in the document + TextSelection[] textSelections = document.FindSingleLine("First paragraph Second paragraph", true, false); + WParagraph paragraph = null; + foreach (TextSelection textSelection in textSelections) + { + //Get the found text as single text range and set highlight color + WTextRange textRange = textSelection.GetAsOneRange(); + textRange.CharacterFormat.HighlightColor = Color.YellowGreen; + paragraph = textRange.OwnerParagraph; + } + //Find the next occurrence of a particular text extended to several paragraphs in the document + textSelections = document.FindNextSingleLine(paragraph, "First paragraph Second paragraph", true, false); + foreach (TextSelection textSelection in textSelections) + { + //Get the found text as single text range and set italic formatting + WTextRange text = textSelection.GetAsOneRange(); + text.CharacterFormat.Italic = true; + } + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text extended to several paragraphs in the document + Dim textSelections As TextSelection() = document.FindSingleLine("First paragraph Second paragraph", True, False) + Dim paragraph As WParagraph = Nothing + For Each textSelection As TextSelection In textSelections + 'Get the found text as single text range and set highlight color + Dim textRange As WTextRange = textSelection.GetAsOneRange() + textRange.CharacterFormat.HighlightColor = Color.YellowGreen + paragraph = textRange.OwnerParagraph + Next + 'Find the next occurrence of a particular text extended to several paragraphs in the document + textSelections = document.FindNextSingleLine(paragraph, "First paragraph Second paragraph", True, False) + For Each textSelection As TextSelection In textSelections + 'Get the found text as single text range and set italic formatting + Dim text As WTextRange = textSelection.GetAsOneRange() + text.CharacterFormat.Italic = True + Next + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + This API not works for the text inside an. + + + + Finds the next entry of the specified pattern of text in single-line mode which is extended to several paragraph in the document. + + The that represents the start body item at which search starts (paragraph or table). + The used to find the text. + The that contains the found text in the document. + + The following code example demonstrates how to find a particular text and its next occurrence which is extended to several paragraphs in the Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Find the first occurrence of a particular text extended to several paragraphs in the document + TextSelection[] textSelections = document.FindSingleLine("First paragraph Second paragraph", true, false); + WParagraph paragraph = null; + foreach (TextSelection textSelection in textSelections) + { + //Get the found text as single text range and set highlight color + WTextRange textRange = textSelection.GetAsOneRange(); + textRange.CharacterFormat.HighlightColor = Color.YellowGreen; + paragraph = textRange.OwnerParagraph; + } + //Find the next occurrence of a particular text extended to several paragraphs in the document + textSelections = document.FindNextSingleLine(paragraph, new Regex("First paragraph Second paragraph")); + foreach (TextSelection textSelection in textSelections) + { + //Get the found text as single text range and set italic formatting + WTextRange text = textSelection.GetAsOneRange(); + text.CharacterFormat.Italic = true; + } + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Find the first occurrence of a particular text extended to several paragraphs in the document + Dim textSelections As TextSelection() = document.FindSingleLine("First paragraph Second paragraph", True, False) + Dim paragraph As WParagraph = Nothing + For Each textSelection As TextSelection In textSelections + 'Get the found text as single text range and set highlight color + Dim textRange As WTextRange = textSelection.GetAsOneRange() + textRange.CharacterFormat.HighlightColor = Color.YellowGreen + paragraph = textRange.OwnerParagraph + Next + 'Find the next occurrence of a particular text extended to several paragraphs in the document + textSelections = document.FindNextSingleLine(paragraph, new Regex("First paragraph Second paragraph")) + For Each textSelection As TextSelection In textSelections + 'Get the found text as single text range and set italic formatting + Dim text As WTextRange = textSelection.GetAsOneRange() + text.CharacterFormat.Italic = True + Next + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + This API not works for the text inside an. + + + + Finds the next text which fit the specified pattern using single-line mode. + + The pattern. + + + + + Resets the find next of . + + + + + Creates a new paragraph item instance. + + A represents the type of paragraph item to create. + The this method created. + + + + + + + + + + Implementation of character format creating + + Character format object. + + + + + + + + + + + + + + + + Implementation of paragraph format creating + + Paragraph format object. + + + + Implementation of table format creating + + Table format instance + + + + Implementation of cell format creating + + + + + + Implementation of textbox format creating + + textbox format object. + + + + Text + + + + + + + + + + + + + Creates the compound file. + + + + + + Creates the compound file. + + The stream. + + + + + Checks for encryption. + + The stream. + + + + + Ensures the paragraph style. + + The paragraph. + + + + Check whether last entity is WTable then add empty paragraph. + + + + + Clones the shape escher. + + The destination doc. + The shape item. + + + + Clones the DocxProps. + + + + + Clones the dictionary of string values. + + + + + Clones the list of stream values. + + + + + Clones the stream. + + + + + Gets the password. + + + + + + Checkes whether any one of the section has valid numbering properties. + + + + + Inserts the watermark. + + The type. + + + + Reads document's background fill effects. + + + + + Saves the document to the detailed XML stream. + + The stream. + + + + Determines whether list has style + + + + + Updates the start position of next items from the inputed paragraph item. + + An item where to start updating start position in the paragraph. + A value to add with start position of next items. + + + + Update the start position of inputed item using its offset value. + + Item to update the position. + A value to add with start position of + + + + Updates the start position of items inside inline content control. + + Represents inline content control to update position values of inner items. + Index of the item to update. + A value added to the existing position value. + + + + Checks whether the Word document is of DOCX type in any word versions + + + + + Inits the default paragraph format. + + + + + + + + + + Determines whether current process is DocIO internal manipulation or end user maipulation. + + + + + + Updates the ImportOption property value based on its priority. + + + + + Copies the binary data. + + The SRC data. + The destination data. + + + + + + + + + + + Clones the textbox container. + + The destination doc. + The textbox. + + + + Clones the auto shape container. + + The destination doc. + The shape obj. + + + + Checks the container. + + The type. + The spid. + + + + + + + + + + + + + + + + Determines whether document has tracked changes. + + + It has tracked changes, set to true. + + + + + Checks whether security permission can be granted. + + + + + Checks the extension with respect to formatType + + The filename + The FormatType + + + + + Checks the name of the file. + + Name of the file. + + + + Resets the watermark. + + + + + update the write watermark for each header. + + + + + Sets the protection. + + + + + Create default liststyles and add them to ListStyleCollection + + + + + + + + + + + + + + + Gets xml schema + + + + + + Reads document using XmlReader + + + + + + Writes document using XmlWriter + + + + + + + + + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as inside xml element. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + The value indicating the presence of xml content. + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Creates and initializes layout data + + + + + + Removes the macros in the document. + + The following code example demonstrates how to remove macros from the Word document. + This method removes the macros from DOCM and DOTM format files. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the document with macros + WordDocument document = new WordDocument("Sample.docm"); + //Check whether the document has macros and remove them + if (document.HasMacros) + document.RemoveMacros(); + //Save the document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the document with macros + Dim document As New WordDocument("Sample.docm") + 'Check whether the document has macros and remove them + If document.HasMacros Then + document.RemoveMacros() + End If + 'Save the document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Sets the trigger element. + + The flag. + The bit position. + + + + Determines whether the specified flag has element. + + The flag. + The bit position. + + + + + Checks whether document has different page setup + + Returns true if document has different page setup; else returns false + + + + Updates the revision information for the paragraph item. + + + + + + + + + + + + + + Gets the existing revision for the remaining paragraph items (except first item) if exists otherwise create new revision. + + + + + + + + + + Stack that stores the prevision revision of the item + + + + + Gets the existing revision for the first paragraph item if exists otherwise create new revision. + + + + + + + + + + + + + + Gets the existing row revision when paragraph exists inside the table cell. + + + + + + + + + + + Gets the existing revision based on the revision type and author. + + + + + + + + + Gets the existing revision based on revision type, author and sibiling revisions + + Previous sibiling revisions + Current revision type + Current author + Stack that stores sibiling revisions of current revision + Current item + + + + + Creates revision when revision not exist in revision collection. + + + + + + + + + + + + + + Update insert/delete revision for table row. + + The revision type. + The table row. + + + + Links the nested table row into the owner table row revision if same author name and type. + Otherwise create child revision and liked to the owner table row revision. + + + + + + + + + Creates a new revision. + + The revision type. + + + + + Creates a new child revision. + Child revisions are not added into the document revision collection. + + The revision type. + + + + + Update the insert/delete revisions in Character format. + + The revision type. + The character format. + + + + We should get author name based on the revision type since this is DOC format document. + + + + + + + + We should get date name based on the revision type since this is DOC format document. + + + + + + + + + Links the table revision for the break character format. + + + + + + + + + + + Links the move revision for the break character format. + + + + + + + + + + + Moves the source revision ranges into destination revision ranges. + + + + + + + Updates the paragraph format revision changes. + + The paragraph format. + + + + Gets the last updated revision in section . + + The page section . + Returns the last updated revision in section. + + + + Compare two formats and gets the same revision. + + The current format. + The previous format to compare + Returns the revision by compare the two formats have same revision. Otherwise null + + + + Updates the character format revision changes. + + The character format. + The paragraph item. + + + + Gets the character format change revision for the style. + + + + + + + + + Gets the character format change revision for the first paragraph item. + + + + + + + + Gets the previous break character format inside the table. + + + + + + + + Gets the paragraph format of style. + + The style + + + + + Checks whether any renderable item before the current item in Owner paragraph + + The paragraph item. + Returns true, if contains renderable item before the current item. Otherwise false + + + + Updates the table format revision changes at the end of each row. + + The table row. + + + + Updates the table row revision changes. + + The table cell. + + + + Updates the table cell revision changes. + + The table cell. + + + + Gets the last updated revision in table row. + + The table row. + Returns the last updated revision in table row. + + + + Updates the revisions inside the field range. + + The field. + + + + Removes the revision by iterating the text body. + + + + + + + + + Removes the revision by iterating the paragraph items. + + + + + + + + Removes the revision by iterating the textbody. + + + + + + + + + Removes the revision by iterating the paragraph items. + + + + + + + + Removes the revision by iterating the table. + + + + + + + + Removes the revisions from the collection and add as a child revision of parent field. + + + + + + + + + + Update the table revisions for the DOC format Word document. + + + + + + Removes the revision from the collection by iterating the text body. + + + + + + + Removes the revision from the collection by iterating the paragraph items. + + + + + + + Removes the revision from the collection by iterating the table. + + + + + + + Removes the revision from the collection and add as child revision of table row. + + + + + + + + + Removes bookmarks which has no BookmarkEnd + + + + + Update the paragraph last item revision. + + The paragraph. + The paragraph items. + + + + Links the content control with the break character format when it has same revision details. + + + + + + + Links the last paragraph item or field with the break character format when it has same revision details. + + + + + + + + Links the break character format revision for empty paragraph. + + The paragraph. + The paragraph items. + + + + Removes the revision from the collection by iterating the textbody items. + + The textbody. + + + + Removes the revision from the collection by iterating the paragraph items. + + The paragraph item. + + + + Removes the revision from the collection by iterating the table. + + The table. + + + + Removes all the revisions from the collection. + + The revision collection. + + + + Updates the character format change revision. + + + + + + + Updates the paragraph format change revision. + + + + + + Updates the section format change revision. + + + + + + + + + + + + Get encoding for the specific code page + + The code page name + Returns the derived encoding for Windows Phone and Xamarin + + + + + Find an item in a Word document based on the specified property and value. + + to find in a Word document. + The property of an item + The property value of an item. + Returns the first occurrence of an item that matches the specified property and value. + + + //Open an existing Word document. + using(WordDocument document = new WordDocument("Template.docx")) + { + //Find picture by alternative text. + WPicture picture = document.FindItemByProperty(EntityType.Picture, "AlternativeText", "Logo") as WPicture; + //Resize the picture. + if (picture != null) + { + picture.Height = 50; + picture.Width = 75; + } + //Save and close the Word document. + document.Save("Sample.docx"); + } + + + 'Open an existing Word document. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Find picture by alternative text. + Dim picture As WPicture = TryCast(document.FindItemByProperty(EntityType.Picture, "AlternativeText", "Logo"), WPicture) + 'Resize the picture. + If picture IsNot Nothing Then + picture.Height = 50 + picture.Width = 75 + End If + 'Save and close the Word document. + document.Save("Sample.docx") + document.Close() + + + + + + Find an item in a Word document based on the specified property and value. + + to find in a Word document. + An array of property names of an item + An array of property values of an item. + Returns the first occurrence of an item that matches the specified property names and values. + + + //Open an existing Word document. + using(WordDocument document = new WordDocument("Template.docx")) + { + //Find picture by height and width. + WPicture picture = document.FindItemByProperties(EntityType.Picture, new string[] { "Height", "Width" }, new string[] { "100", "50" }) as WPicture; + //Resize the picture. + if (picture != null) + { + picture.Height = 50; + picture.Width = 75; + } + //Save and close the Word document. + document.Save("Sample.docx"); + } + + + 'Open an existing Word document. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Find pictures by height and width. + Dim picture As WPicture = TryCast(document.FindItemByProperties(EntityType.Picture, New String() {"Height", "Width"}, New String() {"100", "50"}), WPicture) + 'Resize the pictures. + If picture IsNot Nothing Then + picture.Height = 50 + picture.Width = 75 + End If + 'Save and close the Word document. + document.Save("Sample.docx") + document.Close() + + + + + + + + Find an item in a Section based on the specified property and value. + + to find in a Word document. + An array of property names of an item + An array of property values of an item. + A Boolean value for entityType from the Method + Returns the first occurrence of an item that matches the specified property names and values. + + + + Find an item in a Textbody based on the specified property and value. + + Textbody + to find in a Word document. + An array of property names to map an item + An array of property values to map an item. + A Boolean value for entityType should return only first item or all item in document + Returns the first occurrence or all item that matches the specified property names and values. + + + + Find an item in a Paragraph based on the specified property and value. + + Paraitems in ParagraphItemCollection + to find in a Word document. + An array of property names of an item + An array of property values of an item. + A Boolean value for entityType from the Method + Returns the first occurrence of an item that matches the specified property names and values. + + + + Find an item in a Table based on the specified property and value. + + Table in Textbody + to find in a Word document. + An array of property names of an item + An array of property values of an item. + A Boolean value for entityType from the Method + Returns the first occurrence of an item that matches the specified property names and values. + + + + Checks whether the item satisfies the entityType, propertyNames and propertValues. + + The current entity + to find in a Word document. + An array of property names of an item + An array of property values of an item. + True, if the item satisfies the entityType, propertyNames and propertValues else false + + + + Check whether the EnityType is supported or not. + + to find in a Word document. + True, if entitytype is not supported or internal else false + + + + Check whether the current object property value equal to propertyValues array. + + + An array of property names of an item + An array of property values of an item. + True, if propertyvalue are equal to item else false + + + + Find Watermark in a Word Document based on the specified property and value. + + An array of property names of an item + An array of property values of an item. + A Boolean value for entityType from the Method + Returns the list of Watermark matches the specified property names and values else return empty list. + + + + Add the source list value to the destination list + + Destination List + + + + + + Update the matched index + + + + + Check and Mark Nested field + + + + + + Update the index + + + + + + + + + + + Skip the text between field begin and field end + + + + + Set the new start position from the begin to end index in a given section + + + + + + + + + + Iterate through the body item and set the new StartPos for all childentities. + + Body item + + + + Set the new StartPos for the items in the paragraph + + + + + + + + Compares the specified Word document with the current instance of the and marks the difference as tracked changes (revisions). + + The to compare. + The name of the author to use for revisions. If unspecified, it uses the last modified author of the Word document as default. Otherwise, uses the string “Author” if last modified author information not present. + The date and time to use for revisions. If unspecified, it uses current date and time as default. + Options to use while comparing two Word documents. + + The following code example demonstrates how to compares the original document with revised document + + //Load an existing Word document into DocIO instance + WordDocument originalDocument = new WordDocument("OriginalDocument.docx", FormatType.Docx); + WordDocument revisedDocument = new WordDocument("RevisedDocument.docx", FormatType.Docx); + //Compares the original document with revised document + originalDocument.Compare(revisedDocument, "Nancy Davolio", DateTime.Now.AddDays(-1)); + originalDocument.Save("Result.docx", FormatType.Docx); + revisedDocument.Close(); + originalDocument.Close(); + + + 'Load an existing Word document into DocIO instance + Dim originalDocument As New WordDocument("OriginalDocument.docx", FormatType.Docx) + Dim revisedDocument As New WordDocument("RevisedDocument.docx", FormatType.Docx) + 'Compares the original document with revised document + originalDocument.Compare(revisedDocument, "Nancy Davolio", DateTime.Now.AddDays(-1)); + originalDocument.Save("Result.docx", FormatType.Docx) + revisedDocument.Close(); + originalDocument.Close() + + + + + + Aplly section format revision to the original document. + + + + + + + Initilize the properties and compare options for Word comparison + + + + + Compare the styles collection between two documents + + The revised document instance + + + + Modify the default format as revised format in original document + + + + + + Copy the document default styles from revised document and paste it in given original style + + + + + + + Compare the empty paragraphs at the end of the document + + The revised document instance + + + + Insert or delete the unmatched items at the end of the documents. + + + + + + Delete the unmatched items at the end of the document. + + Author name + Data and time + + + + Insert the items from the revised document to the original document + + + + + + Mark insert revision for the Word document part + + + + + + Insert the items of the field to the paragraph. + + Current paragraph in original document + Current paragraph in revised document + Index of current para item in revised document + + + + Gets the Paragraph to insert bookmark + + + + + + + + Removes the deletion mark of the paragraph item + + The paragraph item instance + + + + Removes the insertion mark of the paragraph item + + The paragraph item instance + + + + Checks whether need to create balloons for deletions markup in the Word document. + + + + + + + Checks whether need to create balloons for formatting markup in the Word document. + + + + + + + Checks whether need to create balloons for comment in the Word document. + + + + + + + Gets or sets the object for converting chart to image + + + In Word to PDF conversion, to preserve the charts as images in the generated PDF document, this must be initialized. Otherwise the charts will not be exported to the converted PDF + ChartToImageConverter is supported from .NET Framework 4.0 onwards. + + + The following code example demonstrates how to initialize the to preserve the charts as images in the generated PDF document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Initialize ChartToImageConverter for converting charts during Word to pdf conversion + wordDocument.ChartToImageConverter = new ChartToImageConverter(); + //Create an instance of DocToPDFConverter + DocToPDFConverter converter = new DocToPDFConverter(); + //Convert Word document into PDF document + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + //Close the instance of Word document object + wordDocument.Close(); + //Save the PDF file + pdfDocument.Save("WordtoPDF.pdf"); + //Close the instance of PDF document object + pdfDocument.Close(true); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) + 'Initialize ChartToImageConverter for converting charts during Word to pdf conversion + /// wordDocument.ChartToImageConverter = New ChartToImageConverter() + 'Create an instance of DocToPDFConverter + Dim converter As New DocToPDFConverter() + 'Convert Word document into PDF document + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + 'Close the instance of Word document object + wordDocument.Close(); + 'Save the PDF file + pdfDocument.Save("WordtoPDF.pdf") + 'Close the instance of document object + pdfDocument.Close(True) + End Sub + + + + + + Gets a instance that represents the font settings of the Word document. Read-only. + + The instance that represents the font settings of the Word document. + + + The following code example demonstrates how to initialize the to perform font substitution when a specified font is not installed in the production environment. + + // Loads an existing Word document. + WordDocument wordDocument = new WordDocument("template.docx", FormatType.Docx); + // Initializes the SubstituteFont event to perform font substitution during Word to PDF conversion. + wordDocument.FontSettings.SubstituteFont += new SubstituteFontEventHandler(SubstituteFont); + // Creates an instance of DocToPDFConverter. + DocToPDFConverter converter = new DocToPDFConverter(); + // Converts the Word document into PDF document. + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + // Closes the instance of Word document object. + wordDocument.Close(); + // Saves the PDF file. + pdfDocument.Save("WordtoPDF.pdf"); + // Closes the instance of PDF document object. + pdfDocument.Close(true); + + private void SubstituteFont(object sender, SubstituteFontEventArgs args) + { + // Sets the alternate font when a specified font is not installed in the production environment. + if (args.OrignalFontName == "Arial Unicode MS") + args.AlternateFontName = "Arial"; + else + args.AlternateFontName = "Times New Roman"; + } + + + ' Loads an existing Word document. + Dim wordDocument As New WordDocument("template.docx", FormatType.Docx) + ' Initializes the SubstituteFont event to perform font substitution during Word to PDF conversion. + AddHandler wordDocument.FontSettings.SubstituteFont, AddressOf SubstituteFont + ' Creates an instance of DocToPDFConverter. + Dim converter As New DocToPDFConverter() + ' Converts the Word document into PDF document. + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + ' Closes the instance of document object. + wordDocument.Close() + ' Saves the PDF file . + pdfDocument.Save("WordtoPDF.pdf") + ' Closes the instance of document object. + pdfDocument.Close(True) + + Private Sub SubstituteFont(ByVal sender As Object, ByVal args As SubstituteFontEventArgs) + ' Sets the alternate font when a specified font is not installed in the production environment. + If args.OrignalFontName = "Arial Unicode MS" Then + args.AlternateFontName = "Arial" + Else + args.AlternateFontName = "Times New Roman" + End If + End Sub + + + + + + + Gets or sets the footnote separators of the document. + + The instance used to specify the footnote separator of this . + + + + + Gets or sets the endnote separators of the document. + + The instance used to specify the endnote separator of this . + + + + + Gets or sets the default tab stop position value measured in points. + + The width of the default tab. + + + + + Gets or sets the value for Character Spacing Control + + + + + Gets or sets the word version based on the nFib and nFibNew. + Value of nFib Word version + 0x00C0 97 create new document in OS + 0x00C1 97 + 0x00C2 97 BIDI build + 0x00D9 2000 + 0x0101 2002 + 0x010C 2003 + 0x0112 2007 + + The FIB version. + + + + Gets the type of the entity. + + The of the current item. + + + + Gets a collection that represents all the built-in document properties for the specified document. Read-only. + + + + + + + Gets a object that represents the attached template of the document. Read-only. + + Attached template of the document + + + + + Gets or sets a value indicating whether to automatically update styles of the document from the attached template each time the document is opened. Default value is false. + + True if the styles of the document are updated to from the attached template;otherwise, false. + + + + Gets a collection that represents all the custom document properties for the specified document. Read-only. + + + + + Gets a collection that represents all the sections in the document. Read-only. + + A Sections collection represents all the in this + + + + + + Gets a collection that represents all the styles in the document. Read-only. + + A collection represents all the in this + + + + + + + + Gets a collection that represents all the list styles in the document. Read-only. + + All the in this . + + + + + + Gets or sets a that represents the options to import the source document contents to the destination document. + Default value is UseDestinationStyles. + + This property will not be considered while executing ImportContent method and its overloads in class. + If invalid combination applied, then it will be skipped or auto corrected based on priority. + + + //Creates an new instance of WordDocument class. + WordDocument srcDocument = new WordDocument("SourceTemplate.docx"); + // Creates an new instance of WordDocument class. + WordDocument destDocument = new WordDocument("DestinationTemplate.docx"); + //Import the contents of source document at the end of destination document with destination styles. + destDocument.ImportOptions = ImportOptions.UseDestinationStyles; + destDocument.Sections.Add(srcDocument.LastSection.Clone()); + // Releases the resources occupied by WordDocument instance. + srcDocument.Close(); + // Saves the document in the given name and format. + destDocument.Save("Document.docx", FormatType.Docx); + // Releases the resources occupied by WordDocument instance. + destDocument.Close(); + + + 'Creates an new instance of WordDocument class. + Dim srcDocument As New WordDocument("SourceTemplate.docx") + ' Creates an new instance of WordDocument class. + Dim destDocument As New WordDocument("DestinationTemplate.docx") + 'Import the contents of source document at the end of destination document with destination styles. + destDocument.ImportOptions = ImportOptions.UseDestinationStyles + destDocument.Sections.Add(srcDocument.LastSection.Clone()) + ' Releases the resources occupied by WordDocument instance. + srcDocument.Close() + ' Saves the document in the given name and format. + destDocument.Save("Document.docx", FormatType.Docx) + ' Releases the resources occupied by WordDocument instance. + destDocument.Close() + + + + + + Gets a collection that represents all the bookmarks in the document. Read-only. + + + + + + + + + Gets a collection that represents all the editable ranges in the document. Read-only. + + + + + + + + + Gets a collection that represents all the comments in the document. Read-only. + + + + + + + Gets a collection that represents all the comments extended in the document. Read-only. + + + + + + Gets a collection that represents all the textboxes in the document. Read-only. + + A collection represents all the in this . + + + + + + Gets a collection that represents all the revisions in the document. Read-only. + + A collection represents all the in this + + + + + Gets a the metadata stored in a document, such as author name, subject, and company. Read-only. + + A collection represents all the in this + + + + + Gets the last of the document. Read-only. + + The represents the last section of this + + The following code example demonstrates how to retrieve the last section of the document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Retrieve the last section of the document and add new paragraph + document.LastSection.AddParagraph().AppendText("Adding new paragraph to the document"); + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Retrieve the last section of the document and add new paragraph + document.LastSection.AddParagraph().AppendText("Adding new paragraph to the document") + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Gets the last of the document. Read-only. + + The represents the last paragraph of this + + The following code example demonstrates how to retrieve the last paragraph of the document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the last paragraph back color as Blue + document.LastParagraph.ParagraphFormat.BackColor = Color.Blue; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the last paragraph back color as Blue + document.LastParagraph.ParagraphFormat.BackColor = Color.Blue + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Gets or sets the numbering format for the endnotes in the document. + + The for the endnotes in the Word document + + The following code example demonstrates how to specify the endnote number format in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the endnote format + document.EndnoteNumberFormat = FootEndNoteNumberFormat.Arabic; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the endnote format + document.EndnoteNumberFormat = FootEndNoteNumberFormat.Arabic + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the numbering format for the footnotes in the document. + + The for the footnotes in the Word document + + The following code example demonstrates how to specify the footnote number format in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the footnote number format + document.FootnoteNumberFormat = FootEndNoteNumberFormat.UpperCaseRoman; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the footnote number format + document.FootnoteNumberFormat = FootEndNoteNumberFormat.UpperCaseRoman + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the restart index for the endnotes in the document. + + + The following code example demonstrates how to specify the endnote restart index number in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the endnote restart index number + document.RestartIndexForEndnote = EndnoteRestartIndex.RestartForEachSection; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the endnote restart index number + document.RestartIndexForEndnote = EndnoteRestartIndex.RestartForEachSection + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets endnotes position in the document. + + The for the endnotes in the document + + The following code example demonstrates how to specify the endnote position in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the endnote position at end of each section + document.EndnotePosition = EndnotePosition.DisplayEndOfSection; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the endnote position at end of each section + document.EndnotePosition = EndnotePosition.DisplayEndOfSection + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the restart index for the footnotes in the document. + + + The following code example demonstrates how to specify the footnote restart index number in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the footnote restart index number + document.RestartIndexForFootnotes = FootnoteRestartIndex.RestartForEachPage; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the footnote restart index number + document.RestartIndexForFootnotes = FootnoteRestartIndex.RestartForEachPage + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets footnotes position in the document. + + The for the footnote in the document + + The following code example demonstrates how to specify the footnote position in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the footnote position at immediately beneath text + document.FootnotePosition = FootnotePosition.PrintImmediatelyBeneathText; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the footnote position at immediately beneath text + document.FootnotePosition = FootnotePosition.PrintImmediatelyBeneathText + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a watermark for the document. + + A text/picture that appears behind the document + + + + + + + Gets the object that represents the background effects of the document. Read-only. + + The background effects of the document + + + + + Gets a object that represents the mail merge functionality of the document. Read-only. + + The instance used to replace the with value in the document + + + + + + Gets or sets the document protection type. + + The will prevent the document from unintentional editing. + + The following code example demonstrates how to protect the changing of document content. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //protect the document from editing + document.ProtectionType = Syncfusion.DocIO.ProtectionType.AllowOnlyReading; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'protect the document from editing + document.ProtectionType = Syncfusion.DocIO.ProtectionType.AllowOnlyReading + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the document view type. + + A represents the display options of this in MS Word application + + + + Gets or sets a value indicating whether to throw exceptions for unsupported elements. The default is false. + + True then throw the exception for unsupported elements; otherwise, false. + + + + Gets or sets the initial footnote number of the document. + + + The following code example demonstrates how to specify the endnote number format in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the footnote initial number + document.InitialFootnoteNumber = 3; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the footnote initial number + document.InitialFootnoteNumber = 3 + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the initial endnote number of the document. + + + The following code example demonstrates how to specify the endnote initial number in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Set the endnote initial number + document.InitialEndnoteNumber = 5; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Set the endnote initial number + document.InitialEndnoteNumber = 5 + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the collection that represents the child entities of this . Read-only. + + The child entities. + + + + Gets or sets the XHTML validation type to validate the HTML content while opening a HTML file. The Default value is + + + Currently, it is not supported in Silverlight, Universal and Windows Phone. + + + + + Gets or sets the background image of a document. + + + + + + Gets a collection that represents the variables stored in the document. Read-only. + + + Variables collection contains a Key-Value pair of variable name and its value + + + The following code snippet illustrate how to add a DocVariable field in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("First Name of the customer: "); + //Add the DocVariable field with Variable name and its type + paragraph.AppendField("FirstName", FieldType.FieldDocVariable); + paragraph = section.AddParagraph(); + paragraph.AppendText("Last Name of the customer: "); + //Add the DocVariable field with Variable name and its type + paragraph.AppendField("LastName", FieldType.FieldDocVariable); + //Add the value for variable in WordDocument.Variable collection + document.Variables.Add("FirstName", "Jeff"); + document.Variables.Add("LastName", "Smith"); + //Update the document fields + document.UpdateDocumentFields(); + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("First Name of the customer: ") + 'Add the DocVariable field with Variable name and its type + paragraph.AppendField("FirstName", FieldType.FieldDocVariable) + paragraph = section.AddParagraph() + paragraph.AppendText("Last Name of the customer: ") + 'Add the DocVariable field with Variable name and its type + paragraph.AppendField("LastName", FieldType.FieldDocVariable) + 'Add the value for variable in WordDocument.Variable collection + document.Variables.Add("FirstName", "Jeff") + document.Variables.Add("LastName", "Smith") + 'Update the document fields + document.UpdateDocumentFields() + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the document properties. Read-only. + + The instance used to specify the document version, form field shading and hyphenation properties of the document + + + + Gets a value indicating whether the document has tracked changes. Read-only. + + + True if the document has tracked changes; otherwise, false. + + + + + Gets or sets a value indicating whether edits are tracked as revision. The default is false. + + True if track changes in on; otherwise, false. + + The following code snippet shows how to track the edits as revisions in the document + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Enable the TrackChanges to track the edits as revision + document.TrackChanges = true; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Enable the TrackChanges to track the edits as revision + document.TrackChanges = True + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether replace only the first occurrence. The default is false. + + True replace only the first occurrence in the document; false replace all the occurrence. + + The following code snippet illustrates how to replace the first occurrence of a particular text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Set to replace only the first occurrence of a particular text + document.ReplaceFirst = true; + //Find the first occurrence of a particular text in the document + TextSelection selection = document.Find("contents", false, false); + //Initialize text body part + TextBodyPart bodyPart = new TextBodyPart(selection); + //Replace a particular text with the text body part + document.Replace("paragraph", bodyPart, false, true, true); + //Save and close the document + document.Save("Replace.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Set to replace only the first occurrence of a particular text + document.ReplaceFirst = True + 'Find the first occurrence of a particular text in the document + Dim selection As TextSelection = document.Find("contents", False, False) + 'Initialize text body part + Dim bodyPart As New TextBodyPart(selection) + 'Replace a particular text with the text body part + document.Replace("paragraph", bodyPart, False, True, True) + 'Save and close the document + document.Save("Replace.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the HTML import settings for HTML to Word conversion. + + This property is not supported in MVC6. + + + + + + Gets the document save options. Read-only. + + A that represents the save options for this + + + + + Gets the revision options for the track changes in Word to PDF conversion. + + A that represents the save options for this + + The following code example demonstrates how to set the to preserve track changes in Word to PDF Conversion. + + //Loads an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions | RevisionType.Formatting | RevisionType.Deletions; + //Instantiation of DocToPDFConverter for Word to PDF conversion + DocToPDFConverter converter = new DocToPDFConverter(); + //Converts Word document into PDF document + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + //Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf"); + //Releases all resources used by the object + converter.Dispose(); + //Closes the instance of document objects + wordDocument.Close(); + pdfDocument.Close(true); + + + 'Loads an existing Word document + Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) + 'Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions Or RevisionType.Formatting Or RevisionType.Deletions + 'Instantiation of DocToPDFConverter for Word to PDF conversion + Dim converter As DocToPDFConverter = New DocToPDFConverter + 'Converts Word document into PDF document + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + 'Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf") + 'Releases all resources used by the object + converter.Dispose() + 'Closes the instance of document objects + wordDocument.Close() + pdfDocument.Close(True) + + + + + + + Gets or sets a value indicating whether to update fields in the document. + + if update fields, set to true. + + + + Gets the actual format type of the document which was loaded. While creating new document, it returns FormatType.Doc value. Read-only. + + The file format type of this + + + + Gets or sets a dictionary collections which represents the font substitution table. The key should be the font name and the value should be the alternate font name. + + The font substitution table contains an alternative font information for missing fonts in the document. + + The following code example demonstrates how to specify the alternative font information for missing fonts in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Apply the Arial font instead of the Arabic font, if the system does not contains Arabic font + document.FontSubstitutionTable.Add("Arabic", "Arial"); + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Apply the Arial font instead of the Arabic font, if the system does not contains Arabic font + document.FontSubstitutionTable.Add("Arabic", "Arial"); + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets a value indicating whether the document has macros. Read-only. + + + True if the document has macros; otherwise, false. + + + + + Gets or sets a value indicating whether to run the partial trust code. + + + True if to run partial trust code; otherwise, false. + + + + + Gets or sets a value indicating whether to disable the DateTime field updating with current date time, while opening document. + + + True to update the Date time field with DateTime.MaxValue (23:59:59.9999999 UTC, December 31, 9999 in the Gregorian calendar); otherwise, false. + + This property is added specifically to avoid DateTime difference in testing automation. + + + + Gets or sets a value indicating whether formatting is restricted or not. + + + + + Gets or sets a value indicating whether password protection is enforced or not. + + + + + Gets or sets the multiple page type. + + + + + Gets or set the number of sheets per booklet. + + + + + Gets/sets FontFamilyNameStringTable + + + + + Check whether document is comparing + + + + + Get the instance of Comparison + + + + + Check whether Field is Updating + + + + + Denotes whether the revisions should be update or not while adding or inserting a entity + + + + + Get the instance of DocxLaTeXConverter. + + + + + Gets or sets the value indicating whether the document has styles + + + + + Gets the images. + + The images. + + + + Gets the field stack. + + The field stack. + + + + Gets an instance of the class. + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets the type of the save format. + + The type of the save format. + + + + Gets a value indicating whether this instance is macro enabled. + + + true if this instance is macro enabled; otherwise, false. + + + + + Gets or sets the vba project. + + The vba project. + + + + Gets or sets the vba project signature. + + The vba project. + + + + Gets or sets the vba project signature agile. + + The vba project. + + + + Gets or sets the custom UI part container. + + The custom UI part container. + + + + Gets or sets the User customization part container. + + The custom UI part container. + + + + Gets or sets the custom XML container. + + The custom XML container. + + + + Gets or sets the vba data. + + The vba data. + + + + Gets or sets the doc events. + + The doc events. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets or Sets the password. + + The password. + + + + Gets or sets document latent styles. + + The latent styles. + + + + Gets or sets document latent styles. + + The latent styles. + + + + Gets or sets the docx package. + + The docx package. + + + This flag will be useful for importing styles behavior switching in the scenario of style exist in destination document with same name and type, but different formatting. + + Gets or sets a value indicating whether to import styles with new unique name, if style exist in destination document with same name, type and different formatting. Default value is true + + True: if import styles with same name, type and different formatting into destination document by renaming uniquely; otherwise, false. + + This property is used for defining styles import behavior in the scenario of style exist in destination document with same name and type, but different formatting. + Setting this property to true, styles with same name, type and different formatting will be imported into destination document from source document with new unique name. + Setting it to false, styles with same name, type and different formatting will not be imported and instead the document contents will use the existing matched (same name and type) style. + + + + // Creates an new instance of WordDocument class. + WordDocument srcDocument = new WordDocument(); + // Adds a section and a paragraph in the empty document. + srcDocument.EnsureMinimal(); + // Sets bold to character format of "Normal" style to differentiate source and destination document. + (srcDocument.Styles.FindByName("Normal") as WParagraphStyle).CharacterFormat.Bold = true; + // Creates an new instance of WordDocument class. + WordDocument destDocument = new WordDocument(); + // Adds a section and a paragraph in the empty document. + destDocument.EnsureMinimal(); + // Sets false value to exclude importing duplicate styles to destination document. + destDocument.ImportStyles = false; + destDocument.Sections.Add(srcDocument.LastSection.Clone()); + // Releases the resources occupied by WordDocument instance. + srcDocument.Close(); + // Saves the document in the given name and format. + destDocument.Save("Document.docx", FormatType.Docx); + // Releases the resources occupied by WordDocument instance. + destDocument.Close(); + + + ' Creates an new instance of WordDocument class. + Dim srcDocument As New WordDocument() + ' Adds a section and a paragraph in the empty document. + srcDocument.EnsureMinimal() + ' Sets bold to character format of "Normal" style to differentiate source and destination document. + TryCast(srcDocument.Styles.FindByName("Normal"), WParagraphStyle).CharacterFormat.Bold = True + ' Creates an new instance of WordDocument class. + Dim destDocument As New WordDocument() + ' Adds a section and a paragraph in the empty document. + destDocument.EnsureMinimal() + ' Sets false value to exclude importing duplicate styles to destination document. + destDocument.ImportStyles = False + destDocument.Sections.Add(srcDocument.LastSection.Clone()) + ' Releases the resources occupied by WordDocument instance. + srcDocument.Close() + ' Saves the document in the given name and format. + destDocument.Save("Document.docx", FormatType.Docx) + ' Releases the resources occupied by WordDocument instance. + destDocument.Close() + + + + + + Gets or sets a value indicating whether to import styles with new unique name, if style exist in destination document with same name and different type. Default value is false + + True: if import styles with same name and different type into destination document by renaming uniquely; otherwise, false. + + This property is used for defining styles import behavior in the scenario of style exist in destination document with same name, but different type. + Setting this property to true, styles with same name and different type will be imported into destination document from source document with new unique name. + Setting it to false, styles with same name and different typewill not be imported and instead the document contents will use default style. + + + + // Creates an new instance of WordDocument class. + WordDocument srcDocument = new WordDocument(); + // Adds a section and a paragraph in the empty document. + srcDocument.EnsureMinimal(); + // Creates a paragraph style (with name "Test") and adds into source document. + WParagraphStyle paragraphStyle = new WParagraphStyle(srcDocument); + paragraphStyle.Name = "Test"; + srcDocument.Styles.Add(paragraphStyle); + // Creates an new instance of WordDocument class. + WordDocument destDocument = new WordDocument(); + // Adds a section and a paragraph in the empty document. + destDocument.EnsureMinimal(); + // Creates a character style (with same paragraph styel name in source) and adds into destination document. + WCharacterStyle characterStyle = new WCharacterStyle(destDocument); + characterStyle.Name = "Test"; + destDocument.Styles.Add(characterStyle); + // Sets true value to include importing duplicate styles (mismatched with types) to destination document. + destDocument.ImportStylesOnTypeMismatch = true; + destDocument.Sections.Add(srcDocument.LastSection.Clone()); + // Releases the resources occupied by WordDocument instance. + srcDocument.Close(); + // Saves the document in the given name and format. + destDocument.Save("Document.docx", FormatType.Docx); + // Releases the resources occupied by WordDocument instance. + destDocument.Close(); + + + ' Creates an new instance of WordDocument class. + Dim srcDocument As New WordDocument() + ' Adds a section and a paragraph in the empty document. + srcDocument.EnsureMinimal() + ' Creates a paragraph style (with name "Test") and adds into source document. + Dim paragraphStyle As New WParagraphStyle(srcDocument) + paragraphStyle.Name = "Test" + srcDocument.Styles.Add(paragraphStyle) + ' Creates an new instance of WordDocument class. + Dim destDocument As New WordDocument() + ' Adds a section and a paragraph in the empty document. + destDocument.EnsureMinimal() + ' Creates a character style (with same paragraph styel name in source) and adds into destination document. + Dim characterStyle As New WCharacterStyle(destDocument) + characterStyle.Name = "Test" + destDocument.Styles.Add(characterStyle) + ' Sets true value to include importing duplicate styles (mismatched with types) to destination document. + destDocument.ImportStylesOnTypeMismatch = True + destDocument.Sections.Add(srcDocument.LastSection.Clone()) + ' Releases the resources occupied by WordDocument instance. + srcDocument.Close() + ' Saves the document in the given name and format. + destDocument.Save("Document.docx", FormatType.Docx) + ' Releases the resources occupied by WordDocument instance. + destDocument.Close() + + + + + + Gets or sets the default character format. + + The default char format. + + + + Gets or sets the default paragraph format. + + The default paragraph format. + + + + Gets the associated strings. + + The def para format. + + + + Gets a value indicating whether this instance is encrypted. + + + if this instance is encrypted, set to true. + + + + + Gets a value indicating whether this instance has pictures. + + + if this instance contains picture, set to true. + + + + + Gets or sets a value indicating whether [write protected]. + + true if [write protected]; otherwise, false. + + + + Gets or sets a value indicating whether to update Alternate chunk + + true update Alternate chunk ; otherwise, false. + + + + Gets/Sets the value indicates the Bookmakrk content delete operation is in progress + + true When deleting the bookmark contents ; otherwise, false. + + + + Gets the list names. + + The list names. + + + + Gets the list and its level number. + + The lists. + + + + Specifies the previous list level of a list style. + + The lists. + + + + Specifies the override style name of all the previous lists + + The lists. + + + + Specifies whether to use hanging indent as tab stop for lists in Doc to PDF lay outing. + + true if use hanging indent as tab stop for lists; otherwise, false. + + + + Specifies whether to use hanging indent as tab position in Word to PDF lay outing. + + true if use hanging indent as tab position; otherwise, false. + + + + Gets the themes settings of the document. + + The themes. + + + + Gets the compatibility settings of the Word document + + The compatibility settings. + + + + Gets/ Set the total number of alternate chunk in the document. + + The alternate chunk count. + + + + Determines whether to create base paragraph style - Normal. + Handled to avoid repeated looping, while creating base paragraph style - Normal (Recursive call). + + + + + Determines whether the Normal style is defined or not. + + + + + + Check Whether document is HTML Import to skip cloning of formFields + + + + + Skip the removing process for child items from field start to field end + + + + + Gets or sets a value indicating that the field range is adding to the collection + + + + + + + + + + Gets or sets the value indicating whether to include header in page border + + + + + Gets or sets the value indicating whether to include footer in page border + + + + + True if the document has different headers and footers + for odd-numbered and even-numbered pages. + + + + + Gets or sets the word version based on the nFib and nFibNew. + Value of nFib Word version + 0x00C0 97 create new document in OS + 0x00C1 97 + 0x00C2 97 BIDI build + 0x00D9 2000 + 0x0101 2002 + 0x010C 2003 + 0x0112 2007 + + The word version. + + + + Returns Whether the document has Table of Contents or not. + + + + + Returns the TOC element of the word document. + + + + + Gets or sets the Base path which is used to convert the relative path to absolute path. + + + + + Gets document fields. + + + + + To hold the all floating items inside the document + + + + + Gets not parsed docx properties. + + + + + Gets the list style Names in Docx and RTF parser alone + + The list styles. + + + + Gets the comment's old and new para ID + + + + + Gets a value indicating whether this instance has docx props. + + + if this instance has docx prop, set to true. + + + + + Indicates whether the document is currently closing. + + + + + + + + + + Determines whether the document contains cover page. + + + + + Gets or sets the track changes balloon count + + + + + Stores the sequence fields last values. + + + + + Comparision options for the document + + + + + Gets sub widgets + + + + + + Gets or sets the STTBF r mark. + + + The STTBF r mark. + + + + + Represents document properties + + + + + + + + + + Initializes a new instance of the class. + + The document. + + + + Sets the version. + + The version. + + + + Closes this instance. + + + + + Gets or sets a value indicating whether to apply shading on form fields. + + True if form field shading is applied, otherwise false. + + + + Gets the document version. Read-only. + + The member that specifies the document version. + + + + Gets the hyphenation settings of the document. Read-only. + + The that specifies the document hyphenation settings. + + + + Represents Hyphenation settings of the document. + + + + + Initializes a new instance of the class. + + The document. + + + + Closes this instance. + + + + + Gets or sets a value indicating whether to hyphenate the document contents automatically. The default is false. + + True if to automatically hyphenate the document contents, otherwise false. + + + + Gets or sets a value indicating whether to hyphenate words in all capital letters. The default is true. + + True if to hyphenate words in all capital letters, otherwise false. + + + + Gets or sets the amount of whitespace which can be left at the end of a line (or added to justified lines) before hyphenation measured in point. + + A float that specifies the amount of whitespace. + Hyphenation zone must be between 0.05 pt and 1584 pt. + + + + Gets or sets the maximum number of consecutive lines of text that can end with a hyphen. + + An integer that specifies the number of consecutive lines. + Consecutive hyphens limit must be between 0 and 32767. + + + + Represents the template document that is attached to the Word document. + + + The following code example demonstrates how to specify the path for the attached template document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument("Template.docx"); + //Set the path for the attached template document + document.AttachedTemplate.Path = "../Data/Attachedtemplate.dotm"; + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument("Template.docx") + 'Set the path for the attached template document + document.AttachedTemplate.Path = "../Data/Attachedtemplate.dotm" + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Initializes a new instance of the class. + + The SttbfAssoc. + + + + Gets or sets the path of the attached template document. + + The string that specifies the path to attached template document. + + + + + + + + + Gets Scheme Color + + + + + Gets format scheme + + + + + Gets Font Scheme + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + Internal class font scheme theme elements + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Class represents settings of the document. + + + + + Initializes a new instance of the class. + + The document. + + + + Closes this instance. + + + + + Sets the compatibility mode for the document + + + + + + Gets the compatibility settings of the document. + + The compatibility settings. + + + + Gets or sets the compatibility mode for the document. + + The compatibility mode. + + + + Gets or sets the value indicate whether the compatibility Mode enabled while opening the Word document + + + + + Gets or sets the value indicates whether to maintain the formatting of the field result during field update. Default value is false. + + + + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Sets the maintain formatting option to the fields of the Word document + document.Settings.MaintainFormattingOnFieldUpdate = true; + //Updates the document fields + document.UpdateDocumentFields(); + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Sets the maintain formatting option to the fields of the Word document + document.Settings.MaintainFormattingOnFieldUpdate = True + 'Updates the document fields + document.UpdateDocumentFields() + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets the value indicates whether to update the merge field result when field code is modified. Default value is true. + + /// + + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + //Sets whether result code must be updated when field code is modified. + document.Settings.UpdateResultOnFieldCodeChange = true; + //Modifies the merge field code. + (document.LastParagraph.ChildEntities[0] as WMergeField).FieldCode = "MERGEFIELD Employee_ID \\*MERGEFORMAT"; + //Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + 'Sets whether result code must be updated when field code is modified. + document.Settings.UpdateResultOnFieldCodeChange = True + 'Modifies the merge field code. + (document.LastParagraph.ChildEntities[0] as WMergeField).FieldCode = "MERGEFIELD Employee_ID \\*MERGEFORMAT" + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets whether the entire field entities or only WField instance should be added. The default is false. + + True, if add only WField instance; Otherwise false. + + + + Gets or sets a value indicating whether to shown the background colors and images in print layout view. Default value is false. + + The DisplayBackgrounds property corresponds to the Background colors and images (Print view only) option located on the View tab of the Options dialog box. + This property is enabled automatically while setting the document background property. + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Set the background type of the document. + document.Background.Type = BackgroundType.Color; + //Set the background color of the document. + document.Background.Color = Color.Red; + //Sets whether background colors and images are shown when a document is displayed in print layout view. + document.Settings.DisplayBackgrounds = false; + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance. + Dim document As New WordDocument("Template.docx") + 'Set the background type of the document. + document.Background.Type = BackgroundType.Color + 'Set the background color of the document. + document.Background.Color = Color.Red + 'Sets whether background colors and images are shown when a document is displayed in print layout view. + document.Settings.DisplayBackgrounds = False + 'Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets the value for hash value in document protection. + + + + + Gets or sets the value for salt value in document protection. + + + + + + + + + + Determines whether the Word document is optimized for browser. + + Default it is true. + + + + Gets or sets the destination duplicate list style names while merging two different documents. + + + + + Gets or sets the theme font languages of the current document. + + + + + Gets or sets a value indicating whether to maintain information about imported list styles in this document. Default value is false + + True: if the information about imported list styles are preserved in this document; otherwise, false. + + This property is used for defining list restart behavior and avoid importing of duplicate list styles in the scenario of cloning and merging independent elements to this document. + Setting it to true, the document preserves information about imported list styles. + Setting it to false, the document doesn't preserve any information about imported list styles. + + + The following code example demonstrates how to preserve information about imported list styles in this document. + + //Opens the source document + WordDocument sourceDocument = new WordDocument("sourceFileName.docx"); + //Opens the destination document + WordDocument destinationDocument = new WordDocument("targetFileName.docx"); + //Sets true value to maintain imported list style cache to destination document + destinationDocument.Settings.MaintainImportedListCache = true; + //Processes the body contents for each section in the Word document + foreach (WSection section in sourceDocument.Sections) + { + //Accesses the body of section where all the contents in document are apart + foreach (TextBodyItem bodyItem in section.Body.ChildEntities) + { + destinationDocument.LastSection.Body.ChildEntities.Add(bodyItem.Clone()); + } + } + //Closes the source document + sourceDocument.Close(); + //Sets false value to exclude imported list style cache to destination document + destinationDocument.Settings.MaintainImportedListCache = false; + //Saves the destination document + destinationDocument.Save("outputFileName.docx", FormatType.Docx); + //Closes the destination document + destinationDocument.Close(); + + + 'Opens the source document + Dim sourceDocument As New WordDocument(sourceFileName) + 'Opens the destination document + Dim destinationDocument As New WordDocument(targetFileName) + 'Sets true value to maintain imported list style cache to destination document + destinationDocument.Settings.MaintainImportedListCache = True + 'Processes the body contents for each section in the Word document + For Each section As WSection In sourceDocument.Sections + 'Accesses the body of section where all the contents in document are apart + For Each bodyItem As TextBodyItem In section.Body.ChildEntities + destinationDocument.LastSection.Body.ChildEntities.Add(bodyItem.Clone()) + Next + Next + 'Closes the source document + sourceDocument.Close() + 'Sets false value to exclude imported list style cache to destination document + destinationDocument.Settings.MaintainImportedListCache = False + 'Saves the destination document + destinationDocument.Save(outputFileName, FormatType.Docx) + 'Closes the destination document + destinationDocument.Close() + + + + + + Gets or sets the value indicates whether to skip the Complex format is not supported exception while opening an incrementally saved (*.doc) Word document. Default value is false + + + True: if need to skip the exception when a Word document have incremental save information while opening; otherwise, False. + + Setting the SkipIncrementalSaveValidation property as true, + skips the Complex format is not supported exception and reads the document content present in the last complete save operation alone. + The recently edited content saved as incremental save using older Microsoft Word application can't be retained. + + + //Creates new instance of WordDocument class. + WordDocument document = new WordDocument(); + //Sets flag to skip old file format exception while opening document. + document.Settings.SkipIncrementalSaveValidation = true; + //Opens an existing document from file system through. + document.Open("Template.docx", FormatType.Automatic); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Creates new instance of WordDocument class. + Dim document As New WordDocument() + 'Sets flag to skip old file format exception while opening document. + document.Settings.SkipIncrementalSaveValidation = True + 'Opens an existing document from file system through. + document.Open(fileName, FormatType.Automatic) + 'Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets the value of math properties. + + + + + Gets or sets a value that indicates whether to preserve embedded OLE images as normal images. Default value is false. + + + + //Creates an empty Word document instance + WordDocument document = new WordDocument(); + //Sets flag to preserve embedded Ole images as normal image while opening document + document.Settings.PreserveOleImageAsImage = true; + //Loads or opens an existing Word document + document.Open(fileName, FormatType.Automatic); + //Saves the resultant Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the Word document + document.Close(); + + + 'Creates an empty Word document instance + Dim document As New WordDocument() + 'Sets flag to preserve embedded Ole images as normal image while opening document + document.Settings.PreserveOleImageAsImage = True + 'Loads or opens an existing Word document + document.Open("Template.docx", FormatType.Automatic) + 'Saves the resultant Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the Word document + document.Close() + + + + + + Class represents compatibility options of the document. + + + + + + + + + + + + + + + Initializes a new instance of the class. + + The document. + + + + Sets the CompatibilityOptions based on key. + + The CompatibilityOptions key. + The value. + + + + Gets the CompatibilityOptions value based on key. + + The CompatibilityOptions key. + + + + Closes this instance. + + + + + Gets or sets the with the specified key. + + + + + + Gets the properties hash. + + The properties hash. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + Parses the specified associated strings. + + The associated strings. + + + + Gets the associated strings as byte array. + + + + + + Gets or sets the attached template. + + The attached template. + + + + Gets or sets the title. + + The title. + + + + Gets or sets the subject. + + The subject. + + + + Gets or sets the key words. + + The key words. + + + + Gets or sets the author. + + The author. + + + + Gets or sets the last modified by. + + The last modified by. + + + + Gets or sets the mail merge data source. + + The mail merge data source. + + + + Gets or sets the mail merge header document. + + The mail merge header document. + + + + Gets or sets the write password. + + The write password. + + + + Represents the footnote in the word document. + + + The following code example demonstrates how to to change the default footnote separator. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Create a section + IWSection section = document.AddSection(); + //Add a paragraph to a section + IWParagraph paragraph = section.AddParagraph(); + //Append the text to paragraph + paragraph.AppendText("Working with footnotes"); + //Formatting the text + paragraph.ApplyStyle(BuiltinStyle.Heading1); + //Add a paragraph to a section + paragraph = section.AddParagraph(); + //Append the footnotes + WFootnote footnote = (WFootnote)paragraph.AppendFootnote(Syncfusion.DocIO.FootnoteType.Footnote); + WTextBody separator = document.Footnotes.Separator; + //Replace the default foot note separate by text + separator.Paragraphs[0].Text = "Footnote separator"; + //Set the footnote character format + footnote.MarkerCharacterFormat.SubSuperScript = SubSuperScript.SuperScript; + //Inserts the text into the paragraph + paragraph.AppendText("Sample content for footnotes").CharacterFormat.Bold = true; + //Add footnote text + paragraph = footnote.TextBody.AddParagraph(); + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + + End Sub + + + + + + Footnote separator. + + + + + Footnote continuation Separator. + + + + + Footnote continuation notice. + + + + + The owner Word document. + + + + + Initializes a new instance of the class. + + The object. + + + + Initializes a new instance of the class. + + The footnote. + + + + Creates a duplicate copy of the current footnote. + + The cloned object. + + + + Sets the owner. + + The document. + + + + Closes this instance. + + + + + Gets or sets the footnote separator of the document. + + The that represents the separator. + + + + Gets or sets the footnote continuation separator of the document. + + The that represents the continuation separator. + + + + Gets or sets the footnote continuation notice of the document. + + The that represents the continuation notice. + + + + Represents an endnote in the Word document. + + + The following code example demonstrates how to + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Create a section + IWSection section = document.AddSection(); + //Add a paragraph to a section + IWParagraph paragraph = section.AddParagraph(); + //Append the text to paragraph + paragraph.AppendText("Working with footnotes"); + //Formatting the text + paragraph.ApplyStyle(BuiltinStyle.Heading1); + //Add a paragraph to section + paragraph = section.AddParagraph(); + //Append the endnote + WFootnote endnote = (WFootnote)paragraph.AppendFootnote(Syncfusion.DocIO.FootnoteType.Endnote); + WTextBody separator = document.Endnotes.Separator; + //Replace the default foot note separate by text + separator.Paragraphs[0].Text = "Endnote separator"; + //Set the endnote character format + endnote.MarkerCharacterFormat.SubSuperScript = SubSuperScript.SuperScript; + //Insert the text into the paragraph + paragraph.AppendText("Sample content for endnotes").CharacterFormat.Bold = true; + //Add the footnote text + paragraph = endnote.TextBody.AddParagraph(); + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Create a section + Dim section As IWSection = document.AddSection() + 'Add a paragraph to a section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the text to paragraph + paragraph.AppendText("Working with footnotes") + 'Formatting the text + paragraph.ApplyStyle(BuiltinStyle.Heading1) + 'Add a paragraph to section + paragraph = section.AddParagraph() + 'Append the endnote + Dim endnote As WFootnote = DirectCast(paragraph.AppendFootnote(Syncfusion.DocIO.FootnoteType.Endnote), WFootnote) + Dim separator As WTextBody = document.Endnotes.Separator + 'Replace the default foot note separate by text + separator.Paragraphs(0).Text = "Endnote separator" + 'Set the endnote character format + endnote.MarkerCharacterFormat.SubSuperScript = SubSuperScript.SuperScript + 'Insert the text into the paragraph + paragraph.AppendText("Sample content for endnotes").CharacterFormat.Bold = True + 'Add the footnote text + paragraph = endnote.TextBody.AddParagraph() + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Endnote separator + + + + + Endnote continuation Separator + + + + + Endnote continuation notice + + + + + The owner Word document. + + + + + Initializes a new instance of the class. + + The object. + + + + Initializes a new instance of the class. + + The endnote. + + + + Creates the duplicate copy of the current endnote. + + The cloned object. + + + + Sets the owner. + + The document. + + + + Closes this instance. + + + + + Gets or sets the endnote separator of the document. + + The that represents the separator. + + + + Gets or sets the endnote continuation separator of the document. + + The that represents the continuation separator. + + + + Gets or sets the endnote continuation notice of the document. + + The that represents the continuation notice. + + + + Image downloading failed event handler + + + + This delegate is not supported in MVC6 and Xamarin platforms. + + + + Represents Image downloading failed event arguments. + + This class is not supported in MVC6 and Xamarin platforms. + + + + + Initialize ImageDownloadingFailedEventArgs + + + + + + Gets the image URI present in the input HTML. Read-only. + + The string that specifies the URI to get image. + This property is not supported in MVC6 and Xamarin platforms. + + + + Gets or sets the user name to access the protected site. + + The string that specifies the user name to get the image from protected site. + This property is not supported in MVC6 and Xamarin platforms. + + + + Gets or sets the password to access the protected site. + + The string that specifies the password to get the image from protected site. + This property is not supported in MVC6 and Xamarin platforms. + + + + Represents the method that handles ImageNodeVisited event + + + + + + + Represents the ImageNodeVisited event that occurs during importing and exporting the HTML file and also exporting as a Markdown file. + + + + + Initialize ImageNodeVisitedEventArgs + + + + + + + + Gets or sets the image URI. + + + While importing HTML, this property denotes the image URI in the input HTML file. + While exporting HTML and Markdown files, this property denotes the image URI to be saved in the output file. + + + + + + + + Execute Image downloading failed event + + + + + + + Execute Image node visited event + + + + + + + + Gets or sets a value indicating whether to consider the list style type for the corresponding list . Default value is false. + + True then considers the list style type; otherwise, false + This property will be considered only for list style type None in HTML importing + + The following code example demonstrates how to set value for IsConsiderListStyleAttribute property + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Creates instance for HTML import settings. + HTMLImportSettings hTMLImport = new HTMLImportSettings(); + //Enable the IsConsiderListStyleAttribute to consider the list style type. + hTMLImport.IsConsiderListStyleAttribute = true; + //Creates instance for Word document. + WordDocument wordDocument = new WordDocument(); + //Sets the HTML import settings for HTML to Word conversion. + wordDocument.HTMLImportSettings = hTMLImport; + //Opens the existing HTML document. + wordDocument.Open(@"InputHTML.html"); + //Save the document as Word document. + wordDocument.Save("sample.docx"); + //Close the document. + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Creates instance for HTML import settings. + Dim hTMLImport As New HTMLImportSettings() + 'Enable the IsConsiderNoneListStyle to consider the list style type. + hTMLImport.IsConsiderListStyleAttribute = True + 'Creates instance for Word document. + Dim wordDocument As New WordDocument() + 'Sets the HTML import settings for HTML to Word conversion. + WordDocument.HTMLImportSettings = hTMLImport + 'Opens the existing HTML document. + WordDocument.Open("InputHTML.html") + 'Save the document as Word document. + WordDocument.Save("sample.docx") + 'Close the document. + WordDocument.Close() + End Sub + + + + + + Some CSS properties are not considered by MS Word during HTML conversions. + At our side we maintain boolean to ensure whether to parse unsupported CSS properties or not, + for Document Editor clipboard functionality. + + + + + Gets a value indicating whether Image node visited event has been subscribed or not.. + + + True if the Image node visited event has been subscribed; otherwise, false. + + + + + Throws event when downloading of HTTP or FTP image fails from secured sites. + + This event is not supported in MVC6 and Xamarin platforms. + + + + + Represents the page setup description. + + + The following code example demonstrates how to set the page setup properties. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + //Set page setup options + section.PageSetup.Orientation = PageOrientation.Landscape; + section.PageSetup.Margins.All = 72; + section.PageSetup.Borders.LineWidth = 2; + section.PageSetup.DifferentFirstPage = true; + section.PageSetup.DifferentOddAndEvenPages = true; + section.PageSetup.FooterDistance = 42; + section.PageSetup.HeaderDistance = 52; + section.PageSetup.LineNumberingDistanceFromText = 10; + section.PageSetup.LineNumberingMode = LineNumberingMode.Continuous; + section.PageSetup.LineNumberingStartValue = 5; + section.PageSetup.LineNumberingStep = 2; + section.PageSetup.PageBorderOffsetFrom = PageBorderOffsetFrom.Text; + section.PageSetup.PageBordersApplyType = PageBordersApplyType.AllPages; + section.PageSetup.PageNumberStyle = PageNumberStyle.RomanUpper; + section.PageSetup.PageSize = new SizeF(612, 792); + section.PageSetup.PageStartingNumber = 1; + section.PageSetup.VerticalAlignment = PageAlignment.Top; + //Add the page number field to even footer of the document + IWParagraph paragraph = section.HeadersFooters.EvenFooter.AddParagraph(); + paragraph.AppendText("PageNumber_EvenPageFooter "); + paragraph.AppendField("Page", FieldType.FieldPage); + //Add the page number field to odd footer of the document + paragraph = section.HeadersFooters.OddFooter.AddParagraph(); + paragraph.AppendText("PageNumber_OddPageFooter "); + paragraph.AppendField("Page", FieldType.FieldPage); + //Add the page number field to first footer of the document + paragraph = section.HeadersFooters.FirstPageFooter.AddParagraph(); + //Add page number field to the document + paragraph.AppendText("PageNumber_FirstPageFooter "); + paragraph.AppendField("Page", FieldType.FieldPage); + //Add a paragraph to section + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + paragraph.AppendBreak(Syncfusion.DocIO.DLS.BreakType.PageBreak); + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + paragraph.AppendBreak(Syncfusion.DocIO.DLS.BreakType.PageBreak); + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + 'Set page setup options + section.PageSetup.Orientation = PageOrientation.Landscape + section.PageSetup.Margins.All = 72 + section.PageSetup.Borders.LineWidth = 2 + section.PageSetup.DifferentFirstPage = True + section.PageSetup.DifferentOddAndEvenPages = True + section.PageSetup.FooterDistance = 42 + section.PageSetup.HeaderDistance = 52 + section.PageSetup.LineNumberingDistanceFromText = 10 + section.PageSetup.LineNumberingMode = LineNumberingMode.Continuous + section.PageSetup.LineNumberingStartValue = 5 + section.PageSetup.LineNumberingStep = 2 + section.PageSetup.PageBorderOffsetFrom = PageBorderOffsetFrom.Text + section.PageSetup.PageBordersApplyType = PageBordersApplyType.AllPages + section.PageSetup.PageNumberStyle = PageNumberStyle.RomanUpper + section.PageSetup.PageSize = New SizeF(612, 792) + section.PageSetup.PageStartingNumber = 1 + section.PageSetup.VerticalAlignment = PageAlignment.Top + 'Add the page number field to even footer of the document + Dim paragraph As IWParagraph = section.HeadersFooters.EvenFooter.AddParagraph() + paragraph.AppendText("PageNumber_EvenPageFooter ") + paragraph.AppendField("Page", FieldType.FieldPage) + 'Add the page number field to odd footer of the document + paragraph = section.HeadersFooters.OddFooter.AddParagraph() + paragraph.AppendText("PageNumber_OddPageFooter ") + paragraph.AppendField("Page", FieldType.FieldPage) + 'Add the page number field to first footer of the document + paragraph = section.HeadersFooters.FirstPageFooter.AddParagraph() + 'Add page number field to the document + paragraph.AppendText("PageNumber_FirstPageFooter ") + paragraph.AppendField("Page", FieldType.FieldPage) + 'Add a paragraph to section + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + paragraph.AppendBreak(Syncfusion.DocIO.DLS.BreakType.PageBreak) + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + paragraph.AppendBreak(Syncfusion.DocIO.DLS.BreakType.PageBreak) + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Limit number of converting arabic to \"A\" format. + + + + + Index of A char in the ASCII table. + + + + + Properties key + + + + + Initializes a new instance of the class. + + The sec. + + + + Sets the property value for page setup property. + + Name of the property. + Value of the property. + + + + Initializes page setup for .docx format + + + + + Compares the current section properties with another section properties + + The paragraph format + + + + Inserts the page numbers. + + True to insert the page number at the top of the page; False to insert the page number at the bottom of the page. + The horizontal alignment of the page number. + + The following code example demonstrates how to insert page number. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add the section into Word document + IWSection section = document.AddSection(); + section.PageSetup.PageStartingNumber = 1; + section.PageSetup.RestartPageNumbering = true; + section.PageSetup.PageNumberStyle = PageNumberStyle.Arabic; + section.PageSetup.InsertPageNumbers(false, PageNumberAlignment.Center); + //Add the paragraph + IWParagraph paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add the section into Word document + Dim section As IWSection = document.AddSection() + section.PageSetup.PageStartingNumber = 1 + section.PageSetup.RestartPageNumbering = True + section.PageSetup.PageNumberStyle = PageNumberStyle.Arabic + section.PageSetup.InsertPageNumbers(False, PageNumberAlignment.Center) + 'Add the paragraph + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + + + + + + + + + + Adds letter instead of number. + + String builder object. + Number to be converted to letter. + + + + Utility metnod. Helps to convert arabic number to \"A\" format. + + Arabic number. + Sequence of number. + + + + + + + + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Registers child objects in XDSL holder. + + + + + + Returns a string that represents the current object. + + A string that represents the current object. + + + + Clones itself. + + + + + + Closes the item. + + + + + Clone page size + + PageSize + + + + Sets the property value. + + The property key. + The value. + + + + Gets the property value. + + The prop key. + + + + + Ensures the composites. + + + + + Get the DefValues for the key. + + + + + + + Returns the default values. + + + The integer that specifies the key. + An object that specifies the default value. + + + + Gets / sets endnote numbering format + + + + + Gets / sets footnote numbering format + + + + + Gets / sets the restart index for endnote + + + + + Gets / sets the restart index for footnotes + + + + + Gets / sets footnote position in the document + + + + + Gets / sets endnote position in the document + + + + + Gets / sets the initial footnote number + + + + + Gets / sets the initial endnote number + + + + + Gets or sets the length of the auto tab. + + The length of the auto tab. + "This property has been deprecated. Use the DefaultTabWidth property of WordDocument class to set default tab width for the document. + + + + Gets or sets page size in points. + + + + + Gets or sets the orientation of the page. + + + + + Gets sets the vertical alignment of text on each page in a document or section. + + + + + Gets or sets the distance (in points) between the all four edge of the page and the all four boundary of the body text. + + + + + Gets or sets the distance (in points) between the header and the top of the page. + + + + + Gets or sets the distance (in points) between the footer and the bottom of the page. + + + + + Gets width of client area. Read-only. + + float value represents the text rendering area width. + + + + Gets or sets a value indicating whether a different header or footer is used on the first page. The default is false + + True if a different header or footer is used on the first page; otherwise, false + + + + Gets or sets a value indicating whether a different header or footer is used on the odd and even pages. The default is false + + True if a different header or footer is used on the odd and even pages; otherwise, false + + + + Gets or sets the way line numbering runs� that is, whether it starts over at the beginning of a new page or section or runs continuously. + + + The following code example illustrates how to add a line number for a section. + + //Open existing Word document. + WordDocument document = new WordDocument("Sample.docx"); + //Iterate each section + foreach (WSection section in document.Sections) + { + //Set the Line numbering mode for the Particular Section. + section.PageSetup.LineNumberingMode = LineNumberingMode.Continuous; + } + //Save the resultant Word document. + document.Save("Sample.docx"); + //Close the document instance. + document.Close(); + + + //Open existing Word document. + Dim document As New WordDocument("Sample.docx") + //Iterate each section + For Each section As WSection In document.Sections + //Set the Line Numbering Mode for the Particular Section. + section.PageSetup.LineNumberingMode = LineNumberingMode.Continuous + Next + //Save the resultant Word document. + document.Save("Sample.docx") + //Close the document instance. + document.Close() + + + + + + Gets or sets the numeric increment for line numbers. For example, if the CountBy property is set to 5, every fifth line will display the line number. + + + The following code example illustrates how to add a line number with step value for a section. + + //Open existing Word document. + WordDocument document = new WordDocument("Sample.docx"); + //Iterate each section + foreach (WSection section in document.Sections) + { + //Set the line numbering mode for the Particular section. + section.PageSetup.LineNumberingMode = LineNumberingMode.Continuous; + //Set the Step value for the LineNumberingMode. + section.PageSetup.LineNumberingStep=2; + } + //Save the resultant Word document. + document.Save("Sample.docx"); + //Close the document instance. + document.Close(); + + + //Open existing Word document. + Dim document As New WordDocument("Sample.docx") + //Iterate each section + For Each section As WSection In document.Sections + //Set the line numbering mode for the Particular section. + section.PageSetup.LineNumberingMode = LineNumberingMode.Continuous + //Set the Step value for the LineNumberingMode. + section.PageSetup.LineNumberingStep = 2 + Next + //Save the resultant Word document. + document.Save("Sample.docx") + //Close the document instance. + document.Close() + + + + + + Gets or sets the starting line number. + + + The following code example illustrates how to add a line number with start value for a section. + + //Open existing Word document. + WordDocument document = new WordDocument("Sample.docx"); + //Iterate each section + foreach (WSection section in document.Sections) + { + //Set the line numbering mode for the Particular Section. + section.PageSetup.LineNumberingMode = LineNumberingMode.Continuous; + //Set the Starting value for the LineNumberingMode. + section.PageSetup.LineNumberingStartValue = 100; + } + //Save the resultant Word document. + document.Save("Sample.docx"); + //Close the document instance. + document.Close(); + + + //Open existing Word document. + Dim document As New WordDocument("Sample.docx") + //Iterate each section + For Each section As WSection In document.Sections + //Set the line numbering mode for the Particular Section. + section.PageSetup.LineNumberingMode = LineNumberingMode.Continuous + //Set the Starting Value for the LineNumbering Mode. + section.PageSetup.LineNumberingStartValue = 100 + Next + //Save the resultant Word document. + document.Save("Sample.docx") + //Close the document instance. + document.Close() + + + + + + Gets or sets the distance (in points) between the right edge of line numbers and the left edge of the document text. + + + The following code example illustrates how to add a line number and its distance from margins of the document for a section. + + //Open existing Word document. + WordDocument document = new WordDocument("Sample.docx"); + //Iterate each section + foreach (WSection section in document.Sections) + { + //Set the line numbering mode for the particular section. + section.PageSetup.LineNumberingMode = LineNumberingMode.Continuous; + //Set the Distance value for the LineNumbering Mode. + section.PageSetup.LineNumberingDistanceFromText = 55.7f; + } + //Save the resultant Word document. + document.Save("Sample.docx"); + //Close the document instance. + document.Close(); + + + //Open existing Word document. + Dim document As New WordDocument("Sample.docx") + //Iterate each section + For Each section As WSection In document.Sections + //Set the line numbering mode for the particular section. + section.PageSetup.LineNumberingMode = LineNumberingMode.Continuous + //Set the Distance value for the LineNumbering Mode. + section.PageSetup.LineNumberingDistanceFromText = 55.7F + Next + //Save the resultant Word document. + document.Save("Sample.docx") + //Close the document instance. + document.Close() + + + + + + Gets or sets the value that determine on which pages border is applied. + + + + + Gets or sets the position of page border. + + + + + Gets or sets a value indicating whether the current page border is the front page border. The default is true. + + True if the current page border is front page; otherwise, false. + + + + Gets the page border. Read-only. + + The collection represents the left, right, top and bottom borders of the page + + + + Gets or sets a value indication whether section contains right-to-left text. The default is false. + + True if the section contains right-to-left text; otherwise, false + + + + Get/set Equal column width property. + + + + + + Gets or sets the page number style. + + + + + Gets or sets the starting page number. + + The page starting number. + + + + Gets or sets a value indicating whether to restart page numbering. + + + True if restart page numbering; otherwise, false. + + + + + Gets or sets the page line pitch. + + The line pitch. + + + + Gets or sets the type of the pitch. + + The type of the pitch. + + + + Gets or sets a value indicating whether to draw lines between columns. + + + if draw lines between columns, set to true. + + + + + + Gets the page number setup. Read-only. + + + + + + Gets or sets value for first paper source of the current section in paper settings + + + The following code example illustrates how to add a line number with start value for a section. + + //Creates an instance of WordDocument. + WordDocument document = new WordDocument(); + //Adds a new section into the Word document. + IWSection section= document.AddSection(); + //Sets the PrinterPaperTray value for FirstPageTray in pagesetup options. + section.PageSetup.FirstPageTray = PrinterPaperTray.EnvelopeFeed; + //Adds a new simple paragraph into the section. + IWParagraph paragraph = section.AddParagraph(); + //Adds new text to the paragraph. + paragraph.AppendText("Added paper source"); + //Saves the resultant Word document. + document.Save("Sample.docx"); + //Closes the document. + document.Close(); + + + //Creates an instance of WordDocument. + Dim document As WordDocument = New WordDocument() + //Adds a new section into the Word document. + Dim section As IWSection = document.AddSection() + //Sets the PrinterPaperTray value for FirstPageTray in pagesetup options. + section.PageSetup.FirstPageTray = PrinterPaperTray.EnvelopeFeed + //Adds a new simple paragraph into the section. + Dim paragraph As IWParagraph = section.AddParagraph() + //Adds new text to the paragraph. + paragraph.AppendText("Added paper source") + //Saves the resultant Word document. + document.Save("Sample.docx") + //Closes the document. + document.Close() + + + + + + Gets or sets value for other paper source of the current section in paper settings + + + The following code example illustrates how to add a line number with start value for a section. + + //Creates an instance of WordDocument. + WordDocument document = new WordDocument(); + //Adds a new section into the Word document. + IWSection section= document.AddSection(); + //Sets the PrinterPaperTray value for OtherPagesTray in pagesetup options. + section.PageSetup.OtherPagesTray = PrinterPaperTray.MiddleBin; + //Adds a new simple paragraph into the section. + IWParagraph paragraph = section.AddParagraph(); + //Adds new text to the paragraph. + paragraph.AppendText("Added paper source"); + //Saves the resultant Word document. + document.Save("Sample.docx"); + //Closes the document. + document.Close(); + + + //Creates an instance of WordDocument. + Dim document As WordDocument = New WordDocument() + //Adds a new section into the Word document. + Dim section As IWSection = document.AddSection() + //Sets the PrinterPaperTray value for OtherPagesTray in pagesetup options. + section.PageSetup.OtherPagesTray = PrinterPaperTray.MiddleBin + //Adds a new simple paragraph into the section. + Dim paragraph As IWParagraph = section.AddParagraph() + //Adds new text to the paragraph. + paragraph.AppendText("Added paper source") + //Saves the resultant Word document. + document.Save("Sample.docx") + //Closes the document. + document.Close() + + + + + + Gets or sets value for Number of columns. + + + + + + Gets or sets value for Columnspace. + + + + + Represents the page numbers in the Word document. + + + The following code example demonstrates how to chapter numbering in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add the section into Word document + IWSection section = document.AddSection(); + //Add the page number to document + section.PageSetup.PageStartingNumber = 1; + section.PageSetup.RestartPageNumbering = true; + section.PageSetup.PageNumberStyle = PageNumberStyle.Arabic; + //Specify the chapter number for heading 1 + section.PageSetup.PageNumbers.HeadingLevelForChapter = HeadingLevel.Heading1; + //SPecify t he chapter number and page number separator + section.PageSetup.PageNumbers.ChapterPageSeparator = ChapterPageSeparatorType.Colon; + //Add a footer paragraph text to the document + IWParagraph paragraph = section.HeadersFooters.Footer.AddParagraph(); + paragraph.ParagraphFormat.Tabs.AddTab(523f, TabJustification.Right, Syncfusion.DocIO.DLS.TabLeader.NoLeader); + //Add text for the footer paragraph + paragraph.AppendText("Copyright Northwind Inc. 2001 - 2024"); + //Add page number field to the document + paragraph.AppendText("\tPage "); + paragraph.AppendField("Page", FieldType.FieldPage); + //Add the paragraph to the text body of the section + paragraph = section.AddParagraph(); + paragraph.AppendText("First Title with Heading 1 Style"); + //Apply Heading 1 built-in style + paragraph.ApplyStyle(BuiltinStyle.Heading1); + WParagraphStyle paraStyle = document.Styles.FindByName("Heading 1") as WParagraphStyle; + //Add the number format list for the Heading 1 style + paraStyle.ListFormat.ApplyDefNumberedStyle(); + paraStyle.ListFormat.CurrentListLevel.PatternType = ListPatternType.UpLetter; + //Add the paragraph + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + //Add the page break + paragraph.AppendBreak(Syncfusion.DocIO.DLS.BreakType.PageBreak); + //Add the another paragraph to section + paragraph = section.AddParagraph(); + paragraph.AppendText("Second Title with Heading 1 Style"); + //Apply Heading 1 built-in style + paragraph.ApplyStyle(BuiltinStyle.Heading1); + //Add the paragraph + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add the section into Word document + Dim section As IWSection = document.AddSection() + 'Add the page number to document + section.PageSetup.PageStartingNumber = 1 + section.PageSetup.RestartPageNumbering = True + section.PageSetup.PageNumberStyle = PageNumberStyle.Arabic + 'Specify the chapter number for heading 1 + section.PageSetup.PageNumbers.HeadingLevelForChapter = HeadingLevel.Heading1 + 'SPecify t he chapter number and page number separator + section.PageSetup.PageNumbers.ChapterPageSeparator = ChapterPageSeparatorType.Colon + 'Add a footer paragraph text to the document + Dim paragraph As IWParagraph = section.HeadersFooters.Footer.AddParagraph() + paragraph.ParagraphFormat.Tabs.AddTab(523F, TabJustification.Right, Syncfusion.DocIO.DLS.TabLeader.NoLeader) + 'Add text for the footer paragraph + paragraph.AppendText("Copyright Northwind Inc. 2001 - 2024") + 'Add page number field to the document + paragraph.AppendText(vbTab & "Page ") + paragraph.AppendField("Page", FieldType.FieldPage) + 'Add the paragraph to the text body of the section + paragraph = section.AddParagraph() + paragraph.AppendText("First Title with Heading 1 Style") + 'Apply Heading 1 built-in style + paragraph.ApplyStyle(BuiltinStyle.Heading1) + Dim paraStyle As WParagraphStyle = TryCast(document.Styles.FindByName("Heading 1"), WParagraphStyle) + 'Add the number format list for the Heading 1 style + paraStyle.ListFormat.ApplyDefNumberedStyle() + paraStyle.ListFormat.CurrentListLevel.PatternType = ListPatternType.UpLetter + 'Add the paragraph + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + 'Add the page break + paragraph.AppendBreak(Syncfusion.DocIO.DLS.BreakType.PageBreak) + 'Add the another paragraph to section + paragraph = section.AddParagraph() + paragraph.AppendText("Second Title with Heading 1 Style") + 'Apply Heading 1 built-in style + paragraph.ApplyStyle(BuiltinStyle.Heading1) + 'Add the paragraph + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Initialize key for the properties. + + + + + Creates duplicate copy of the page number. + + The reference to the newly created . + + + + Sets the property value. + + The property key. + The value. + + + + Compares the current section properties with another section properties + + The paragraph format + + + + Gets the property value. + + The prop key. + + + + + Initializes a new instance of class. + + + + + Return the default values for the property. + + + + + + + Gets or sets the separator between chapter number and page number. + + + The member that specifies the numbering separator. + + + + + Gets or sets the heading level to include chapter number along with page number. + + + The member that specifies the heading level of the chapter. + + + + + Represents the paragraph of text in the Word document. + + + + + Represents a paragraph inside a Section. + + + + + Represents style holders + + + + + Applies a new style. + + The string that represents the style name. + Specified style must exists in Document.Styles collection + + + + Applies the built-in style. + + The member that specifies the built-in style. + + + + Gets the style name. + + The string that represents the style name. + + + + Applies the style with the specified name to the paragraph. + + The string that represents the style name. + The specified style must exists in collection. + + + + Applies the specified built-in style to the paragraph. + + The member that specifies the style. + + + + Appends the specified text to the end of the paragraph. + + The string that specifies the text to be appended. + The instance that represents the newly added text. + The following example illustrates how to append text to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new text to the paragraph + IWTextRange text = paragraph.AppendText("A new text is added to the paragraph."); + text.CharacterFormat.FontSize = 14; + text.CharacterFormat.Bold = true; + text.CharacterFormat.TextColor = Color.Green; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new text to the paragraph + Dim text As IWTextRange = paragraph.AppendText("A new text is added to the paragraph.") + text.CharacterFormat.FontSize = 14 + text.CharacterFormat.Bold = True + text.CharacterFormat.TextColor = Color.Green + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + The following example illustrates how to append inline content control to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new inline control to the paragraph + IInlineContentControl inlineControl = paragraph.AppendInlineContentControl(ContentControlType.RichText); + WTextRange controlText = new WTextRange(document); + controlText.CharacterFormat.Bold = true; + controlText.CharacterFormat.TextColor = Color.Green; + controlText.Text = "Inline content control inserted."; + //Add text range to the control added + inlineControl.ParagraphItems.Add(controlText); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new inline control to the paragraph + Dim inlineControl As IInlineContentControl = paragraph.AppendInlineContentControl(ContentControlType.RichText) + Dim textRange As New WTextRange(document) + textRange.CharacterFormat.Bold = True + textRange.CharacterFormat.TextColor = Color.Green + textRange.Text = "Inline content control inserted." + 'Add text range to the control added + inlineControl.ParagraphItems.Add(textRange) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the specified image to the end of paragraph. + + The to be added. + The instance that represents the newly added image. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin applications. + The following example illustrates how to append image to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add image to the paragraph + IWPicture picture = paragraph.AppendPicture(Image.FromFile("Image.png")); + //Set height and width for the image + picture.Height = 100; + picture.Width = 100; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add image to the paragraph + Dim picture As IWPicture = paragraph.AppendPicture(Image.FromFile("Image.png")) + 'Set height and width for the image + picture.Height = 100 + picture.Width = 100 + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the image specified by the array to the end of paragraph. + + The array of the image to be added. + The instance that represents the newly added image. + The following example illustrates how to append image to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph firstParagraph = section.AddParagraph(); + //Get the image and convert to byte array. + Image image = Image.FromFile("Image.png"); + MemoryStream stream = new MemoryStream(); + image.Save(stream, System.Drawing.Imaging.ImageFormat.Png); + byte[] imageBytes = stream.ToArray(); + //Add image to the paragraph + IWPicture picture = firstParagraph.AppendPicture(imageBytes); + //Set height and width for the image + picture.Height = 100; + picture.Width = 100; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim firstParagraph As IWParagraph = section.AddParagraph() + 'Get the image and convert to byte array. + Dim image__1 As Image = Image.FromFile("Image.png") + Dim stream As New MemoryStream() + image__1.Save(stream, System.Drawing.Imaging.ImageFormat.Png) + Dim imageBytes As Byte() = stream.ToArray() + 'Add image to the paragraph + Dim picture As IWPicture = firstParagraph.AppendPicture(imageBytes) + 'Set height and width for the image + picture.Height = 100 + picture.Width = 100 + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + The following example illustrates how to append image to the paragraph. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph firstParagraph = section.AddParagraph(); + //Get the image as byte array. + byte[] imageBytes = File.ReadAllBytes("Image.png"); + //Get the SVG image as byte array. + byte[] svgData = File.ReadAllBytes("Image.svg"); + //Add SVG image to the paragraph + IWPicture picture = firstParagraph.AppendPicture(svgData, imageBytes); + //Set height and width for the image + picture.Height = 100; + picture.Width = 100; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim firstParagraph As IWParagraph = section.AddParagraph() + 'Get the png image as byte array. + Dim imageBytes As Byte() = File.ReadAllBytes("Image.png") + 'Get the SVG image as byte array. + Dim svgData As Byte() = File.ReadAllBytes("Image.svg") + 'Add SVG image to the paragraph + Dim picture As IWPicture = firstParagraph.AppendPicture(svgData, imageBytes); + 'Set height and width for the image + picture.Height = 100 + picture.Width = 100 + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Appends a chart to the end of the paragraph with the specified data, width and height. + + The two-dimensional array that specifies the data for chart. + The float that represents the width for chart. + The float that represents the height for chart. + The instance that represents the newly added chart. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin applications. + The following example illustrates how to append new chart to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Input data for chart + object[][] data = new object[6][]; + for (int i = 0; i < 6; i++) + data[i] = new object[3]; + data[0][0] = ""; + data[1][0] = "Gravad lax"; + data[2][0] = "Louisiana Hot spiced Okara"; + data[3][0] = "Mascarpone Fabioli"; + data[4][0] = "Wimmers gute SemmelKnodel"; + data[5][0] = "Maxilaku"; + data[0][1] = "Sum of Purchases"; + data[1][1] = 286; + data[2][1] = 680; + data[3][1] = 288; + data[4][1] = 200; + data[5][1] = 731; + data[0][2] = "Sum of Future Expenses"; + data[1][2] = 1300; + data[2][2] = 700; + data[3][2] = 1280; + data[4][2] = 1200; + data[5][2] = 2660; /// + //Create and Append chart to the paragraph + WChart chart = paragraph.AppendChart(data, 470, 300); + //Set chart type and title + chart.ChartTitle = "Purchase Details"; + chart.ChartTitleArea.FontName = "Calibri"; + chart.ChartTitleArea.Size = 14; + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None; + //Set series type + chart.Series[0].SerieType = OfficeChartType.Line_Markers; + chart.Series[1].SerieType = OfficeChartType.Bar_Clustered; + chart.PrimaryCategoryAxis.Title = "Products"; + chart.PrimaryValueAxis.Title = "In Dollars"; + //Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom; + //Save the document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Input data for chart + Dim data As Object()() = New Object(5)() {} + For i As Integer = 0 To 5 + data(i) = New Object(2) {} + Next + data(0)(0) = "" + data(1)(0) = "Gravad lax" + data(2)(0) = "Louisiana Hot spiced Okara" + data(3)(0) = "Mascarpone Fabioli" + data(4)(0) = "Wimmers gute SemmelKnodel" + data(5)(0) = "Maxilaku" + data(0)(1) = "Sum of Purchases" + data(1)(1) = 286 + data(2)(1) = 680 + data(3)(1) = 288 + data(4)(1) = 200 + data(5)(1) = 731 + data(0)(2) = "Sum of Future Expenses" + data(1)(2) = 1300 + data(2)(2) = 700 + data(3)(2) = 1280 + data(4)(2) = 1200 + data(5)(2) = 2660 + 'Create and Append chart to the paragraph + Dim chart As WChart = paragraph.AppendChart(data, 470, 300) + 'Set chart type and title + chart.ChartTitle = "Purchase Details" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None + 'Set series type + chart.Series(0).SerieType = OfficeChartType.Line_Markers + chart.Series(1).SerieType = OfficeChartType.Bar_Clustered + chart.PrimaryCategoryAxis.Title = "Products" + chart.PrimaryValueAxis.Title = "In Dollars" + 'Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom + 'Save the document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends chart to the end of the paragraph with the specified width and height. + + The float that represents the width for chart. + The float that represents the height for chart. + The instance that represents the newly added chart. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin applications. + The following example illustrates how to append new chart to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Create and Append chart to the paragraph + WChart chart = paragraph.AppendChart(446, 270); + //Set chart type + chart.ChartType = OfficeChartType.Pie; + //Set chart title + chart.ChartTitle = "Best Selling Products"; + chart.ChartTitleArea.FontName = "Calibri"; + chart.ChartTitleArea.Size = 14; + //Set data for chart + chart.ChartData.SetValue(1, 1, ""); + chart.ChartData.SetValue(1, 2, "Sales"); + chart.ChartData.SetValue(2, 1, "Cote de Blaye"); + chart.ChartData.SetValue(2, 2, 141.396); + chart.ChartData.SetValue(3, 1, "Thuringer Rostbratwurst"); + chart.ChartData.SetValue(3, 2, 80.368); + chart.ChartData.SetValue(4, 1, "Raclette Courdavault"); + chart.ChartData.SetValue(4, 2, 71.155); + chart.ChartData.SetValue(5, 1, "Tarte au sucre"); + chart.ChartData.SetValue(5, 2, 47.234); + chart.ChartData.SetValue(6, 1, "Camembert Pierrot"); + chart.ChartData.SetValue(6, 2, 46.825); + chart.ChartData.SetValue(7, 1, "Gnocchi di nonna Alice"); + chart.ChartData.SetValue(7, 2, 42.593); + chart.ChartData.SetValue(8, 1, "Manjimup Dried Apples"); + chart.ChartData.SetValue(8, 2, 41.819); + chart.ChartData.SetValue(9, 1, "Alice Mutton"); + chart.ChartData.SetValue(9, 2, 32.698); + chart.ChartData.SetValue(10, 1, "Carnarvon Tigers"); + chart.ChartData.SetValue(10, 2, 29.171); + chart.ChartData.SetValue(11, 1, "R�ssle Sauerkraut."); + chart.ChartData.SetValue(11, 2, 25.696); + //Create a new chart series with the name �Sales� + IOfficeChartSerie pieSeries = chart.Series.Add("Sales"); + pieSeries.Values = chart.ChartData[2, 2, 11, 2]; + //Set data label + pieSeries.DataPoints.DefaultDataPoint.DataLabels.IsValue = true; + pieSeries.DataPoints.DefaultDataPoint.DataLabels.Position = OfficeDataLabelPosition.Outside; + //Set background color + chart.ChartArea.Fill.ForeColor = Color.FromArgb(242, 242, 242); + chart.PlotArea.Fill.ForeColor = Color.FromArgb(242, 242, 242); + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None; + //Set category labels + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 11, 1]; + //Save the document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Create and Append chart to the paragraph + Dim chart As WChart = paragraph.AppendChart(446, 270) + 'Set chart type + chart.ChartType = OfficeChartType.Pie + 'Set chart title + chart.ChartTitle = "Best Selling Products" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + 'Set data for chart + chart.ChartData.SetValue(1, 1, "") + chart.ChartData.SetValue(1, 2, "Sales") + chart.ChartData.SetValue(2, 1, "Cote de Blaye") + chart.ChartData.SetValue(2, 2, 141.396) + chart.ChartData.SetValue(3, 1, "Thuringer Rostbratwurst") + chart.ChartData.SetValue(3, 2, 80.368) + chart.ChartData.SetValue(4, 1, "Raclette Courdavault") + chart.ChartData.SetValue(4, 2, 71.155) + chart.ChartData.SetValue(5, 1, "Tarte au sucre") + chart.ChartData.SetValue(5, 2, 47.234) + chart.ChartData.SetValue(6, 1, "Camembert Pierrot") + chart.ChartData.SetValue(6, 2, 46.825) + chart.ChartData.SetValue(7, 1, "Gnocchi di nonna Alice") + chart.ChartData.SetValue(7, 2, 42.593) + chart.ChartData.SetValue(8, 1, "Manjimup Dried Apples") + chart.ChartData.SetValue(8, 2, 41.819) + chart.ChartData.SetValue(9, 1, "Alice Mutton") + chart.ChartData.SetValue(9, 2, 32.698) + chart.ChartData.SetValue(10, 1, "Carnarvon Tigers") + chart.ChartData.SetValue(10, 2, 29.171) + chart.ChartData.SetValue(11, 1, "R�ssle Sauerkraut.") + 'Create a new chart series with the name �Sales� + Dim pieSeries As IOfficeChartSerie = chart.Series.Add("Sales") + pieSeries.Values = chart.ChartData(2, 2, 11, 2) + 'Set data label + pieSeries.DataPoints.DefaultDataPoint.DataLabels.IsValue = True + pieSeries.DataPoints.DefaultDataPoint.DataLabels.Position = OfficeDataLabelPosition.Outside + 'Set background color + chart.ChartArea.Fill.ForeColor = Color.FromArgb(242, 242, 242) + chart.PlotArea.Fill.ForeColor = Color.FromArgb(242, 242, 242) + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None + 'Set category labels + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 11, 1) + 'Save the document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends chart to the end of the paragraph from the excel file with specified sheet number, range of data, width, and height. + + The excel stream that has data for chart [Excel stream should be "*.xlsx" format]. + The integer represents the worksheet number that has data for chart. + The string represents the data range in the worksheet from which the chart is to be created. + The float that represents the width for chart. + The float that represents the height for chart. + The instance that represents the newly added chart. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin applications. + The following example illustrates how to append new chart to the paragraph using the excel stream. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the excel file as stream + Stream excelStream = File.OpenRead("Excel_Template.xlsx"); + //Create and Append chart to the paragraph with excel stream as parameter + WChart chart = paragraph.AppendChart(excelStream, 1, "B2:C6", 470, 300); + //Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered; + chart.ChartTitle = "Purchase Details"; + chart.ChartTitleArea.FontName = "Calibri"; + chart.ChartTitleArea.Size = 14; + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None; + //Set name to chart series + chart.Series[0].Name = "Sum of Purchases"; + chart.Series[1].Name = "Sum of Future Expenses"; + chart.PrimaryCategoryAxis.Title = "Products"; + chart.PrimaryValueAxis.Title = "In Dollars"; + //Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom; + //Save the document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the excel file as stream + Dim excelStream As Stream = File.OpenRead("Excel_Template.xlsx") + 'Create and Append chart to the paragraph with excel stream as parameter + Dim chart As WChart = paragraph.AppendChart(excelStream, 1, "B2:C6", 470, 300) + 'Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered + chart.ChartTitle = "Purchase Details" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None + 'Set name to chart series + chart.Series(0).Name = "Sum of Purchases" + chart.Series(1).Name = "Sum of Future Expenses" + chart.PrimaryCategoryAxis.Title = "Products" + chart.PrimaryValueAxis.Title = "In Dollars" + 'Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom + 'Save the document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends field to end of the paragraph with the specified field name and field type. + + The string that specifies the field name. + The member that specifies the type of the field. + The instance of the newly added field. + The following example illustrates how to append field to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an instance of WordDocument class (Empty Word Document) + WordDocument document = new WordDocument(); + //Add a new section into the Word Document + IWSection section = document.AddSection(); + //Add a new paragraph into Word document and append text into paragraph + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Today's Date: "); + //Add the new Date field in Word document with field name and its type. + WField field = paragraph.AppendField("Date", FieldType.FieldDate) as WField; + //Field code used to describe how to display the date + field.FieldCode = @"DATE \@" + "\"MMMM d, yyyy\""; + //Save the document in the given name and format + document.Save("Sample.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an instance of WordDocument class (Empty Word Document) + Dim document As New WordDocument() + 'Add a new section into the Word Document + Dim section As IWSection = document.AddSection() + 'Add a new paragraph into Word document and append text into paragraph + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Today's Date: ") + 'Add the new Date field in Word document with field name and its type. + Dim field As WField = TryCast(paragraph.AppendField("Date", FieldType.FieldDate), WField) + 'Field code used to describe how to display the date + field.FieldCode = "DATE \@" + """MMMM d, yyyy""" + 'Save the document in the given name and format + document.Save("Sample.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + End Sub + + + + + + Appends start of the bookmark with specified name to the paragraph. + + The string specifying the bookmark name. + The instance that represents the newly added bookmark start. + The following example illustrates how to add a bookmark to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an instance of WordDocument class (Empty Word Document) + WordDocument document = new WordDocument(); + //Add a new section into the Word Document + IWSection section = document.AddSection(); + //Add a new paragraph into Word document and append text into paragraph + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Northwind Database"); + paragraph.ParagraphFormat.HorizontalAlignment = Syncfusion.DocIO.DLS.HorizontalAlignment.Center; + //Add a paragraph into section + paragraph = section.AddParagraph(); + //Add a new bookmark start into paragraph with name "Northwind" + paragraph.AppendBookmarkStart("Northwind"); + //Add a text between the bookmark start and end into paragraph + paragraph.AppendText("The Northwind sample database (Northwind.mdb) is included with all versions of Access. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases."); + //Add a new bookmark end into paragraph with name " Northwind " + paragraph.AppendBookmarkEnd("Northwind"); + //Add a text after the bookmark end + paragraph.AppendText(" Using Northwind, you can become familiar with how a relational database is structured and how the database objects work together to help you enter, store, manipulate, and print your data."); + //Save the document in the given name and format + document.Save("Bookmarks.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an instance of WordDocument class (Empty Word Document) + Dim document As New WordDocument() + 'Add a new section into the Word Document + Dim section As IWSection = document.AddSection() + 'Add a new paragraph into Word document and append text into paragraph + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Northwind Database") + paragraph.ParagraphFormat.HorizontalAlignment = Syncfusion.DocIO.DLS.HorizontalAlignment.Center + 'Add a paragraph into section + paragraph = section.AddParagraph() + 'Add a new bookmark start into paragraph with name "Northwind" + paragraph.AppendBookmarkStart("Northwind") + 'Add a text between the bookmark start and end into paragraph + paragraph.AppendText("The Northwind sample database (Northwind.mdb) is included with all versions of Access. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases.") + 'Add a new bookmark end into paragraph with name " Northwind " + paragraph.AppendBookmarkEnd("Northwind") + 'Add a text after the bookmark end + paragraph.AppendText(" Using Northwind, you can become familiar with how a relational database is structured and how the database objects work together to help you enter, store, manipulate, and print your data.") + 'Save the document in the given name and format + document.Save("Bookmarks.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + End Sub + + + + + + Appends end of the bookmark with specified name to the paragraph. + + The string specifying the bookmark name. + The instance that represents the newly added bookmark end. + The following example illustrates how to add a bookmark to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an instance of WordDocument class (Empty Word Document) + WordDocument document = new WordDocument(); + //Add a new section into the Word Document + IWSection section = document.AddSection(); + //Add a new paragraph into Word document and append text into paragraph + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Northwind Database"); + paragraph.ParagraphFormat.HorizontalAlignment = Syncfusion.DocIO.DLS.HorizontalAlignment.Center; + //Add a paragraph into section + paragraph = section.AddParagraph(); + //Add a new bookmark start into paragraph with name "Northwind" + paragraph.AppendBookmarkStart("Northwind"); + //Add a text between the bookmark start and end into paragraph + paragraph.AppendText("The Northwind sample database (Northwind.mdb) is included with all versions of Access. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases."); + //Add a new bookmark end into paragraph with name " Northwind " + paragraph.AppendBookmarkEnd("Northwind"); + //Add a text after the bookmark end + paragraph.AppendText(" Using Northwind, you can become familiar with how a relational database is structured and how the database objects work together to help you enter, store, manipulate, and print your data."); + //Save the document in the given name and format + document.Save("Bookmarks.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an instance of WordDocument class (Empty Word Document) + Dim document As New WordDocument() + 'Add a new section into the Word Document + Dim section As IWSection = document.AddSection() + 'Add a new paragraph into Word document and append text into paragraph + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Northwind Database") + paragraph.ParagraphFormat.HorizontalAlignment = Syncfusion.DocIO.DLS.HorizontalAlignment.Center + 'Add a paragraph into section + paragraph = section.AddParagraph() + 'Add a new bookmark start into paragraph with name "Northwind" + paragraph.AppendBookmarkStart("Northwind") + 'Add a text between the bookmark start and end into paragraph + paragraph.AppendText("The Northwind sample database (Northwind.mdb) is included with all versions of Access. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases.") + 'Add a new bookmark end into paragraph with name " Northwind " + paragraph.AppendBookmarkEnd("Northwind") + 'Add a text after the bookmark end + paragraph.AppendText(" Using Northwind, you can become familiar with how a relational database is structured and how the database objects work together to help you enter, store, manipulate, and print your data.") + 'Save the document in the given name and format + document.Save("Bookmarks.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + End Sub + + + + + + Appends the comment to the paragraph. + + The string that specifies the comment. + The instance that represents the newly added comment. + The following example illustrates how to add a comment to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Creates a new Word document. + WordDocument document = new WordDocument(); + //Add a section and a paragraph in the document + document.EnsureMinimal(); + IWParagraph paragraph = document.LastParagraph; + //Append text to the paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"); + //Add comment to a paragraph + WComment comment = paragraph.AppendComment("comment test"); + //Specify the author of the comment + comment.Format.User = "Peter"; + //Specify the initial of the author + comment.Format.UserInitials = "St"; + //Save and close the Word document + document.Save("Comment.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Creates a new Word document. + Dim document As New WordDocument() + 'Add a section and a paragraph in the document + document.EnsureMinimal() + Dim paragraph As IWParagraph = document.LastParagraph + 'Append text to the paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua") + 'Add comment to a paragraph + Dim comment As WComment = paragraph.AppendComment("comment test") + 'Specify the author of the comment + comment.Format.User = "Peter" + 'Specify the initial of the author + comment.Format.UserInitials = "St" + 'Save and close the Word document + document.Save("Comment.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends footnote or endnotes specified by the type to the paragraph. + + The member that specifies the type of footnote. + The instance that represents the newly added footnote. + The footnotes and endnotes are differentiated by the type of the footnote. + The following example illustrates how to add a footnote to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Create a section + IWSection section = document.AddSection(); + //Add a paragraph to a section + IWParagraph paragraph = section.AddParagraph(); + //Append the text to paragraph + paragraph.AppendText("Working with footnotes"); + //Formatting the text + paragraph.ApplyStyle(BuiltinStyle.Heading1); + //Add a paragraph to a section + paragraph = section.AddParagraph(); + //Append the footnotes + WFootnote footnote = (WFootnote) paragraph.AppendFootnote(Syncfusion.DocIO.FootnoteType.Footnote); + //Set the footnote character format + footnote.MarkerCharacterFormat.SubSuperScript = SubSuperScript.SuperScript; + //Inserts the text into the paragraph + paragraph.AppendText("Sample content for footnotes").CharacterFormat.Bold = true; + //Add footnote text + paragraph = footnote.TextBody.AddParagraph(); + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Create a section + Dim section As IWSection = document.AddSection() + 'Add a paragraph to a section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the text to paragraph + paragraph.AppendText("Working with footnotes") + 'Formatting the text + paragraph.ApplyStyle(BuiltinStyle.Heading1) + 'Add a paragraph to a section + paragraph = section.AddParagraph() + 'Append the footnotes + Dim footnote As WFootnote = DirectCast(paragraph.AppendFootnote(Syncfusion.DocIO.FootnoteType.Footnote), WFootnote) + 'Set the footnote character format + footnote.MarkerCharacterFormat.SubSuperScript = SubSuperScript.SuperScript + 'Inserts the text into the paragraph + paragraph.AppendText("Sample content for footnotes").CharacterFormat.Bold = True + 'Add footnote text + paragraph = footnote.TextBody.AddParagraph() + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + �Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + The following example illustrates how to add a endnote to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new document + WordDocument document = new WordDocument(); + //Create a section + IWSection section = document.AddSection(); + //Add a paragraph to a section + IWParagraph paragraph = section.AddParagraph(); + //Append the text to paragraph + paragraph.AppendText("Working with endnotes"); + //Formatting the text + paragraph.ApplyStyle(BuiltinStyle.Heading1); + //Add a paragraph to a section + paragraph = section.AddParagraph(); + //Append the endnote + WFootnote endnote = (WFootnote) paragraph.AppendFootnote(Syncfusion.DocIO.FootnoteType.Endnote); + //Set the endnote character format + endnote.MarkerCharacterFormat.SubSuperScript = SubSuperScript.SuperScript; + //Insert the text into the paragraph + paragraph.AppendText("Sample content for endnotes").CharacterFormat.Bold = true; + //Add footnote text + paragraph = endnote.TextBody.AddParagraph(); + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new document + Dim document As New WordDocument() + 'Create a section + Dim section As IWSection = document.AddSection() + 'Add a paragraph to a section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the text to paragraph + paragraph.AppendText("Working with endnotes") + 'Formatting the text + paragraph.ApplyStyle(BuiltinStyle.Heading1) + 'Add a paragraph to a section + paragraph = section.AddParagraph() + 'Append the endnote + Dim endnote As WFootnote = DirectCast(paragraph.AppendFootnote(Syncfusion.DocIO.FootnoteType.Endnote), WFootnote) + 'Set the endnote character format + endnote.MarkerCharacterFormat.SubSuperScript = SubSuperScript.SuperScript + 'Insert the text into the paragraph + paragraph.AppendText("Sample content for endnotes").CharacterFormat.Bold = True + 'Add footnote text + paragraph = endnote.TextBody.AddParagraph() + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + �Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Append textbox to the end of the paragraph with the specified width and height. + + The float specifies the width of the textbox. + The float specifies the height of the textbox. + The instance that represents the newly added textbox. + The following example illustrates how to add a endnote to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Append new textbox to the paragraph + IWTextBox textbox = paragraph.AppendTextBox(150, 75); + //Add new text to the textbox body + IWParagraph textboxParagraph = textbox.TextBoxBody.AddParagraph(); + textboxParagraph.AppendText("Text inside text box"); + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append new textbox to the paragraph + Dim textbox As IWTextBox = paragraph.AppendTextBox(150, 75) + 'Add new text to the textbox body + Dim textboxParagraph As IWParagraph = textbox.TextBoxBody.AddParagraph() + textboxParagraph.AppendText("Text inside text box") + 'Save and close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends special symbol specified by the character code to end of the paragraph. + + The byte represents the character code of the symbol. + The instance that represents the newly added symbol. + The following example illustrates how to add a symbol to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Example of adding symbols to the paragraph: "); + //Insert symbol with character code 100 + paragraph.AppendSymbol(100); + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Example of adding symbols to the paragraph: ") + 'Insert symbol with character code 100 + paragraph.AppendSymbol(100) + 'Save and close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends break of the specified type to end of the paragraph. + + The member that specifies the type of break. + The instance that represents the newly added break. + The following example illustrates how to add a break to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Before line break"); + //Add line break to the paragraph + paragraph.AppendBreak(BreakType.LineBreak); + paragraph.AppendText("After line break"); + IWParagraph pageBreakPara = section.AddParagraph(); + pageBreakPara.AppendText("Before page break"); + //Add page break to the paragraph + pageBreakPara.AppendBreak(BreakType.PageBreak); + pageBreakPara.AppendText("After page break"); + IWSection secondSection = document.AddSection(); + //Add columns to the section + secondSection.AddColumn(100, 2); + secondSection.AddColumn(100, 2); + IWParagraph columnBreakPara = secondSection.AddParagraph(); + columnBreakPara.AppendText("Before column break"); + //Add column break to the paragraph + columnBreakPara.AppendBreak(BreakType.ColumnBreak); + columnBreakPara.AppendText("After column break"); + //Save and Close the document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Before line break") + 'Add line break to the paragraph + paragraph.AppendBreak(BreakType.LineBreak) + paragraph.AppendText("After line break") + Dim pageBreakPara As IWParagraph = section.AddParagraph() + pageBreakPara.AppendText("Before page break") + 'Add page break to the paragraph + pageBreakPara.AppendBreak(BreakType.PageBreak) + pageBreakPara.AppendText("After page break") + Dim secondSection As IWSection = document.AddSection() + 'Add columns to the section + secondSection.AddColumn(100, 2) + secondSection.AddColumn(100, 2) + Dim columnBreakPara As IWParagraph = secondSection.AddParagraph() + columnBreakPara.AppendText("Before column break") + 'Add column break to the paragraph + columnBreakPara.AppendBreak(BreakType.ColumnBreak) + columnBreakPara.AppendText("After column break") + 'Save and Close the document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends of specified type, width and height to the end of paragraph. + + The member that specifies the shape type. + The float that specifies the width of the shape. + The float that specifies the height of the shape. + The instance that represents the newly added shape. + The following example illustrates how to add a shape to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + //Add new shape to the document + Shape rectangle = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100); + //Set position for shape + rectangle.VerticalPosition = 72; + rectangle.HorizontalPosition = 72; + paragraph = section.AddParagraph() as WParagraph; + //Add text body contents to the shape + paragraph = rectangle.TextBody.AddParagraph() as WParagraph; + IWTextRange text = paragraph.AppendText("This text is in rounded rectangle shape"); + text.CharacterFormat.TextColor = Color.Green; + text.CharacterFormat.Bold = true; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + 'Add new shape to the document + Dim rectangle As Shape = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100) + 'Set position for shape + rectangle.VerticalPosition = 72 + rectangle.HorizontalPosition = 72 + paragraph = TryCast(section.AddParagraph(), WParagraph) + 'Add text body contents to the shape + paragraph = TryCast(rectangle.TextBody.AddParagraph(), WParagraph) + Dim text As IWTextRange = paragraph.AppendText("This text is in rounded rectangle shape") + text.CharacterFormat.TextColor = Color.Green + text.CharacterFormat.Bold = True + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + The following example illustrates how to append html text to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx"); + //Html string to be inserted + string htmlstring = "

This text is inserted as HTML string.

"; + IWParagraph paragraph = document.Sections[0].Body.Paragraphs[0]; + //Append the Html string to first paragraph in the document + paragraph.AppendHTML(htmlstring); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } +
+ + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx") + 'Html string to be inserted + Dim htmlstring As String = "

This text is inserted as HTML string.

" + Dim paragraph As IWParagraph = document.Sections(0).Body.Paragraphs(0) + 'Append the Html string to first paragraph in the document + paragraph.AppendHTML(htmlstring) + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub +
+
+
+ + + Returns the applied to the paragraph. + + The of the current paragraph. + + + + Returns first entry of given string in the paragraph, taking into consideration case sensitive and whole word options. + + The string that specifies the text to find. + + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + + The that contains the found text in the paragraph. + + + The following code example demonstrates how to find a particular text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + WParagraph paragraph = document.Sections[0].Paragraphs[1]; + //Find the first occurrence of a particular text in the paragraph + TextSelection textSelection = paragraph.Find("panda", true, true); + //Get the found text as single text range + WTextRange textRange = textSelection.GetAsOneRange(); + //Modify the text + textRange.Text = "Replaced text"; + //Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow; + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(1) + 'Find the first occurrence of a particular text in the paragraph + Dim textSelection As TextSelection = paragraph.Find("panda", true, true) + 'Get the found text as single text range + Dim textRange As WTextRange = textSelection.GetAsOneRange() + 'Modify the text + textRange.Text = "Replaced text" + 'Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Replaces all entries of given string in the paragraph with , taking into + consideration case sensitive and whole word options. + + The string represents the text to be found. + The specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + WParagraph paragraph = document.Sections[0].Paragraphs[1]; + //Find the first occurrence of the regular expression + TextSelection selection = paragraph.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the paragraph + paragraph.Replace("Giant panda", selection, true, false); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(1) + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = paragraph.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the paragraph + paragraph.Replace("Giant panda", selection, True, False) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the paragraph with , taking into + consideration case sensitive, whole word and formatting options. + + The string represents the text to be found. + The specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + Set to true if to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + WParagraph paragraph = document.Sections[0].Paragraphs[1]; + //Find the first occurrence of the regular expression + TextSelection selection = paragraph.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the paragraph + paragraph.Replace("Giant panda", selection, true, false, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(1) + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = paragraph.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the paragraph + paragraph.Replace("Giant panda", selection, True, False, False) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends the check box to the paragraph. + + The instance that represents the newly added checkbox. + The following example illustrates how to add a checkbox to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("Gender\t"); + //Append new Checkbox + WCheckBox checkbox = paragraph.AppendCheckBox(); + checkbox.Checked = false; + //Set Checkbox size + checkbox.CheckBoxSize = 10; + checkbox.CalculateOnExit = true; + //Set help text + checkbox.Help = "Help text"; + paragraph.AppendText("Male\t"); + checkbox = paragraph.AppendCheckBox(); + checkbox.Checked = false; + checkbox.CheckBoxSize = 10; + checkbox.CalculateOnExit = true; + paragraph.AppendText("Female"); + //Save the Word document + document.Save("Checkbox.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + paragraph.AppendText("Gender" & vbTab) + 'Append new Checkbox + Dim checkbox As WCheckBox = paragraph.AppendCheckBox() + checkbox.Checked = False + 'Set Checkbox size + checkbox.CheckBoxSize = 10 + checkbox.CalculateOnExit = True + 'Set help text + checkbox.Help = "Help text" + paragraph.AppendText("Male" & vbTab) + checkbox = paragraph.AppendCheckBox() + checkbox.Checked = False + checkbox.CheckBoxSize = 10 + checkbox.CalculateOnExit = True + paragraph.AppendText("Female") + 'Save the Word document + document.Save("Checkbox.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the text form field to the paragraph with the specified default text. + + The string specifying the default text. + To insert default Word text, "null" can be passed as parameter. + The instance that represents the newly added text form field. + The following example illustrates how to add a text form field to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("General Information"); + section.AddParagraph(); + paragraph = section.AddParagraph() as WParagraph; + IWTextRange text = paragraph.AppendText("Name\t"); + text.CharacterFormat.Bold = true; + //Append Text form field + WTextFormField textfield = paragraph.AppendTextFormField(null); + //Set type of Text form field + textfield.Type = TextFormFieldType.RegularText; + textfield.CharacterFormat.FontName = "Calibri"; + textfield.CalculateOnExit = true; + //Save the Word document + document.Save("Textfield.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + paragraph.AppendText("General Information") + section.AddParagraph() + paragraph = TryCast(section.AddParagraph(), WParagraph) + Dim text As IWTextRange = paragraph.AppendText("Name" & vbTab) + text.CharacterFormat.Bold = True + 'Append Text form field + Dim textfield As WTextFormField = paragraph.AppendTextFormField(Nothing) + 'Set type of Text form field + textfield.Type = TextFormFieldType.RegularText + textfield.CharacterFormat.FontName = "Calibri" + textfield.CalculateOnExit = True + 'Save the Word document + document.Save("Textfield.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the drop down form field to the paragraph. + + The instance that represents the newly added drop down form field. + + + + Appends the check box to the paragraph with specified name and default value. + + The string that specifies the name of the check box. + A Boolean indicating the default value of the checkbox. + True if the checkbox should be checked by default; otherwise, false. + The instance that represents the newly added checkbox. + The following example illustrates how to add a checkbox to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("Gender\t"); + //Append new Checkbox + WCheckBox checkbox = paragraph.AppendCheckBox("CheckBox1", true); + //checkbox.Checked = false; + //Set Checkbox size + checkbox.CheckBoxSize = 10; + checkbox.CalculateOnExit = true; + //Set help text + checkbox.Help = "Help text"; + paragraph.AppendText("Male\t"); + checkbox = paragraph.AppendCheckBox("CheckBox2",false); + //checkbox.Checked = false; + checkbox.CheckBoxSize = 10; + checkbox.CalculateOnExit = true; + paragraph.AppendText("Female"); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + paragraph.AppendText("Gender" & vbTab) + 'Append new Checkbox + Dim checkbox As WCheckBox = paragraph.AppendCheckBox("CheckBox1", True) + 'checkbox.Checked = false; + 'Set Checkbox size + checkbox.CheckBoxSize = 10 + checkbox.CalculateOnExit = True + 'Set help text + checkbox.Help = "Help text" + paragraph.AppendText("Male" & vbTab) + checkbox = paragraph.AppendCheckBox("CheckBox2", False) + 'checkbox.Checked = false; + checkbox.CheckBoxSize = 10 + checkbox.CalculateOnExit = True + paragraph.AppendText("Female") + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the text form field to the paragraph with the specified field name and default text. + + The string that specifies the name of the form field. + The string specifying the default text. + To insert default Word text, "null" can be passed as parameter. + The instance that represents the newly added text form field. + The following example illustrates how to add a text form field to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("General Information"); + section.AddParagraph(); + paragraph = section.AddParagraph() as WParagraph; + IWTextRange text = paragraph.AppendText("Date of Birth\t"); + text.CharacterFormat.Bold = true; + //Append Text form field + WTextFormField textfield = paragraph.AppendTextFormField("Date field", DateTime.Now.ToString("MM/DD/YY")); + textfield.StringFormat = "MM/DD/YY"; + //Set Text form field type + textfield.Type = TextFormFieldType.DateText; + textfield.CalculateOnExit = true; + //Save the Word document + document.Save("Textfield.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + paragraph.AppendText("General Information") + section.AddParagraph() + paragraph = TryCast(section.AddParagraph(), WParagraph) + Dim text As IWTextRange = paragraph.AppendText("Date of Birth" & vbTab) + text.CharacterFormat.Bold = True + 'Append Text form field + Dim textfield As WTextFormField = paragraph.AppendTextFormField("Date field", DateTime.Now.ToString("MM/DD/YY")) + textfield.StringFormat = "MM/DD/YY" + 'Set Text form field type + textfield.Type = TextFormFieldType.DateText + textfield.CalculateOnExit = True + 'Save the Word document + document.Save("Textfield.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the drop down form field to the paragraph. + + The string that specifies the name of the drop drop down field. + The instance that represents the newly added drop down form field. + The following example illustrates how to add a checkbox to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("Educational Qualification\t"); + //Append Dropdown field + WDropDownFormField dropdownfield = paragraph.AppendDropDownFormField("FieldName"); + //Add items to the dropdown items collection + dropdownfield.DropDownItems.Add("Higher"); + dropdownfield.DropDownItems.Add("Vocational"); + dropdownfield.DropDownItems.Add("Universal"); + dropdownfield.Enabled = true; + //Set the item index for default value + dropdownfield.DropDownSelectedIndex = 1; + dropdownfield.CalculateOnExit = true; + //Save the Word document + document.Save("Dropdown.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + paragraph.AppendText("Educational Qualification" & vbTab) + 'Append Dropdown field + Dim dropdownfield As WDropDownFormField = paragraph.AppendDropDownFormField("FieldName") + 'Add items to the dropdown items collection + dropdownfield.DropDownItems.Add("Higher") + dropdownfield.DropDownItems.Add("Vocational") + dropdownfield.DropDownItems.Add("Universal") + dropdownfield.Enabled = True + 'Set the item index for default value + dropdownfield.DropDownSelectedIndex = 1 + dropdownfield.CalculateOnExit = True + 'Save the Word document + document.Save("Dropdown.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the hyperlink to the paragraph with the specified link, display text and type of link. + + The string that specifies the link. + The string that specifies the text to display. + The member that specifies the link type. + The instance that represents the newly added hyperlink. + The following example illustrates how to append field to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Web Hyperlink: "); + paragraph = section.AddParagraph(); + //Append web hyperlink to the paragraph + IWField field = paragraph.AppendHyperlink("http://www.syncfusion.com", "Syncfusion", HyperlinkType.WebLink); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Web Hyperlink: ") + paragraph = section.AddParagraph() + 'Append web hyperlink to the paragraph + Dim field As IWField = paragraph.AppendHyperlink("http://www.syncfusion.com", "Syncfusion", HyperlinkType.WebLink) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the hyperlink to the paragraph with the specified link, picture and type of link. + + The string that specifies the link. + The picture to display. + The member that specifies the link type. + The instance that represents the newly added hyperlink. + The following example illustrates how to append field to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Image Hyperlink"); + paragraph = section.AddParagraph(); + //Create a new image instance and load image + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Append new image hyperlink to the paragraph + paragraph.AppendHyperlink("http://www.syncfusion.com", picture, HyperlinkType.WebLink); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Image Hyperlink") + paragraph = section.AddParagraph() + 'Create a new image instance and load image + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Append new image hyperlink to the paragraph + paragraph.AppendHyperlink("http://www.syncfusion.com", picture, HyperlinkType.WebLink) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Removes the absolute position data, if paragraph has absolute position in the document. + + + + + Appends the table of content to the end of the paragraph with the specified lower and upper heading levels. + + The integer specifying the starting heading level of the table of content. + The integer specifying the ending heading level of the table of content. + The instance that represents the newly added table of content. + The following example illustrates how to add a table of contents to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add the section into the Word document + IWSection section = document.AddSection(); + string paraText = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"; + //Add the paragraph into the created section + IWParagraph paragraph = section.AddParagraph(); + //Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determines the TOC entries + paragraph.AppendTOC(1, 3); + //Add the section into the Word document + section = document.AddSection(); + //Add the paragraph into the created section + paragraph = section.AddParagraph(); + //Add the text for the headings + paragraph.AppendText("First Chapter"); + //Set a build in heading style. + paragraph.ApplyStyle(BuiltinStyle.Heading1); + //Add the text into the paragraph + section.AddParagraph().AppendText(paraText); + //Add the section into the Word document + section = document.AddSection(); + //Add the paragraph into the created section + paragraph = section.AddParagraph(); + //Add the text for the headings + paragraph.AppendText("Second Chapter"); + //Set a build in heading style. + paragraph.ApplyStyle(BuiltinStyle.Heading2); + //Add the text into the paragraph + section.AddParagraph().AppendText(paraText); + //Add the section into the Word document + section = document.AddSection(); + //Add the paragraph into the created section + paragraph = section.AddParagraph(); + //Add the text into the headings + paragraph.AppendText("Third Chapter"); + //Set a build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading3); + //Add the text into the paragraph. + section.AddParagraph().AppendText(paraText); + //Update the table of contents + document.UpdateTableOfContents(); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add the section into the Word document + Dim section As IWSection = document.AddSection() + Dim paraText As String = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula" + 'Add the paragraph into the created section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determines the TOC entries + paragraph.AppendTOC(1, 3) + 'Add the section into the Word document + section = document.AddSection() + 'Add the paragraph into the created section + paragraph = section.AddParagraph() + 'Add the text for the headings + paragraph.AppendText("First Chapter") + 'Set a build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading1) + 'Add the text into the paragraph. + section.AddParagraph().AppendText(paraText) + 'Add the section into the Word document + section = document.AddSection() + 'Add the paragraph into the created section + paragraph = section.AddParagraph() + 'Add the text for the headings + paragraph.AppendText("Second Chapter") + 'Set a build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading2) + 'Add the text into the paragraph + section.AddParagraph().AppendText(paraText) + 'Add the section into the Word document + section = document.AddSection() + 'Add the paragraph into the created section + paragraph = section.AddParagraph() + 'Add the text into the headings + paragraph.AppendText("Third Chapter") + 'Set a build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading3) + 'Add the text into the paragraph + section.AddParagraph().AppendText(paraText) + 'Update the table of contents + document.UpdateTableOfContents() + �Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends a Cross-Reference of specified reference type, reference kind, entity, hyperlink, separators at the end of the paragraph. + + The member that specifies the + type of item for which a cross-reference is to be inserted. + The member that specifies the + information to be included in the cross-reference. + The for which a cross-reference is to be inserted. + True if to insert the cross-reference as a hyperlink to the referenced item; otherwise, false. + True if to insert "above" or "below," depending on the location of the reference item in relation to the cross-reference. + True if to use a separator to separate the numbers from the associated text; otherwise, false.(Used only if the ReferenceKind parameter is set to ParagraphNumberFullContext). + The string that specifies a separator if the separateNumber parameter is set to true. + + The cross reference fields can be created and updated only for the in a document. + Use the method to get a list of items that can have cross-reference. + + + + The following example illustrates how to append a cross-reference for bookmark to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + IWParagraph paragraph = section.AddParagraph(); + //Add text, bookmark start and end in the paragraph + paragraph.AppendBookmarkStart("Title"); + paragraph.AppendText("Northwind Database"); + paragraph.AppendBookmarkEnd("Title"); + paragraph = section.AddParagraph(); + paragraph.AppendText("The Northwind sample database (Northwind.mdb) is included with all versions of Access. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases."); + section = document.AddSection(); + section.AddParagraph(); + paragraph = section.AddParagraph() as WParagraph; + //Get the collection of bookmark start in the word document + List<Entity> items = document.GetCrossReferenceItems(ReferenceType.Bookmark); + paragraph.AppendText("Bookmark Cross Reference starts here "); + //Append the cross reference for bookmark �Title� with ContentText as reference kind + paragraph.AppendCrossReference(ReferenceType.Bookmark, ReferenceKind.ContentText, items[0], true, false, false, string.Empty); + //Update the document Fields + document.UpdateDocumentFields(); + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add text, bookmark start and end in the paragraph + paragraph.AppendBookmarkStart("Title") + paragraph.AppendText("Northwind Database") + paragraph.AppendBookmarkEnd("Title") + paragraph = section.AddParagraph() + paragraph.AppendText("The Northwind sample database (Northwind.mdb) is included with all versions of Access. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases.") + section = document.AddSection() + section.AddParagraph() + paragraph = TryCast(section.AddParagraph(), WParagraph) + 'Get the collection of bookmark start in the word document + Dim items As List(Of Entity) = document.GetCrossReferenceItems(ReferenceType.Bookmark) + paragraph.AppendText("Bookmark Cross Reference starts here ") + 'Append the cross reference for bookmark �Title� with ContentText as reference kind + paragraph.AppendCrossReference(ReferenceType.Bookmark, ReferenceKind.ContentText, items(0), True, False, False, String.Empty) + 'Update the document Fields + document.UpdateDocumentFields() + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified stream, picture and object type. + + The represents the file stream. + The instance for the OLE picture. + The member that specifies the type of OLE object. + The instance that represents the newly created OLE object. + The following example illustrates how to append OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Open the file to be embedded + FileStream stream = new FileStream("Book1.xlsx", FileMode.Open); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Append the Ole object to the paragraph + WOleObject ole = paragraph.AppendOleObject(stream, picture, OleObjectType.ExcelWorksheet); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Open the file to be embedded + Dim stream As New FileStream("Book1.xlsx", FileMode.Open) + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Append the Ole object to the paragraph + Dim ole As WOleObject = paragraph.AppendOleObject(stream, picture, OleObjectType.ExcelWorksheet) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified byte array, picture and object type. + + The byte array of the file. + The instance for the OLE picture. + The member that specifies the type of OLE object. + The instance that represents the newly created OLE object. + The following example illustrates how to append OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Get the file as byte array + byte[] olebytes = File.ReadAllBytes("Excel_Template.xlsx"); + paragraph = sec.AddParagraph(); + //Append OLE object + paragraph.AppendOleObject(olebytes, picture, OleObjectType.ExcelWorksheet); + //Save the Word document + document.Save("Sample.docx", FormatType.Word2010); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Get the file as byte array + Dim olebytes As Byte() = File.ReadAllBytes("Excel_Template.xlsx") + paragraph = sec.AddParagraph() + 'Append OLE object + paragraph.AppendOleObject(olebytes, picture, OleObjectType.ExcelWorksheet) + 'Save the Word document + document.Save("Sample.docx", FormatType.Word2010) + 'Close the document + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified stream, picture and file link type. + + The represents the file stream. + The instance for the OLE picture. + The member that specifies the link type of OLE object. + The instance that represents the newly created OLE object. + The OLE object type must be explicitly specified when appending OLE objects using this method. + The following example illustrates how to append OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + FileStream stream = new FileStream("Excel_Template.xlsx", FileMode.Open); + WOleObject ole = paragraph.AppendOleObject(stream, picture, OleLinkType.Embed); + ole.ObjectType = "Excel Worksheet"; + //Save the Word document + document.Save("Sample.docx", FormatType.Word2010); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + Dim stream As New FileStream("Excel_Template.xlsx", FileMode.Open) + Dim ole As WOleObject = paragraph.AppendOleObject(stream, picture, OleLinkType.Embed) + ole.ObjectType = "Excel Worksheet" + 'Save the Word document + document.Save("Sample.docx", FormatType.Word2010) + 'Close the document + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified byte array of the file, picture and link type. + + The byte array of the file. + The instance for the OLE picture. + The member that specifies the link type of OLE object. + The instance that represents the newly created OLE object. + The OLE object type must be explicitly specified when appending OLE objects using this method. + The following example illustrates how to append OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Get the file as byte array + byte[] olebytes = File.ReadAllBytes("Excel_Template.xlsx"); + WOleObject ole = paragraph.AppendOleObject(olebytes, picture, OleLinkType.Embed); + ole.ObjectType = "Excel Worksheet"; + //Save the Word document + document.Save("Sample.docx", FormatType.Word2010); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Get the file as byte array + Dim olebytes As Byte() = File.ReadAllBytes("Excel_Template.xlsx") + Dim ole As WOleObject = paragraph.AppendOleObject(olebytes, picture, OleLinkType.Embed) + ole.ObjectType = "Excel Worksheet" + 'Save the Word document + document.Save("Sample.docx", FormatType.Word2010) + 'Close the document + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified byte array of the file, picture and file extension. + + The byte array of the file. + The instance for the OLE picture. + The string that specifies the file extension. + The instance that represents the newly created OLE object. + The following example illustrates how to append OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Get the file as byte array + byte[] olebytes = File.ReadAllBytes("Excel_Template.xlsx"); + paragraph = sec.AddParagraph(); + //Append OLE object + paragraph.AppendOleObject(olebytes, picture, ".xlsx"); + //Save the Word document + document.Save("Sample.docx", FormatType.Word2010); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Get the file as byte array + Dim olebytes As Byte() = File.ReadAllBytes("Excel_Template.xlsx") + paragraph = sec.AddParagraph() + 'Append OLE object + paragraph.AppendOleObject(olebytes, picture, ".xlsx") + 'Save the Word document + document.Save("Sample.docx", FormatType.Word2010) + 'Close the document + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified file stream, picture and file extension. + + The represents the file stream. + The instance for the OLE picture. + The string that specifies the file extension. + The instance that represents the newly created OLE object. + The following example illustrates how to append OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Open the file to be embedded + FileStream stream = new FileStream("Excel_Template.xlsx", FileMode.Open); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Append the Ole object to the paragraph + WOleObject ole = paragraph.AppendOleObject(stream, picture, "xlsx"); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Open the file to be embedded + Dim stream As New FileStream("Excel_Template.xlsx", FileMode.Open) + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Append the Ole object to the paragraph + Dim ole As WOleObject = paragraph.AppendOleObject(stream, picture, "xlsx") + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified path, picture and object type. + + The string specifying the path to file. + The instance for the OLE picture. + The member that specifies the type of OLE object. + The instance that represents the newly created OLE object. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin applications. + The following example illustrates how to append a OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + paragraph = sec.AddParagraph(); + paragraph.AppendOleObject(@"..\..\Data\Excel_Template.xlsx", picture, OleObjectType.ExcelWorksheet); + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + paragraph = sec.AddParagraph() + paragraph.AppendOleObject("..\..\Data\Excel_Template.xlsx", picture, OleObjectType.ExcelWorksheet) + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified path and picture. + + The string specifying the path to file. + The instance for the OLE picture. + The instance that represents the newly created OLE object. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin applications. + The following example illustrates how to append a OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + WOleObject ole = paragraph.AppendOleObject(@"..\..\Data\Excel_Template.xlsx", picture); + //Set how to display the Ole object + ole.DisplayAsIcon = false; + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + Dim ole As WOleObject = paragraph.AppendOleObject("..\..\Data\Excel_Template.xlsx", picture) + 'Set how to display the Ole object + ole.DisplayAsIcon = False + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Appends the mathematical equation to the paragraph. + + The instance that represents the newly added mathematical equation. + + + + Appends a mathematical equation to the paragraph using LaTeX syntax. + + The LaTeX syntax representing the mathematical equation. + The instance that represents the newly added mathematical equation. + The following example illustrates how to append math using LaTeX to the paragraph. + + //Create a new Word document + using(WordDocument wordDocument = new WordDocument()) + { + //Adds one section and one paragraph to the document + wordDocument.EnsureMinimal(); + //Appends a new mathematical equation to the paragraph using LaTeX syntax. + wordDocument.LastParagraph.AppendMath(@"\dot{a}"); + //Saves the Word document + wordDocument.Save("Result.docx", FormatType.Docx); + } + + + 'Create a new Word document + Dim wordDocument As New WordDocument() + 'Adds one section and one paragraph to the document + wordDocument.EnsureMinimal() + 'Appends a new mathematical equation to the paragraph using LaTeX syntax. + wordDocument.LastParagraph.AppendMath("\dot{a}") + 'Saves the Word document + wordDocument.Save("Result.docx", FormatType.Docx) + 'Close the document + wordDocument.Close() + + + + + + Inserts a section break. Creates new section with the break type new page. + + A reference to the newly created section. + + The following code example illustrates how to insert a section break. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + document.EnsureMinimal(); + //Add text to the first section + document.LastParagraph.AppendText("First section"); + //Insert section break + WSection newsection = document.LastParagraph.InsertSectionBreak(); + //Add new paragraph to the second section + IWParagraph paragraph = newsection.AddParagraph(); + paragraph.AppendText("Second section"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + document.EnsureMinimal() + 'Add text to the first section + document.LastParagraph.AppendText("First section") + 'Insert section break + Dim newsection As WSection = document.LastParagraph.InsertSectionBreak() + 'Add new paragraph to the second section + Dim paragraph As IWParagraph = newsection.AddParagraph() + paragraph.AppendText("Second section") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Inserts the section break. Creates new section with the specified break type. + + The member that specifies the break type. + A reference to the newly created section. + + The following code example illustrates how to insert a section break. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + document.EnsureMinimal(); + //Add text to the first section + document.LastParagraph.AppendText("First section"); + //Insert section break + WSection newsection = document.LastParagraph.InsertSectionBreak(SectionBreakCode.Oddpage); + //Add new paragraph to the second section + IWParagraph paragraph = newsection.AddParagraph(); + paragraph.AppendText("Second section"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + document.EnsureMinimal() + 'Add text to the first section + document.LastParagraph.AppendText("First section") + 'Insert section break + Dim newsection As WSection = document.LastParagraph.InsertSectionBreak(SectionBreakCode.Oddpage) + 'Add new paragraph to the second section + Dim paragraph As IWParagraph = newsection.AddParagraph() + paragraph.AppendText("Second section") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the name of the style applied to the current paragraph. Read-only. + + The string that represents the style name. + + + + Gets or sets text of the paragraph. + + The string that represents the text. + All the internal formatting will be cleared when new text is set. + + + + Gets or sets a value indicating whether the paragraph mark is treated as special hidden and it allows Microsoft Word to join paragraphs formatted using different paragraph styles. + + True if the paragraph mark is treated as special hidden; otherwise, false. + + + + Gets the paragraph item at the specified index. Read-only. + + The zero-based index of the item to get from the collection. + The at the specified index. + + + + Gets the paragraph format of the current paragraph. Read-only. + + The of the paragraph. + + + + Gets the paragraph format. + + + + + Gets the format for the list in the paragraph. Read-only. + + The of the list in the paragraph. + + + + Gets the character format for the break symbol. Read-only. + + The of the paragraph. + + + + Gets a value indicating whether the current paragraph is in cell. Read-only. + + True if this paragraph is in cell; otherwise, false. + + + + Gets a value indicating whether the current paragraph is end of the section. Read-only. + + True if this paragraph is end of section; otherwise false. + + + + + Gets a value indicating whether the current paragraph is end of document. Read-only. + + True if this paragraph is end of document; otherwise, false. + + + + + Gets a string that represent the appearance of the list value of the paragraph. + + The string that represents a string value of the list of the paragraph. Default value is string.Empty + The following example illustrates how to get a numeric string value of the list paragraph. + + // Loads an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Gets the document text + document.GetText(); + // Gets a numeric string value of the numbering list paragraph. + String listString = document.LastParagraph.ListString; + // Saves the document in the given name and format. + document.Save("Document.docx", FormatType.Docx); + // Releases the resources occupied by WordDocument instance. + document.Close(); + + + ' Loads an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + ' Gets the document text. + document.GetText() + ' Gets a numeric string value of the numbering list paragraph + Dim listString As String = document.LastParagraph.ListString + ' Saves the document in the given name and format. + document.Save("Document.docx", FormatType.Docx) + ' Releases the resources occupied by WordDocument instance. + document.Close() + + + This property holds the static string of the list value recently calculated while saving the document as Text. It is not updated automatically for each modification done in the document. + Hence, you should either invoke WordDocument.GetText() method or save the document as Text, to get the actual list value from this property. + For a picture bulleted list, this property is not valid and will return string.Empty. + + + + + + + + + Member that represents the paragraph style. + + + + + + The paragraph text + + + + + Returns a numeric string of the of the list paragraph. + + + + + Member that represents the paragraph format. + + + + + + Member that represents the list format. + + + + + + Member that represents the collection of paragraph items. + + + + + + The paragraph items with one empty item. + + + + + The paragraph items. + + + + + + + + + + Specifies the owner textbody item. + Denotes the owner table, if the current body item is in table cell. + + + + + Determines whether the empty text range is need to added or not for break item. + + + + + + Determine whether the paragraph contains DIN Offc font text. + + + + + + If we can create excat Din font, we need to return true or else need to return false. + + + + + + + + Creates font based on given font details. + + Name of the font. + Size of the font. + Style of the font. + The created font. + + + + Determine whether the paragraph contains floating items alone + + + + + + Determine whether the last item of the paragraph is a break or not. + + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Get Outline Level of the Heading. + + The member that specifies the outline level. + + + + Move the paragraph items to another paragraph. + + + + + + + + Checks whether we need to fit the symbol inside the shape or not. + + + returns true if need to fit symbol. otherwise false + + + + Change style when style is "Normal",custom type and not default. + + + + + Checks whether paragraph has inline item + + + returns true if item is inline item. otherwise false + + + + Splits the textrange into new paragraphs if new line character exsists in the text + + + + + + + Insert the page/column break after formattings. + + + + + + Applies the style with the specified name to the paragraph. + + The string that represents the style name. + The specified style must exists in collection. + + + + Applies the style with the specified name to the paragraph. + + The string that represents the style name. + The specified style must exists in collection. + + + + Applies the specified built-in style to the paragraph. + + The member that specifies the style. + + + + Applies the specified built-in style to the paragraph. + + The member that specifies the style. + + + + Returns the applied to the paragraph. + + The of the current paragraph. + + + + Removes the absolute position data, if paragraph has absolute position in the document. + + + + + /// Find the verticalmerge end cell has the Exactly height property. + + Owner cell of the paragraph + Height of end merge cell row + + + + + Finds whether the paragraph preserved inside row and which height type is exactly. + + True; if paragraph preserved inside exactly table row otherwise false. + + + + Appends the specified text to the end of the paragraph. + + The string that specifies the text to be appended. + The instance that represents the newly added text. + The following example illustrates how to append text to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new text to the paragraph + IWTextRange text = paragraph.AppendText("A new text is added to the paragraph."); + text.CharacterFormat.FontSize = 14; + text.CharacterFormat.Bold = true; + text.CharacterFormat.TextColor = Color.Green; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new text to the paragraph + Dim text As IWTextRange = paragraph.AppendText("A new text is added to the paragraph.") + text.CharacterFormat.FontSize = 14 + text.CharacterFormat.Bold = True + text.CharacterFormat.TextColor = Color.Green + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the inline content control to the paragraph. + + The control type that specifies the type of the content control to be appended. + The instance that represents the newly added text. + Thrown when is + , or + The following example illustrates how to append inline content control to the paragraph. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new inline control to the paragraph + IInlineContentControl inlineControl = paragraph.AppendInlineContentControl(ContentControlType.RichText); + WTextRange controlText = new WTextRange(document); + controlText.CharacterFormat.Bold = true; + controlText.CharacterFormat.TextColor = Color.Green; + controlText.Text = "Inline content control inserted."; + //Add text range to the control added + inlineControl.ParagraphItems.Add(controlText); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new inline control to the paragraph + Dim inlineControl As IInlineContentControl = paragraph.AppendInlineContentControl(ContentControlType.RichText) + Dim textRange As New WTextRange(document) + textRange.CharacterFormat.Bold = True + textRange.CharacterFormat.TextColor = Color.Green + textRange.Text = "Inline content control inserted." + 'Add text range to the control added + inlineControl.ParagraphItems.Add(textRange) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Appends the image specified by the array to the end of paragraph. + + The array of the image to be added. + The instance that represents the newly added image. + The following example illustrates how to append image to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph firstParagraph = section.AddParagraph(); + //Get the image and convert to byte array. + Image image = Image.FromFile("Image.png"); + MemoryStream stream = new MemoryStream(); + image.Save(stream, System.Drawing.Imaging.ImageFormat.Png); + byte[] imageBytes = stream.ToArray(); + //Add image to the paragraph + IWPicture picture = firstParagraph.AppendPicture(imageBytes); + //Set height and width for the image + picture.Height = 100; + picture.Width = 100; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim firstParagraph As IWParagraph = section.AddParagraph() + 'Get the image and convert to byte array. + Dim image__1 As Image = Image.FromFile("Image.png") + Dim stream As New MemoryStream() + image__1.Save(stream, System.Drawing.Imaging.ImageFormat.Png) + Dim imageBytes As Byte() = stream.ToArray() + 'Add image to the paragraph + Dim picture As IWPicture = firstParagraph.AppendPicture(imageBytes) + 'Set height and width for the image + picture.Height = 100 + picture.Width = 100 + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the SVG image specified by the array to the end of paragraph. + + The array of the SVG image to be added. + The array of the image to be added. + The instance that represents the newly added image. + Thrown when is null + Thrown when is not a *svg format + The following example illustrates how to append image to the paragraph. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph firstParagraph = section.AddParagraph(); + //Get the image as byte array. + byte[] imageBytes = File.ReadAllBytes("Image.png"); + //Get the SVG image as byte array. + byte[] svgData = File.ReadAllBytes("Image.svg"); + //Add SVG image to the paragraph + IWPicture picture = firstParagraph.AppendPicture(svgData, imageBytes); + //Set height and width for the image + picture.Height = 100; + picture.Width = 100; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim firstParagraph As IWParagraph = section.AddParagraph() + 'Get the png image as byte array. + Dim imageBytes As Byte() = File.ReadAllBytes("Image.png") + 'Get the SVG image as byte array. + Dim svgData As Byte() = File.ReadAllBytes("Image.svg") + 'Add SVG image to the paragraph + Dim picture As IWPicture = firstParagraph.AppendPicture(svgData, imageBytes); + 'Set height and width for the image + picture.Height = 100 + picture.Width = 100 + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Appends a chart to the end of the paragraph with the specified data, width and height. + + The two-dimensional array that specifies the data for chart. + The float that represents the width for chart. + The float that represents the height for chart. + The instance that represents the newly added chart. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin platforms. + The following example illustrates how to append new chart to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Input data for chart + object[][] data = new object[6][]; + for (int i = 0; i < 6; i++) + data[i] = new object[3]; + data[0][0] = ""; + data[1][0] = "Gravad lax"; + data[2][0] = "Louisiana Hot spiced Okara"; + data[3][0] = "Mascarpone Fabioli"; + data[4][0] = "Wimmers gute SemmelKnodel"; + data[5][0] = "Maxilaku"; + data[0][1] = "Sum of Purchases"; + data[1][1] = 286; + data[2][1] = 680; + data[3][1] = 288; + data[4][1] = 200; + data[5][1] = 731; + data[0][2] = "Sum of Future Expenses"; + data[1][2] = 1300; + data[2][2] = 700; + data[3][2] = 1280; + data[4][2] = 1200; + data[5][2] = 2660; /// + //Create and Append chart to the paragraph + WChart chart = paragraph.AppendChart(data, 470, 300); + //Set chart type and title + chart.ChartTitle = "Purchase Details"; + chart.ChartTitleArea.FontName = "Calibri"; + chart.ChartTitleArea.Size = 14; + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None; + //Set series type + chart.Series[0].SerieType = OfficeChartType.Line_Markers; + chart.Series[1].SerieType = OfficeChartType.Bar_Clustered; + chart.PrimaryCategoryAxis.Title = "Products"; + chart.PrimaryValueAxis.Title = "In Dollars"; + //Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom; + //Save the document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Input data for chart + Dim data As Object()() = New Object(5)() {} + For i As Integer = 0 To 5 + data(i) = New Object(2) {} + Next + data(0)(0) = "" + data(1)(0) = "Gravad lax" + data(2)(0) = "Louisiana Hot spiced Okara" + data(3)(0) = "Mascarpone Fabioli" + data(4)(0) = "Wimmers gute SemmelKnodel" + data(5)(0) = "Maxilaku" + data(0)(1) = "Sum of Purchases" + data(1)(1) = 286 + data(2)(1) = 680 + data(3)(1) = 288 + data(4)(1) = 200 + data(5)(1) = 731 + data(0)(2) = "Sum of Future Expenses" + data(1)(2) = 1300 + data(2)(2) = 700 + data(3)(2) = 1280 + data(4)(2) = 1200 + data(5)(2) = 2660 + 'Create and Append chart to the paragraph + Dim chart As WChart = paragraph.AppendChart(data, 470, 300) + 'Set chart type and title + chart.ChartTitle = "Purchase Details" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None + 'Set series type + chart.Series(0).SerieType = OfficeChartType.Line_Markers + chart.Series(1).SerieType = OfficeChartType.Bar_Clustered + chart.PrimaryCategoryAxis.Title = "Products" + chart.PrimaryValueAxis.Title = "In Dollars" + 'Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom + 'Save the document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends chart to the end of the paragraph with the specified width and height. + + The float that represents the width for chart. + The float that represents the height for chart. + The instance that represents the newly added chart. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin platforms. + The following example illustrates how to append new chart to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Create and Append chart to the paragraph + WChart chart = paragraph.AppendChart(446, 270); + //Set chart type + chart.ChartType = OfficeChartType.Pie; + //Set chart title + chart.ChartTitle = "Best Selling Products"; + chart.ChartTitleArea.FontName = "Calibri"; + chart.ChartTitleArea.Size = 14; + //Set data for chart + chart.ChartData.SetValue(1, 1, ""); + chart.ChartData.SetValue(1, 2, "Sales"); + chart.ChartData.SetValue(2, 1, "Cote de Blaye"); + chart.ChartData.SetValue(2, 2, 141.396); + chart.ChartData.SetValue(3, 1, "Thuringer Rostbratwurst"); + chart.ChartData.SetValue(3, 2, 80.368); + chart.ChartData.SetValue(4, 1, "Raclette Courdavault"); + chart.ChartData.SetValue(4, 2, 71.155); + chart.ChartData.SetValue(5, 1, "Tarte au sucre"); + chart.ChartData.SetValue(5, 2, 47.234); + chart.ChartData.SetValue(6, 1, "Camembert Pierrot"); + chart.ChartData.SetValue(6, 2, 46.825); + chart.ChartData.SetValue(7, 1, "Gnocchi di nonna Alice"); + chart.ChartData.SetValue(7, 2, 42.593); + chart.ChartData.SetValue(8, 1, "Manjimup Dried Apples"); + chart.ChartData.SetValue(8, 2, 41.819); + chart.ChartData.SetValue(9, 1, "Alice Mutton"); + chart.ChartData.SetValue(9, 2, 32.698); + chart.ChartData.SetValue(10, 1, "Carnarvon Tigers"); + chart.ChartData.SetValue(10, 2, 29.171); + chart.ChartData.SetValue(11, 1, "Rössle Sauerkraut."); + chart.ChartData.SetValue(11, 2, 25.696); + //Create a new chart series with the name “Sales” + IOfficeChartSerie pieSeries = chart.Series.Add("Sales"); + pieSeries.Values = chart.ChartData[2, 2, 11, 2]; + //Set data label + pieSeries.DataPoints.DefaultDataPoint.DataLabels.IsValue = true; + pieSeries.DataPoints.DefaultDataPoint.DataLabels.Position = OfficeDataLabelPosition.Outside; + //Set background color + chart.ChartArea.Fill.ForeColor = Color.FromArgb(242, 242, 242); + chart.PlotArea.Fill.ForeColor = Color.FromArgb(242, 242, 242); + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None; + //Set category labels + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 11, 1]; + //Save the document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Create and Append chart to the paragraph + Dim chart As WChart = paragraph.AppendChart(446, 270) + 'Set chart type + chart.ChartType = OfficeChartType.Pie + 'Set chart title + chart.ChartTitle = "Best Selling Products" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + 'Set data for chart + chart.ChartData.SetValue(1, 1, "") + chart.ChartData.SetValue(1, 2, "Sales") + chart.ChartData.SetValue(2, 1, "Cote de Blaye") + chart.ChartData.SetValue(2, 2, 141.396) + chart.ChartData.SetValue(3, 1, "Thuringer Rostbratwurst") + chart.ChartData.SetValue(3, 2, 80.368) + chart.ChartData.SetValue(4, 1, "Raclette Courdavault") + chart.ChartData.SetValue(4, 2, 71.155) + chart.ChartData.SetValue(5, 1, "Tarte au sucre") + chart.ChartData.SetValue(5, 2, 47.234) + chart.ChartData.SetValue(6, 1, "Camembert Pierrot") + chart.ChartData.SetValue(6, 2, 46.825) + chart.ChartData.SetValue(7, 1, "Gnocchi di nonna Alice") + chart.ChartData.SetValue(7, 2, 42.593) + chart.ChartData.SetValue(8, 1, "Manjimup Dried Apples") + chart.ChartData.SetValue(8, 2, 41.819) + chart.ChartData.SetValue(9, 1, "Alice Mutton") + chart.ChartData.SetValue(9, 2, 32.698) + chart.ChartData.SetValue(10, 1, "Carnarvon Tigers") + chart.ChartData.SetValue(10, 2, 29.171) + chart.ChartData.SetValue(11, 1, "Rössle Sauerkraut.") + 'Create a new chart series with the name “Sales” + Dim pieSeries As IOfficeChartSerie = chart.Series.Add("Sales") + pieSeries.Values = chart.ChartData(2, 2, 11, 2) + 'Set data label + pieSeries.DataPoints.DefaultDataPoint.DataLabels.IsValue = True + pieSeries.DataPoints.DefaultDataPoint.DataLabels.Position = OfficeDataLabelPosition.Outside + 'Set background color + chart.ChartArea.Fill.ForeColor = Color.FromArgb(242, 242, 242) + chart.PlotArea.Fill.ForeColor = Color.FromArgb(242, 242, 242) + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None + 'Set category labels + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 11, 1) + 'Save the document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends chart to the end of the paragraph from the excel file with specified sheet number, range of data, width, and height. + + The excel stream that has data for chart [Excel stream should be "*.xlsx" format]. + The integer represents the worksheet number that has data for chart. + The string represents the data range in the worksheet from which the chart is to be created. + The float that represents the width for chart. + The float that represents the height for chart. + The instance that represents the newly added chart. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin platforms. + The following example illustrates how to append new chart to the paragraph using the excel stream. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the excel file as stream + Stream excelStream = File.OpenRead("Excel_Template.xlsx"); + //Create and Append chart to the paragraph with excel stream as parameter + WChart chart = paragraph.AppendChart(excelStream, 1, "B2:C6", 470, 300); + //Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered; + chart.ChartTitle = "Purchase Details"; + chart.ChartTitleArea.FontName = "Calibri"; + chart.ChartTitleArea.Size = 14; + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None; + //Set name to chart series + chart.Series[0].Name = "Sum of Purchases"; + chart.Series[1].Name = "Sum of Future Expenses"; + chart.PrimaryCategoryAxis.Title = "Products"; + chart.PrimaryValueAxis.Title = "In Dollars"; + //Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom; + //Save the document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the excel file as stream + Dim excelStream As Stream = File.OpenRead("Excel_Template.xlsx") + 'Create and Append chart to the paragraph with excel stream as parameter + Dim chart As WChart = paragraph.AppendChart(excelStream, 1, "B2:C6", 470, 300) + 'Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered + chart.ChartTitle = "Purchase Details" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None + 'Set name to chart series + chart.Series(0).Name = "Sum of Purchases" + chart.Series(1).Name = "Sum of Future Expenses" + chart.PrimaryCategoryAxis.Title = "Products" + chart.PrimaryValueAxis.Title = "In Dollars" + 'Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom + 'Save the document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Method to identify the Excel file format + + Excel file stream + + + + + Appends field to end of the paragraph with the specified field name and field type. + + The string that specifies the field name. + The member that specifies the type of the field. + The instance of the newly added field. + The following example illustrates how to append field to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an instance of WordDocument class (Empty Word Document) + WordDocument document = new WordDocument(); + //Add a new section into the Word Document + IWSection section = document.AddSection(); + //Add a new paragraph into Word document and append text into paragraph + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Today's Date: "); + //Add the new Date field in Word document with field name and its type. + WField field = paragraph.AppendField("Date", FieldType.FieldDate) as WField; + //Field code used to describe how to display the date + field.FieldCode = @"DATE \@" + "\"MMMM d, yyyy\""; + //Save the document in the given name and format + document.Save("Sample.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an instance of WordDocument class (Empty Word Document) + Dim document As New WordDocument() + 'Add a new section into the Word Document + Dim section As IWSection = document.AddSection() + 'Add a new paragraph into Word document and append text into paragraph + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Today's Date: ") + 'Add the new Date field in Word document with field name and its type. + Dim field As WField = TryCast(paragraph.AppendField("Date", FieldType.FieldDate), WField) + 'Field code used to describe how to display the date + field.FieldCode = "DATE \@" + """MMMM d, yyyy""" + 'Save the document in the given name and format + document.Save("Sample.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + End Sub + + + + + + Appends the hyperlink to the paragraph with the specified link, display text and type of link. + + The string that specifies the link. + The string that specifies the text to display. + The member that specifies the link type. + The instance that represents the newly added hyperlink. + The following example illustrates how to append field to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Web Hyperlink: "); + paragraph = section.AddParagraph(); + //Append web hyperlink to the paragraph + IWField field = paragraph.AppendHyperlink("http://www.syncfusion.com", "Syncfusion", HyperlinkType.WebLink); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Web Hyperlink: ") + paragraph = section.AddParagraph() + 'Append web hyperlink to the paragraph + Dim field As IWField = paragraph.AppendHyperlink("http://www.syncfusion.com", "Syncfusion", HyperlinkType.WebLink) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the hyperlink to the paragraph with the specified link, picture and type of link. + + The string that specifies the link. + The picture to display. + The member that specifies the link type. + The instance that represents the newly added hyperlink. + The following example illustrates how to append field to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Image Hyperlink"); + paragraph = section.AddParagraph(); + //Create a new image instance and load image + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Append new image hyperlink to the paragraph + paragraph.AppendHyperlink("http://www.syncfusion.com", picture, HyperlinkType.WebLink); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Image Hyperlink") + paragraph = section.AddParagraph() + 'Create a new image instance and load image + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Append new image hyperlink to the paragraph + paragraph.AppendHyperlink("http://www.syncfusion.com", picture, HyperlinkType.WebLink) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends start of the bookmark with specified name to the paragraph. + + The string specifying the bookmark name. + The instance that represents the newly added bookmark start. + The following example illustrates how to add a bookmark to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an instance of WordDocument class (Empty Word Document) + WordDocument document = new WordDocument(); + //Add a new section into the Word Document + IWSection section = document.AddSection(); + //Add a new paragraph into Word document and append text into paragraph + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Northwind Database"); + paragraph.ParagraphFormat.HorizontalAlignment = Syncfusion.DocIO.DLS.HorizontalAlignment.Center; + //Add a paragraph into section + paragraph = section.AddParagraph(); + //Add a new bookmark start into paragraph with name "Northwind" + paragraph.AppendBookmarkStart("Northwind"); + //Add a text between the bookmark start and end into paragraph + paragraph.AppendText("The Northwind sample database (Northwind.mdb) is included with all versions of Access. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases."); + //Add a new bookmark end into paragraph with name " Northwind " + paragraph.AppendBookmarkEnd("Northwind"); + //Add a text after the bookmark end + paragraph.AppendText(" Using Northwind, you can become familiar with how a relational database is structured and how the database objects work together to help you enter, store, manipulate, and print your data."); + //Save the document in the given name and format + document.Save("Bookmarks.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an instance of WordDocument class (Empty Word Document) + Dim document As New WordDocument() + 'Add a new section into the Word Document + Dim section As IWSection = document.AddSection() + 'Add a new paragraph into Word document and append text into paragraph + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Northwind Database") + paragraph.ParagraphFormat.HorizontalAlignment = Syncfusion.DocIO.DLS.HorizontalAlignment.Center + 'Add a paragraph into section + paragraph = section.AddParagraph() + 'Add a new bookmark start into paragraph with name "Northwind" + paragraph.AppendBookmarkStart("Northwind") + 'Add a text between the bookmark start and end into paragraph + paragraph.AppendText("The Northwind sample database (Northwind.mdb) is included with all versions of Access. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases.") + 'Add a new bookmark end into paragraph with name " Northwind " + paragraph.AppendBookmarkEnd("Northwind") + 'Add a text after the bookmark end + paragraph.AppendText(" Using Northwind, you can become familiar with how a relational database is structured and how the database objects work together to help you enter, store, manipulate, and print your data.") + 'Save the document in the given name and format + document.Save("Bookmarks.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + End Sub + + + + + + Appends end of the bookmark with specified name to the paragraph. + + The string specifying the bookmark name. + The instance that represents the newly added bookmark end. + The following example illustrates how to add a bookmark to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an instance of WordDocument class (Empty Word Document) + WordDocument document = new WordDocument(); + //Add a new section into the Word Document + IWSection section = document.AddSection(); + //Add a new paragraph into Word document and append text into paragraph + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Northwind Database"); + paragraph.ParagraphFormat.HorizontalAlignment = Syncfusion.DocIO.DLS.HorizontalAlignment.Center; + //Add a paragraph into section + paragraph = section.AddParagraph(); + //Add a new bookmark start into paragraph with name "Northwind" + paragraph.AppendBookmarkStart("Northwind"); + //Add a text between the bookmark start and end into paragraph + paragraph.AppendText("The Northwind sample database (Northwind.mdb) is included with all versions of Access. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases."); + //Add a new bookmark end into paragraph with name " Northwind " + paragraph.AppendBookmarkEnd("Northwind"); + //Add a text after the bookmark end + paragraph.AppendText(" Using Northwind, you can become familiar with how a relational database is structured and how the database objects work together to help you enter, store, manipulate, and print your data."); + //Save the document in the given name and format + document.Save("Bookmarks.docx", FormatType.Docx); + //Release the resources occupied by WordDocument instance + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an instance of WordDocument class (Empty Word Document) + Dim document As New WordDocument() + 'Add a new section into the Word Document + Dim section As IWSection = document.AddSection() + 'Add a new paragraph into Word document and append text into paragraph + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Northwind Database") + paragraph.ParagraphFormat.HorizontalAlignment = Syncfusion.DocIO.DLS.HorizontalAlignment.Center + 'Add a paragraph into section + paragraph = section.AddParagraph() + 'Add a new bookmark start into paragraph with name "Northwind" + paragraph.AppendBookmarkStart("Northwind") + 'Add a text between the bookmark start and end into paragraph + paragraph.AppendText("The Northwind sample database (Northwind.mdb) is included with all versions of Access. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases.") + 'Add a new bookmark end into paragraph with name " Northwind " + paragraph.AppendBookmarkEnd("Northwind") + 'Add a text after the bookmark end + paragraph.AppendText(" Using Northwind, you can become familiar with how a relational database is structured and how the database objects work together to help you enter, store, manipulate, and print your data.") + 'Save the document in the given name and format + document.Save("Bookmarks.docx", FormatType.Docx) + 'Release the resources occupied by WordDocument instance + document.Close() + End Sub + + + + + + Appends end of the editable range with specified id to the paragraph. + + The string specifying the editable range id. + The instance that represents the newly added editable range end. + + + + Appends the comment to the paragraph. + + The string that specifies the comment. + The instance that represents the newly added comment. + The following example illustrates how to add a comment to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Creates a new Word document. + WordDocument document = new WordDocument(); + //Add a section and a paragraph in the document + document.EnsureMinimal(); + IWParagraph paragraph = document.LastParagraph; + //Append text to the paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"); + //Add comment to a paragraph + WComment comment = paragraph.AppendComment("comment test"); + //Specify the author of the comment + comment.Format.User = "Peter"; + //Specify the initial of the author + comment.Format.UserInitials = "St"; + //Save and close the Word document + document.Save("Comment.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Creates a new Word document. + Dim document As New WordDocument() + 'Add a section and a paragraph in the document + document.EnsureMinimal() + Dim paragraph As IWParagraph = document.LastParagraph + 'Append text to the paragraph + paragraph.AppendText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua") + 'Add comment to a paragraph + Dim comment As WComment = paragraph.AppendComment("comment test") + 'Specify the author of the comment + comment.Format.User = "Peter" + 'Specify the initial of the author + comment.Format.UserInitials = "St" + 'Save and close the Word document + document.Save("Comment.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends footnote or endnotes specified by the type to the paragraph. + + The member that specifies the type of footnote. + The instance that represents the newly added footnote. + The footnotes and endnotes are differentiated by the type of the footnote. + The following example illustrates how to add a footnote to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Create a section + IWSection section = document.AddSection(); + //Add a paragraph to a section + IWParagraph paragraph = section.AddParagraph(); + //Append the text to paragraph + paragraph.AppendText("Working with footnotes"); + //Formatting the text + paragraph.ApplyStyle(BuiltinStyle.Heading1); + //Add a paragraph to a section + paragraph = section.AddParagraph(); + //Append the footnotes + WFootnote footnote = (WFootnote) paragraph.AppendFootnote(Syncfusion.DocIO.FootnoteType.Footnote); + //Set the footnote character format + footnote.MarkerCharacterFormat.SubSuperScript = SubSuperScript.SuperScript; + //Inserts the text into the paragraph + paragraph.AppendText("Sample content for footnotes").CharacterFormat.Bold = true; + //Add footnote text + paragraph = footnote.TextBody.AddParagraph(); + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Create a section + Dim section As IWSection = document.AddSection() + 'Add a paragraph to a section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the text to paragraph + paragraph.AppendText("Working with footnotes") + 'Formatting the text + paragraph.ApplyStyle(BuiltinStyle.Heading1) + 'Add a paragraph to a section + paragraph = section.AddParagraph() + 'Append the footnotes + Dim footnote As WFootnote = DirectCast(paragraph.AppendFootnote(Syncfusion.DocIO.FootnoteType.Footnote), WFootnote) + 'Set the footnote character format + footnote.MarkerCharacterFormat.SubSuperScript = SubSuperScript.SuperScript + 'Inserts the text into the paragraph + paragraph.AppendText("Sample content for footnotes").CharacterFormat.Bold = True + 'Add footnote text + paragraph = footnote.TextBody.AddParagraph() + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + ‘Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + The following example illustrates how to add a endnote to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new document + WordDocument document = new WordDocument(); + //Create a section + IWSection section = document.AddSection(); + //Add a paragraph to a section + IWParagraph paragraph = section.AddParagraph(); + //Append the text to paragraph + paragraph.AppendText("Working with endnotes"); + //Formatting the text + paragraph.ApplyStyle(BuiltinStyle.Heading1); + //Add a paragraph to a section + paragraph = section.AddParagraph(); + //Append the endnote + WFootnote endnote = (WFootnote) paragraph.AppendFootnote(Syncfusion.DocIO.FootnoteType.Endnote); + //Set the endnote character format + endnote.MarkerCharacterFormat.SubSuperScript = SubSuperScript.SuperScript; + //Insert the text into the paragraph + paragraph.AppendText("Sample content for endnotes").CharacterFormat.Bold = true; + //Add footnote text + paragraph = endnote.TextBody.AddParagraph(); + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new document + Dim document As New WordDocument() + 'Create a section + Dim section As IWSection = document.AddSection() + 'Add a paragraph to a section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the text to paragraph + paragraph.AppendText("Working with endnotes") + 'Formatting the text + paragraph.ApplyStyle(BuiltinStyle.Heading1) + 'Add a paragraph to a section + paragraph = section.AddParagraph() + 'Append the endnote + Dim endnote As WFootnote = DirectCast(paragraph.AppendFootnote(Syncfusion.DocIO.FootnoteType.Endnote), WFootnote) + 'Set the endnote character format + endnote.MarkerCharacterFormat.SubSuperScript = SubSuperScript.SuperScript + 'Insert the text into the paragraph + paragraph.AppendText("Sample content for endnotes").CharacterFormat.Bold = True + 'Add footnote text + paragraph = endnote.TextBody.AddParagraph() + paragraph.AppendText("Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula") + ‘Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Append textbox to the end of the paragraph with the specified width and height. + + The float specifies the width of the textbox. + The float specifies the height of the textbox. + The instance that represents the newly added textbox. + The following example illustrates how to add a endnote to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Append new textbox to the paragraph + IWTextBox textbox = paragraph.AppendTextBox(150, 75); + //Add new text to the textbox body + IWParagraph textboxParagraph = textbox.TextBoxBody.AddParagraph(); + textboxParagraph.AppendText("Text inside text box"); + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append new textbox to the paragraph + Dim textbox As IWTextBox = paragraph.AppendTextBox(150, 75) + 'Add new text to the textbox body + Dim textboxParagraph As IWParagraph = textbox.TextBoxBody.AddParagraph() + textboxParagraph.AppendText("Text inside text box") + 'Save and close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends the check box to the paragraph. + + The instance that represents the newly added checkbox. + The following example illustrates how to add a checkbox to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("Gender\t"); + //Append new Checkbox + WCheckBox checkbox = paragraph.AppendCheckBox(); + checkbox.Checked = false; + //Set Checkbox size + checkbox.CheckBoxSize = 10; + checkbox.CalculateOnExit = true; + //Set help text + checkbox.Help = "Help text"; + paragraph.AppendText("Male\t"); + checkbox = paragraph.AppendCheckBox(); + checkbox.Checked = false; + checkbox.CheckBoxSize = 10; + checkbox.CalculateOnExit = true; + paragraph.AppendText("Female"); + //Save the Word document + document.Save("Checkbox.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + paragraph.AppendText("Gender" & vbTab) + 'Append new Checkbox + Dim checkbox As WCheckBox = paragraph.AppendCheckBox() + checkbox.Checked = False + 'Set Checkbox size + checkbox.CheckBoxSize = 10 + checkbox.CalculateOnExit = True + 'Set help text + checkbox.Help = "Help text" + paragraph.AppendText("Male" & vbTab) + checkbox = paragraph.AppendCheckBox() + checkbox.Checked = False + checkbox.CheckBoxSize = 10 + checkbox.CalculateOnExit = True + paragraph.AppendText("Female") + 'Save the Word document + document.Save("Checkbox.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the check box to the paragraph with specified name and default value. + + The string that specifies the name of the check box. + A Boolean indicating the default value of the checkbox. + True if the checkbox should be checked by default; otherwise, false. + The instance that represents the newly added checkbox. + The following example illustrates how to add a checkbox to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("Gender\t"); + //Append new Checkbox + WCheckBox checkbox = paragraph.AppendCheckBox("CheckBox1", true); + //checkbox.Checked = false; + //Set Checkbox size + checkbox.CheckBoxSize = 10; + checkbox.CalculateOnExit = true; + //Set help text + checkbox.Help = "Help text"; + paragraph.AppendText("Male\t"); + checkbox = paragraph.AppendCheckBox("CheckBox2",false); + //checkbox.Checked = false; + checkbox.CheckBoxSize = 10; + checkbox.CalculateOnExit = true; + paragraph.AppendText("Female"); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + paragraph.AppendText("Gender" & vbTab) + 'Append new Checkbox + Dim checkbox As WCheckBox = paragraph.AppendCheckBox("CheckBox1", True) + 'checkbox.Checked = false; + 'Set Checkbox size + checkbox.CheckBoxSize = 10 + checkbox.CalculateOnExit = True + 'Set help text + checkbox.Help = "Help text" + paragraph.AppendText("Male" & vbTab) + checkbox = paragraph.AppendCheckBox("CheckBox2", False) + 'checkbox.Checked = false; + checkbox.CheckBoxSize = 10 + checkbox.CalculateOnExit = True + paragraph.AppendText("Female") + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the text form field to the paragraph with the specified default text. + + The string specifying the default text. + To insert default Word text, "null" can be passed as parameter. + The instance that represents the newly added text form field. + The following example illustrates how to add a text form field to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("General Information"); + section.AddParagraph(); + paragraph = section.AddParagraph() as WParagraph; + IWTextRange text = paragraph.AppendText("Name\t"); + text.CharacterFormat.Bold = true; + //Append Text form field + WTextFormField textfield = paragraph.AppendTextFormField(null); + //Set type of Text form field + textfield.Type = TextFormFieldType.RegularText; + textfield.CharacterFormat.FontName = "Calibri"; + textfield.CalculateOnExit = true; + //Save the Word document + document.Save("Textfield.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + paragraph.AppendText("General Information") + section.AddParagraph() + paragraph = TryCast(section.AddParagraph(), WParagraph) + Dim text As IWTextRange = paragraph.AppendText("Name" & vbTab) + text.CharacterFormat.Bold = True + 'Append Text form field + Dim textfield As WTextFormField = paragraph.AppendTextFormField(Nothing) + 'Set type of Text form field + textfield.Type = TextFormFieldType.RegularText + textfield.CharacterFormat.FontName = "Calibri" + textfield.CalculateOnExit = True + 'Save the Word document + document.Save("Textfield.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the text form field to the paragraph with the specified field name and default text. + + The string that specifies the name of the form field. + The string specifying the default text. + To insert default Word text, "null" can be passed as parameter. + The instance that represents the newly added text form field. + The following example illustrates how to add a text form field to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("General Information"); + section.AddParagraph(); + paragraph = section.AddParagraph() as WParagraph; + IWTextRange text = paragraph.AppendText("Date of Birth\t"); + text.CharacterFormat.Bold = true; + //Append Text form field + WTextFormField textfield = paragraph.AppendTextFormField("Date field", DateTime.Now.ToString("MM/DD/YY")); + textfield.StringFormat = "MM/DD/YY"; + //Set Text form field type + textfield.Type = TextFormFieldType.DateText; + textfield.CalculateOnExit = true; + //Save the Word document + document.Save("Textfield.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + paragraph.AppendText("General Information") + section.AddParagraph() + paragraph = TryCast(section.AddParagraph(), WParagraph) + Dim text As IWTextRange = paragraph.AppendText("Date of Birth" & vbTab) + text.CharacterFormat.Bold = True + 'Append Text form field + Dim textfield As WTextFormField = paragraph.AppendTextFormField("Date field", DateTime.Now.ToString("MM/DD/YY")) + textfield.StringFormat = "MM/DD/YY" + 'Set Text form field type + textfield.Type = TextFormFieldType.DateText + textfield.CalculateOnExit = True + 'Save the Word document + document.Save("Textfield.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the drop down form field to the paragraph. + + The instance that represents the newly added drop down form field. + + + + Appends the drop down form field to the paragraph. + + The string that specifies the name of the drop drop down field. + The instance that represents the newly added drop down form field. + The following example illustrates how to add a checkbox to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("Educational Qualification\t"); + //Append Dropdown field + WDropDownFormField dropdownfield = paragraph.AppendDropDownFormField("FieldName"); + //Add items to the dropdown items collection + dropdownfield.DropDownItems.Add("Higher"); + dropdownfield.DropDownItems.Add("Vocational"); + dropdownfield.DropDownItems.Add("Universal"); + dropdownfield.Enabled = true; + //Set the item index for default value + dropdownfield.DropDownSelectedIndex = 1; + dropdownfield.CalculateOnExit = true; + //Save the Word document + document.Save("Dropdown.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + paragraph.AppendText("Educational Qualification" & vbTab) + 'Append Dropdown field + Dim dropdownfield As WDropDownFormField = paragraph.AppendDropDownFormField("FieldName") + 'Add items to the dropdown items collection + dropdownfield.DropDownItems.Add("Higher") + dropdownfield.DropDownItems.Add("Vocational") + dropdownfield.DropDownItems.Add("Universal") + dropdownfield.Enabled = True + 'Set the item index for default value + dropdownfield.DropDownSelectedIndex = 1 + dropdownfield.CalculateOnExit = True + 'Save the Word document + document.Save("Dropdown.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends special symbol specified by the character code to end of the paragraph. + + The byte represents the character code of the symbol. + The instance that represents the newly added symbol. + The following example illustrates how to add a symbol to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Example of adding symbols to the paragraph: "); + //Insert symbol with character code 100 + paragraph.AppendSymbol(100); + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Example of adding symbols to the paragraph: ") + 'Insert symbol with character code 100 + paragraph.AppendSymbol(100) + 'Save and close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends break of the specified type to end of the paragraph. + + The member that specifies the type of break. + The instance that represents the newly added break. + The following example illustrates how to add a break to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Before line break"); + //Add line break to the paragraph + paragraph.AppendBreak(BreakType.LineBreak); + paragraph.AppendText("After line break"); + IWParagraph pageBreakPara = section.AddParagraph(); + pageBreakPara.AppendText("Before page break"); + //Add page break to the paragraph + pageBreakPara.AppendBreak(BreakType.PageBreak); + pageBreakPara.AppendText("After page break"); + IWSection secondSection = document.AddSection(); + //Add columns to the section + secondSection.AddColumn(100, 2); + secondSection.AddColumn(100, 2); + IWParagraph columnBreakPara = secondSection.AddParagraph(); + columnBreakPara.AppendText("Before column break"); + //Add column break to the paragraph + columnBreakPara.AppendBreak(BreakType.ColumnBreak); + columnBreakPara.AppendText("After column break"); + //Save and Close the document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Before line break") + 'Add line break to the paragraph + paragraph.AppendBreak(BreakType.LineBreak) + paragraph.AppendText("After line break") + Dim pageBreakPara As IWParagraph = section.AddParagraph() + pageBreakPara.AppendText("Before page break") + 'Add page break to the paragraph + pageBreakPara.AppendBreak(BreakType.PageBreak) + pageBreakPara.AppendText("After page break") + Dim secondSection As IWSection = document.AddSection() + 'Add columns to the section + secondSection.AddColumn(100, 2) + secondSection.AddColumn(100, 2) + Dim columnBreakPara As IWParagraph = secondSection.AddParagraph() + columnBreakPara.AppendText("Before column break") + 'Add column break to the paragraph + columnBreakPara.AppendBreak(BreakType.ColumnBreak) + columnBreakPara.AppendText("After column break") + 'Save and Close the document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends of specified type, width and height to the end of paragraph. + + The member that specifies the shape type. + The float that specifies the width of the shape. + The float that specifies the height of the shape. + The instance that represents the newly added shape. + The following example illustrates how to add a shape to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + //Add new shape to the document + Shape rectangle = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100); + //Set position for shape + rectangle.VerticalPosition = 72; + rectangle.HorizontalPosition = 72; + paragraph = section.AddParagraph() as WParagraph; + //Add text body contents to the shape + paragraph = rectangle.TextBody.AddParagraph() as WParagraph; + IWTextRange text = paragraph.AppendText("This text is in rounded rectangle shape"); + text.CharacterFormat.TextColor = Color.Green; + text.CharacterFormat.Bold = true; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + 'Add new shape to the document + Dim rectangle As Shape = paragraph.AppendShape(AutoShapeType.RoundedRectangle, 150, 100) + 'Set position for shape + rectangle.VerticalPosition = 72 + rectangle.HorizontalPosition = 72 + paragraph = TryCast(section.AddParagraph(), WParagraph) + 'Add text body contents to the shape + paragraph = TryCast(rectangle.TextBody.AddParagraph(), WParagraph) + Dim text As IWTextRange = paragraph.AppendText("This text is in rounded rectangle shape") + text.CharacterFormat.TextColor = Color.Green + text.CharacterFormat.Bold = True + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the table of content to the end of the paragraph with the specified lower and upper heading levels. + + The integer specifying the starting heading level of the table of content. + The integer specifying the ending heading level of the table of content. + The instance that represents the newly added table of content. + The following example illustrates how to add a table of contents to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add the section into the Word document + IWSection section = document.AddSection(); + string paraText = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"; + //Add the paragraph into the created section + IWParagraph paragraph = section.AddParagraph(); + //Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determines the TOC entries + paragraph.AppendTOC(1, 3); + //Add the section into the Word document + section = document.AddSection(); + //Add the paragraph into the created section + paragraph = section.AddParagraph(); + //Add the text for the headings + paragraph.AppendText("First Chapter"); + //Set a build in heading style. + paragraph.ApplyStyle(BuiltinStyle.Heading1); + //Add the text into the paragraph + section.AddParagraph().AppendText(paraText); + //Add the section into the Word document + section = document.AddSection(); + //Add the paragraph into the created section + paragraph = section.AddParagraph(); + //Add the text for the headings + paragraph.AppendText("Second Chapter"); + //Set a build in heading style. + paragraph.ApplyStyle(BuiltinStyle.Heading2); + //Add the text into the paragraph + section.AddParagraph().AppendText(paraText); + //Add the section into the Word document + section = document.AddSection(); + //Add the paragraph into the created section + paragraph = section.AddParagraph(); + //Add the text into the headings + paragraph.AppendText("Third Chapter"); + //Set a build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading3); + //Add the text into the paragraph. + section.AddParagraph().AppendText(paraText); + //Update the table of contents + document.UpdateTableOfContents(); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add the section into the Word document + Dim section As IWSection = document.AddSection() + Dim paraText As String = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula" + 'Add the paragraph into the created section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determines the TOC entries + paragraph.AppendTOC(1, 3) + 'Add the section into the Word document + section = document.AddSection() + 'Add the paragraph into the created section + paragraph = section.AddParagraph() + 'Add the text for the headings + paragraph.AppendText("First Chapter") + 'Set a build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading1) + 'Add the text into the paragraph. + section.AddParagraph().AppendText(paraText) + 'Add the section into the Word document + section = document.AddSection() + 'Add the paragraph into the created section + paragraph = section.AddParagraph() + 'Add the text for the headings + paragraph.AppendText("Second Chapter") + 'Set a build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading2) + 'Add the text into the paragraph + section.AddParagraph().AppendText(paraText) + 'Add the section into the Word document + section = document.AddSection() + 'Add the paragraph into the created section + paragraph = section.AddParagraph() + 'Add the text into the headings + paragraph.AppendText("Third Chapter") + 'Set a build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading3) + 'Add the text into the paragraph + section.AddParagraph().AppendText(paraText) + 'Update the table of contents + document.UpdateTableOfContents() + ‘Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends a Cross-Reference of specified reference type, reference kind, entity, hyperlink, separators at the end of the paragraph. + + The member that specifies the + type of item for which a cross-reference is to be inserted. + The member that specifies the + information to be included in the cross-reference. + The for which a cross-reference is to be inserted. + True if to insert the cross-reference as a hyperlink to the referenced item; otherwise, false. + True if to insert "above" or "below," depending on the location of the reference item in relation to the cross-reference. + True if to use a separator to separate the numbers from the associated text; otherwise, false.(Used only if the ReferenceKind parameter is set to ParagraphNumberFullContext). + The string that specifies a separator if the separateNumber parameter is set to true. + + The cross reference fields can be created and updated only for the in a document. + Use the method to get a list of items that can have cross-reference. + + + + The following example illustrates how to append a cross-reference for bookmark to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + IWParagraph paragraph = section.AddParagraph(); + //Add text, bookmark start and end in the paragraph + paragraph.AppendBookmarkStart("Title"); + paragraph.AppendText("Northwind Database"); + paragraph.AppendBookmarkEnd("Title"); + paragraph = section.AddParagraph(); + paragraph.AppendText("The Northwind sample database (Northwind.mdb) is included with all versions of Access. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases."); + section = document.AddSection(); + section.AddParagraph(); + paragraph = section.AddParagraph() as WParagraph; + //Get the collection of bookmark start in the word document + List<Entity> items = document.GetCrossReferenceItems(ReferenceType.Bookmark); + paragraph.AppendText("Bookmark Cross Reference starts here "); + //Append the cross reference for bookmark “Title” with ContentText as reference kind + paragraph.AppendCrossReference(ReferenceType.Bookmark, ReferenceKind.ContentText, items[0], true, false, false, string.Empty); + //Update the document Fields + document.UpdateDocumentFields(); + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add text, bookmark start and end in the paragraph + paragraph.AppendBookmarkStart("Title") + paragraph.AppendText("Northwind Database") + paragraph.AppendBookmarkEnd("Title") + paragraph = section.AddParagraph() + paragraph.AppendText("The Northwind sample database (Northwind.mdb) is included with all versions of Access. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases.") + section = document.AddSection() + section.AddParagraph() + paragraph = TryCast(section.AddParagraph(), WParagraph) + 'Get the collection of bookmark start in the word document + Dim items As List(Of Entity) = document.GetCrossReferenceItems(ReferenceType.Bookmark) + paragraph.AppendText("Bookmark Cross Reference starts here ") + 'Append the cross reference for bookmark “Title” with ContentText as reference kind + paragraph.AppendCrossReference(ReferenceType.Bookmark, ReferenceKind.ContentText, items(0), True, False, False, String.Empty) + 'Update the document Fields + document.UpdateDocumentFields() + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends the specified image to the end of paragraph. + + The to be added. + The instance that represents the newly added image. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + The following example illustrates how to append image to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add image to the paragraph + IWPicture picture = paragraph.AppendPicture(Image.FromFile("Image.png")); + //Set height and width for the image + picture.Height = 100; + picture.Width = 100; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add image to the paragraph + Dim picture As IWPicture = paragraph.AppendPicture(Image.FromFile("Image.png")) + 'Set height and width for the image + picture.Height = 100 + picture.Width = 100 + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + The following example illustrates how to append html text to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx"); + //Html string to be inserted + string htmlstring = "

This text is inserted as HTML string.

"; + IWParagraph paragraph = document.Sections[0].Body.Paragraphs[0]; + //Append the Html string to first paragraph in the document + paragraph.AppendHTML(htmlstring); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } +
+ + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx") + 'Html string to be inserted + Dim htmlstring As String = "

This text is inserted as HTML string.

" + Dim paragraph As IWParagraph = document.Sections(0).Body.Paragraphs(0) + 'Append the Html string to first paragraph in the document + paragraph.AppendHTML(htmlstring) + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub +
+
+
+ + + Appends the OLE object to the paragraph with the specified path, picture and object type. + + The string specifying the path to file. + The instance for the OLE picture. + The member that specifies the type of OLE object. + The instance that represents the newly created OLE object. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin platforms. + The following example illustrates how to append a OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + paragraph = sec.AddParagraph(); + paragraph.AppendOleObject(@"..\..\Data\Excel_Template.xlsx", picture, OleObjectType.ExcelWorksheet); + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + paragraph = sec.AddParagraph() + paragraph.AppendOleObject("..\..\Data\Excel_Template.xlsx", picture, OleObjectType.ExcelWorksheet) + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified path and picture. + + The string specifying the path to file. + The instance for the OLE picture. + The instance that represents the newly created OLE object. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin platforms. + The following example illustrates how to append a OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + WOleObject ole = paragraph.AppendOleObject(@"..\..\Data\Excel_Template.xlsx", picture); + //Set how to display the Ole object + ole.DisplayAsIcon = false; + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + Dim ole As WOleObject = paragraph.AppendOleObject("..\..\Data\Excel_Template.xlsx", picture) + 'Set how to display the Ole object + ole.DisplayAsIcon = False + 'Save and close the document + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified stream, picture and object type. + + The represents the file stream. + The instance for the OLE picture. + The member that specifies the type of OLE object. + The instance that represents the newly created OLE object. + The following example illustrates how to append OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Open the file to be embedded + FileStream stream = new FileStream("Book1.xlsx", FileMode.Open); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Append the Ole object to the paragraph + WOleObject ole = paragraph.AppendOleObject(stream, picture, OleObjectType.ExcelWorksheet); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Open the file to be embedded + Dim stream As New FileStream("Book1.xlsx", FileMode.Open) + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Append the Ole object to the paragraph + Dim ole As WOleObject = paragraph.AppendOleObject(stream, picture, OleObjectType.ExcelWorksheet) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified byte array, picture and object type. + + The byte array of the file. + The instance for the OLE picture. + The member that specifies the type of OLE object. + The instance that represents the newly created OLE object. + The following example illustrates how to append OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Get the file as byte array + byte[] olebytes = File.ReadAllBytes("Excel_Template.xlsx"); + paragraph = sec.AddParagraph(); + //Append OLE object + paragraph.AppendOleObject(olebytes, picture, OleObjectType.ExcelWorksheet); + //Save the Word document + document.Save("Sample.docx", FormatType.Word2010); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Get the file as byte array + Dim olebytes As Byte() = File.ReadAllBytes("Excel_Template.xlsx") + paragraph = sec.AddParagraph() + 'Append OLE object + paragraph.AppendOleObject(olebytes, picture, OleObjectType.ExcelWorksheet) + 'Save the Word document + document.Save("Sample.docx", FormatType.Word2010) + 'Close the document + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified stream, picture and file link type. + + The represents the file stream. + The instance for the OLE picture. + The member that specifies the link type of OLE object. + The instance that represents the newly created OLE object. + The OLE object type must be explicitly specified when appending OLE objects using this method. + The following example illustrates how to append OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + FileStream stream = new FileStream("Excel_Template.xlsx", FileMode.Open); + WOleObject ole = paragraph.AppendOleObject(stream, picture, OleLinkType.Embed); + ole.ObjectType = "Excel Worksheet"; + //Save the Word document + document.Save("Sample.docx", FormatType.Word2010); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + Dim stream As New FileStream("Excel_Template.xlsx", FileMode.Open) + Dim ole As WOleObject = paragraph.AppendOleObject(stream, picture, OleLinkType.Embed) + ole.ObjectType = "Excel Worksheet" + 'Save the Word document + document.Save("Sample.docx", FormatType.Word2010) + 'Close the document + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified byte array of the file, picture and link type. + + The byte array of the file. + The instance for the OLE picture. + The member that specifies the link type of OLE object. + The instance that represents the newly created OLE object. + The OLE object type must be explicitly specified when appending OLE objects using this method. + The following example illustrates how to append OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Get the file as byte array + byte[] olebytes = File.ReadAllBytes("Excel_Template.xlsx"); + WOleObject ole = paragraph.AppendOleObject(olebytes, picture, OleLinkType.Embed); + ole.ObjectType = "Excel Worksheet"; + //Save the Word document + document.Save("Sample.docx", FormatType.Word2010); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Get the file as byte array + Dim olebytes As Byte() = File.ReadAllBytes("Excel_Template.xlsx") + Dim ole As WOleObject = paragraph.AppendOleObject(olebytes, picture, OleLinkType.Embed) + ole.ObjectType = "Excel Worksheet" + 'Save the Word document + document.Save("Sample.docx", FormatType.Word2010) + 'Close the document + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified byte array of the file, picture and file extension. + + The byte array of the file. + The instance for the OLE picture. + The string that specifies the file extension. + The instance that represents the newly created OLE object. + The following example illustrates how to append OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Get the file as byte array + byte[] olebytes = File.ReadAllBytes("Excel_Template.xlsx"); + paragraph = sec.AddParagraph(); + //Append OLE object + paragraph.AppendOleObject(olebytes, picture, ".xlsx"); + //Save the Word document + document.Save("Sample.docx", FormatType.Word2010); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Get the file as byte array + Dim olebytes As Byte() = File.ReadAllBytes("Excel_Template.xlsx") + paragraph = sec.AddParagraph() + 'Append OLE object + paragraph.AppendOleObject(olebytes, picture, ".xlsx") + 'Save the Word document + document.Save("Sample.docx", FormatType.Word2010) + 'Close the document + document.Close() + End Sub + + + + + + Appends the OLE object to the paragraph with the specified file stream, picture and file extension. + + The represents the file stream. + The instance for the OLE picture. + The string that specifies the file extension. + The instance that represents the newly created OLE object. + The following example illustrates how to append OLE object to the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Open the file to be embedded + FileStream stream = new FileStream("Excel_Template.xlsx", FileMode.Open); + //Load the picture instance with the image need to be displayed + WPicture picture = new WPicture(document); + picture.LoadImage(Image.FromFile("Image.png")); + //Append the Ole object to the paragraph + WOleObject ole = paragraph.AppendOleObject(stream, picture, "xlsx"); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Open the file to be embedded + Dim stream As New FileStream("Excel_Template.xlsx", FileMode.Open) + 'Load the picture instance with the image need to be displayed + Dim picture As New WPicture(document) + picture.LoadImage(Image.FromFile("Image.png")) + 'Append the Ole object to the paragraph + Dim ole As WOleObject = paragraph.AppendOleObject(stream, picture, "xlsx") + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Appends the mathematical equation to the paragraph. + + The instance that represents the newly added mathematical equation. + + + + Appends a mathematical equation to the paragraph using LaTeX syntax. + + The LaTeX syntax representing the mathematical equation. + The instance that represents the newly added mathematical equation. + The following example illustrates how to append math using LaTeX to the paragraph. + + //Create a new Word document + using(WordDocument wordDocument = new WordDocument()) + { + //Adds one section and one paragraph to the document + wordDocument.EnsureMinimal(); + //Appends a new mathematical equation to the paragraph using LaTeX syntax. + wordDocument.LastParagraph.AppendMath(@"\dot{a}"); + //Saves the Word document + wordDocument.Save("Result.docx", FormatType.Docx); + } + + + 'Create a new Word document + Dim wordDocument As New WordDocument() + 'Adds one section and one paragraph to the document + wordDocument.EnsureMinimal() + 'Appends a new mathematical equation to the paragraph using LaTeX syntax. + wordDocument.LastParagraph.AppendMath("\dot{a}") + 'Saves the Word document + wordDocument.Save("Result.docx", FormatType.Docx) + 'Close the document + wordDocument.Close() + + + + + + Get the owner entity of the paragraph. + + + + + + + Heading Styles must be omitted in Header,Footer,Footnote and Endnote while converting the Word document headings into PDF bookmarks. + + + + + + Checks wheather the paragraph is in HeadFooter or not. + + Return true, If this paragraph is in HeadFooter, else Fasle. + + + + Gets the first paragraph in the owner textbody + + + + + + + Appends the field mark. + + The type. + + + + Appends lineBreak + + The line break text. + + + + + Appends the hyperlink. + + The link. + The text. + The picture. + The type. + + + + + Loads the picture. + + The picture. + The image record. + + + + Appends the index entry. + + The entry to mark. + + + + + Append merge field + + + + + + + Gets the list format. + + + + + + Gets the list format, list level, tab level index and indents. + + + + + + Gets the list level. + + The list format. + The list style hierarchy index. + + + + + Gets the list text. + + + + + + Gets the list level. + + The list format. + + + + + Get the paragraph margin left and first line indent based on heirarchy + + + + + + + + Check whether current paragraph have zero line spacing value + + + + + + + Checks whether the paragraph has line numbers. + + + + + + Determines whether the paragraph contains an item, which need to updated in TOC. + + Represents a paragraph need to check its items. + Returns true, if paragraph contains any item which need to updated in TOC; otherwise returns false. + Currently, we implemented the behaviour of updating images from heading to the table of contents. + In future, need to remove this method based on feature implementation for updating images in TOC. + + + + Returns first entry of the specified in the paragraph. + + The used to find the text. + + The that contains the found text in the paragraph. + + + The following code example demonstrates how to find a particular text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + WParagraph paragraph = document.Sections[0].Paragraphs[1]; + //Find the first occurrence of a particular text in the paragraph + TextSelection textSelection = paragraph.Find(new Regex("Panda")); + //Get the found text as single text range + WTextRange textRange = textSelection.GetAsOneRange(); + //Modify the text + textRange.Text = "Replaced text"; + //Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow; + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(1) + 'Find the first occurrence of a particular text in the paragraph + Dim textSelection As TextSelection = paragraph.Find(New Regex("Panda")) + 'Get the found text as single text range + Dim textRange As WTextRange = textSelection.GetAsOneRange() + 'Modify the text + textRange.Text = "Replaced text" + 'Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Returns first entry of given string in the paragraph, taking into consideration case sensitive and whole word options. + + The string that specifies the text to find. + + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + + The that contains the found text in the paragraph. + + + The following code example demonstrates how to find a particular text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + WParagraph paragraph = document.Sections[0].Paragraphs[1]; + //Find the first occurrence of a particular text in the paragraph + TextSelection textSelection = paragraph.Find("panda", true, true); + //Get the found text as single text range + WTextRange textRange = textSelection.GetAsOneRange(); + //Modify the text + textRange.Text = "Replaced text"; + //Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow; + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(1) + 'Find the first occurrence of a particular text in the paragraph + Dim textSelection As TextSelection = paragraph.Find("panda", true, true) + 'Get the found text as single text range + Dim textRange As WTextRange = textSelection.GetAsOneRange() + 'Modify the text + textRange.Text = "Replaced text" + 'Set highlight color + textRange.CharacterFormat.HighlightColor = Color.Yellow + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + Replaces all entries of the given with the replace string. + + The used to find the text. + The string specifies the text to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + WParagraph paragraph = document.Sections[0].Paragraphs[1]; + //Replace all occurrence of a particular text in the paragraph + paragraph.Replace(new Regex("Paragraph"),"paragraph"); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(1) + 'Replace all occurrence of a particular text in the paragraph + paragraph.Replace(New Regex("Paragraph"), "paragraph") + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the paragraph with replace string, taking into + consideration case sensitive and whole word options. + + The string represents the text to be found. + The string specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + WParagraph paragraph = document.Sections[0].Paragraphs[1]; + //Replace all occurrence of a particular text in the paragraph + paragraph.Replace("Paragraph","paragraph", false, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(1) + 'Replace all occurrence of a particular text in the paragraph + paragraph.Replace("Paragraph", "paragraph", False, True) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces the specified regular expression with a in the paragraph. + + The used to find the text. + The specifies the text to replace. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + WParagraph paragraph = document.Sections[0].Paragraphs[1]; + //Find the first occurrence of the regular expression + TextSelection selection = paragraph.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the paragraph + paragraph.Replace(new Regex("Giant panda"), selection); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(1) + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = paragraph.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the paragraph + paragraph.Replace(New Regex("Giant panda"), selection) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression in the paragraph with the + along with its formatting. + + The used to find the text. + The specifies the text to replace. + Set to true to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + WParagraph paragraph = document.Sections[0].Paragraphs[1]; + //Find the first occurrence of the regular expression + TextSelection selection = paragraph.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the paragraph + paragraph.Replace(new Regex("Giant panda"), selection, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(1) + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = paragraph.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the paragraph + paragraph.Replace(New Regex("Giant panda"), selection, True) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the paragraph with , taking into + consideration case sensitive and whole word options. + + The string represents the text to be found. + The specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + WParagraph paragraph = document.Sections[0].Paragraphs[1]; + //Find the first occurrence of the regular expression + TextSelection selection = paragraph.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the paragraph + paragraph.Replace("Giant panda", selection, true, false); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(1) + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = paragraph.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the paragraph + paragraph.Replace("Giant panda", selection, True, False) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the paragraph with , taking into + consideration case sensitive, whole word and formatting options. + + The string represents the text to be found. + The specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + Set to true if to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + + The following code example demonstrates how to replace all the entries of a text in the paragraph. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Template.docx"); + WParagraph paragraph = document.Sections[0].Paragraphs[1]; + //Find the first occurrence of the regular expression + TextSelection selection = paragraph.Find(new Regex("Panda")); + //Replace all occurrence of a particular regular expression with the text selection in the paragraph + paragraph.Replace("Giant panda", selection, true, false, true); + //Save and Close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Template.docx") + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(1) + 'Find the first occurrence of the regular expression + Dim selection As TextSelection = paragraph.Find(New Regex("Panda")) + 'Replace all occurrence of a particular regular expression with the text selection in the paragraph + paragraph.Replace("Giant panda", selection, True, False, False) + 'Save and Close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces first entry of given string with replace string, taking into + consideration caseSensitive and wholeWord options. + + The string to replace + Replace string + Is case sensitive replace? + Search for whole word? + + + + + Replaces all entries of given regular expression with replace string. + + + + + + + Inserts a section break. Creates new section with the break type new page. + + A reference to the newly created section. + + The following code example illustrates how to insert a section break. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + document.EnsureMinimal(); + //Add text to the first section + document.LastParagraph.AppendText("First section"); + //Insert section break + WSection newsection = document.LastParagraph.InsertSectionBreak(); + //Add new paragraph to the second section + IWParagraph paragraph = newsection.AddParagraph(); + paragraph.AppendText("Second section"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + document.EnsureMinimal() + 'Add text to the first section + document.LastParagraph.AppendText("First section") + 'Insert section break + Dim newsection As WSection = document.LastParagraph.InsertSectionBreak() + 'Add new paragraph to the second section + Dim paragraph As IWParagraph = newsection.AddParagraph() + paragraph.AppendText("Second section") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Inserts the section break. Creates new section with the specified break type. + + The member that specifies the break type. + A reference to the newly created section. + + The following code example illustrates how to insert a section break. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + document.EnsureMinimal(); + //Add text to the first section + document.LastParagraph.AppendText("First section"); + //Insert section break + WSection newsection = document.LastParagraph.InsertSectionBreak(SectionBreakCode.Oddpage); + //Add new paragraph to the second section + IWParagraph paragraph = newsection.AddParagraph(); + paragraph.AppendText("Second section"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + document.EnsureMinimal() + 'Add text to the first section + document.LastParagraph.AppendText("First section") + 'Insert section break + Dim newsection As WSection = document.LastParagraph.InsertSectionBreak(SectionBreakCode.Oddpage) + 'Add new paragraph to the second section + Dim paragraph As IWParagraph = newsection.AddParagraph() + paragraph.AppendText("Second section") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the owner section. + + + + + + Gets the paragraph items. + + + + + + Clears the items. + + + + + Returns all entries of given regex. + + The pattern. + + + + + Returns first entry of given regex. + + The pattern. + + + + + Removes the items range. + + The start index. + if it speicifes the end, set to true. + + + + Clones without paragraph items. + + + + + + Appends paragraph item to the end of paragraph. + + + + + + + Updates the text. + + The p item. + The new text. + Flag to check update the text by removing existing or by inserting in between. + + + + Updates the text. + + The paragraph item. + Length of the text to remove. + The new text. + Flag to check update text by removing existing or by inserting inbetween. + + + + Updates the start position of next items from the inputed paragraph item. + + An item where to start updating start position in the paragraph. + A value to add with start position of next items. + + + + Applies the specified style. + + Style name + Specified style must exist in Document.Styles collection + + + + Checks whether text contains non-breaking space character or not and Word version is 2010 or 2013. + + + + + + Checks whether space combined with non breaking space character or not. + + Text which contains non-breaking space character. + Position of the empty space character. + + + + Find the index of the space to split the Word. + + + It space not combined with non-breaking space character, returns the index of the space character. + Otherwise returns index of the last character in the Word. + + Text which contains non-breaking space character. + Position of the empty space character. + + + + Applies the specified style. + + Style name + Specified style must exist in Document.Styles collection + + + + Replaces the substring. + + The start. + The length. + The replacement. + + + + Adds the self. + + + + + Apply the based on style to formattings. + + Destination Word document. + + + + Gets the current list level paragraph format properties and which is not available in paragrph inline. + + + + + + Clones the relations. + + + + + + While cloning the paragraph need to remove adding the Footnotes/Comments if the owner textBody is Wcomment/WFootnote for the Alternate chunk document + + + + + + + + To identify whether the current item need to be add current item into floating item collection + + Current entity + trueif the current item is floating item, otherwisefalse + + + + Updates the merge formatting. + + The doc. + + + + Updates the source formatting. + + The doc. + + + + Clones the style relations. + + The doc. + + + + Imports the style to destination document. + + + + + + + Creates a duplicate copy of the paragraph. + + + The reference of the newly created paragraph. + + + + Clones itself without paragraph items. + + + + + + Clones the paragraph as text only. + + + + + + Determines whether next sibling item is non hidden paragraph or other textbody item. + + + + + + Determines whether the previous paragraph mark is hidden. + + + + + + Determines whether the previous paragraph mark is hidden. + + + + + + + Determines whether the previous paragraph mark is in deletion revision. + + First previous deleted paragraph + returns true if any previous deleted paragraphs has content in it. Otherwise returns false + + + + Determines whether the previous paragraph mark is in deletion revision. + + + + + + + Determine whether the next entity is a non-delete revision list paragraph or not. + If the next entity is a delete revision paragraph, then continue getting the next entity until a non-delete revision item occurs and retrieve the list entity. + + Store non delete revision list paragraph + True if next entity is a non delete revision list paragraph, otherwise return False if is not a non delete revision list paragraph + + + + Determine whether the paragraph mark is deleted or not. + + + + + Retrieves the previous or next non-delete revision entity based on the specified flag. + + Flag indicating whether to retrieve the previous entity (true) or the next entity (false). + The previous or next non-delete revision entity. + + + + Checks wheather the previous paragraph has contents + + + + + + Gets the text. + + The start index. + The end index. + + + + + + + + + + Determine whether the paragraph having only the empty spaces and bookmarks + + + + + + + Determines whether the page break need to be skipped based on given entity owner. + + Entity + true, if present inside TextBox/FootNote/EndNote/Header/Footer + + + + Applies the list style. + + The built-in style. + + + + Checks the normal style. + + + + + Closes the item. + + + + + Applies the list paragraph style. + + + + + + + + + + + + + + + + + Gets the Owner table cell for paragraph. + + Owner textbody + + + + + + + + + + Determine whether the paragraph has section break + + + + + + Determines whether the paragraph is section end mark. + + + true if the paragraph is section end mark; otherwise, false. + Whether the paragraph's having childentites and checked the IsEmptyParagraph method. + + + + + Modifies the text. + + The text. + + + + + Update the bookmark end while moving the bookmark start from one paragraph to another paragraph + + + + + + + + Checks whether the frame height type is atleast or not + + + + + + Accepts or rejects changes tracked from the moment of last change acceptance. + + if it accepts changes, set to true. + + + + Removes the character format changes. + + + + + Removes the paragraph/table format changes. + + + + + Accepts the changes for character format. + + + + + Accepts changes in paragraph/table format. + + + + + Defines whether paragraph format is changed. + + + + + + Checks a value indicating whether this item was inserted to the document, + when "Track Changes" is or was set to "true". + + + + if this instance was inserted, set to true. + + + + + Checks a value indicating whether this item was deleted from the document, + when "Track Changes" is or was set to "true". + + + + if this instance is delete revision, set to true. + + + + + Defines whether format was changed. + + + + + + Checks whether full paragraph can be removed. + + + + + + Determines whether item has tracked changes. + + + if has tracked changes, set to true. + + + + + Sets the delete rev. + + if specifies delete revision, set to true. + + + + Sets the insert rev. + + if it specifies insert revision, set to true. + + + + Sets the changed C format. + + if it specifies formatting, set to true. + + + + Sets the changed P format. + + if it specifies changed format, set to true. + + + + Check that paragraph only has spaces or Not + + Return a Suitable bool value + + + + Check whether paragraph contains only textrange. + + + + + + Gets Next the text body item in the document. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Registers paragraph elements for xml serialization. + + + + + + Restores object references after deserialization. + + + The string that specifies the name. + The zero-based index. + + + + Determines the paragraph has no items. + + + + + + Checks whether any renderable items from the particular Index in Paragraph. + + The paragraph Index value. + True, If any renderable items present from index else false. + + + + Gets the owner base entity. + + The entity + returns the baseEntity + + + + Determines whether the specified layouted widget is first line of the paragrph. + + The lt widget. + + + + + Gets the previous sibling. + + + + + + Gets the next sibling. + + + + + + Retrieves the bottom margin of the previous non-deleted paragraph in the document. + + The previous sibling entity in the document. This reference will be updated to the previous sibling if the current paragraph is marked as deleted. + + + + + Retrieves the before spacing of the next non-deleted paragraph in the document. + + The next sibling entity in the document. This reference will be updated to the next sibling if the current paragraph is marked as deleted. + + + + + Determines whether the specified child entity is the first non-skipped item in the section's text body. + + The entity to check if it is the first non skipped item in the section's text body. + + + + + Determines whether the height of the paragraph mark needs to be considered. + + + + + Remove split string widgets from the widget collection + + + + + Gets previous widget + + + + + + + Gets the previous inline items for the specified widget. + + The widget to get the previous inline items. + The previous inline items for the specified widget, or null if there are no previous inline items. + + + + Determines whether the specified layouted widget is last line of the paragrph. + + The lt widget. + + + + + Gets Next widget + + + + + + + Initializing LayoutInfo to null + + + + + Creates layout information. + + + + + + Updates the character spacing for the paragraph if it is in a table cell and the table cell is set to fit text. + + + + + Updates the character spacing or scaling value for each text range in the paragraph. + + The width of the cell content. + Specifies the total text length in a paragraph. + Specifies the owner of the current paragraph. + + + + Splits the last character of a paragraph text into two text ranges. + + Specifies the last textrange in a paragraph. + + + + Determine whether the current paragraph is need to be hidden + + + + + + Determine whether the previous paragraph mark is in delete revision or not. + If the previous paragraph including its items also in delete revison means, then continue getting the previous entity until a delete revision paragraph occurs. + + True if the previous paragraph is in a delete revision; otherwise false if it is a non delete revision paragraph + + + + Combine the widget by consicutive LTR and RTL texts. + + + + + Determines the paragraph has no items. + + + + + + Splits the textranges by script types. + + + + + Splits the textranges by consicutive LTR and RTL texts. + + + + + To check whether the specified language is arabic language or not. + + Specify the language local id + Return true if the language id is represent the arabic + + + + Gets the valid text from the paragraph. + + + + + + + Determine whether the current paragraph is vertically aligned + + + + + + Determine whether the current paragraph is need to be hidden + + + + + + Splits the widget by line break character. + + Paragraph items + + + + Determine the whether the paragraph is the firstparagraph of the owner text body. + + returns the IsFirstParagraphOfOwnerTextBody + + + + Checks whether the childEntity is the first child of ownerBaseEntity or not. + + The owner Base Entity + The child entity + returns the isFirstParagraph + + + + Determines whether to skip cell mark layouting. + For the cell mark present after a table in nested tables. + + + true if is skip cell mark; otherwise, false. + + + + + Returns the first inline item height of the current paragraph. + + The paragraph to which the height of first item to be found. + The that specifies the first item in the paragraph. + The float represents the height of the first item in the paragraph. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + Returns the height of the specified paragraph item. + + The paragraph item to get the height. + The float that specifies the height of the break character in the paragraph. + The float represents the height of the paragraph item. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin platforms. + + + + Determine whether the current paragraph is having the same border values of Adjacent paragraphs + + Adjacent paragraph + + + + + Determine whether the border properties are equivalent to Adjacent border + + + + + + + + To ensure wether current paragraph and adjacent paragraph is having same left indent value + + Adjacent paragraph + Current paragraph left indent position + truewhen the two paragraphs are having same left indent value, otherwisefalse + + + + Is paragraph before spacing need to be skip + + + + + + + Get the default tab width + + Paragraph + Default tab width value + + + + Implemented alternative method to improve the performance + + + + + + + + Gets the minimum and maximum and pargraph word width. + + + + + Boolean to decide whether the ParagraphWidth calculation should do or not + + + + Gets the Paragraph Content Width + + The total content length of paragraph + + + + The total content length of paragraph + + Paragraph Items + Sum of the paraitems width + + + + String builder to store the text of the paragraph + + + + + Compare the two paragraphs formatting to mark the formatting differences. + + Original paragraph + + + + Compare the character format for matched text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Compare the character format and apply format revision + + The original entity character format + The revised entity character format + + + + Compare paragraph formats and character format for the current matched text + + A value indicating whether the character formats are equal. + A value indicating whether current match is the first match in the paragraph + The original document instance + The matched text range index in the paragraph + The matched text as TextSelection + + + + Compare paragraph formats for the current matched delimiter. + + A value indicating whether current match is the first match in the paragraph. + The original document paragraph. + + + + Compare Two ParagraphFormat and return true if Equal else false. + + + + + Apply paragraph format changes + + The original document paragraph + + + + Gets style name Id using the document. + + Style Name + Document to get style name id + + + + Update the body item index when the end of the section is reached + + Start index of the last matched word + End index of the last matched word + Index of the matched item in paragraph + + + + Compare the revised document paragraph with the original document. + + The original document instance + + + + Check whether is there any item need to delete or insert before the matched word + + + + + + + + + + + + Add the skipped bookmarks while getting the match word + + Original document + Skipped bookmark collection + Matched word + + + + Compare the non renderable items + + Original document + Original Textbody + Para item index of revised + Start range index of the current item in revised + + + + Check and remove the current bookmark if it is present in original document or textbody + + Original document + Original textbody + Current bookmark name + + + + Reset the para item index after removing the non renderable items + + Original document + Original Textbody + Start owner para index + End owner para index + Start item index + End item index + + + + Split the matched text and unmatched text from the current textrange from both original document and revised document. + + + + + + + + + + + + Split the current textrange + + + + + + + + + + + + + + Mark insertion and deletion for the document items + + A value indicating whether to mark insert revisions + A value indicating whether to mark delete revisions + The original document instance + The current matched test range as TextSelection + Start text range index + + + + Compare empty paragraphs between documents + + The original document instance + + + + Compare the empty paragraphs before the current matched paragraph between documents + + The original document instance + + + + Compare the current item with current item in orginal document only. Not traverse to find next similar item in orginal document. + + + + + + + + + + + + Get the current paragraph item from document or textbody + + + + + + Update the next para item index for the revised document. + + + + + + + + + + Get the field code as string based on the field type + + + + + + + Compare fields between the original and revised document + + The original document + Index of the field + Character index + Character index + Index of the word to match + True if the last item is matched, else false + Index of the current paragraph item + + + + Find the field from the collection + + + + + + + + + Get the result part of the field + + Current document + Current matched field + Return a document containing the field result alone + + + + Clears headers and footers of Word document + + + + + + Compare the field result part of matched field in both revised and original document + + Original document + Matched field from original document + Matched field from revised document + + + + Compares the content of inline content controls between original and revised documents and applies track changes. + + The original document containing the inline content control. + The revised document containing the inline content control. + The text body of the original document. + The text body of the revised document. + The inline content control in the original document. + The inline content control in the revised document. + + + + Retrieves the content of the inline content control as a separate document. + + The document containing the inline content control, or null if not provided. + The text body of the document. + The inline content control whose content is to be retrieved. + The content of the inline content control as a separate document + + + + Move the field items from field begin to field separator from revised document to original document + + Original field + Revised field + Original document + Revised document + + + + Remove the items between the field begin and field separator + + + + + + Compare pictures between the original and revised document + + The original document + Index of the picture + Character index + Character index + Index of the word to match + True if the last item is matched, else false + Index of the current paragraph item + + + + Mark revisions for the drawing elements + + + + + + + + + + + + Compare ole object from both original and revised document + + + + + + + + + + + + Insert or delete the unmatched items before the current matched item + + + + + + + + + + Move the current position to the next item in the document + + + + + + + + + + + Splits the revised document text range + + Character index + Start text range index + Index of the current matched item + Index of the word + Character index + The current matched word + + + + Splits the text range in the original document + + The original document instance + + + + Copy indexes from Document to textbody. + + + + + + + Copy indexes from textbody to Document. + + + + + + + Splits the text range in the original text body + + The original text body instance + + + + Splits the specified text range in the current paragraph + + Character index + Character index + Index of the text range to split + Text range index + The matched word + Word index in the text range + + + + Find the exact match from the list of possible matches. + + Matches found in the original document + Index of the current section + Index of the owner paragraph + Index of the current text range + Index of the last matched word's last character + + + + + Insert the paragraph items from the revised document to the original document + + The matched text range as TextSelection + The original document instance + The matched paragraph item index in the revised document + + + + Insert the missed items from revised to original. + + Original document + Para item index in revised document + Start textrange index of matched paragraph in original document + Matched Body item index of original document + Matched section index of original document + + + + Append the remaining para items from the revised to the paragraph end of the original. + + + + + + + + + Set insertion mark to the paragraph and its items + + + + + Add deletion mark to the paragraph and its items + + + + + Remove the deletion mark for the paragraph and its items + + + + + Remove the insertion mark of the paragraph and its items + + + + + Mark deletion for the items in original document + + + + + + + + + + Updates track changes revision of paragraph while adding the entity. + + + Boolean, to decide whether paragrapgh child revision should update or not + + + + Apply insertion revision + + + + + + + + Mark insert revision for the paragraph item + + The paragraph item instance + + + + Mark delete revision for the unmatched items + + The current matched text range index + + + + Apply delete revision for the unmatched items in the original document. + + + + + + + + + + + Add delete revision mark in textbody from start to end + + + + + + + + Apply delete revisions for the items from start index to end index from the paragraph + + + + + + + + Mark delete revision for the paragraph item + + The paragraph item index + + + + Check the para item + + + + + + + Gets the word to find in the original document + + The current item index in the paragraph + The index of the text in the text range + The start index of the (text range)word in the paragraph + The word to find the match. + + + + Skip the previous non-renderable items and split the full text based on the delimiters + + + + + + + + + Check whether paragraph item is non-renderable item + + + + + + + Check whether the character is a special delimiter. + + The character to check + True, if it is delimiter else false + + + + Compare the delimiter before the matched word with the previous text range. + + + + + + + + Check for spaces in the previous ranges + + Original text + Revised text + Character index + + + + Compare the delimiters in the text ranges + + Original text range + Revised text range + + + + Get the special characters in the text range + + Text range instance + + + + + Compare the paragraphs between two text body + + Text body instance. + + + + Compare the textranges + + + + + + + + + + + + + + + + + + Checks if a paragraph contains only comments or comment marks. + + + + + Split the unmatched text as separate text range in the paragraph items. + + The paragraph instance + The matched text range index + Start character index + End character index + + + + Compare the special delimiters and split as separate textrange if the formatting are different + + + + + + + + + + + + + Split the delimiter from the given text range to separate text range. + + + + + + + Return the separate delimiter text range + + + + Split the textrange of both original and revised document based on delimiter + + + + + + + + + + + + + + Skip the bookmarks + + + + + + + Gets the paragraph text for word comparison + + + + + + + Handled for preservation of inline SDT items in Doc to PDF conversion. + Defines whether the paragraph has SDT inline items or not. + + + + + Gets or sets a value indicating whether the splitwidget is drawn or not + + + true if the splitwidget is drawn; otherwise, false. + + + + + Gets or sets a value indicating whether the style is applied + + + true if the style is applied; otherwise, false. + + + + + Gets the boolean value to indicate whether need to measure size of the BookMarks + + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + + Gets the child elements of the paragraph. Read-only. + + The . + + + + Gets the name of the style applied to the current paragraph. Read-only. + + The string that represents the style name. + + + + Gets a string that represent the appearance of the list value of the paragraph. + + The string that represents a string value of the list of the paragraph. Default value is string.Empty + The following example illustrates how to get a numeric string value of the list paragraph. + + // Loads an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Gets the document text + document.GetText(); + // Gets a numeric string value of the numbering list paragraph. + String listString = document.LastParagraph.ListString; + // Saves the document in the given name and format. + document.Save("Document.docx", FormatType.Docx); + // Releases the resources occupied by WordDocument instance. + document.Close(); + + + ' Loads an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + ' Gets the document text. + document.GetText() + ' Gets a numeric string value of the numbering list paragraph + Dim listString As String = document.LastParagraph.ListString + ' Saves the document in the given name and format. + document.Save("Document.docx", FormatType.Docx) + ' Releases the resources occupied by WordDocument instance. + document.Close() + + + This property holds the static string of the list value recently calculated while saving the document as Text. It is not updated automatically for each modification done in the document. + Hence, you should either invoke WordDocument.GetText() method or save the document as Text, to get the actual list value from this property. + For a picture bulleted list, this property is not valid and will return string.Empty. + + + + Gets or sets ID to the paragraph + + The string that represents the id. + + + + Gets or sets text of the paragraph. + + The string that represents the text. + All the internal formatting will be cleared when new text is set. + + + + Gets or sets a value indicating whether the paragraph mark is treated as special hidden and it allows Microsoft Word to join paragraphs formatted using different paragraph styles. + + True if the paragraph mark is treated as special hidden; otherwise, false. + + + + Gets the paragraph item at the specified index. Read-only. + + The zero-based index of the item to get from the collection. + The at the specified index. + + + + Gets the collection of in the current paragraph. Read-only. + + The of the paragraph. + + + + Gets the paragraph format of the current paragraph. Read-only. + + The of the paragraph. + + + + Gets the character format for the break symbol. Read-only. + + The of the paragraph. + + + + Gets the format for the list in the paragraph. Read-only. + + The of the list in the paragraph. + + + + Gets a value indicating whether the current paragraph is in cell. Read-only. + + True if this paragraph is in cell; otherwise, false. + + + + Gets or sets a value indicating whether this paragraph contains "\par" RTF tag. + + if this paragraph contains "\par" RTF tag, set to true. + + It's presence in last paragraph of the RTF from clipboard means that the copied content includes the last paragraph mark and its formatting should be copied in the pasted document. Also, the last paragraph should be preserved as separate paragraph and should not be merged in cursor position. + + + + + Gets a value indicating whether the current paragraph is end of the section. Read-only. + + True if this paragraph is end of section; otherwise false. + + + + + Gets a value indicating whether the current paragraph is end of document. Read-only. + + True if this paragraph is end of document; otherwise, false. + + + + + Gets or sets a value indicating whether the Paragraph is last item in the Word document for Alternate chunk updated. + + + true if the paragraph is the last item in Alternate chunk document; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is need to skip. + + + true if this instance is need to skip; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is top margin value updated. + + + true if this instance is top margin value updated; otherwise, false. + + + + + Gets count of child items. + + + + + Gets child widgets. + + + + + Gets child item by index. + + + + + Gets the paragraph items collection. + + + The instance. + + + + Gets or sets a value indicating whether to remove empty paragraph. + + if its specifies to remove empty paragraph, set to true. + + + + Gets the last item. + + The last item. + + + + Gets the paragraph style. + + The style. + + + + Gets a value indicating whether the paragraph is section end mark. + + true if the paragraph is section end mark; otherwise, false. + + + + Gets or sets a value indicating whether this instance is text replaced. + + + true if this instance is text replaced; otherwise, false. + + + + + Gets or sets a value indicating whether HTML is appending in this paragraph. + + + true if HTML is appending in this paragraph; otherwise, false. + + + + + Gets or sets a value indicating whether the Paragraph created using span tag in HTML. + + + true if the paragraph is created using span tag in HTML; otherwise, false. + + This property is implemented for document editor internal use only. + + + + Get or set the internal text property + + + + + The class specifies the Layout paragraph information. + + + + + Summary description for ParagraphLayoutInfo. + + + + + Summary description for LayoutInfo. + + + + + Summary description for ILayoutInfo. + + + + + Gets or sets a value indicating whether this instance is clipped. + + + true if this instance is clipped; otherwise, false. + + + + + Gets a value indicating whether this instance is skip. + + true if this instance is skip; otherwise, false. + + + + Gets or sets a value indicating whether this instance is skip bottom align. + + + true if this instance is skip bottom align; otherwise, false. + + + + + Gets a value indicating whether this instance is line container. + + + true if this instance is line container; otherwise, false. + + + + + Gets the children layout direction. + + The children layout direction. + + + + Gets or sets a value indicating whether this instance is line break. + + + true if this instance is line break; otherwise, false. + + + + + Gets or sets a value indicating whether [text wrap]. + + true if [text wrap]; otherwise, false. + + + + Gets or sets a value indicating whether this instance is page break item. + + + true if this instance is page break item; otherwise, false. + + + + + Gets a value indicating whether this instance is first Text Body Item of current page. + + + true if this instance is first Text Body Item of current page; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is keep with next. + + + true if this instance is keep with next; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is hidden. + + + true if this instance is hidden; otherwise, false. + + + + + Gets/Sets the Size of the widget + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The child layout direction. + + + + Gets or sets a value indicating whether this instance is clipped. + + + true if this instance is clipped; otherwise, false. + + + + + Gets/Sets the Size of the Widget + Currently We have handled the Size property as specifically to get the text size of the TextRange and Empty textrange size of the paragraph. + In Feature, We need to use this property to get the size of the all widgets + + + + + Gets a value indicating whether this instance is skip. + + true if this instance is skip; otherwise, false. + + + + Gets or sets a value indicating whether this instance is skip bottom align. + + + true if this instance is skip bottom align; otherwise, false. + + + + + Gets or sets a value indicating whether the owner table cell is having text direction as vertical + + + true if this instance is having the text direction as vertical; otherwise, false. + + + + + Gets a value indicating whether this instance is line container. + + + true if this instance is line container; otherwise, false. + + + + + Gets the children layout direction. + + The children layout direction. + + + + Gets or sets a value indicating whether this instance is line break. + + + true if this instance is line break; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is line Number Item. + + true if this instance is line Number Item.; otherwise, false. + + + + Gets or sets a value indicating whether [text wrap]. + + true if [text wrap]; otherwise, false. + + + + Gets or sets a value indicating whether this instance is page break item. + + + true if this instance is page break item; otherwise, false. + + + + + Gets a value indicating whether this instance is first Text Body Item of current page. + + + true if this instance is first Text Body Item of current page; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is keep with next. + + + true if this instance is keep with next; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is hidden. + + + true if this instance is hidden; otherwise, false. + + + + + Summary description for ILayoutSpacingsInfo. + + + + + Gets the paddings. + + The paddings. + + + + Gets the margins. + + The margins. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Holds the Y position for List value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + The child layout direction. + + + + Initializes a new instance of the class. + + The child layout direction. + Is page break. + + + + Initializes a new instance of the class. + + + + + Initializes the layout info values as null. + + + + + Gets or sets a value indicating whether this instance is page break. + + + true if this instance is page break; otherwise, false. + + True, if we can break the pragraph for page break, column break, section break. Based on this, we setting state for layouting to split page. + + + + Gets or sets the level number. + + The level number. + + + + Gets or sets the justification. + + The justification. + + + + Gets or sets the first line indent. + + The first line indent. + + + + Gets or sets a value indicating whether this instance is keep together. + + + true if this instance is keep together; otherwise, false. + + + + + Gets or sets the list tab. + + The list tab. + + + + Get the list tab width + + + + + Gets or sets the Y position. + + The Y position. + + + + Holds the current paragraph original Y position. + This property value won't change when paragraph wrapped by floating item. + + + At now handled to hold the value for negative vertical position + Need to handled for all cases + + The Y position. + + + + Gets the Y positions for List value. + + The Y positions of List. + + + + Gets or sets the list value. + + The list value. + + + + Gets or sets the Current list Type. + + The list value. + + + + Gets or sets the character format for the list. + + The character format. + + + + Gets or sets alignment of the list number (left, right, or centered). + + + + + Gets or sets the current list tab stop. + + + + + Gets or sets a value indicating whether the line is the first line of the paragraph. + + + true if this line is first line of the paragraph; otherwise, false. + + + + + Gets or sets Top Padding of the paragraph. + + + + + Gets or sets Bottom padding of the paragraph. + + + + + Gets or sets TopMargin of the paragraph. + + + + + Gets or sets BottomMargin of the paragraph. + + + + + Gets or sets a value indicating whether the paragraph is last paragraph of the page. + + + true if this paragraph paragraph is last paragraph of the page; otherwise, false. + + + + + Gets or sets a value indicating whether [x position re update]. + + + true if [x position re update]; otherwise, false. + + + + + Gets or sets the X position. + + The Y position. + + + + Gets or sets a value indicating whether this instance is section end mark. + + + true if this instance is section end mark; otherwise, false. + + + + + Gets the paddings. + + The paddings. + + + + Gets the margins. + + The margins. + + + + + + + + + Initializes a new instance of the class. + + The paragraph. + + + + Get the Empty size of the empty TextRange + + + + + + Updates IsClipped Property for the Paragraph. + + + + + Get Base Entity. + + The entity. + + + + + Determines the list format. + + + + + Update List Paragraph After/Before spacing + + + + + + Get the size of the list value + + List level + Size + + + + Updates the width of the list value, if the follow character is space or nothing. + + The level. + + + + Updates the list tab. + + + + + + + Updates the width of the tab, based on the list text. + + The tabs. + The width. + + + + Copys Character formatting + + + + + + + Determines the borders. + + + Determines the borders. + + + + + Determines the page breaks. + + + + + Retrieves the first paragraph from the given entity, which can be a WParagraph, WTable, or BlockContentControl. + + The entity from which to retrieve the first paragraph. This can be a WParagraph, WTable, or BlockContentControl. + The first WParagraph found within the given entity, or null if no paragraph is found. + + + + To identify if the current paragraph is the last paragraph of its owner text body. + + True if the current paragraph is the last paragraph of its owner text body; otherwise, false. + + + + Determines the format. + + + + + + + + + + + + Check next and previous cell's paragraph and adjust its top and bottom margin of current paragraph. + + + + + Check next and previous cell's paragraph and adjust its top and bottom margin of current paragraph. + + + + + Returs true if para have bullets or numbering. + + + + + + Adjust the para top and bottom margin when next item or prev item is table and current para is not first or last para. + + + + + Get the next table first paragraph. + + + + + + + Check owner table previos item is table then its nested table continously iterates to get previous paragraph of base table. + + + + + + Update Paragraph After/Before Spacing + + + + + check whethere current para and next or previous para have same style. + + + + if same style means return true else return false. + + + + Updates the after spacing value for the paragraph. + + + + + Updates the top margin value based on previous section last paragraph after spacing. + + + + + Gets the last item of previous section. + + Index of the current section. + + + + + Determine whether the paragraph contains list type. + + + + + + + Gets the document. + + The document. + + + + + + + + + Summary description for TabsLayoutInfo. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + if set to true [b top subtract area]. + + + + Gets the next tab position. + + The position. + + + + + Adds the tab. + + The position. + The justification. + The leader. + + + + + + + + + + + Updates the tabs. + + The paragraph format. + + + + Remove the clear tab from the tabs collection + + + + + + + Update tabs collection + + + + + + + + + Gets the width of the default tab. + + The width of the default tab. + + + + Gets the Page MarginLeft. + + The Page MarginLeft. + + + + Gets the Page MarginRight. + + The Page MarginRight. + + + + Determine whether the tab preserved inbetween the indent + + + + + Gets/sets the width of the tab + + The width of the tab. + + + + Gets the current tab leader. + + The current tab leader. + + + + Gets the current tab justification. + + The current tab justification. + + + + Gets the layouted tab collections + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The position. + The justification. + The leader. + + + + Gets or sets the justification. + + The justification. + + + + Gets or sets the tab leader. + + The tab leader. + + + + Gets or sets the position. + + The position. + + + + Initializes a new instance of the class. + + The paragrath. + + + + Skipped bookmarks while getting the match word + + + + + Bookmark end or not + + + + + Bookmark Name + + + + + Represents the section of a Word document which contains header, footer, text body, etc. + + + + + Represents a section. + + + + + Adds a new to the section. + + The float that specifies the width of the column. + The float that specifies the spacing between the columns. + The reference to the newly added object. + The following example illustrates how to have multiple columns in a section. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add the section into Word document + IWSection section = document.AddSection(); + //Add the column into the section + section.AddColumn(150, 20); + //Add the column into the section + section.AddColumn(150, 20); + //Add the column into the section + section.AddColumn(150, 20); + //Add a paragraph to created section + IWParagraph paragraph = section.AddParagraph(); + //Add a paragraph to created section + paragraph = section.AddParagraph(); + paragraph.Text = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"; + //Append the text to the created paragraph + paragraph.AppendText(paragraph.Text); + //Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak); + //Add a paragraph to created section + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText(paragraph.Text); + //Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak); + //Add a paragraph to created section + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText(paragraph.Text); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add the section into Word document + Dim section As IWSection = document.AddSection() + 'Add the column into the section + section.AddColumn(150, 20) + 'Add the column into the section + section.AddColumn(150, 20) + 'Add the column into the section + section.AddColumn(150, 20) + 'Add a paragraph to created section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add a paragraph to created section + paragraph = section.AddParagraph() + Dim paraText As String = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula" + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak) + 'Add a paragraph to created section + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak) + 'Add a paragraph to created section + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds the to the section body. + + The reference to the newly created paragraph. + The following example illustrates how to add a paragraph to the section. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Gets the first section in the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("First paragraph in section"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Gets the first section in the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("First paragraph in section") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds the to the section body. + + The reference to the newly created table. + The following example illustrates how to add a table to the section. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Gets the first section in the document + IWSection section = document.AddSection(); + //Add new table to the section + IWTable table = section.AddTable(); + //Set rows and columns count + table.ResetCells(2, 2); + //Add contents to the table + IWParagraph paragraph = table[0, 0].AddParagraph(); + paragraph.AppendText("Apple"); + paragraph = table[0, 1].AddParagraph(); + paragraph.AppendText("Red"); + paragraph = table[1, 0].AddParagraph(); + paragraph.AppendText("Banana"); + paragraph = table[1, 1].AddParagraph(); + paragraph.AppendText("Yellow"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Gets the first section in the document + Dim section As IWSection = document.AddSection() + 'Add new table to the section + Dim table As IWTable = section.AddTable() + 'Set rows and columns count + table.ResetCells(2, 2) + 'Add contents to the table + Dim paragraph As IWParagraph = table(0, 0).AddParagraph() + paragraph.AppendText("Apple") + paragraph = table(0, 1).AddParagraph() + paragraph.AppendText("Red") + paragraph = table(1, 0).AddParagraph() + paragraph.AppendText("Banana") + paragraph = table(1, 1).AddParagraph() + paragraph.AppendText("Yellow") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Clones the , creates a duplicate copy. + + The cloned object. + + + + Makes all columns in the current section to be of equal width. + + The following example illustrates how to have make the columns to be of equal width in a section. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument("Sample.docx"); + //Gets the first section in the document + IWSection section = document.Sections[0]; + //Make the columns to be of equal width + section.MakeColumnsEqual(); + //Save and close the document + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument("Sample.docx") + 'Gets the first section in the document + Dim section As IWSection = document.Sections(0) + 'Make the columns to be of equal width + section.MakeColumnsEqual() + 'Save and close the document + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the paragraphs in the current section. Read-only. + + The that represents the collection of + in the section. + + + + Gets the tables in the current section. Read-only. + + The that represents the collection of + in the section. + + + + Gets the section body. Read-only. + + The of the current section. + + + + Gets the page setup of the current section. Read-only. + + The of the current section. + + + + Gets the collection of columns which logically divide page on many printing or publishing areas. Read-only. + + The collection of columns in the section. + + + + Gets or sets section break code of the current section. + + The member that specifies the break code. + + + + Gets or sets a value indicating whether to allow editing of form fields in the section. + + True if to allow editing of form fields; otherwise, false. + + + + Gets headers and footers of the current section. Read-only. + + The instance that specifies current section header, footer. + + + + + + + + + Specifies the Section format. + + + + + + The headers / footers, related with current section. + + + + + + + + + + + PreviousHeaderCount for Alternate chunk + + + + + PreviousFooteCount for Alternate chunk + + + + + Gets the section body. Read-only. + + + + + + + + Initializes a new instance of the class + with the instance. + + The instance. + + + + Adds a new to the section. + + The float that specifies the width of the column. + The float that specifies the spacing between the columns. + The reference to the newly added object. + The following example illustrates how to have multiple columns in a section. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add the section into Word document + IWSection section = document.AddSection(); + //Add the column into the section + section.AddColumn(150, 20); + //Add the column into the section + section.AddColumn(150, 20); + //Add the column into the section + section.AddColumn(150, 20); + //Add a paragraph to created section + IWParagraph paragraph = section.AddParagraph(); + //Add a paragraph to created section + paragraph = section.AddParagraph(); + paragraph.Text = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"; + //Append the text to the created paragraph + paragraph.AppendText(paragraph.Text); + //Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak); + //Add a paragraph to created section + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText(paragraph.Text); + //Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak); + //Add a paragraph to created section + paragraph = section.AddParagraph(); + //Append the text to the created paragraph + paragraph.AppendText(paragraph.Text); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add the section into Word document + Dim section As IWSection = document.AddSection() + 'Add the column into the section + section.AddColumn(150, 20) + 'Add the column into the section + section.AddColumn(150, 20) + 'Add the column into the section + section.AddColumn(150, 20) + 'Add a paragraph to created section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add a paragraph to created section + paragraph = section.AddParagraph() + Dim paraText As String = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula" + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak) + 'Add a paragraph to created section + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Add the column breaks + paragraph.AppendBreak(BreakType.ColumnBreak) + 'Add a paragraph to created section + paragraph = section.AddParagraph() + 'Append the text to the created paragraph + paragraph.AppendText(paraText) + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds a new to the section. + + The float that specifies the width of the column. + The float that specifies the spacing between the columns. + The bool that specifies whether the document is opened. + The reference to the newly added object. + + + + Makes all columns in the current section to be of equal width. + + The following example illustrates how to have make the columns to be of equal width in a section. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument("Sample.docx"); + //Gets the first section in the document + IWSection section = document.Sections[0]; + //Make the columns to be of equal width + section.MakeColumnsEqual(); + //Save and close the document + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument("Sample.docx") + 'Gets the first section in the document + Dim section As IWSection = document.Sections(0) + 'Make the columns to be of equal width + section.MakeColumnsEqual() + 'Save and close the document + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Creates a duplicate copy of the current section. + + The reference to the newly created section. + + + + Adds the to the section body. + + The reference to the newly created paragraph. + The following example illustrates how to add a paragraph to the section. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Gets the first section in the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("First paragraph in section"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Gets the first section in the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("First paragraph in section") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds the to the section body. + + The reference to the newly created table. + The following example illustrates how to add a table to the section. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Gets the first section in the document + IWSection section = document.AddSection(); + //Add new table to the section + IWTable table = section.AddTable(); + //Set rows and columns count + table.ResetCells(2, 2); + //Add contents to the table + IWParagraph paragraph = table[0, 0].AddParagraph(); + paragraph.AppendText("Apple"); + paragraph = table[0, 1].AddParagraph(); + paragraph.AppendText("Red"); + paragraph = table[1, 0].AddParagraph(); + paragraph.AppendText("Banana"); + paragraph = table[1, 1].AddParagraph(); + paragraph.AppendText("Yellow"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Gets the first section in the document + Dim section As IWSection = document.AddSection() + 'Add new table to the section + Dim table As IWTable = section.AddTable() + 'Set rows and columns count + table.ResetCells(2, 2) + 'Add contents to the table + Dim paragraph As IWParagraph = table(0, 0).AddParagraph() + paragraph.AppendText("Apple") + paragraph = table(0, 1).AddParagraph() + paragraph.AppendText("Red") + paragraph = table(1, 0).AddParagraph() + paragraph.AppendText("Banana") + paragraph = table(1, 1).AddParagraph() + paragraph.AppendText("Yellow") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds the alternate chunk. + + + + + + Adds the self. + + + + + Gets the text. + + + + + + Add Empty paragraph to the section when the section doesn't have any items in the body collection or else it's last item is table in order to preserve section break + + + + + Checks whether the section has valid line numberings. + + + + + + Clones the without body items. + Creates new section by cloning the page setup, column and header footers of the current section. + + + + + + Clones the relations. + + + + + + Creates a duplicate copy of the section. + + + An object that can be casted as . + + + + Accepts or rejects changes tracked from the moment of last change acceptance. + + + + + Determines whether section has tracked changes. + + + if has tracked changes, set to true. + + + + + Compare header and footer of two sections and mark the revisions. + + + + + + Clear the object from the allocated memory. + + + + + Get the first paragraph in section. + + + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as inside xml element. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + The value indicating the presence of xml content. + + + + Create layout information. + + + + + + + + + + + + + Gets or sets the PreviousHeaderCount for Alternate chunk + + + + + Gets or sets the PreviousFooteCount for Alternate chunk + + + + + Gets the section body. Read-only. + + The of the current section. + + + + Gets headers and footers of the current section. Read-only. + + The instance that specifies current section header, footer. + + + + Gets the page setup of the current section. Read-only. + + The of the current section. + + + + Gets the section formatting. + + + + + Gets the collection of columns which logically divide page on many printing or publishing areas. Read-only. + + The collection of columns in the section. + + + + Gets or sets section break code of the current section. + + The member that specifies the break code. + + + + + + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + + Gets the child elements of the section. Read-only. + + The collection of child elements. + + + + Gets the paragraphs in the current section. Read-only. + + The that represents the collection of + in the section. + + + + Gets the tables in the current section. Read-only. + + The that represents the collection of + in the section. + + + + Gets or sets the text direction. + + The text direction. + + + + Gets or sets a value indicating whether to allow editing of form fields in the section. + + True if to allow editing of form fields; otherwise, false. + + + + Gets or sets a value indicating whether to the continuous section fit in same page or not. + + True if no need to create new page for continous section break; otherwise, false. + + + + Returns the entity collection. + + + The collection of entities in the text body. + + + + Gets the type of the elements present in the collection. + + The collection that contains the types of the elements. + + + + Represents a table in the Word document. + + + + + Represents a table in a document. + + + + + Adds a new row to the table. + + The reference to the newly added . + The following example illustrates how to add new row to the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Price Details"); + section.AddParagraph(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Add the first row to table + WTableRow row = table.AddRow(); + //Add the first cell into first row + WTableCell cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Apple"); + //Add the second cell into first row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("$40"); + //Add second row to table + row = table.AddRow(false); + //Add the first cell into first row + cell = row.Cells[0]; + cell.AddParagraph().AppendText("Orange"); + //Add the second cell into first row + cell = row.Cells[1]; + cell.AddParagraph().AppendText("$30"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Price Details") + section.AddParagraph() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Add the first row to table + Dim row As WTableRow = table.AddRow() + 'Add the first cell into first row + Dim cell As WTableCell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Apple") + 'Add the second cell into first row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("$40") + 'Add second row to table + row = table.AddRow(False) + 'Add the first cell into first row + cell = row.Cells(0) + cell.AddParagraph().AppendText("Orange") + 'Add the second cell into first row + cell = row.Cells(1) + cell.AddParagraph().AppendText("$30") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds a new row to table specifying whether to have the same format as the previous row. + + True if to have the same format as previous row; otherwise, false. + The reference to the newly added . + The following example illustrates how to add new row to the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Price Details"); + section.AddParagraph(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Add the first row to table + WTableRow row = table.AddRow(); + //Add the first cell into first row + WTableCell cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Apple"); + //Add the second cell into first row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("$40"); + //Add second row to table + row = table.AddRow(false); + //Add the first cell into first row + cell = row.Cells[0]; + cell.AddParagraph().AppendText("Orange"); + //Add the second cell into first row + cell = row.Cells[1]; + cell.AddParagraph().AppendText("$30"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Price Details") + section.AddParagraph() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Add the first row to table + Dim row As WTableRow = table.AddRow() + 'Add the first cell into first row + Dim cell As WTableCell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Apple") + 'Add the second cell into first row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("$40") + 'Add second row to table + row = table.AddRow(False) + 'Add the first cell into first row + cell = row.Cells(0) + cell.AddParagraph().AppendText("Orange") + 'Add the second cell into first row + cell = row.Cells(1) + cell.AddParagraph().AppendText("$30") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds a new row to table specifying whether to have the same format and cells count similar to the previous row. + + True if to have the same format as previous row; otherwise, false. + True if need to auto populate cells; otherwise, false. + The reference to the newly added . + The following example illustrates how to add a row with formatting similar to the previous row. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Price Details"); + section.AddParagraph(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Add the first row into table + WTableRow row = table.AddRow(); + //Add the first cell into first row + WTableCell cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Item"); + //Add the second cell into first row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Price($)"); + //Add the second row into table + row = table.AddRow(true, false); + //Add the first cell into second row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Apple"); + //Add the second cell into second row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("50"); + //Add the third row into table + row = table.AddRow(true, false); + //Add the first cell into third row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Orange"); + //Add the second cell into third row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("30"); + document.Save("Table.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Price Details") + section.AddParagraph() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Add the first row into table + Dim row As WTableRow = table.AddRow() + 'Add the first cell into first row + Dim cell As WTableCell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Item") + 'Add the second cell into first row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Price($)") + 'Add the second row into table + row = table.AddRow(True, False) + 'Add the first cell into second row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Apple") + 'Add the second cell into second row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("50") + 'Add the third row into table + row = table.AddRow(True, False) + 'Add the first cell into third row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Orange") + 'Add the second cell into third row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("30") + document.Save("Table.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Resets the table with the specified number of rows and columns. + + The integer specifies the number of rows. + The integer specifies the number of columns. + The following example illustrates how to add a table to the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Gets the first section in the document + IWSection section = document.AddSection(); + //Add new table to the section + IWTable table = section.AddTable(); + //Set rows and columns count + table.ResetCells(2, 2); + //Add contents to the table + IWParagraph paragraph = table[0, 0].AddParagraph(); + paragraph.AppendText("Apple"); + paragraph = table[0, 1].AddParagraph(); + paragraph.AppendText("Red"); + paragraph = table[1, 0].AddParagraph(); + paragraph.AppendText("Banana"); + paragraph = table[1, 1].AddParagraph(); + paragraph.AppendText("Yellow"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Gets the first section in the document + Dim section As IWSection = document.AddSection() + 'Add new table to the section + Dim table As IWTable = section.AddTable() + 'Set rows and columns count + table.ResetCells(2, 2) + 'Add contents to the table + Dim paragraph As IWParagraph = table(0, 0).AddParagraph() + paragraph.AppendText("Apple") + paragraph = table(0, 1).AddParagraph() + paragraph.AppendText("Red") + paragraph = table(1, 0).AddParagraph() + paragraph.AppendText("Banana") + paragraph = table(1, 1).AddParagraph() + paragraph.AppendText("Yellow") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Resets the table with the specified number of rows and columns, table format and cell width. + + The integer specifies the number of rows. + The integer specifies the number of columns. + The specifies the format for the table. + The float specifies the width of the cells. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + //Add a new table into Word document + IWTable table = section.AddTable(); + RowFormat format = new RowFormat(); + format.BackColor = Color.LightGray; + format.CellSpacing = 2; + format.Paddings.All = 2; + //Set number of rows and columns + table.ResetCells(2, 2, format, 200); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + Dim format As New RowFormat() + format.BackColor = Color.LightGray + format.CellSpacing = 2 + format.Paddings.All = 2 + 'Set number of rows and columns + table.ResetCells(2, 2, format, 200) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Applies the vertical merge for table cells specified by the column index, start row index and end row index. + + The integer specifies index of the column. + The integer specifies start index of the row. + The integer specifies end index of the row. + The following example illustrates how to apply vertical merge for the table cells. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Vertical merging of Table cells"); + IWTable table = section.AddTable(); + table.ResetCells(5, 5); + //Specify the vertical merge to the third cell, from second row to fifth row + table.ApplyVerticalMerge(2, 1, 4); + document.Save("VerticalMerge.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Vertical merging of Table cells") + Dim table As IWTable = section.AddTable() + table.ResetCells(5, 5) + 'Specify the vertical merge to the third cell, from second row to fifth row + table.ApplyVerticalMerge(2, 1, 4) + document.Save("VerticalMerge.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Applies horizontal merge for table cells specified by the row index, start cell index and end cell index. + + The integer specifies index of the row. + The integer specifies start index of the cell. + The integer specifies end index of the cell. + The following example illustrates how to apply horizontal merge for the table cells. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Vertical merging of Table cells"); + IWTable table = section.AddTable(); + table.ResetCells(5, 5); + //Specify the horizontal merge from second cell to fifth cell in third row + table.ApplyHorizontalMerge(2, 1, 4); + document.Save("HorizontalMerge.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Vertical merging of Table cells") + Dim table As IWTable = section.AddTable() + table.ResetCells(5, 5) + 'Specify the horizontal merge from second cell to fifth cell in third row + table.ApplyHorizontalMerge(2, 1, 4) + document.Save("HorizontalMerge.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Removes the absolute position data, if the table has absolute position in the document. + + + + + Applies the built-in table style to the table. + + The to be applied for the table. + The following example illustrates how to apply built-in style for the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + //Get the table + WTable table = section.Tables[0] as WTable; + //Apply "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + 'Get the table + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Apply "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the style applied for the table. + + The of the current table. + + + + Gets the rows collection that represent all the rows in the table. Read-only. + + The collection of rows in the table. + + + + + + Gets the table format. Read-only. + + The object that specifies the table format. + + + + Gets the last cell in last row. Read-only. + + The object that represents the last cell. + The following example illustrates how to get the last cell of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Get the last cell + WTableCell cell = table.LastCell; + //Apply text direction to the last cell + cell.CellFormat.TextDirection = Syncfusion.DocIO.DLS.TextDirection.Vertical; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Get the last cell + Dim cell As WTableCell = table.LastCell + 'Apply text direction to the last cell + cell.CellFormat.TextDirection = Syncfusion.DocIO.DLS.TextDirection.Vertical + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the first row in table. Read-only. + + The object that represents the first row in the table. + The following example illustrates how to get the first row of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Get the last cell + WTableRow row = table.FirstRow; + //Apply text direction to the last cell + row.RowFormat.BackColor = Color.LightGray; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Get the last cell + Dim row As WTableRow = table.FirstRow + 'Apply text direction to the last cell + row.RowFormat.BackColor = Color.LightGray + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the last row in table. Read-only. + + The object that represents the last row in the table. + The following example illustrates how to get the last row of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Get the last cell + WTableRow row = table.LastRow; + //Apply text direction to the last cell + row.RowFormat.BackColor = Color.LightGray; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Get the last cell + Dim row As WTableRow = table.LastRow + 'Apply text direction to the last cell + row.RowFormat.BackColor = Color.LightGray + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the table cell at the specified row and column index. Read-only. + + The integer that specifies the row index. + The integer that specifies the column index. + The object at the specified index. + The index is not valid in the table. + The following example illustrates how to get the cell in the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + //Add new table. + IWTable table = section.AddTable(); + table.ResetCells(2, 2); + //Add content to table cell + table[0, 0].AddParagraph().AppendText("First row, First cell"); + table[0, 1].AddParagraph().AppendText("First row, Second cell"); + table[1, 0].AddParagraph().AppendText("Second row, First cell"); + table[1, 1].AddParagraph().AppendText("Second row, Second cell"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Horizontal merging of Table cells") + 'Add new table. + Dim table As IWTable = section.AddTable() + table.ResetCells(2, 2) + 'Add content to table cell + table(0, 0).AddParagraph().AppendText("First row, First cell") + table(0, 1).AddParagraph().AppendText("First row, Second cell") + table(1, 0).AddParagraph().AppendText("Second row, First cell") + table(1, 1).AddParagraph().AppendText("Second row, Second cell") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the width of the table(in points). + + The float that specifies the width of the table. + + + + Gets or sets the table title. + + The string that specifies the title of the table. + + + + Gets or sets the table description. + + The string that specifies the description of the table. + + + + Gets or sets a value indicating whether to apply heading-row formatting to the first row of the table. + The default value is true. + + True if need to apply style for first row; otherwise, false. + The following example illustrates how to apply style for header row of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + //Disable special formatting for header row of the table + table.ApplyStyleForHeaderRow = false; + //Save and close the document + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + 'Disable special formatting for header row of the table + table.ApplyStyleForHeaderRow = False + 'Save and close the document + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether to apply last-row formatting to the last row of the specified table. + + True if need to apply style for last row; otherwise, false. + The following example illustrates how to apply style for last row of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + //Enable special formatting for last row of the table + table.ApplyStyleForLastRow = false; + //Save and close the document + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + 'Enable special formatting for last row of the table + table.ApplyStyleForLastRow = True + 'Save and close the document + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether to apply first-column formatting to the first column of the specified table. + The default value is true. + + True if need to apply style for first column; otherwise, false. + The following example illustrates how to apply style for first column of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + //Disable special formatting for first column of the table + table.ApplyStyleForFirstColumn = false; + //Save and close the document + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + 'Disable special formatting for first column of the table + table.ApplyStyleForFirstColumn = False + 'Save and close the document + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether to apply last-column formatting to the last column of the specified table.. + + True if need to apply style for last column; otherwise, false. + The following example illustrates how to apply style for last column of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + //Enable special formatting for last column of the table + table.ApplyStyleForLastColumn = true; + //Save and close the document + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + 'Enable special formatting for last column of the table + table.ApplyStyleForLastColumn = True + 'Save and close the document + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether to apply style bands to the rows in a table, + if an applied preset table style provides style banding for rows. The default value is True. + + True if need to apply style for banded rows; otherwise, false. + The following example illustrates how to apply style for banded rows of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + //Disable special formatting for banded rows of the table + table.ApplyStyleForBandedRows = false; + //Save and close the document + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + 'Enable special formatting for banded rows of the table + table.ApplyStyleForBandedRows = False + 'Save and close the document + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether to apply style bands to the columns in a table, + if an applied preset table style provides style banding for columns. + + True if need to apply style for banded columns; otherwise, false. + The following example illustrates how to apply style for banded columns of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + //Enable special formatting for banded columns of the table + table.ApplyStyleForBandedColumns = true; + //Save and close the document + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + 'Enable special formatting for banded columns of the table + table.ApplyStyleForBandedColumns = True + 'Save and close the document + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the indent from left for the table. + + The float value that indicates the indent from left. + The following example illustrates how to set the left indent for the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Set number of rows and columns + table.ResetCells(2, 2); + //Set left indent for table. + table.IndentFromLeft = 10; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Set number of rows and columns + table.ResetCells(2, 2) + 'Set left indent for table. + table.IndentFromLeft = 10 + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Represents a Widget with table layout. + + + + + Gets cell widget by row/column indexes. + + + + + + + + Gets row widget by row index. + + + + + + + Gets the row index which contains max no of cells or columns + + + + + Gets rows count. + + + + + + + + + + The table style + + + + + Change the trackchanges table grid into current table grid + + + + + Initializes a new instance of the class with the + specified instance. + + The instance. + + + + Change the name of the style. + + + + + + + Creates the default table grid style. + + + + + + Creates the default Normal table style. + + + + + + Initializes a new instance of the class with the + specified instance and show border option. + + The instance. + True if to show the table border; otherwise, false. + + + + Creates a duplicate copy of the table. + + The reference to the newly created object. + + + + Resets the table with the specified number of rows and columns. + + The integer specifies the number of rows. + The integer specifies the number of columns. + The following example illustrates how to add a table to the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Gets the first section in the document + IWSection section = document.AddSection(); + //Add new table to the section + IWTable table = section.AddTable(); + //Set rows and columns count + table.ResetCells(2, 2); + //Add contents to the table + IWParagraph paragraph = table[0, 0].AddParagraph(); + paragraph.AppendText("Apple"); + paragraph = table[0, 1].AddParagraph(); + paragraph.AppendText("Red"); + paragraph = table[1, 0].AddParagraph(); + paragraph.AppendText("Banana"); + paragraph = table[1, 1].AddParagraph(); + paragraph.AppendText("Yellow"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Gets the first section in the document + Dim section As IWSection = document.AddSection() + 'Add new table to the section + Dim table As IWTable = section.AddTable() + 'Set rows and columns count + table.ResetCells(2, 2) + 'Add contents to the table + Dim paragraph As IWParagraph = table(0, 0).AddParagraph() + paragraph.AppendText("Apple") + paragraph = table(0, 1).AddParagraph() + paragraph.AppendText("Red") + paragraph = table(1, 0).AddParagraph() + paragraph.AppendText("Banana") + paragraph = table(1, 1).AddParagraph() + paragraph.AppendText("Yellow") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + The number of cells must be between 1 and 63. + + + + Resets the table with the specified number of rows and columns, table format and cell width. + + The integer specifies the number of rows. + The integer specifies the number of columns. + The specifies the format for the table. + The float specifies the width of the cells. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + //Add a new table into Word document + IWTable table = section.AddTable(); + RowFormat format = new RowFormat(); + format.BackColor = Color.LightGray; + format.CellSpacing = 2; + format.Paddings.All = 2; + //Set number of rows and columns + table.ResetCells(2, 2, format, 200); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + Dim format As New RowFormat() + format.BackColor = Color.LightGray + format.CellSpacing = 2 + format.Paddings.All = 2 + 'Set number of rows and columns + table.ResetCells(2, 2, format, 200) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Applies the built-in table style to the table. + + The to be applied for the table. + The following example illustrates how to apply built-in style for the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + //Get the table + WTable table = section.Tables[0] as WTable; + //Apply "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + 'Get the table + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Apply "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Applies the builtin style for the table + + Builtin style name + true if the table cell shading information need to be cleared; otherwise false. + + + + Adds a new row to the table. + + The reference to the newly added . + The following example illustrates how to add new row to the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Price Details"); + section.AddParagraph(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Add the first row to table + WTableRow row = table.AddRow(); + //Add the first cell into first row + WTableCell cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Apple"); + //Add the second cell into first row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("$40"); + //Add second row to table + row = table.AddRow(false); + //Add the first cell into first row + cell = row.Cells[0]; + cell.AddParagraph().AppendText("Orange"); + //Add the second cell into first row + cell = row.Cells[1]; + cell.AddParagraph().AppendText("$30"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Price Details") + section.AddParagraph() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Add the first row to table + Dim row As WTableRow = table.AddRow() + 'Add the first cell into first row + Dim cell As WTableCell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Apple") + 'Add the second cell into first row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("$40") + 'Add second row to table + row = table.AddRow(False) + 'Add the first cell into first row + cell = row.Cells(0) + cell.AddParagraph().AppendText("Orange") + 'Add the second cell into first row + cell = row.Cells(1) + cell.AddParagraph().AppendText("$30") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds a new row to table specifying whether to have the same format as the previous row. + + True if to have the same format as previous row; otherwise, false. + The reference to the newly added . + The following example illustrates how to add new row to the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Price Details"); + section.AddParagraph(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Add the first row to table + WTableRow row = table.AddRow(); + //Add the first cell into first row + WTableCell cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Apple"); + //Add the second cell into first row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("$40"); + //Add second row to table + row = table.AddRow(false); + //Add the first cell into first row + cell = row.Cells[0]; + cell.AddParagraph().AppendText("Orange"); + //Add the second cell into first row + cell = row.Cells[1]; + cell.AddParagraph().AppendText("$30"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Price Details") + section.AddParagraph() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Add the first row to table + Dim row As WTableRow = table.AddRow() + 'Add the first cell into first row + Dim cell As WTableCell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Apple") + 'Add the second cell into first row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("$40") + 'Add second row to table + row = table.AddRow(False) + 'Add the first cell into first row + cell = row.Cells(0) + cell.AddParagraph().AppendText("Orange") + 'Add the second cell into first row + cell = row.Cells(1) + cell.AddParagraph().AppendText("$30") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds a new row to table specifying whether to have the same format and cells count similar to the previous row. + + True if to have the same format as previous row; otherwise, false. + True if need to auto populate cells; otherwise, false. + The reference to the newly added . + The following example illustrates how to add a row with formatting similar to the previous row. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Price Details"); + section.AddParagraph(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Add the first row into table + WTableRow row = table.AddRow(); + //Add the first cell into first row + WTableCell cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Item"); + //Add the second cell into first row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Price($)"); + //Add the second row into table + row = table.AddRow(true, false); + //Add the first cell into second row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Apple"); + //Add the second cell into second row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("50"); + //Add the third row into table + row = table.AddRow(true, false); + //Add the first cell into third row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("Orange"); + //Add the second cell into third row + cell = row.AddCell(); + //Specify the cell width + cell.Width = 200; + cell.AddParagraph().AppendText("30"); + document.Save("Table.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Price Details") + section.AddParagraph() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Add the first row into table + Dim row As WTableRow = table.AddRow() + 'Add the first cell into first row + Dim cell As WTableCell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Item") + 'Add the second cell into first row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Price($)") + 'Add the second row into table + row = table.AddRow(True, False) + 'Add the first cell into second row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Apple") + 'Add the second cell into second row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("50") + 'Add the third row into table + row = table.AddRow(True, False) + 'Add the first cell into third row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("Orange") + 'Add the second cell into third row + cell = row.AddCell() + 'Specify the cell width + cell.Width = 200 + cell.AddParagraph().AppendText("30") + document.Save("Table.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression in the table with the replace string. + + The used to find the text. + The string specifies the text to replace. + The integer that represents the count of the replacements made. + The following example illustrates how to replace a text in the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Replace the text + table.Replace(new Regex("illustrates"), "describes"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Replace the text + table.Replace(New Regex("illustrates"), "describes") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given string in the table with replace string, taking into + consideration case sensitive and whole word options. + + The string represents the text to be found. + The string specifies the text to replace. + Set to true to match the case of the text similar to specified in the parameter; otherwise false. + Set to true to match the whole word of the text similar to specified in the parameter; otherwise false. + The integer that represents the count of the replacements made. + The following example illustrates how to replace a text in the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Replace the text + table.Replace("illustrates", "describes", true, true); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Replace the text + table.Replace("illustrates", "describes", True, True) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces the specified regular expression with a in the table. + + The used to find the text. + The which specifies the text to replace. + The integer that represents the count of the replacements made. + The following example illustrates how to replace a text in the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Get first paragraph + WParagraph paragraph = document.Sections[0].Paragraphs[0]; + //Get the text using text selection + TextSelection selection = new TextSelection(paragraph, 0, 20); + //Replace the text + table.Replace(new Regex("illustrates"), selection); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Get first paragraph + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(0) + 'Get the text using text selection + Dim selection As New TextSelection(paragraph, 0, 20) + 'Replace the text + table.Replace(New Regex("illustrates"), selection) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Replaces all entries of given regular expression in the table with the + along with its formatting. + + The used to find the text. + The which specifies the text to replace. + Set to true if to save source formatting; otherwise, false. + The integer that represents the count of the replacements made. + The following example illustrates how to replace a text in the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Get first paragraph + WParagraph paragraph = document.Sections[0].Paragraphs[0]; + //Get the text using text selection + TextSelection selection = new TextSelection(paragraph, 0, 20); + //Replace the text + table.Replace(new Regex("illustrates"), selection, true); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Get first paragraph + Dim paragraph As WParagraph = document.Sections(0).Paragraphs(0) + 'Get the text using text selection + Dim selection As New TextSelection(paragraph, 0, 20) + 'Replace the text + table.Replace(New Regex("illustrates"), selection, True) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Returns first entry of the specified in the table. + + The that specifies the text to be found. + The object which represents the text found. + The following example illustrates how to find a text in the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Find the text in the table + TextSelection selection = table.Find(new Regex("content")); + WTextRange text = selection.GetAsOneRange(); + //Set the character format of the text found + text.CharacterFormat.AllCaps = true; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Find the text in the table + Dim selection As TextSelection = table.Find(New Regex("content")) + Dim text As WTextRange = selection.GetAsOneRange() + 'Set the character format of the text found + text.CharacterFormat.AllCaps = True + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Applies the vertical merge for table cells specified by the column index, start row index and end row index. + + The integer specifies index of the column. + The integer specifies start index of the row. + The integer specifies end index of the row. + The following example illustrates how to apply vertical merge for the table cells. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Vertical merging of Table cells"); + IWTable table = section.AddTable(); + table.ResetCells(5, 5); + //Specify the vertical merge to the third cell, from second row to fifth row + table.ApplyVerticalMerge(2, 1, 4); + document.Save("VerticalMerge.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Vertical merging of Table cells") + Dim table As IWTable = section.AddTable() + table.ResetCells(5, 5) + 'Specify the vertical merge to the third cell, from second row to fifth row + table.ApplyVerticalMerge(2, 1, 4) + document.Save("VerticalMerge.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Removes the last empty paragraph in merge start cell. + + The integer specifies index of the column. + The integer specifies start index of the row. + The integer specifies end index of the row. + + + + Removes the last empty paragraph in merge continue/end cell. + + The integer specifies index of the column. + The integer specifies continue index of the row. + The integer specifies end index of the row. + + + + Checks whether the following cells have renderable items. + + The integer specifies index of the column. + The integer specifies start index of the row. + The integer specifies end index of the row. + True if following cells have renderable items; Otherwise false. + + + + Checks whether any renderable items present in the paragraph. + + The paragraph. + + + + + Applies horizontal merge for table cells specified by the row index, start cell index and end cell index. + + The integer specifies index of the row. + The integer specifies start index of the cell. + The integer specifies end index of the cell. + The following example illustrates how to apply horizontal merge for the table cells. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Vertical merging of Table cells"); + IWTable table = section.AddTable(); + table.ResetCells(5, 5); + //Specify the horizontal merge from second cell to fifth cell in third row + table.ApplyHorizontalMerge(2, 1, 4); + document.Save("HorizontalMerge.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Vertical merging of Table cells") + Dim table As IWTable = section.AddTable() + table.ResetCells(5, 5) + 'Specify the horizontal merge from second cell to fifth cell in third row + table.ApplyHorizontalMerge(2, 1, 4) + document.Save("HorizontalMerge.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Updates the textbody items in the merge start cell. + + The cell collection. + The integer specifies start index of the cell. + The integer specifies end index of the cell. + + + + Updates the textbody items in the merge continue cells. + + The cell collection. + The integer specifies start index of the cell. + The integer specifies end index of the cell. + + + + Updates and removes the last paragraph only if bookmark is present inside the last paragraph of the cell. + + The cell collection. + The integer specifies the current cell index. + The integer specifies the previous cell index. + + + + Updates and removes the last paragraph only if paragraph items other than bookmark present inside the cell. + + + + + + + + Checks whether the last paragraph contains bookmark and other items. + + The textbody item collection. + The paragraph is empty. + The paragraph item is not consider. + + + + + Removes the absolute position data, if the table has absolute position in the document. + + + + + Resizes the table based on the specified . + + The member that specifies the type of auto fit layout of table. + DocIO can resize the table based on the content of the table cells or the width of the document window. + You can also use this method to turn off AutoFit so that the table size is fixed, regardless of cell contents or window width. + Setting the AutoFit behavior to FitToContent or FitToWindow sets the property to True if it's currently False. + Likewise, setting the AutoFit behavior to FixedColumnWidth sets the property to False if it's currently True. + The following example illustrates how to append html text to the paragraph. + + //Loads the template document + WordDocument document = new WordDocument("Sample.docx"); + //Accesses the instance of the first section in the Word document + WSection section = document.Sections[0]; + //Accesses the instance of the first table in the section + WTable table = section.Tables[0] as WTable; + //Auto fits the table with respect to window. + table.AutoFit(AutoFitType.FitToWindow); + //Saves and closes the document instance + document.Save("TableAutoFit.docx"); + document.Close(); + + + Private Sub SurroundingSub() + Dim document As WordDocument = New WordDocument("Sample.docx") + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + table.AutoFit(AutoFitType.FitToWindow) + document.Save("TableAutoFit.docx") + document.Close() + End Sub + + + + + + Gets the minimum and maximum word width of the table. + + + + + + + Checks whether the outertable cell width need to recalculate or not + + + + + Checks whether need to skip resizing the nested table in cell + + Represents the width of nested table + + + + Check whether both table have different padding value. + + Previous sibiling of current table. + Current table those need to merge on previous table. + Padding key. + + + + + Check whether both tables have same padding value + + Previous sibiling of current table. + Current table those need to merge on previous table. + + + + + Check whther is same padding as table for current cell. + + Current cell of row. + + + + Set the padding value for cells. + + + + + + Merge the two individual tables as single table. + + + + + + Sets borders for merged table rows + + The current table + The previous table + The current appended row + + + + Get the border for the corresponding string value + + String value that represents the border + The borders + Border for the corresponding string value from borders + + + + Checks whether the table has border + + + + True if table border has border else false + + + + Resizes the table based on the specified . + + + + + + Check whether table present inside the cell or not. + + + + + + + + Get the owner table cell for the table + + + + + + + Gets the table text. + + + + + + Gets the style applied for the table. + + The of the current table. + + + + Applies the specified style. + + Style name + Specified style must exist in Document.Styles collection + + + + Removes the shading information from all the cells in the table + + + + + + Applies the specified style. + + + + + + + Applies the base style formats. + + + + + Checks whether the table style or its base style contains the respective ConditionalFormattingType + + ConditionalFormattingType + True, if the table style or its base style contains the respective ConditionalFormattingType else false + + + + Gets the combination of table style and its base style row conditional formatting. + + Current table style + Row index + + + + + The combination of table style and its base style row conditional formatting + + + + Get the row conditional formatting style for current row index + + Current table index + Row index + + + + + + + + + Gets the combination of table style and its base style cell conditional formatting. + + Current table style + Conditional formatting type + Row index + Cell index + + + + + + + Get the cell conditional formatting style for current row and cell index + + Current table style + Conditional formatting type + Row index + Cell index + + + + + + + Copy the souce key and paste in destination, if destination doesn't contains the same key + + Destination keys + Source keys + + + + Copy the base paragraph format and character format + + + + + + + + Get the current cell format from its table style + + + + + + + + Updates the row borders. + + The dest. + The src. + The table borders. + The index. + The count. + Whether the left and right width applicable + + + + Updates the column borders. + + The dest. + The src. + The table borders. + The index. + The count. + + + + Returns all entries of given regex. + + The pattern. + + + + + Adds the self. + + + + + Creates a duplicate copy of the table. + + + The object that can be casted as . + + + + Clones the relations. + + + + + + Clones the style. + + The doc. + + + + Checks the table grid, after parsing Docx format documents. + + + + + Determines whether the width and preferred width of a cell is zero. + + True if cell width and preferred width is zero; Otherwise false. + + + + Updates the cell width by equally partitioning the available width among all the cells in a row. + + The available width for table. + + + + Checks whether need to partition the width equally to all cells or not + + + + + + Updates the preferred cell width to undefined table cells. + + + + + + Updates the table grid. + + + + + Checks whether the table grid should update based on maximum cell preferred width in percentage. + + Table Preferred Width. + Checks whether the table grid is matched with cells or not. + The sum of maximum cell preferred width. + The maximum cell preferred width list. + True if the the table grid update based on maximum cell preferred width in percentage else False. + + + + Checks whether the table grid should update based on maximum cell preferred width in point. + + Checks whether the table grid is matched with cells or not. + True if the the table grid update based on maximum cell preferred width in point else False. + + + + Checks whether the table grid for autofit table should update based on maximum cell preferred width. + + The sum of maximum cell preferred width. + The maximum cell preferred width list. + True if the table grid should be updated based on the maximum cell preferred width; otherwise, False. + + + + Checks if the maximum preferred width of cells needs to be updated for columns. + + The list of maximum cell preferred width. + True if the maximum preferred widths are updated, otherwise false. + + + + Update the table grid based on calculated maximum cell preferred width in percentage. + + The table width. + The sum of maximum cell preferred width. + The list of maximum cell preferred width. + + + + Update the table grid based on calculated maximum cell preferred width in point. + + The table width. + Checks whether the table grid is matched with cells or not. + + + + Update the maximum cell preferred width based on table width in percentage. + + The table width. + The sum of maximum cell preferred width. + The list of maximum cell preferred width. + The updated list of maximum preferred widths of cells. + + + + Update the cell width and table grid based on calculated maximum cell preferred width. + + The list of maximum cell preferred width. + + + + Checks whether the table grid should update based on maximum cell preferred width. + + The table width. + The sum of maximum cell preferred width. + The maximum cell preferred width list. + True if the the table grid update based on maximum cell preferred width else False. + + + + Checks whether the table grid should update based on maximum cell preferred width in point. + + The table width. + The sum of maximum cell preferred width. + The maximum cell preferred width list. + True if the the table grid update based on maximum cell preferred width in point, else False. + + + + Update the maximum cell preferred width based on table width. + + The table width. + The sum of maximum cell preferred width. + The maximum cell preferred width list. + + + + Gets the maximum cell preferred width of each columns. + + The column index. + The column span. + The maximum cell preferred width list. + + + + + Update the maximum cell preferred width based on spanned cells. + + The maximum cell preferred width list. + + + + Update the table grid based on calculated maximum cell preferred width. + + The table width. + The sum of maximum cell preferred width. + The maximum cell preferred width list. + + + + Checks whether the grid corrupted table should update based on cell preferred width. + + + + + + Checks whether any row in table has GridBeforeWidth or GridAfterWidth. + + True, any row in table has GridBeforeWidth or GridAfterWidth else false + + + + Updated the corrupted grid table based on cell preferred width. + + + + + Update the mismatch grid based on maximum cell preferred width. + + + + + Checks if there is any row in the table that does not contain any spanned cells. + + True if there is at least one row without any spanned cells, otherwise returns False. + + + + Checks wheather all the cells have the defined cell width. + + + + + + Check whether the neighbour tables need to merge + + True, if the table has only one neighbour table and both the table's have same style; else, false + + + + Create grid columns. + + + + + Updates cell width of a table in DOC format document + + + + + Check whether allrows in a table contains same row width + + Row width of first row + True if all rows contain same row width. Else false + + + + Checks whether the table is need to autofit to content or not. + + True, If the preferred width of the column is not defined. Else returns false + + + + Checks whether we need to skip the grid value or not based on cell preferred width and maximumWordWidth. + + True, If the cell preferred width greater than maximum word width and no cell merge is there. Else returns false + + + + Checks whether the table contains misalligned cells. + + True, if the verical merge is need to consider; else false + True, If the table have merge columns either vertically or horizontally or having cellspan. Else returns false + + + + Checks whether the auto table is need to skip the table grid. + + True, If condition satisfies . Else returns false + + + + Resize the columns width of each cell. + + + + + Updates the grid span value of the each cells. + + + + + Updates the grid span value of the each cells. + + + + + Checks whether the table preferred width type auto or not. + + + + + + + + Gets the row span value. + + + + + + + Get cell width + + + + + + + + + + Gets the minimum preferred width of the table. + + The cell. + + + + + Set the column to each cells. + + + + + Gets the maximum nested table width from last column + + Maximum nested table width from last column + + + + Sets the width to nested table cells + + + + + Sets the cell width as column preferred width + + + + + + + Update the table row before and after width + + + + + + Check whether the column has enough width + + + True If the column preferred width doesn't enough to store MaximumWordWidth else False + + + + Check whether table contains textWrap disabled cell + + + List containing columns which has textWrap disabled cell + + + + Check whether table contains textWrap disabled cell and textWrapEnabled cell has maximum para width equal to 0. + + + True when textWrap Enabled columns have maxParaWidth equal to 0. Otherwise False. + + + + Checks whether column has enough width to store Maximum word width word in a column + + Table columns + Table Width + True if columns doesn't have enough width to store max word width. Otherwise False + + + + Checks whether the cell width need to assign base on content + + + + + + Sets the cell width of the table using Content + + + + + Checks whether all cell in a table preferred width is 0 and the width type is auto + + True if all cell in a table preferred width is 0 and the width type is auto Otherwise False + + + + Gets the maximum cell count by comparing all rows in table + + + + + + Update the preferred width properites based on autofit type. + + + + + + + Clears the Preferred width properties. + + + + + Check whether all the cells in any of the row has defined cell width + + current table + True, if all the cells in any of the rows have defined cell width; else false + + + + Gets the width of the max row. + + Width of the client. + + + + + Gets the width of the max row. + + + + + + Updates the width of the cell. + + The row. + Width of the client. + Width of the table. + Width of the max row. + Checks whether need to do width calculation or not + + + + Recalculates the cell width of the row containing vMerge + + Vertical merge start cell + Current cell + Current row + Table width + List of cell width that is recalculated for a vertical merge row + + + + Checks whether the first cell in all row upto cell count has same preferred width + + True if first cell in all row upto cell count has same preferred width else false + + + + Returns the maximum sum of all cell preferred width conatins row index + + The Tablewidth + Returns the maximum sum of all cell preferred width conatins row index + + + + Calculate cell width based on preferred cell width for fixed layout table + + Cell to calculate width + Total row width + Default preferred cell width, if cell width not mentioned in file level + Total width to shrink the row + Total width to expand the row + + + + Checks whether auto layout table have preferred width which exceeds the client width of page + + + + + + Checks whether need to do width calculation or not + + + + + + Gets the grid before after. + + The row. + Width of the client. + if set to true [is after width]. + Width of the table. + The curr offset. + Maximum width of the row. + if set to true [is table grid miss match]. + + + + + Gets the grid before after. + + The width info. + Width of the table. + + + + + Gets the width of the cell. + + The cell. + Width of the client. + Width of the table. + The curr offset. + Width of the max row. + if set to true [is table grid miss match]. + True if the table has any one row having all cells have defined cell widths; else false + + + + + Get the maximum cell preferred width from each columns + + Current table + Total cell preferred width + Maximum cell count + A list of maximum preferred cell width for each columns + + + + Get the maximum cell preferred width of a column for columnIndex columns + + Return Maximum cell preferred width of column if column not present return -1 + + + + + Gets the width of the table owner. + + + + + + Gets the width of the table client. + + Width of the client. + + + + + Calcualte the left and right padding considerd for table width + + + + + Updates the table grid. + + The current offset. + + + + Gets the next TextBodyItem in the document. + + + + + + Updates the table format. + + The prop key. + + + + Closes the items in the table + + + + + Updates the width. + + + + + + Get the section in which table is present + + + + + + Get the HeaderFooter that contains the current table. + + The HeaderFooter containing the table, or null if the table is not within a HeaderFooter. + + + + Get owner table of item + + + + + Remove the unwanted continue horizontal merge cells + + + + + + Get the maximum cell count by comparing all rows + + + Maximum cell count by comparing all rows and the row should not contains spanned cells + + + + Accepts or rejects changes tracked from the moment of last change acceptance. + + if it accepts the changes, set to true. + + + + Removes the character format changes. + + + + + Removes the table format changes. + + + + + Accepts the changes for character format. + + + + + Accept changes in table format. + + + + + Defines whether table format is changed. + + + + + + Checks a value indicating whether this item was deleted from the document, + when "Track Changes" is or was set to "true". + + + + + + Checks a value indicating whether this item was inserted to the document, + when "Track Changes" is or was set to "true". + + + + + + Defines whether table format was changed. + + + + + + Determines whether item has tracked changes. + + + if has tracked changes, set to true. + + + + + Remove added/deleted table rows, while number of rows > 1. + + Value indicating whether to completely remove table + + + + Sets the delete revision for table. + + if it specifies the revision to delete, set to true. + + + + Sets the insert revision for table. + + if it specifies the revision for insertion, set to true. + + + + Sets the changed Character format for table. + + if it specifies format to be change, set to true. + + + + Sets the changed Paragraph format for table. + + if it specifies the format to be changed, set to true. + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Creates layout information. + + + + + + Determine whether the current row is need to be hidden + + + + + + Determine whether the paragraph is Hidden + + + + + + + Determine whether the table is hidden + + + + + + + + + + + + + + + + + + + + + + Initializing LayoutInfo value to null + + + + + Compare the revised document table with original document table + + The original document instance + + + + Compare the revised text body table with original text body table + + The original text body instance + + + + Compare one table format with another and return true if Equal else false. + + + + + Get the matched table and indexes. + + The original document table + The matched table + Return, the longest matched table from orgDocTables + + + + Get the longest matched row index + + + + + + + + Get all matched row index + + + + + + + + Apply the formatting change for matched table by comparing current table + + Original document matched table + + + + Compare the cell format for matched cells + + + + + + + + Compare the row formats for the matched row + + + + + + + + Gets the complete text of table for word comparison + + + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + + Gets the rows collection that represent all the rows in the table. Read-only. + + The collection of rows in the table. + + + + + + Gets the table format. Read-only. + + The object that specifies the table format. + + + + Gets the preferred width of the table. + + The width of the preferred table. + + + + Gets the name of the table style. Read-only. + + The string that specifies the style name. + + + + Gets the last cell in last row. Read-only. + + The object that represents the last cell. + The following example illustrates how to get the last cell of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Get the last cell + WTableCell cell = table.LastCell; + //Apply text direction to the last cell + cell.CellFormat.TextDirection = Syncfusion.DocIO.DLS.TextDirection.Vertical; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Get the last cell + Dim cell As WTableCell = table.LastCell + 'Apply text direction to the last cell + cell.CellFormat.TextDirection = Syncfusion.DocIO.DLS.TextDirection.Vertical + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the first row in table. Read-only. + + The object that represents the first row in the table. + The following example illustrates how to get the first row of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Get the last cell + WTableRow row = table.FirstRow; + //Apply text direction to the last cell + row.RowFormat.BackColor = Color.LightGray; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Get the last cell + Dim row As WTableRow = table.FirstRow + 'Apply text direction to the last cell + row.RowFormat.BackColor = Color.LightGray + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the last row in table. Read-only. + + The object that represents the last row in the table. + The following example illustrates how to get the last row of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Get the last cell + WTableRow row = table.LastRow; + //Apply text direction to the last cell + row.RowFormat.BackColor = Color.LightGray; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Get the last cell + Dim row As WTableRow = table.LastRow + 'Apply text direction to the last cell + row.RowFormat.BackColor = Color.LightGray + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the table cell at the specified row and column index. Read-only. + + The integer that specifies the row index. + The integer that specifies the column index. + The object at the specified index. + The index is not valid in the table. + The following example illustrates how to get the cell in the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + //Add new table. + IWTable table = section.AddTable(); + table.ResetCells(2, 2); + //Add content to table cell + table[0, 0].AddParagraph().AppendText("First row, First cell"); + table[0, 1].AddParagraph().AppendText("First row, Second cell"); + table[1, 0].AddParagraph().AppendText("Second row, First cell"); + table[1, 1].AddParagraph().AppendText("Second row, Second cell"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Horizontal merging of Table cells") + 'Add new table. + Dim table As IWTable = section.AddTable() + table.ResetCells(2, 2) + 'Add content to table cell + table(0, 0).AddParagraph().AppendText("First row, First cell") + table(0, 1).AddParagraph().AppendText("First row, Second cell") + table(1, 0).AddParagraph().AppendText("Second row, First cell") + table(1, 1).AddParagraph().AppendText("Second row, Second cell") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the width of the table(in points). + + The float that specifies the width of the table. + + + + Gets the child elements of the table. + + The collection of child elements. + + + + Gets the table grid. + + + + + Gets or sets the indent from left for the table. + + The float value that indicates the indent from left. + The following example illustrates how to set the left indent for the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Set number of rows and columns + table.ResetCells(2, 2); + //Set left indent for table. + table.IndentFromLeft = 10; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Set number of rows and columns + table.ResetCells(2, 2) + 'Set left indent for table. + table.IndentFromLeft = 10 + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the docx table format. + + The docx table format. + + + + Gets the old row format. + + The old row format. + + + + Gets the track table grid. + + The track table grid. + + + + Gets or sets a value indicating whether to apply heading-row formatting to the first row of the table. + The default value is true. + + True if need to apply style for first row; otherwise, false. + The following example illustrates how to apply style for header row of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + //Disable special formatting for header row of the table + table.ApplyStyleForHeaderRow = false; + //Save and close the document + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + 'Disable special formatting for header row of the table + table.ApplyStyleForHeaderRow = False + 'Save and close the document + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether to apply last-row formatting to the last row of the specified table. + + True if need to apply style for last row; otherwise, false. + The following example illustrates how to apply style for last row of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + //Enable special formatting for last row of the table + table.ApplyStyleForLastRow = false; + //Save and close the document + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + 'Enable special formatting for last row of the table + table.ApplyStyleForLastRow = True + 'Save and close the document + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether to apply first-column formatting to the first column of the specified table. + The default value is true. + + True if need to apply style for first column; otherwise, false. + The following example illustrates how to apply style for first column of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + //Disable special formatting for first column of the table + table.ApplyStyleForFirstColumn = false; + //Save and close the document + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + 'Disable special formatting for first column of the table + table.ApplyStyleForFirstColumn = False + 'Save and close the document + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether to apply last-column formatting to the last column of the specified table.. + + True if need to apply style for last column; otherwise, false. + The following example illustrates how to apply style for last column of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + //Enable special formatting for last column of the table + table.ApplyStyleForLastColumn = true; + //Save and close the document + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + 'Enable special formatting for last column of the table + table.ApplyStyleForLastColumn = True + 'Save and close the document + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether to apply style bands to the rows in a table, + if an applied preset table style provides style banding for rows. The default value is True. + + True if need to apply style for banded rows; otherwise, false. + The following example illustrates how to apply style for banded rows of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + //Disable special formatting for banded rows of the table + table.ApplyStyleForBandedRows = false; + //Save and close the document + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + 'Enable special formatting for banded rows of the table + table.ApplyStyleForBandedRows = False + 'Save and close the document + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether to apply style bands to the columns in a table, + if an applied preset table style provides style banding for columns. + + True if need to apply style for banded columns; otherwise, false. + The following example illustrates how to apply style for banded columns of the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading); + //Enable special formatting for banded columns of the table + table.ApplyStyleForBandedColumns = true; + //Save and close the document + document.Save("TableStyle.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Applies "LightShading" built-in style to table + table.ApplyStyle(BuiltinTableStyle.LightShading) + 'Enable special formatting for banded columns of the table + table.ApplyStyleForBandedColumns = True + 'Save and close the document + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the table title. + + The string that specifies the title of the table. + + + + Gets or sets the table description. + + The string that specifies the description of the table. + + + + Gets a value indicating whether this instance is frame. + + true if this instance is frame; otherwise, false. + + + + Gets a value indicating whether this instance is complete frame. + + true if this instance is frame; otherwise, false. + + + + Gets or sets the a value indicating whether the table grid is updated in parsing. + + + + + Gets or sets the a value indicating whether the table grid is updated when the width is not as expected. + + + + + Gets or sets a value indicating whether the cell width is defined when the table width type is None. + + + + + Gets or sets a value indicating whether to update cell width by equally partitioning the available width among all the cells in a row. + + + + + Gets or sets a value indicating whether the cell width is defined when the table width type is None. + + + + + Gets a value indicating whether the current table is in cell. Read-only. + + + True if this paragraph is in cell; otherwise, false. + + + + Gets or sets a value whether all cells in the table have fixed width in points. + + + This property is supported for DOCX format alone. + + + + + Gets or sets a value whether all cells child entity is only paragraph. + + + This property is supported for DOCX format alone. + + + + + Gets or set whether the table cell width need to recalculate or not, based on last column + + + + + Gets or sets a value indicating whether all cells only have horizontal text. + + + true if all cells only have horizontal text; otherwise, false. + + + This property is supported for DOCX format alone. + + + + + Denotes any one of the cells have percentage type of preferred cell width. + + + + + Denotes any one of the cells have auto type of preferred cell width. + + + + + Denotes any one of the cells have none type of preferred cell width. + + + + + Denotes any one of the cells have Point type of preferred cell width. + + + + + Denotes any one of the cells have zero preferred cell width. + + + + + Gets or Sets whether need to recalculate the nested and outer table + + + + + Gets the recalculate nested table + + + + + Gets or Sets whether need to recalculate the nested and outer table + + + + + Gets or sets whether the table is appended from HTML + + + + + Gets or setd whether the table have same cell count for all rows in the table + + + + + Get's or sets whether the table is merged with previous table or not while parsing + + + + + + + + + + + + + + + Represents a table cell. + + + + + + + + + + Initializes a new instance of the class with the + specified instance. + + The instance. + + + + Creates a duplicate copy of the entity. + + The reference to the newly created cell. + + + + Returns the index of the cell in the table row. + + The zero-based index of the cell. + The following example illustrates how set get the index of the cell. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Find the text in the table + TextSelection selection = table.Find(new Regex("Cell")); + WTextRange text = selection.GetAsOneRange(); + //Get the owner paragraph + WParagraph paragraph = text.OwnerParagraph; + //Get the owner cell + WTableCell cell = paragraph.OwnerTextBody as WTableCell; + //Get the index of the cell + int index = cell.GetCellIndex(); + //Apply text direction to the next cell + cell = cell.OwnerRow.Cells[index + 1]; + cell.CellFormat.TextDirection = Syncfusion.DocIO.DLS.TextDirection.Vertical; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Find the text in the table + Dim selection As TextSelection = table.Find(New Regex("Cell")) + Dim text As WTextRange = selection.GetAsOneRange() + 'Get the owner paragraph + Dim paragraph As WParagraph = text.OwnerParagraph + 'Get the owner cell + Dim cell As WTableCell = TryCast(paragraph.OwnerTextBody, WTableCell) + 'Get the index of the cell + Dim index As Integer = cell.GetCellIndex() + 'Apply text direction to the next cell + cell = cell.OwnerRow.Cells(index + 1) + cell.CellFormat.TextDirection = Syncfusion.DocIO.DLS.TextDirection.Vertical + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Creates a duplicate copy of the entity. + + + An that can be casted as table cell. + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Determines whether the width and preferred width of a cell is zero. + + True if cell width and preferred width is zero; Otherwise false. + + + + Updates the width of the table preferred. + + Width of the prev. + The new value. + + + + Applies the table style base formats. + + The cell format. + The para format. + The char format. + + + + Applies the table style base formats for inline content control. + + + + + + + + + Checks whether table style has paragraph formatting. + + + + + + Checks whether paragraph format defined or not. + + Paragraph style format. + + + + + Decides whether style hierarchy rule should override or not. + + Current paragraph. + + + + + Checks whether font size defined in any of paragraph styles. + + Current paragraph style + + + + + Checks whether the Normal Style font size is defined as per specification. + + Normal Style character format. + + + + + Sets the document default font size to current formatting. + + Current inline formatting. + + + + Sets font size from table style as per overrideTableStyleFontSizeAndJustification behavior + + The owner paragraph of current item in cell + The character format of paragraph item + Character format from table style + Boolean denotes overrideTableStyleFontSizeAndJustification tag + A boolean which represents whether character format of an item has font size key or not + A boolean which represents whether character format of an item has font bidi size key or not + + + + Sets font size from table style as per overrideTableStyleFontSizeAndJustification behavior + + The owner paragraph of current item in cell + The character format of paragraph item + Character format from table style + Boolean denotes overrideTableStyleFontSizeAndJustification tag + Character Format key denotes FontSizekey or FontSizeBidiKey + A boolean which represents whether character format of an item has font size key or not + + + + Checks font size not defined in inline, Character style, paragraph style, Linked Character style, Linked Para Style, basedOn Para Style and basedOn Char Style + + The character format of paragraph item + The owner paragraph of current item in cell + Character Format key denotes FontSizekey or FontSizeBidiKey + A boolean which represents whether character format of an item has font size key or not + + + + + Checks whether FontSize key exists in default formatting and + doesn't exists in current inline formatting. + + Current inline formatting. + Font size key + + + + + Clones the cell. + + + + + + Gets the next TextBodyItem in the document + + + + + + Gets the V merge cell. + + The cellindex. + The rowindex. + The curr row. + + + + + Closes this instance. + + + + + Gets the width of the cell. + + + + + + Gets the width. + + + + + + Gets the cell start position. + + + + + + Gets the cell end position. + + Index of the row. + Index of the cell. + + + + + Gets the index of the horizontal merge end cell. + + + + + + Gets the previous cell by excluding the horizontal merge continue cells. + + + + + + Returns Left Padding + + + + + + Returns Right Padding + + + + + + Returns Top Padding + + + + + + Returns Bottom Padding + + + + + + Gets the size info of of cell. + + + + Boolean to decide whether the ParagraphWidth calculation should do or not + + + + + Gets the minimum and maximum word width. + + + + + + + + Gets the minimum and maximum word width. + + + + + + + + Gets the minimun preferred width. + + + + + + Get Maximum word width of vertical direction cell. + + Calculated Maximum word width. + + + + + Check the cell width type and enable the property according to the preferred width type + + + + + Gets the complete text of table cell for word comparison + + + + + + Create layout information. + + + + + + Creates the table cell layoutinfo. + + Returns the cell layout info. + This method is used for RTF writer. + + + + Reset the cell layoutinfo. + + This method is used for RTF writer. + + + + Find the owner row of the vertical merged end cell + + owner cell of the paragraph + if merged end cell is true;return Owner row of the merged end cell,otherwise return owner row of the table cell + + + + Checks the foot note in text body. + + The text body. + + + + Checks the foot note in paragraph. + + The paragraph. + + + + Initializing LayoutInfo value to null + + + + + Add previous paragraph to current cell for paragraph property not lies between paragraph tag. + + + + + + Gets the number of grid columns spanned by the current cell. Read-only. + + The short specifies the number of grid columns in the parent table's table grid which shall be spanned by the current cell + GridSpan allows cells to have the appearance of being merged, as they span vertical boundaries of other cells in the table. + + + + Gets/Sets the cell grid start index + + Cell grid start index + + + + Gets/Sets the cell content control in this cell. + + The following code illustrates how to set a cell content control to the table. + + WordDocument document = new WordDocument(); + //Adds new section to the document. + IWSection section = document.AddSection(); + //Adds new table to the section. + IWTable table = section.AddTable(); + //Adds new row to the table. + WTableRow tableRow = table.AddRow(); + //Adds new cell to the row. + WTableCell tableCell = tableRow.AddCell(); + tableCell.Width = 100; + //Adds new paragraph to the cell. + IWParagraph paragraph = tableCell.AddParagraph(); + //Adds new text to the paragraph. + paragraph.AppendText("Content Control"); + //Create the Cell Content Control for the document. + CellContentControl control = new CellContentControl(document); + //Change the color value in Content Control properties. + control.ContentControlProperties.Color = System.Drawing.Color.Green; + //Set it to the row content control. + tableCell.ContentControl = control; + //Save the Word document. + document.Save("Sample.docx", FormatType.Docx); + //Close the document. + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document. + Dim section As IWSection = document.AddSection() + 'Adds new table to the section. + Dim table As IWTable = section.AddTable() + 'Adds new row to the table. + Dim tableRow As WTableRow = table.AddRow() + 'Adds new cell to the row. + Dim tableCell As WTableCell = tableRow.AddCell() + tableCell.Width = 100 + 'Adds new paragraph to the cell. + Dim paragraph As IWParagraph = tableCell.AddParagraph() + 'Adds new text to the paragraph. + paragraph.AppendText("Content Control") + 'Create the Cell Content Control for the document. + Dim control As New CellContentControl(document) + 'Change the color value in Content Control properties. + control.ContentControlProperties.Color = System.Drawing.Color.Green + ' Set it to the row content control. + tableCell.ContentControl = control + 'Save the Word document. + document.Save("Sample.docx", FormatType.Docx) + 'Close the document. + document.Close() + + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets the owner row of the cell. Read-only. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Find the text in the table + TextSelection selection = table.Find(new Regex("Cell")); + WTextRange text = selection.GetAsOneRange(); + //Get the owner paragraph + WParagraph paragraph = text.OwnerParagraph; + //Get the owner cell + WTableCell cell = paragraph.OwnerTextBody as WTableCell; + //Get the index of the cell + int index = cell.GetCellIndex(); + //Apply text direction to the next cell + WTableRow row = cell.OwnerRow; + row.RowFormat.BackColor = Color.LightGray; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Find the text in the table + Dim selection As TextSelection = table.Find(New Regex("Cell")) + Dim text As WTextRange = selection.GetAsOneRange() + 'Get the owner paragraph + Dim paragraph As WParagraph = text.OwnerParagraph + 'Get the owner cell + Dim cell As WTableCell = TryCast(paragraph.OwnerTextBody, WTableCell) + 'Get the index of the cell + Dim index As Integer = cell.GetCellIndex() + 'Apply text direction to the next cell + Dim row As WTableRow = cell.OwnerRow + row.RowFormat.BackColor = Color.LightGray + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the cell format. Read-only. + + + + + Gets or sets the width(in points) of the cell. + + The float that specifies the cell width. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + foreach (WTableRow row in table.Rows) + { + foreach (WTableCell cell in row.Cells) + { + cell.Width = 100; + } + } + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + For Each row As WTableRow In table.Rows + For Each cell As WTableCell In row.Cells + cell.Width = 100 + Next + Next + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the color of the fore. + + The color of the fore. + + + + Gets or sets the texture style. + + The texture style. + + + + + + + + + Gets if size of cell is fixed. + + + + + Gets the old cell format. + + The old cell format. + + + + Gets the preferred width of the cell. + + The preferred cell width. + + + + Gets the cell start position. + + + The cell start position. + + + + + Gets the cell end position. + + + The cell end position. + + + + + Gets the size infor of the cell. + + + + + Gets the body items of the cell. + + + + + + Represents a table row. + + + + + + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Creates a duplicate copy of the entity. + + The reference to the newly created row. + + + + Adds a new cell to the row. + + The reference to the newly added cell. + The following example illustrates how to add a cell to the row. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Price Details"); + section.AddParagraph(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Add the first row into table + WTableRow row = table.AddRow(); + //Add the first cell into first row + WTableCell cell = row.AddCell(); + cell.Width = 100; + cell.AddParagraph().AppendText("Orange"); + //Add the second cell into first row + cell = row.AddCell(); + cell.Width = 100; + cell.AddParagraph().AppendText("$30"); + //Add the second row into table + row = table.AddRow(true, false); + //Add the first cell into second row + cell = row.AddCell(); + cell.Width = 100; + cell.AddParagraph().AppendText("Apple"); + //Add the second cell into second row + cell = row.AddCell(); + cell.Width = 100; + cell.AddParagraph().AppendText("$50"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Price Details") + section.AddParagraph() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Add the first row into table + Dim row As WTableRow = table.AddRow() + 'Add the first cell into first row + Dim cell As WTableCell = row.AddCell() + cell.Width = 100 + cell.AddParagraph().AppendText("Orange") + 'Add the second cell into first row + cell = row.AddCell() + cell.Width = 100 + cell.AddParagraph().AppendText("$30") + 'Add the second row into table + row = table.AddRow(True, False) + 'Add the first cell into second row + cell = row.AddCell() + cell.Width = 100 + cell.AddParagraph().AppendText("Apple") + 'Add the second cell into second row + cell = row.AddCell() + cell.Width = 100 + cell.AddParagraph().AppendText("$50") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Adds a new cell to the row. + + True if to have format of the previous row; otherwise, false. + The reference to the newly added cell. + The following example illustrates how to add a cell to the row by specifying the copy format option. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + section.AddParagraph().AppendText("Price Details"); + section.AddParagraph(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Add the first row into table + WTableRow row = table.AddRow(); + //Add the first cell into first row + WTableCell cell = row.AddCell(); + cell.Width = 100; + cell.AddParagraph().AppendText("Orange"); + //Add the second cell into first row + cell = row.AddCell(); + cell.Width = 100; + cell.AddParagraph().AppendText("$30"); + //Add the second row into table + row = table.AddRow(true, false); + //Add the first cell into second row + cell = row.AddCell(); + cell.Width = 50; + cell.AddParagraph().AppendText("Apple"); + //Add the second cell into second row + cell = row.AddCell(true); + cell.AddParagraph().AppendText("$50"); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + section.AddParagraph().AppendText("Price Details") + section.AddParagraph() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Add the first row into table + Dim row As WTableRow = table.AddRow() + 'Add the first cell into first row + Dim cell As WTableCell = row.AddCell() + cell.Width = 100 + cell.AddParagraph().AppendText("Orange") + 'Add the second cell into first row + cell = row.AddCell() + cell.Width = 100 + cell.AddParagraph().AppendText("$30") + 'Add the second row into table + row = table.AddRow(True, False) + 'Add the first cell into second row + cell = row.AddCell() + cell.Width = 50 + cell.AddParagraph().AppendText("Apple") + 'Add the second cell into second row + cell = row.AddCell(True) + cell.AddParagraph().AppendText("$50") + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + The number of cells must be between 1 and 63. + + + + Returns the index of the row in the table. + + The zero-based index of the row. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load a template document + WordDocument document = new WordDocument("Template.docx"); + //Get the table + WTable table = document.Sections[0].Tables[0] as WTable; + //Find the text in the table + TextSelection selection = table.Find(new Regex("Cell")); + WTextRange text = selection.GetAsOneRange(); + //Get the owner paragraph + WParagraph paragraph = text.OwnerParagraph; + //Get the owner cell + WTableCell cell = paragraph.OwnerTextBody as WTableCell; + //Get the row index. + int index = cell.OwnerRow.GetRowIndex(); + //Set height for next row + table.Rows[index + 1].Height = 20; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load a template document + Dim document As New WordDocument("Template.docx") + 'Get the table + Dim table As WTable = TryCast(document.Sections(0).Tables(0), WTable) + 'Find the text in the table + Dim selection As TextSelection = table.Find(New Regex("Cell")) + Dim text As WTextRange = selection.GetAsOneRange() + 'Get the owner paragraph + Dim paragraph As WParagraph = text.OwnerParagraph + 'Get the owner cell + Dim cell As WTableCell = TryCast(paragraph.OwnerTextBody, WTableCell) + 'Get the row index. + Dim index As Integer = cell.OwnerRow.GetRowIndex() + 'Set height for next row + table.Rows(index + 1).Height = 20 + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Determines whether the width and preferred width of a cell is zero. + + True if cell width and preferred width is zero; Otherwise false. + + + + Updates the cell width by equally partitioning available width among all the cells in a row. + + The available width for table. + + + + Updates the preferred cell width to undefined table cells. + + + + + + Adds the self. + + + + + Creates a duplicate copy of the entity. + + + An that can be casted as . + + + + Clones the relations for TableRow. + + + + + + Checks the format owner. + + + + + Called when cells are inserted. + + The index. + The cell format. + + + + Called when cells are removed. + + The index. + + + + Gets the width to resize cells. + + The row. + Width of the client. + + + + + Gets the grid before after. + + The width info. + Width of the client. + + + + + Gets the width of the row. + + + + + + Gets the preferred width of the cells in the row. + + + + + + Gets the preferred width of the row. + + Width of the table. + + + + + Check whether all cell in the row has only point or percent as preferred width type + + True if all cell in the row has only point or percent as preferred width type + else False + + + + Gets the preferred width of the row. + + Width of the table. + + + + + Updates track changes revision of table row while adding the entity. + + + + + + Closes this instance. + + + + + Gets the complete text of table row for word comparison + + + + + + To get the matched rows from the given table collection + + + + + + + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as inside xml element. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + The value indicating the presence of xml content. + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Creates layout information. + + + + + + Determines whether need to skip ParaMark from cell height calculation + + The paragraph. + + + + + Get First Paragraph of the Row + + + + + + Initializing LayoutInfo value to null + + + + + Gets the child elements of the row. Read-only + + The collection of child elements. + + + + Gets the type of the entity. + + The of the current item. + + + + Gets or sets the collection of cells in the row. + + The that represents the cells in the row. + + + + + + Gets or sets the type of the table row height. + + The member that specifies the type of row height. + + + + + Gets the row format. Read-only. + + + + + + Gets or sets height of the row(in points). + + The float that specifies the row height. + The following example illustrates how to set the height of the row in the table. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + //Add a new table into Word document + IWTable table = section.AddTable(); + //Set number of rows and columns + table.ResetCells(2, 2); + //Set row height and type. + table.Rows[1].Height = 20; + table.Rows[1].HeightType = TableRowHeightType.AtLeast; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + 'Add a new table into Word document + Dim table As IWTable = section.AddTable() + 'Set number of rows and columns + table.ResetCells(2, 2) + 'Set row height and type. + table.Rows(1).Height = 20 + table.Rows(1).HeightType = TableRowHeightType.AtLeast + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets a value indicating whether the row is a table header. + + True if the row is header row; otherwise, false. + + + + Gets the owner table. + + The owner table. + + + + Gets or sets the data array. + + The data array. + + + + Gets the character format. + + The character format. + + + + Gets the old row format. + + The old row format. + + + + Gets or sets a value indicating whether this instance is delete revision. + + + if this instance is delete revision, set to true. + + + + + Gets or sets a value indicating whether this instance is insert revision. + + + if this instance is insert revision, set to true. + + + + + Gets or sets a value indicating whether this instance has TblPrEx. + + + + + Gets/Sets the row content control in this row. + + The following code illustrates how to set a Row content control to table. + + WordDocument document = new WordDocument(); + //Adds new section to the document. + IWSection section = document.AddSection(); + //Adds new table to the section. + IWTable table = section.AddTable(); + //Adds new row to the table. + WTableRow tableRow = table.AddRow(); + //Adds new cell to the row. + WTableCell tableCell = tableRow.AddCell(); + tableCell.Width = 100; + //Adds new paragraph to the cell. + IWParagraph paragraph = tableCell.AddParagraph(); + //Adds new text to the paragraph. + paragraph.AppendText("Content Control"); + //Create the Row Content Control for the document. + RowContentControl control = new RowContentControl(document); + //Change the color value in Content Control properties. + control.ContentControlProperties.Color = System.Drawing.Color.Blue; + // Sets it to the row content control. + tableRow.ContentControl = control; + //Save the Word document. + document.Save("Sample.docx", FormatType.Docx); + //Close the document. + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document. + Dim section As IWSection = document.AddSection() + 'Adds new table to the section. + Dim table As IWTable = section.AddTable() + 'Adds new row to the table. + Dim tableRow As WTableRow = table.AddRow() + 'Adds new cell to the row. + Dim tableCell As WTableCell = tableRow.AddCell() + tableCell.Width = 100 + 'Adds new paragraph to the cell. + Dim paragraph As IWParagraph = tableCell.AddParagraph() + 'Adds new text to the paragraph. + paragraph.AppendText("Content Control") + 'Create the Row Content Control for the document. + Dim control As New RowContentControl(document) + 'Change the color value in Content Control properties. + control.ContentControlProperties.Color = System.Drawing.Color.Blue + ' Sets it to the row content control. + tableRow.ContentControl = control + 'Save the Word document. + document.Save("Sample.docx", FormatType.Docx) + 'Close the document. + document.Close() + + + + + + Get's whether the first paragraph of the row is having KeepWithNext property set + + + + + Represents the document saving options. + + + The following code snippet shows how to customize Word to HTML conversion using . + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Loads an existing document + WordDocument document = new WordDocument("Template.docx"); + HTMLExport export = new HTMLExport(); + //The images in the input document will be copied to this folder + document.SaveOptions.HtmlExportImagesFolder = @"D:\Data\"; + //The headers and footers in the input will be exported + document.SaveOptions.HtmlExportHeadersFooters = true; + //Export the text form fields as editable + document.SaveOptions.HtmlExportTextInputFormFieldAsText = false; + //Set the style sheet type + document.SaveOptions.HtmlExportCssStyleSheetType = CssStyleSheetType.External; + //Set name for style sheet + document.SaveOptions.HtmlExportCssStyleSheetFileName = "UserDefinedFileName.css"; + //Save the document as html file + export.SaveAsXhtml(document, "WordtoHtml.html"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Loads an existing document + Dim document As New WordDocument("Template.docx") + Dim export As New HTMLExport() + 'The images in the input document will be copied to this folder + document.SaveOptions.HtmlExportImagesFolder = "D:\Data\" + 'The headers and footers in the input will be exported + document.SaveOptions.HtmlExportHeadersFooters = True + 'Export the text form fields as editable + document.SaveOptions.HtmlExportTextInputFormFieldAsText = False + 'Set the style sheet type + document.SaveOptions.HtmlExportCssStyleSheetType = CssStyleSheetType.External + 'Set name for style sheet + document.SaveOptions.HtmlExportCssStyleSheetFileName = "UserDefinedFileName.css" + 'Save the document as html file + export.SaveAsXhtml(document, "WordtoHtml.html") + document.Close() + End Sub + + + The following code snippet shows how to customize Word to EPub file conversion using . + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Export the fonts used in the document + document.SaveOptions.EPubExportFont = true; + //Export header and footer + document.SaveOptions.HtmlExportHeadersFooters = true; + //Save the document as EPub file + document.Save("WordToEPub.epub", FormatType.EPub); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Export the fonts used in the document + document.SaveOptions.EPubExportFont = True + 'Export header and footer + document.SaveOptions.HtmlExportHeadersFooters = True + 'Save the document as EPub file + document.Save("WordToEPub.epub", FormatType.EPub) + 'Close the document + document.Close() + End Sub + + + The following code snippet shows how to preserve compatibility mode as in the input Word document using . + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing document + WordDocument document = new WordDocument("Template.doc", FormatType.Doc); + //Preserve compatibility mode as in the input Word document + document.SaveOptions.MaintainCompatibilityMode = true; + //Save the document as Docx file + document.Save("Result.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing document + Dim document As New WordDocument("Template.doc", FormatType.Doc) + 'Export the fonts used in the document + document.SaveOptions.EPubExportFont = True + 'Preserve compatibility mode as in the input Word document + document.SaveOptions.MaintainCompatibilityMode = True + 'Save the document as Docx file + document.Save("Result.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Execute Image node visited event + + + + + + + + Closes this instance. + + + + + Ensures the images folder. + + + + + Processes the image using . + + The img path. + The image bytes. + + + + Gets the name of the image file. + + + + + + Gets image format + + + + + + + Gets of sets the font file references + + + + + Gets or sets the physical folder to save the images when exporting a Word document to Markdown format. By default, it is empty. + + The string that specifies the physical folder to save the image. + + This property is only applicable while exporting the Word document as Markdown file. + This property is not applicable for .NET MAUI, Xamarin and UWP. + + + Given physical folder not accessible to export the images. Enable permission if access is denied. + + + Open the document + WordDocument document = new WordDocument("Sample.docx"); + Set the folder location to export the images + document.SaveOptions.MarkdownExportImagesFolder = @"D:/WordToMarkdownConversion/"; + Save as Markdown document + document.Save("Result.md", FormatType.Markdown); + Close the document + document.Close(); + + + //'Opens the document. + Dim document As WordDocument = New WordDocument("Sample.docx"); + Set the folder location to export the images + document.SaveOptions.MarkdownExportImagesFolder = @"D:/WordToMarkdownConversion/"; + Save as Markdown document + document.Save("Result.md", FormatType.Markdown); + Close the document + document.Close(); + + + + + Gets or sets a value indicating whether the font should be embedded in EPub. + + True if the font should be embedded in EPub; otherwise, false. + This property is not supported in UWP, MVC6 and Xamarin application. + + + + Gets or sets number of heading levels for EPub format + + + + + Gets or sets the type of the HTML export CSS style sheet. + + The member that specifies + the type of the HTML export CSS style sheet. + This property is only applicable while exporting the Word document as HTML file. + + + + Gets or sets the name of the HTML export CSS style sheet file. + + The string that specifies the HTML export CSS style sheet file name. + This property is not supported in MVC6 and Xamarin application. + This property is only applicable while exporting the Word document as HTML file. + + + + Gets or sets the HTML export images folder for extracing the images in the document. + + The string that specifies the name of the images folder. + This property will be considered in HTML exporting if HTMLExportImageAsBase64 property is false.This property is not supported in MVC6 and Xamarin application. + This property is only applicable while exporting the Word document as HTML file. + + + + Gets or sets a value indicating whether to include headers and footers while exporting HTML file. + + True if to include headers and footers; otherwise false. + + The header and footer contents in the first page of the document will + be exported as first and last content of the exported HTML file. + + + + Gets or sets a value indicating whether to reduce the resultant RTF file size by removing the tags with default values. + + True The resultant rtf file size is reduced false. + The default value is false + The following code snippet shows how to enable the OptimisedRtfFileSize property. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing document + WordDocument document = new WordDocument("Template.rtf", FormatType.Rtf); + //Sets the OptmizedRtfFileSize property as true + document.SaveOptions.OptimizeRtfFileSize = true; + //Save the document as Docx file + document.Save("Result.rtf", FormatType.Rtf); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing document + Dim document As New WordDocument("Template.rtf", FormatType.Rtf) + 'Sets the OptmizedRtfFileSize property as true + document.SaveOptions.OptimizeRtfFileSize = True + 'Save the document as Docx file + document.Save("Result.rtf", FormatType.Rtf) + 'Close the document + document.Close() + End Sub + + + + + + Gets or sets value indicating whether the paragraph contextual spacing should be consider in HTML export. + + This property is not supported in UNIVERSAL,UWP,WP and Xamarin application. + + + + Gets or sets a value indicating whether to export text input form field as text. + + True if HTML export text input form field as text; otherwise, false. + + By default, the text form fields are preserved as editable fields while exporting the HTML file. + This property is only applicable while exporting the Word document as HTML file. + + + + + Gets or sets value indicating whether to omit XML declaration in the exported HTML file. + + + True if Omit XML declaration in the exported HTML file; + false otherwise. Default value is false. + + + + + Gets or sets a value indicating whether to preserve compatibility mode as in the input Word document. + + + True if to have the compatibility mode as preserved in the input document; + false if to have the compatibility mode based on the save format type. + + + + + Gets or sets a value indicating whether the HTML document should be exported with the same rendering as the Word document. + Default value is True. + + + True to preserve the HTML contents equivalent to the Word document; + false otherwise. + + This property is only applicable while exporting the Word document as a HTML file. + + + //Opens an existing Word document + WordDocument document = new WordDocument("Input.docx"); + //Disables a flag to export HTML without WordCompatiblity + document.SaveOptions.HTMLExportWithWordCompatiblity = false; + //Saves the document + document.Save("Output.html", FormatType.Html); + //Closes the document + document.Close(); + + + 'Opens an existing Word document + Dim document As WordDocument = New WordDocument("Input.docx") + 'Disables a flag to export HTML without WordCompatiblity + document.SaveOptions.HTMLExportWithWordCompatiblity = False + 'Saves the document + document.Save("Output.html", FormatType.Html) + 'Close the document + document.Close() + + + + + + + Gets a value indicating whether Image node visited event has been subscribed or not. + + + True if the Image node visited event has been subscribed; otherwise, false. + + + + + + Specifies the Css style sheet type. + + + + + CSS styles are specified in a separate file with .css extension. + + + + + CSS styles are specified inline. + + + + + CSS styles are specified in the style tag. + + + + + Specifies the track changes revision options for Word to PDF conversion + + + + + Sets the balloons and other options based on revision type. + + + + + Gets or sets a value that indicates whether to preserve Word document Comments in converted PDF document or not.Default value isCommentDisplayMode.Hide. + + + The following code example demonstrates how to set the to preserve Comments in Word to PDF Conversion. + + //Loads an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Sets ShowInBalloons to render a document comments in converted PDF document. + wordDocument.RevisionOptions.CommentDisplayMode = CommentDisplayMode.ShowInBalloons; + //Instantiation of DocToPDFConverter for Word to PDF conversion + DocToPDFConverter converter = new DocToPDFConverter(); + //Converts Word document into PDF document + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + //Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf"); + //Releases all resources used by the object + converter.Dispose(); + //Closes the instance of document objects + wordDocument.Close(); + pdfDocument.Close(true); + + + 'Loads an existing Word document + Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) + 'Sets ShowInBalloons to render a document comments in converted PDF document. + wordDocument.RevisionOptions.CommentDisplayMode = CommentDisplayMode.ShowInBalloons + 'Instantiation of DocToPDFConverter for Word to PDF conversion + Dim converter As DocToPDFConverter = New DocToPDFConverter + 'Converts Word document into PDF document + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + 'Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf") + 'Releases all resources used by the object + converter.Dispose() + 'Closes the instance of document objects + wordDocument.Close() + pdfDocument.Close(True) + + + + + + Gets or sets the color to be used for Comment. Default value is RevisionColor.Red. + + For now, Red color will be used if this property values specified as ByAuthor or Auto. + + The following code example demonstrates how to set the to preserve Comments color in Word to PDF Conversion. + + //Loads an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Sets ShowInBalloons to render a document comments in converted PDF document. + wordDocument.RevisionOptions.CommentDisplayMode = CommentDisplayMode.ShowInBalloons; + //Sets the color to be used for Comment Balloon. + wordDocument.RevisionOptions.CommentColor = RevisionColor.Pink; + //Instantiation of DocToPDFConverter for Word to PDF conversion + DocToPDFConverter converter = new DocToPDFConverter(); + //Converts Word document into PDF document + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + //Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf"); + //Releases all resources used by the object + converter.Dispose(); + //Closes the instance of document objects + wordDocument.Close(); + pdfDocument.Close(true); + + + 'Loads an existing Word document + Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) + 'Sets ShowInBalloons to render a document comments in converted PDF document. + wordDocument.RevisionOptions.CommentDisplayMode = CommentDisplayMode.ShowInBalloons + 'Sets the color to be used for Comment Balloon. + wordDocument.RevisionOptions.CommentColor = RevisionColor.Pink + 'Instantiation of DocToPDFConverter for Word to PDF conversion + Dim converter As DocToPDFConverter = New DocToPDFConverter + 'Converts Word document into PDF document + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + 'Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf") + 'Releases all resources used by the object + converter.Dispose() + 'Closes the instance of document objects + wordDocument.Close() + pdfDocument.Close(True) + + + + + + Gets or sets a value indicating whether to show the revision lines for the changes made in the document. + + + + + Gets or sets a value indicating whether to show the revisions (content changes) made. + + + + + Gets or sets the color to be used for revision bars that identify document lines containing revised information. Default value is RevisionColor.Red. + + For now, Red color will be used if this property values specified as ByAuthor or Auto. + + The following code example demonstrates how to set the to preserve Revision mark color in Word to PDF Conversion. + + //Loads an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions | RevisionType.Formatting | RevisionType.Deletions; + //Sets the color for Revision mark color. + wordDocument.RevisionOptions.RevisionBarsColor = RevisionColor.Pink; + //Instantiation of DocToPDFConverter for Word to PDF conversion + DocToPDFConverter converter = new DocToPDFConverter(); + //Converts Word document into PDF document + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + //Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf"); + //Releases all resources used by the object + converter.Dispose(); + //Closes the instance of document objects + wordDocument.Close(); + pdfDocument.Close(true); + + + 'Loads an existing Word document + Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) + 'Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions Or RevisionType.Formatting Or RevisionType.Deletions + 'Sets the color for Revision mark color. + wordDocument.RevisionOptions.RevisionBarsColor = RevisionColor.Pink + 'Instantiation of DocToPDFConverter for Word to PDF conversion + Dim converter As DocToPDFConverter = New DocToPDFConverter + 'Converts Word document into PDF document + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + 'Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf") + 'Releases all resources used by the object + converter.Dispose() + 'Closes the instance of document objects + wordDocument.Close() + pdfDocument.Close(True) + + + + + + Gets or sets the color to be used for inserted content . Default value is RevisionColor.ByAuthor. + + For now, Blue color will be used if this property values specified as ByAuthor or Auto. + + The following code example demonstrates how to set the to preserve inserted text color in Word to PDF Conversion. + + //Loads an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions | RevisionType.Formatting | RevisionType.Deletions; + //Sets the color for inserted text color. + wordDocument.RevisionOptions.InsertedTextColor = RevisionColor.ClassicRed; + //Instantiation of DocToPDFConverter for Word to PDF conversion + DocToPDFConverter converter = new DocToPDFConverter(); + //Converts Word document into PDF document + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + //Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf"); + //Releases all resources used by the object + converter.Dispose(); + //Closes the instance of document objects + wordDocument.Close(); + pdfDocument.Close(true); + + + 'Loads an existing Word document + Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) + 'Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions Or RevisionType.Formatting Or RevisionType.Deletions + 'Sets the color for inserted text color. + wordDocument.RevisionOptions.InsertedTextColor = RevisionColor.ClassicRed + 'Instantiation of DocToPDFConverter for Word to PDF conversion + Dim converter As DocToPDFConverter = New DocToPDFConverter + 'Converts Word document into PDF document + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + 'Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf") + 'Releases all resources used by the object + converter.Dispose() + 'Closes the instance of document objects + wordDocument.Close() + pdfDocument.Close(True) + + + + + + Gets or sets the width of the revised lines in the document + + + + + Gets or sets the text effect for the inserted text. + + + + + Gets or sets the color to be used for deleted content . Default value is RevisionColor.ByAuthor. + + For now, Red color will be used if this property values specified as ByAuthor or Auto. + + The following code example demonstrates how to set the to preserve Deleted content color in Word to PDF Conversion. + + //Loads an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions | RevisionType.Formatting | RevisionType.Deletions; + //Sets the color for Deleted content color. + wordDocument.RevisionOptions.DeletedTextColor = RevisionColor.ClassicBlue; + //Instantiation of DocToPDFConverter for Word to PDF conversion + DocToPDFConverter converter = new DocToPDFConverter(); + //Converts Word document into PDF document + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + //Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf"); + //Releases all resources used by the object + converter.Dispose(); + //Closes the instance of document objects + wordDocument.Close(); + pdfDocument.Close(true); + + + 'Loads an existing Word document + Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) + 'Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions Or RevisionType.Formatting Or RevisionType.Deletions + 'Sets the color for Deleted content color. + wordDocument.RevisionOptions.DeletedTextColor = RevisionColor.ClassicBlue + 'Instantiation of DocToPDFConverter for Word to PDF conversion + Dim converter As DocToPDFConverter = New DocToPDFConverter + 'Converts Word document into PDF document + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + 'Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf") + 'Releases all resources used by the object + converter.Dispose() + 'Closes the instance of document objects + wordDocument.Close() + pdfDocument.Close(True) + + + + + + Gets or sets the text effect for the deleted content + + + + + Gets or sets the color to be used for content with changes of formatting properties . Default value is RevisionColor.ByAuthor. + + For now, Red color will be used if this property values specified as ByAuthor or Auto. + + The following code example demonstrates how to set the to preserve track changes color in Word to PDF Conversion. + + //Loads an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions | RevisionType.Formatting | RevisionType.Deletions; + //Sets the color for Revised property color. + wordDocument.RevisionOptions.RevisedPropertiesColor = RevisionColor.Turquoise; + //Instantiation of DocToPDFConverter for Word to PDF conversion + DocToPDFConverter converter = new DocToPDFConverter(); + //Converts Word document into PDF document + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + //Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf"); + //Releases all resources used by the object + converter.Dispose(); + //Closes the instance of document objects + wordDocument.Close(); + pdfDocument.Close(true); + + + 'Loads an existing Word document + Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) + 'Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions Or RevisionType.Formatting Or RevisionType.Deletions + 'Sets the color for Revised property color. + wordDocument.RevisionOptions.RevisedPropertiesColor = RevisionColor.Turquoise + 'Instantiation of DocToPDFConverter for Word to PDF conversion + Dim converter As DocToPDFConverter = New DocToPDFConverter + 'Converts Word document into PDF document + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + 'Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf") + 'Releases all resources used by the object + converter.Dispose() + 'Closes the instance of document objects + wordDocument.Close() + pdfDocument.Close(True) + + + + + + Gets or sets the text effect for the formatting changes in the document. + + + + + Gets or sets the value indicating whether to show the deleted text. + + + + + Gets or sets the revision type to render in PDF. + + + The following code example demonstrates how to set the to preserve track changes in Word to PDF Conversion. + + //Loads an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions | RevisionType.Formatting | RevisionType.Deletions; + //Instantiation of DocToPDFConverter for Word to PDF conversion + DocToPDFConverter converter = new DocToPDFConverter(); + //Converts Word document into PDF document + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + //Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf"); + //Releases all resources used by the object + converter.Dispose(); + //Closes the instance of document objects + wordDocument.Close(); + pdfDocument.Close(true); + + + 'Loads an existing Word document + Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) + 'Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions Or RevisionType.Formatting Or RevisionType.Deletions + 'Instantiation of DocToPDFConverter for Word to PDF conversion + Dim converter As DocToPDFConverter = New DocToPDFConverter + 'Converts Word document into PDF document + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + 'Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf") + 'Releases all resources used by the object + converter.Dispose() + 'Closes the instance of document objects + wordDocument.Close() + pdfDocument.Close(True) + + + + + + Gets or sets the revision types to be displayed in balloons when converting Word documents to PDF. Default value is RevisionType.Deletions | RevisionType.Formatting. + + For now, only RevisionType.None and RevisionType.Deletions | RevisionType.Formatting are supported. + + The following code example demonstrates how to set the to hide balloons in Word to PDF Conversion. + + //Loads an existing Word document + WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); + //Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions | RevisionType.Formatting | RevisionType.Deletions; + //Hides showing revisions in balloons when converting Word documents to PDF + wordDocument.RevisionOptions.ShowInBalloons = RevisionType.None; + //Instantiation of DocToPDFConverter for Word to PDF conversion + DocToPDFConverter converter = new DocToPDFConverter(); + //Converts Word document into PDF document + PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); + //Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf"); + //Releases all resources used by the object + converter.Dispose(); + //Closes the instance of document objects + wordDocument.Close(); + pdfDocument.Close(true); + + + 'Loads an existing Word document + Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) + 'Sets revision types to preserve track changes in PDF conversion. + wordDocument.RevisionOptions.ShowMarkup = RevisionType.Insertions Or RevisionType.Formatting Or RevisionType.Deletions + 'Hides showing revisions in balloons when converting Word documents to PDF + wordDocument.RevisionOptions.ShowInBalloons = RevisionType.None + 'Instantiation of DocToPDFConverter for Word to PDF conversion + Dim converter As DocToPDFConverter = New DocToPDFConverter + 'Converts Word document into PDF document + Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) + 'Saves the PDF file + pdfDocument.Save("WordtoPDF.pdf") + 'Releases all resources used by the object + converter.Dispose() + 'Closes the instance of document objects + wordDocument.Close() + pdfDocument.Close(True) + + + + + + Gets or sets the options in track changes balloons to render in PDF. + + + + + Represents general exception in DLS library. + + + + + Default exception message. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with specified inner exception. + + The inner exception that occurs during execution. + + + + Initializes a new instance of the class. + + The string that represents the exception message. + + + + Initializes a new instance of the class with specified exception message and inner exception. + + The string that represents the exception message. + The inner exception that occurs during execution. + + + + Represents the Html Converter Register Exception. + + + + + Default exception message. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The inner exc. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner exc. + + + + Represents exception during xml serialization. + + + + + Default exception message. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The inner exc. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner exc. + + + + Represents the font settings in the Word document. + + + + + Gets the font based on given font details. + + Name of the font. + Size of the font. + Style of the font. + The created font, or substituted font by event. + + + + Gets a font style value to generate a fontStream collection key. + + Font style + Returns the font style + + + + Creates font based on given font details. + + Name of the font. + Size of the font. + Style of the font. + The created font. + + + + Close the FontSettings field instances. + + + + + Occurs during Word to PDF/Image conversion to substitute the alternate fonts when a specified font is not installed in the production environment. + + This event is supported for Word to PDF/Image conversion alone. + + + + Gets a fallback font collection of Word document. + + + + + Represents the method that handles substitute font event. + + + + + Represents the substitute font event that occurs during Word to PDF/Image conversion to substitute the alternate fonts when a specified font is not installed in the production environment. + + + + + Represents the original font name. + + + + + Represents the substitute font name. + + + + + Represents the substitute font name. + + + + + Represents the original fontstyle. + + + + + Initializes a new instance of class for the specified document + with original (missing) font name, and alternate font name. + + Name of the original (missing) font name. + Name of the alternate font name. + Style of the original font. + + + + Gets the original font name. Read Only. + + The string that specifies the original font name. + + + + Gets the original font name. Read Only. + + The string that specifies the original font name. + + + + Gets or sets the alternate font name. + + The string that specifies the alternate font name. + + + + + + Represents the border formatting options for Word document contents. + + + + + Variable used to hold the ColorKey. + + + + + Variable used to hold the BorderTypeKey. + + + + + Variable used to hold the LineWidthKey. + + + + + Variable used to hold the SpaceKey. + + + + + + Variable used to hold the ShadowKey. + + + + + + Variable used to hold the HasNoneStyleKey. + + + + + + Indicate border position + + + + + Document is presently read + + + + + Initializes a new instance of the class with the specified + and key. + + The object that represents the base formatting options. + The integer that specifies the base key. + + + + Determines whether [is skip border] [the specified value1]. + + The value1. + The value2. + if set to true [is first read]. + + + + + Clones the Border formatting. + + + + + + Update table calls border + + + + + Gets the line weight. + + + + + + Gets the line number. + + + + + + Gets the style priority. + + + + + + Gets the border line array. + + Type of the border. + Width of the line. + + + + + Update table cell borders + + Table + Row index + Cell index + + + + Update table row borders + + Table + Row index + + + + Set the style of the border + + + + + + Sets the default properties. + + + + + Compares the border properties. + + + + + Gets the border text for Word comparison + + + + + + Initializes the Border style. + + The for the border. + The float that specifies width of the line. + The member that specifies the style for border. + True if shadow should be drawn, otherwise false. + + + + Returns the default values. + + + The integer that specifies the key. + An object that specifies the default value. + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Registers child objects in XDSL holder. + + + + + + Occurs on format change. + + + The object. + The integer that represents the property key. + + + + Apply base style + + + + + + Updates the source formatting. + + The border. + + + + Document is presently read + + + + + Gets or sets a value indicating the opening of HTML + + + + + Get/set border position value + + + + + Gets or sets the color for border. + + The for border. + + + + Gets or sets the width of the border measured in points. + + The float that represents the width of the border. + + + + Gets or sets style of the border. + + The member that specifies the style for border. + + + + Gets or sets the width(in points) of space to maintain between border and text within border. + + The float that specifies the width of the space measured in points. + + + + Gets or sets a value indicating whether the border should be drawn with shadow. + + True if shadow should be drawn; otherwise, false. + + + + + + + + + Gets a value indicating whether border is defined. + + + true if border is defined; otherwise, false. + + + + + Specifies the border position. + + + + + Left border + + + + + Top border + + + + + Right border + + + + + Bottom border + + + + + Vertical border + + + + + Horizontal border + + + + + Diagonal Down border + + + + + Diagonal Up border + + + + + Represents the collection of that includes top, bottom, right and left borders. + + + + + Constant value for left key. + + + + + Constant value for top key. + + + + + Constant value for bottom key. + + + + + Constant value for right key. + + + + + constant value for vertical key. + + + + + constant value for horizontal key. + + + + + constant value for diagonal down key. + + + + + constant value for diagonal up key. + + + + + Current table cell + + + + + Current table row + + + + + Initializing constructor. + + The parent. + The base key. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The . + + + + Ensures the composites. + + + + + Returns the default values. + + + The integer that specifies the key. + An object that specifies the default value. + The key is invalid. + + + + Gets the composite values. + + + The integer that specifies the key. + The object. + + + + Registers child objects in XDSL holder. + + + + + + Creates duplicate copy of the entity. + + The reference to the newly created . + + + + Creates duplicate copy of the entity. + + + An object that can be casted as . + + + + Occurs on format change. + + + The object. + The integer that represents the property key. + + + + Apply base style + + + + + + Sets the default properties. + + + + + Sets spacing for all + + + + + + Check if adjacent paragraph bottom borders are same + + Currentaragraph + The bounds. + + + + + Init borders owner + + + + + Closes this instance. + + + + + Updates the source formatting. + + The borders. + + + + Compare Borders + + + + + Gets a value indicating whether the border exists. Read-only. + + True if there is no border; otherwise, false. + + + + Gets a value indicating whether the tablecell border exists. Read-only. + + + + + Gets the left border. Read-only. + + The for left. + + + + Gets the top border. Read-only. + + The for top. + + + + Gets the right border. Read-only. + + The for right. + + + + Gets the bottom border. Read-only. + + The for bottom. + + + + Gets the vertical border. Read-only. + + The vertical . + + + + Gets horizontal border. Read-only. + + The horizontal . + + + + Gets diagonal border from top left corner to bottom right corner. + + + + + Gets diagonal border from bottom left corner to top right corner. + + + + + Sets color of the borders. Write-only. + + The for left, right, top and bottom borders. + + + + Sets width of the borders. Write-only. + + The float value specifies the line width for left, right, top and bottom borders. + + + + Sets style of the borders. Write-only. + + The member that specifies the style for left, right, top, bottom, vertical and horizontal borders. + + + + Sets width of space to maintain between borders and text within borders. Write-only. + + The float that specifies the width of the space. + + + + Sets whether borders should be drawn with shadow. Write-only. + + True if shadow should be drawn; otherwise, false. + + + + Gets owner borders cell + + + + + Gets owner borders row + + + + + Gets or sets a value indicating the opening of HTML + + + + + Document is presently read + + + + + Represents the cell formatting options for table cell. + + + The following code example demonstrates how to apply cell formatting options to a + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument(); + document.Open("Table.docx", FormatType.Docx); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Access the instance of the first row in the table + WTableRow row = table.Rows[0]; + //Specify the row height + row.Height = 20; + //Specify the row height type + row.HeightType = TableRowHeightType.AtLeast; + //Access the instance of the first cell in the row + WTableCell cell = row.Cells[0]; + //Specify the cell back ground color + cell.CellFormat.BackColor = Color.FromArgb(192, 192, 192); + //Specify the same padding as table option as false to preserve current cell padding + cell.CellFormat.SamePaddingsAsTable = false; + //Specify the left, right, top and bottom padding of the cell + cell.CellFormat.Paddings.Left = 5; + cell.CellFormat.Paddings.Right = 5; + cell.CellFormat.Paddings.Top = 5; + cell.CellFormat.Paddings.Bottom = 5; + //Specify the vertical alignment of content of text + cell.CellFormat.VerticalAlignment = VerticalAlignment.Middle; + //Access the instance of the second cell in the row + cell = row.Cells[1]; + cell.CellFormat.BackColor = Color.FromArgb(192, 192, 192); + cell.CellFormat.SamePaddingsAsTable = false; + //Specify the left, right, top and bottom padding of the cell + cell.CellFormat.Paddings.All = 5; + cell.CellFormat.VerticalAlignment = VerticalAlignment.Middle; + document.Save("TableCellFormatting.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument() + document.Open("Table.docx", FormatType.Docx) + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Access the instance of the first row in the table + Dim row As WTableRow = table.Rows(0) + 'Specify the row height + row.Height = 20 + 'Specify the row height type + row.HeightType = TableRowHeightType.AtLeast + 'Access the instance of the first cell in the row + Dim cell As WTableCell = row.Cells(0) + 'Specify the cell back ground color + cell.CellFormat.BackColor = Color.FromArgb(192, 192, 192) + 'Specify the same padding as table option as false to preserve current cell padding + cell.CellFormat.SamePaddingsAsTable = False + 'Specify the left, right, top and bottom padding of the cell + cell.CellFormat.Paddings.Left = 5 + cell.CellFormat.Paddings.Right = 5 + cell.CellFormat.Paddings.Top = 5 + cell.CellFormat.Paddings.Bottom = 5 + 'Specify the vertical alignment of content of text + cell.CellFormat.VerticalAlignment = VerticalAlignment.Middle + 'Access the instance of the second cell in the row + cell = row.Cells(1) + cell.CellFormat.BackColor = Color.FromArgb(192, 192, 192) + cell.CellFormat.SamePaddingsAsTable = False + 'Specify the left, right, top and bottom padding of the cell + cell.CellFormat.Paddings.All = 5 + cell.CellFormat.VerticalAlignment = VerticalAlignment.Middle + document.Save("TableCellFormatting.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Gets the property value. + + The property key. + + + + + Sets the property value. + + The property key. + The value. + + + + Gets the owner row format. + + + + + + Gets the index of the owner cell. + + + + + + Determines whether cell has same paddings as table. + + + if it has same paddings as table, set to true. + + + + + Update horizontal merge based on the previous adjacent cells. + + + + + Clears the preferred width properties for Autofit. + + + + + + Closes this instance. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Apply base style + + + + + + Ensures the composites. + + + + + Returns the default values. + + + The integer specifying the key value of the property. + An object that specifies the default value. + + + + Gets the composite values. + + + The integer that specifies the key. + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Registers child objects in XDSL holder. + + + + + + Imports the container. + + The object. + + + + Imports the XML properties. + + The object. + + + + Imports the members. + + + The object. + + + + Occurs on format change. + + + The object. + The integer that represents the property key. + + + + Updates the cell format. + + The cell properties. + + + + Applies the parent row format. + + The row format. + + + + Updates the border settings. + + The borders. + + + + Compare one cell format with another and return true if equal else false. + + + + + Gets or sets a value indicating whether [cancel on change]. + + + true if [cancel on change]; otherwise, false. + + + + + Get's / Set's the Hidden property of the cell + + + + + Gets or sets a value indicating whether the cell's format track has changed. + + + + + Gets or sets the preferred width of the cell. + + The preferred width of the cell. + + + + Gets the borders for the cell. + + The that specifies the borders of the cell. + + + + Gets the cell paddings. Read-only. + + The for the cell. + + + + Gets or sets the vertical alignment of the cell content. + + The member that specifies the vertical alignment of cell content. + + + + Gets or sets the background color for cell. + + The for cell background. + + + + Gets or sets the way of combining of the cell vertically. + + The member that specifies the way of vertical merging. + + + + Gets or sets the way of combining of the cell horizontally. + + The member that specifies the way of horizontal merging. + + + + Gets or sets a value indicating whether the text wrapping is set. + + True if it has text wrapping properties; otherwise, false. + + + + Gets or sets fit text option of the cell. + + True if the fit text option is enabled; otherwise, false. + + + + Gets or sets cell text direction. + + The member that specifies the type of text direction. + + + + Gets or sets value indicating whether to use same paddings as the table. + + True if it has same padding values as table; otherwise, false. + + + + + + + + + Gets the index of the current cell in the row. + + The index of the current cell. + + + + Gets or sets the width of the cell. + + The width of the cell. + + + + Gets or sets number of grid columns spanned by the current cell. + + The GridSpan of the cell. + + + + Gets or sets the color of the fore. + + The color of the fore. + + + + Gets or sets the texture style. + + The texture style. + + + + + + + + + Hides the current row + + + + + Represents the overrides for list style. + + + + + Represents the paragraph and character styles. + + + + + Represents the style. + + + + + Remove this style from the Word document. + + + + + Clones the , creating duplicate style. + + The object. + + + + Closes this instance. + + + + + Gets or sets the style name. + + The string that represents the style name. + + + + Gets the type of the style. Read-only. + + The member that specifies the type of the style. + + + + Represents the constant style Id. + + + + + + Represents the object. + + + + + + Represents the object. + + + + + + Represents the string to identify style names + + + + + + Represents the string to identify style names + + + + + + Represents the string to identify styleID names + + + + + + Represents the + + + + + + Represents the byte array. + + + + + + Initializes a new instance of the class with the + specified instance. + + The instance. + + + + Applies the base style for current style. + + The string that represents the style name. + + + + Applies the base style for the current style. + + The member that specifies the built-in style. + + + + Check whether the current style is not present in builtin styles + + True, if the style is not present in Builtin style; else, false + + + + Remove this style from the Word document. + + + + + Clones the , creating duplicate style. + + + + + Set the link style to the current style + + The link style name + + + + Applies base style for current style. + + The base style + + + + + Removes the base style. + + + + + Set the name of the style. + + + + + + Update the m_uniqueNameCollection or m_uniqueIdCollection based on style new name. + + + + + Remove the style from m_uniqueNameCollection in document styles. + + True if style removed from m_uniqueNameCollection in document styles else false + + + + Update the m_uniqueNameCollection or m_uniqueIdCollection based on style new name. + + + + + Remove the style from m_uniqueNameCollection in document styles. + + True if style removed from m_uniqueNameCollection in document styles else false + + + + Clones style, creates duplicate copy of the style. + + + The cloned element + + + + Clones the relations. + + The doc. + + + + Determines whether the style has Guid + + Style + guid + + Returns true, if style name contains Guid. + + + + + Compares the properties of current style with specified style. + + + + + Imports the style to destination document. + + The doc. + + + + Compare style with document style collection + + + + + Creates a cloned copy of the style and adds to the destination document. + + The document + The cloned Styles Holder + + + + + + Copy the base style formattings to current paragraph style. + + Destination Word document. + Cloned paragraph style + + + + Gets the unique style name. + + Current style name. + Collection of existing style names. + Unique style name. + + + + Gets style name Id. + + + + + + Creates the built-in paragraph style. + + The member that specifies the built-in style. + The object. + The object. + + + + Creates the built-in character style. + + The member that specifies the built-in style. + The object. + The object. + + + + Creates the built-in table style. + + The built in style. + The document. + + + + + Creates the built-in style. + + The member that specifies the built-in style. + The member that specifies the type of the style. + The object. + The object. + + + + Built into name. + + The built in style. + + + + + Built into name. + + The built in style. + + + + + Converts the style names to BuiltinStyle. + + The string represents the name of the style. + The member that represents built-in style. + + + + Determines whether is list style the specified built in style. + + The built in style. + + true if it specifies list style, set to true. + + + + + Closes this instance. + + + + + Loads Builtin styles to dictionary + + + + + Loads the builtin style ids. + + + + + Compares the properties of current style with the specified one for document comparison + + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Registers child objects in XDSL holder. + + + + + + Restores object references after deserialization + + + The string that represents the name. + The zero-based integer that represents the index. + + + + Represents the table style data (.doc format) + + This property is specific for .doc format + + + + Gets or sets the type code of the style. + + + This property is specific for .doc format + + + + Gets the character format. Read-only. + + The object that specifies the character format for the current style. + + + + Gets or sets the style name. + + The string that represents the style name. + + + + Gets the base style. + + The base style. + + + + Gets or sets the style id. + + The style id. + + + + Gets the type of the style. Read-only. + + The member that specifies the type of the style. + + + + Gets the style as built-in Word style. + + The member that specifies built-in style. + + + + Gets or sets the next style. + + The next style. + + + + Gets or sets the link style name. + Reserved for editor controls (Document Editor, SfRichTextBoxAdv) + + The link style. + + + + Gets or sets the name of the style that is linked to this style. + The default value is null. + + The string that represents the style name. + Character styles can be linked to paragraph and table styles and vice versa. However, you cannot link paragraph style with the table style. + + + Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + Gets the style from document styles collection + Style style = document.Styles.FindByName("ParaStyle") as Style; + Link the styles + style.LinkedStyleName = "CharStyle"; + Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance + Dim document As WordDocument = New WordDocument("Template.docx") + 'Gets the style from document styles collection + Dim style As Style = TryCast(document.Styles.FindByName("ParaStyle"), Style) + 'Link the styles + style.LinkedStyleName = "CharStyle" + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets the styleID Name. + + The styleID Name. + + + + Gets or sets a value indicating whether the current instance is primary style. + + True if the instance is primary style, otherwise false. + + + + Gets or sets a value indicating whether this instance is semi hidden. + + + if this instance is semi hidden, set to true. + + + + + Gets or sets a value indicating whether to unhide when used. + + if unhide when used, set to true. + + + + Gets or sets a value indicating whether this instance is custom. + + if this instance is custom, set to true. + + + + Gets or sets a value indicating whether this instance is default. + + if this instance is default, set to true. + + + + Gets or sets a value indicating whether this instance is ui priority. + Default value is int.minValue. + + + + + Collection of elemments(paragraph or paragraph items) which is linked with this style. + + + + + Represents the built-in styles. + + + + + + + + + + Contains the built-in style names. + + + + + Built-in table style names. + + + + + Loads the style. + + The style. + The b style. + + + + Loads the style. + + The style. + The b style. + + + + Loads the table style Normal Table. + + The style. + + + + Loads the table style Table Grid. + + The style. + + + + Loads the table style Light Shading. + + The style. + The text Color. + The border Color. + The back Color. + + + + Loads the table style Light List. + + The style. + The border Color. + The back Color. + + + + Loads the table style Light Grid. + + The style. + The border Color. + The back Color. + + + + Loads the table style Medium Shading 1. + + The style. + The border Color. + The first Row Back Color. + The back Color. + + + + Loads the table style Medium Shading 2. + + The style. + The back Color. + + + + Loads the table style Medium List 1. + + The style. + The border Color. + The back Color. + + + + Loads the table style Medium List 2. + + The style. + The border Color. + The back Color. + + + + Loads the table style Medium Grid 1. + + The style. + The border Color. + The back Color. + The band Cell Color. + + + + Loads the table style Medium Grid 2. + + The style. + The border Color. + The back Color. + The first Row Color. + The last Column Color. + The band Cell Color. + + + + Loads the table style Medium Grid 3. + + The style. + The back Color. + The first Row Color. + The band Cell Color. + + + + Loads the table style Dark List. + + The style. + The back Color. + The last Row Color. + The band Cell Color. + + + + Loads the table style Colorful Shading. + + The style. + The top Border Color. + The border Color. + The back Color. + The last Row Color. + The band Column Color. + The band Row Color. + + + + Loads the table style Colorful List. + + The style. + The back Color. + The row Color. + The band Column Color. + The band Row Color. + + + + Loads the table style Colorful Grid. + + The style. + The back Color. + The row Color. + The column Color. + The band Color. + + + + Loads the table style Table 3D effects 1. + + The style. + + + + Loads the table style Table 3D effects 2. + + The style. + + + + Loads the table style Table 3D effects 3. + + The style. + + + + Loads the table style Table Classic 1. + + The style. + + + + Loads the table style Table Classic 2. + + The style. + + + + Loads the table style Table Classic 3. + + The style. + + + + Loads the table style Table Classic 4. + + The style. + + + + Loads the table style Table Colorful 1. + + The style. + + + + Loads the table style Table Colorful 2. + + The style. + + + + Loads the table style Table Colorful 3. + + The style. + + + + Loads the table style Table Columns 1. + + The style. + + + + Loads the table style Table Columns 2. + + The style. + + + + Loads the table style Table Columns 3. + + The style. + + + + Loads the table style Table Columns 4. + + The style. + + + + Loads the table style Table Columns 5. + + The style. + + + + Loads the table style Table Contemporary. + + The style. + + + + Loads the table style Table Elegant. + + The style. + + + + Loads the table style Table Grid 1. + + The style. + + + + Loads the table style Table Grid 2. + + The style. + + + + Loads the table style Table Grid 3. + + The style. + + + + Loads the table style Table Grid 4. + + The style. + + + + Loads the table style Table Grid 5. + + The style. + + + + Loads the table style Table Grid 6. + + The style. + + + + Loads the table style Table Grid 7. + + The style. + + + + Loads the table style Table Grid 8. + + The style. + + + + Loads the table style Table List 1. + + The style. + + + + Loads the table style Table List 2. + + The style. + + + + Loads the table style Table List 3. + + The style. + + + + Loads the table style Table List 4. + + The style. + + + + Loads the table style Table List 5. + + The style. + + + + Loads the table style Table List 6. + + The style. + + + + Loads the table style Table List 7. + + The style. + + + + Loads the table style Table List 8. + + The style. + + + + Loads the table style Table Professional. + + The style. + + + + Loads the table style Table Simple 1. + + The style. + + + + Loads the table style Table Simple 2. + + The style. + + + + Loads the table style Table Simple 3. + + The style. + + + + Loads the table style Table Subtle 1. + + The style. + + + + Loads the table style Table Subtle 2. + + The style. + + + + Loads the table style Table Theme. + + The style. + + + + Loads the table style Table Web 1. + + The style. + + + + Loads the table style Table Web 2. + + The style. + + + + Loads the table style Table Web 3. + + The style. + + + + Updates the XML resource and reader. + + + + + Gets the specified resource file as stream. + + The resource file name + Stream of the specified resource file + + + + Determines whether is list style the specified BuiltinStyle. + + The built in style. + + if the list style specified in BuiltinStyle, set to true. + + + + + Initializes a new instance of the class. + + The doc. + + + + Clones the , creating duplicate style. + + The object. + + + + Clones itself. + + Returns cloned object. + + + + Clones the relations. + + The doc. + + + + + Closes this instance. + + + + + Registers child objects in XDSL holder. + + + + + Writes object data as xml attributes. + + The object. + + + + Reads object data from xml attributes. + + The object. + + + + Compares the current list override style with another list override style + + The ListOverrideStyle + + + + Compares the source base list with the destination base list style for the override style. + + Name of the source list style. + Name of the dest list style. + + + + + Gets the type of the style. + + The member that specifies the type of the style. + + + + Gets the override levels. + + The override levels. + + + + Gets or sets the list identifier. + + The list identifier. + + + + Represents the list level override formats. + + + + + + + + + + Initializes a new instance of the class. + + The doc. + + + + Serialize paragraph and character properties. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Clones itself. + + + Returns cloned object. + + + + Closes this instance. + + + + + Compares current list override format with another list override format + + The override level format + + + + Gets or sets a value indicating whether [override start at value]. + + + if it override start at value, set to true. + + + + + Gets or sets a value indicating whether [override formatting]. + + if it override formatting, set to true. + + + + Gets or sets the start at. + + The start at. + + + + Gets the override list level. + + The override list level. + + + + Represents the cell paddings. + + + + + + Specifies the constant value for left key. + + + + + Specifies the constant value for top key. + + + + + Specifies the constant value for bottom key. + + + + + Specifies the constant value for right key. + + + + + + + + + + + + Initializes a new instance of the Paddings class. + + + + + Updates the paddings. + + The padding. + + + + Imports the paddings. + + The base paddings. + + + + Compare the padding properties + + The paddings instance + A value indicating whether the properties are equal. + + + + Returns the default values. + + + The integer that specifies the key. + An object that specifies the default value. + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Occurs on format change. + + + The object. + The integer that represents the property key. + + + + Gets or sets the left padding value for the cell in points. + + The float that specifies left padding value. + + + + Gets or sets the top padding value for the cell in points. + + The float that specifies top padding value. + + + + Gets or sets the right padding value for the cell in points. + + The float that specifies right padding value. + + + + Gets or sets the bottom padding value for the cell in points. + + The float that specifies bottom padding value. + + + + Sets the padding values for all sides of the cell. + + The float that specifies the padding value for left, right, top and bottom. + + + + TableStyleCellProperties is used for representing formatting properties of the table. + + + + + Initializes a new instance of the TableStyleCellProperties class. + + The doc. + + + + Gets the property value. + + The property key. + + + + + Sets the property value. + + The property key. + The value. + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Apply base style + + + + + + Ensures the composites. + + + + + Returns the default values. + + The integer that specifies the key. + An object that specifies the default value. + + + + Gets the composite values. + + The integer that specifies the key. + The object. + + + + Compare the Table style cell properties of two objects and return true if Equal else false. + + + + + Gets/sets the background color. + + + + + Gets/sets the foreground color. + + + + + Gets or sets the texture style. + + The texture style. + + + + Gets the borders. + + + + + Gets the paddings. + + + + + Gets/sets vertical alignment of the cell. + + + + + Gets or sets a boolean value indicating whether to wrap text in cell or not. + + true if it specifies text wrap, set to true. + + + + TableStyleRowProperties is used for representing formatting properties of the table. + + + + + Initializes a new instance of the TableStyleRowProperties class. + + The doc. + + + + Gets as row format. + + + + + + Gets the property value. + + The property key. + + + + + Sets the property value. + + The property key. + The value. + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the default values. + + The integer that specifies the key. + An object that specifies the default value. + + + + Compare the Table style row properties of two objects and return true if Equal else false. + + + + + Gets / sets a boolean value indicating if row is hidden + + + + + Gets / sets a boolean value indicating if row is table header + + + + + Gets / sets a boolean value indicating if there is a break across pages + + + + + Gets / sets the spacing between cells. + + + + + Gets / sets horizontal alignment of the row. + + + + + TableStyleTableProperties is used for representing formatting properties of the table. + + + + + Initializes a new instance of the TableStyleTableProperties class. + + The doc. + + + + Gets as table format. + + + + + + Gets the property value. + + The property key. + + + + + Sets the property value. + + The property key. + The value. + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Apply base style + + + + + + Ensures the composites. + + + + + Returns the default values. + + The integer that specifies the key. + An object that specifies the default value. + + + + Gets the composite values. + + The integer that specifies the key. + The object. + + + + Compare the Table style table properties of two objects and return true if Equal else false. + + + + + Gets/sets the background color. + + + + + Gets/sets the foreground color. + + + + + Gets or sets the texture style. + + The texture style. + + + + Gets the borders. + + + + + Gets the paddings. + + + + + Gets / sets the spacing between cells. + + + + + Gets / sets the table indent. + + + + + Gets / sets the boolean value indicating if table allow page breaks + + + + + Gets / sets horizontal alignment of the table. + + + + + Gets / sets number of columns in column band. + + + + + Gets / sets number of rows in row band. + + + + + Represents the view setup options for the Word document. + + + + + Constant value for Zoom. + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Clones the specified doc. + + The doc. + + + + + Sets the zoom percent. + Validates the Zoom percentage value while parsing the document. + + The value. + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Gets or sets the zoom value in percents. + + The integer specifying the zoom percent. + + + + Gets or sets the zoom type + + The member that specifies the type of the zoom. + + + + Gets or sets the document view mode. + + The member that specifies the type of the document view. + + + + Represents the font or character properties of the text in the Word document. + + The following examples illustrates how to apply various character formats for the text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new text to the paragraph + IWTextRange text = paragraph.AppendText("Text with All caps."); + //All Caps + text.CharacterFormat.AllCaps = true; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Right to left text."); + //Right to left text with bold and italic styles. + text.CharacterFormat.Bidi = true; + text.CharacterFormat.FontNameBidi = "Times New Roman"; + text.CharacterFormat.FontSizeBidi = 14; + text.CharacterFormat.BoldBidi = true; + text.CharacterFormat.ItalicBidi = true; + paragraph = section.AddParagraph(); + //Bold + text = paragraph.AppendText("Bold text."); + text.CharacterFormat.Bold = true; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Text with border."); + //Borders + text.CharacterFormat.Border.BorderType = BorderStyle.DotDash; + text.CharacterFormat.Border.LineWidth = 0.5f; + text.CharacterFormat.Border.Color = Color.Blue; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Character spacing."); + text.CharacterFormat.CharacterSpacing = 1; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Double strike."); + //Double strike + text.CharacterFormat.DoubleStrike = true; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Emboss."); + //Emboss + text.CharacterFormat.Emboss = true; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Engrave."); + //Engrave + text.CharacterFormat.Engrave = true; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Font name."); + //Font name + text.CharacterFormat.FontName = "Algerian"; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Font size."); + //Font size + text.CharacterFormat.FontSize = 10; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Highlight color."); + //Highlight color + text.CharacterFormat.HighlightColor = Color.Gray; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Italic."); + //Italic + text.CharacterFormat.Italic = true; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Outline."); + //Outline + text.CharacterFormat.OutLine = true; + paragraph = section.AddParagraph(); + paragraph.AppendText("Position Property with text"); + text = paragraph.AppendText("raised by 10 points."); + //Position + text.CharacterFormat.Position = 10; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Shadow."); + //Shadow + text.CharacterFormat.Shadow = true; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("SmallCaps."); + //SmallCaps + text.CharacterFormat.SmallCaps = true; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Strikeout."); + //Strikeout + text.CharacterFormat.Strikeout = true; + paragraph = section.AddParagraph(); + paragraph.AppendText("Text"); + text = paragraph.AppendText("Subscript."); + //Subscript + text.CharacterFormat.SubSuperScript = SubSuperScript.SubScript; + paragraph = section.AddParagraph(); + paragraph.AppendText("Text"); + text = paragraph.AppendText("Superscript."); + //Superscript + text.CharacterFormat.SubSuperScript = SubSuperScript.SuperScript; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("TextBackgroundColor."); + //TextBackgroundColor + text.CharacterFormat.TextBackgroundColor = Color.LightSkyBlue; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("TextColor."); + //TextColor + text.CharacterFormat.TextColor = Color.Green; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("UnderlineStyle."); + //UnderlineStyle + text.CharacterFormat.UnderlineStyle = UnderlineStyle.Dash; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new text to the paragraph + Dim text As IWTextRange = paragraph.AppendText("Text with All caps.") + 'All Caps + text.CharacterFormat.AllCaps = True + paragraph = section.AddParagraph() + text = paragraph.AppendText("Right to left text.") + 'Right to left text with bold and italic styles. + text.CharacterFormat.Bidi = True + text.CharacterFormat.FontNameBidi = "Times New Roman" + text.CharacterFormat.FontSizeBidi = 14 + text.CharacterFormat.BoldBidi = True + text.CharacterFormat.ItalicBidi = True + paragraph = section.AddParagraph() + 'Bold + text = paragraph.AppendText("Bold text.") + text.CharacterFormat.Bold = True + paragraph = section.AddParagraph() + text = paragraph.AppendText("Text with border.") + 'Borders + text.CharacterFormat.Border.BorderType = BorderStyle.DotDash + text.CharacterFormat.Border.LineWidth = 0.5F + text.CharacterFormat.Border.Color = Color.Blue + paragraph = section.AddParagraph() + text = paragraph.AppendText("Character spacing.") + text.CharacterFormat.CharacterSpacing = 1 + paragraph = section.AddParagraph() + text = paragraph.AppendText("Double strike.") + 'Double strike + text.CharacterFormat.DoubleStrike = True + paragraph = section.AddParagraph() + text = paragraph.AppendText("Emboss.") + 'Emboss + text.CharacterFormat.Emboss = True + paragraph = section.AddParagraph() + text = paragraph.AppendText("Engrave.") + 'Engrave + text.CharacterFormat.Engrave = True + paragraph = section.AddParagraph() + text = paragraph.AppendText("Font name.") + 'Font name + text.CharacterFormat.FontName = "Algerian" + paragraph = section.AddParagraph() + text = paragraph.AppendText("Font size.") + 'Font size + text.CharacterFormat.FontSize = 10 + paragraph = section.AddParagraph() + text = paragraph.AppendText("Highlight color.") + 'Highlight color + text.CharacterFormat.HighlightColor = Color.Gray + paragraph = section.AddParagraph() + text = paragraph.AppendText("Italic.") + 'Italic + text.CharacterFormat.Italic = True + paragraph = section.AddParagraph() + text = paragraph.AppendText("Outline.") + 'Outline + text.CharacterFormat.OutLine = True + paragraph = section.AddParagraph() + paragraph.AppendText("Position Property with text") + text = paragraph.AppendText("raised by 10 points.") + 'Position + text.CharacterFormat.Position = 10 + paragraph = section.AddParagraph() + text = paragraph.AppendText("Shadow.") + 'Shadow + text.CharacterFormat.Shadow = True + paragraph = section.AddParagraph() + text = paragraph.AppendText("SmallCaps.") + 'SmallCaps + text.CharacterFormat.SmallCaps = True + paragraph = section.AddParagraph() + text = paragraph.AppendText("Strikeout.") + 'Strikeout + text.CharacterFormat.Strikeout = True + paragraph = section.AddParagraph() + paragraph.AppendText("Text") + text = paragraph.AppendText("Subscript.") + 'Subscript + text.CharacterFormat.SubSuperScript = SubSuperScript.SubScript + paragraph = section.AddParagraph() + paragraph.AppendText("Text") + text = paragraph.AppendText("Superscript.") + 'Superscript + text.CharacterFormat.SubSuperScript = SubSuperScript.SuperScript + paragraph = section.AddParagraph() + text = paragraph.AppendText("TextBackgroundColor.") + 'TextBackgroundColor + text.CharacterFormat.TextBackgroundColor = Color.LightSkyBlue + paragraph = section.AddParagraph() + text = paragraph.AppendText("TextColor.") + 'TextColor + text.CharacterFormat.TextColor = Color.Green + paragraph = section.AddParagraph() + text = paragraph.AppendText("UnderlineStyle.") + 'UnderlineStyle + text.CharacterFormat.UnderlineStyle = UnderlineStyle.Dash + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + Keys. + + + + + Member that specifies the character style name. + + + + + + + + + + + + + + + + Default constructor + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Initializes a new instance of the WCharacterFormat class. + + + + + + + + Removes the initialized font names. + + + + + Determines whether the specified property is available. Search includes base formats. + + The property key. + + true if has value; otherwise, false. + + + + + Reserved for internal use. This method is implemented for document editor internal use only. + + + + + Determines whether the specified property is available. Search includes base formats. + This method is implemented for document editor internal use only. + + The property key. + + true if has value; otherwise, false. + + + + + Gets the font style. + + + + + + Specifies the font styles for the revised text. + + + + + + + Checks whether need to preserve insertion markups in the PDF. + + + + + + + Checks whether need to preserve deleted markups in the PDF. + + + + + + + Determines whether line break is next to this paragraph item. + + + if it specifies next element is line break, set to true. + + + + + Sets the line break next. + + + + + + Gets the property value. + + The prop key. + + + + + Gets the boolean property value. + + The prop key. + + + + + Sets the property value. + + The property key. + The value. + + + + Determines whether the specified key is boolean property. + + The key. + + true if the specified key is boolean property; otherwise, false. + + + + + Defines whether to serialize all data. + + + + + + Gets the complex bool value. + + The option key. + + + + + Gets the base format. + + The format. + + + + + Removes the format changes. + + + + + + + + + + Checks whether character format sprms have cross reference + + + + + + Gets the char style. + + The name. + + + + + Gets the name of the font. + + The font key. + + + + + Get the font name bidi to render + + + + + + + Get the font name East Asia to render + + Represent a CharacterRangeType. + Returns a eastAsia font name to draw the text. + + + + Get the font name of Complex script to render + + Represent a CharacterRangeType. + Returns a Complex script font name to draw the text. + + + + Gets a valid font name from theme with theme font name. + + Represent the theme font name. + Represent a CharacterRangeType. + + + + + Update a font name from theme, based on FontHintType. + + + + + + + + + Gets the font name from a theme part for the specified font script. + + + + + Determines whether the specified key contains value. + + The key. + + true if the specified key contains value; otherwise, false. + + + + + Sets the default properties. + + + + + Registers child objects in XDSL holder. + + + + + + Returns the default values. + + + The integer that specifies the key. + An object that specifies the default value. + + + + Gets the composite values. + + + The integer that specifies the key. + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Writes object data as inside xml element. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + The value indicating the presence of xml content. + + + + Imports the container. + + The object. + + + + Imports the XML properties. + + The format. + + + + Imports the members. + + + The object. + + + + Clears the character formats applied + + + + + Occurs on format change. + + + The object. + The integer that represents the property key. + + + + Apply base style + + + + + + Releases all resources used by the object. + + This API is used for internal purpose to dispose the resources used by . + + + + Closes this instance. + + + + + + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Gets the Single Property Modifier Record option value for the specified property. + + + The integer that represents the property key. + The integer that represents the SPRM value. + + + + Writes the complex attribute. + + The writer. + The property key. + The XDLS constant string. + + + + Gets the font hint. + + + + + + Returns font from Hint + + + + + Merges the format. + + The destination format. + + + + Updates the formattings. + + The properties. + + + + Clones the relations. + + + + + Creates a duplicate copy of character format + + The reference of the newly created object. + This API is used for internal purpose to clone . + + + + Clones the relations for referred character style. + + + + + Updates the formatting. + + The doc. + + + + Updates the source format. + + The dest base format. + + + + Updates the source formatting. + + The format. + + + + To check whether the font name is theme font or not. + + Specify the font name. + Returns true if the font name is represent a theme font. + + + + Update the document defaults values to property hash. + + + + + + + Gets the BaseCharacter Format has FontInfor related keys or not + + + + + + + Compares current character format with another character format + + The character format + + + + Gets the character format text for Word comparison + + + + + + + Sets the Kern font size + + Kern font size + + + + Sets the character position + + The character position. + + + + Sets the scaling value + + The scaling value. + + + + Sets the Character spacing + + The character spacing. + + + + Gets or sets a value indicating whether [m_cancel on change]. + + + true if [m_cancel on change]; otherwise, false. + + + + + Flag which defines whether character format passed test on cross + reference. + + + + + Represent the reduced font size + + + + + Represent the font name used for emoji + + + + + Gets or sets the value indicates whether this format is created in DOC Reading + + + + + Gets or sets the for the text. + + + + + Gets or sets font name of the text. + + The string that specifies the font name. + + + + + Gets and set the clear value + get the type of the BreakClear and set the Type for BreakClear + Clear. + + + + Gets or sets the font size of the text measured in points. + + The float that specifies the font size. + + + + Holds the shadow properties of the characterformat + + + + + Holds the reflection properties of the characterformat + + + + + Holds the GlowFormat properties of the characterformat + + + + + Holds the threeDeffect properties of the characterformat + + + + + Holds the lineFormat properties of the characterformat + + + + + Gets or sets the scaling. + + + The scaling. + + + + + Gets or sets a value indicating whether the contents of the text shall be + treated as complex script text regardless of their Unicode character values when determining + the formatting for the text. + + True if to consider as complex script; otherwise, false. + + + + Gets or sets a value indicating whether the text is formatted as bold. + + True if to format the text with bold style; otherwise, false. + + + + Gets or sets a value indicating whether the text is formatted as italic. + + True if to format the text with italic style; otherwise, false. + + + + Gets or sets a value indicating whether the text is formatted with strikethrough. + + True if to format the text with strike through; otherwise, false. + + + + Gets or sets a value indicating whether the text is formatted with double strikethrough effect. + + True if to format the text with double strike through; otherwise, false. + The double strike effect is not supported by Essential PDF. + + + + Gets or sets the underline style for the text. + + The member that specifies the underline style. + Essential PDF supports only single underline style. + + + + Holds the fillformat properties of the characterformat + + + + + Gets or sets the for the text. + + + + + Gets or sets the text background color. + + The text background color is not supported by Essential PDF. + + + + Gets or sets the subscript or superscript for the text. + + The member that specifies the type of SubSuperScript. + + + + Gets or sets space width between the characters measured in points. + + The float that specifies the width. + + + + Gets or sets the vertical position of text measured in points. + + The float that specifies the vertical position. + + + + Gets or sets line break after. + + + + + Gets or sets a value indicating whether the text is formatted with a shadow. + + True if the text has shadow; otherwise, false. + + + + Gets or sets a value indicating whether the text is embossed. + + True if the text is embossed; otherwise, false. + + + + Gets or sets a value indicating whether the text is engraved. + + True if the text is engraved; otherwise, false. + + + + Gets or sets a value indicating whether the text is formatted as hidden. + + True if the text is hidden; otherwise, false. + + + + Gets or sets a value indicating whether the text characters are displayed as their capital letter equivalents. + + True if the text to be displayed as capital letters; otherwise, false. + + + + Gets or sets a value indicating whether the text characters are displayed as their capital letter equivalents, + in a font size that is smaller than the actual font size that is specified for this text. + + True if the text to be displayed as capital letters with smaller font size; otherwise, false. + + + + Gets or sets the value for SpecVanish property + + + + + Gets or sets the value indicating directional override of the text. + + + + + Gets or sets a value indicating whether the text is formatted with right-to-left layout. + + True if the text is right-to-left; otherwise, false. + + + + Gets or sets a value indicating whether the text is formatted bold when displayed right-to-left or determined to be complex script. + + True if to format the right-to-left text with bold style; otherwise, false. + + + + Gets or sets a value indicating whether the text is italicized when displayed right-to-left or determined to be complex script. + + True if to format the right-to-left text with italic style; otherwise, false. + + + + Gets or sets the size of the text(in points), for text that is displayed right-to-left or text that is a complex script. + + + + + Gets or sets the font name for text that is displayed right-to-left or text that is a complex script. + + + + + Gets or sets highlight of the text. + + + Microsoft Word application supports only 15 valid colors for highlighting the text. + To highlight text with Microsoft Word compatible color in the generated Word document, use the known color object or new color object with same ARGB value based on the following highlight color mapping. + Yellow Color.Yellow (#FFFFFF00) + BrightGreen Color.Green (#FF008000) + Turquoise Color.Cyan (#FF00FFFF) + Pink Color.Magenta (#FFFF00FF) + Blue Color.Blue (#FF0000FF) + Red Color.Red (#FFFF0000) + DarkBlue Color.DarkBlue (#FF00008B) + Teal Color.DarkCyan (#FF008B8B) + Green Color.DarkGreen (#FF006400) + Violet Color.DarkMagenta (#FF8B008B) + DarkRed Color.DarkRed (#FF8B0000) + DarkYellow Color.Gold (#FFFFD700) + Gray50 Color.DarkGray (#FFA9A9A9) + Gray25 Color.LightGray (#FFD3D3D3) + Black Color.Black (#FF000000) + No Color Color.Empty + + + + + Gets the for the text. + + + + + Gets or sets the emphasis style for the text + + + + + Gets or sets the animated text effect + + + + + Gets or sets a value indicating whether the text is displayed based on docGrid character settings + + + + + Gets or sets a value indicating whether the text is hidden in Web layout view of the document + + + + + Gets or sets the font used for Latin text (characters with character codes + from 0 through 127). + + + + + Gets or sets East Asian font name. + + + + + Gets or sets font used for characters with character codes from 128 through 255. + + + + + Get/set IdctHint property. + + + + + Gets or sets the locale identifier(language) of the formatted characters. + + The short value that specifies the ASCII locale id. + + + + Gets or sets the the locale identifier (language) of the formatted Asian characters. + + The short value that specifies the far east locale id. + + + + Gets or sets the locale identifier(language) of the formatted right-to-left or complex script characters. + + The short value that specifies the Bidi locale id. + + The following example illustrates how to set right-to-left or complex script characters for text. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new text + IWTextRange text = paragraph.AppendText("Text to describe LocaleIdBidi text"); + //Set right to left layout for text + text.CharacterFormat.Bidi = true; + //Set language identifier for right to left or complex script characters + text.CharacterFormat.LocaleIdBidi = (short)LocaleIDs.he_IL; + paragraph = section.AddParagraph(); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new text + Dim text As IWTextRange = paragraph.AppendText("Text to describe LocaleIdBidi text") + 'Set right to left layout for text + text.CharacterFormat.Bidi = True + 'Set language identifier for right to left or complex script characters + text.CharacterFormat.LocaleIdBidi = CType(LocaleIDs.he_IL, Short) + paragraph = section.AddParagraph() + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + + + + + + + + + + + + + + + + Gets or sets a value indicating whether only the outline contour of the characters in the text is rendered, + with the inside of each character left empty. + + True if to have the outline effect; otherwise, false. + + + + Gets or sets special style. + + + + + Gets the character style name that is used to format the contents of the paragraph. + + The string that specifies the character style name. + + + + Gets the character style name that is used to format the contents of the paragraph. + + The string that specifies the character style name. + + + + Gets a value indicating whether this instance is inserted change. + + + if this instance is inserted change, set to true. + + + + + Gets a value indicating whether this instance is deleted change. + + + if this instance is deleted change, set to true. + + + + + Gets a value indicating whether this instance has changed format. + + + if this instance has changed format, set to true. + + + + + Gets or sets the SPRMS. + + The SPRMS. + + Gets or sets the index of the list picture. + + The index of the list picture. + + + + + + + + + Gets the character style. + + The character style. + + + + Gets or sets a value indicating whether field should be vanished. + + true if field vanish; otherwise, false. + + + + + Gets or sets the table style character format. + + The table style character format. + + + + Gets or sets the name of the move revision. + + + + + Gets or sets a value indicating whether to use contextual alternates. + + + True if to use contextual alternates; otherwise, false. + + + The following example illustrates how to set contextual alternates for text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new text + IWTextRange text = paragraph.AppendText("Text to describe contextual alternates"); + text.CharacterFormat.FontName = "Segoe Script"; + //Set contextual alternates + text.CharacterFormat.UseContextualAlternates = true; + paragraph = section.AddParagraph(); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new text + Dim text As IWTextRange = paragraph.AppendText("Text to describe contextual alternates") + text.CharacterFormat.FontName = "Segoe Script" + 'Set contextual alternates + text.CharacterFormat.UseContextualAlternates = True + paragraph = section.AddParagraph() + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the ligatures type for the text. + + The member that specifies the type of ligatures. + + The following example illustrates how to set ligature types for text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new text + IWTextRange text = paragraph.AppendText("Text to describe discretional ligatures"); + //Set ligature type + text.CharacterFormat.Ligatures = LigatureType.Discretional; + text.CharacterFormat.FontName = "Arial"; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Text to describe contextual ligatures"); + text.CharacterFormat.Ligatures = LigatureType.Contextual; + text.CharacterFormat.FontName = "Arial"; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Text to describe historical ligatures"); + text.CharacterFormat.Ligatures = LigatureType.Historical; + text.CharacterFormat.FontName = "Arial"; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new text + Dim text As IWTextRange = paragraph.AppendText("Text to describe discretional ligatures") + 'Set ligature type as Discretional + text.CharacterFormat.Ligatures = LigatureType.Discretional + text.CharacterFormat.FontName = "Arial" + paragraph = section.AddParagraph() + text = paragraph.AppendText("Text to describe contextual ligatures") + 'Set ligature type as Contextual + text.CharacterFormat.Ligatures = LigatureType.Contextual + text.CharacterFormat.FontName = "Arial" + paragraph = section.AddParagraph() + text = paragraph.AppendText("Text to describe historical ligatures") + 'Set ligature type as Historical + text.CharacterFormat.Ligatures = LigatureType.Historical + text.CharacterFormat.FontName = "Arial" + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets type of number form(height of the numbers present in the text) for the text. + + The member that specifies the type of number form. + + The following example illustrates how to set number form type for text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new text + IWTextRange text = paragraph.AppendText("Numbers to describe oldstyle number form 0123456789"); + text.CharacterFormat.FontName = "Calibri"; + //Set number style + text.CharacterFormat.NumberForm = NumberFormType.OldStyle; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Numbers to describe lining number form 0123456789"); + text.CharacterFormat.FontName = "Calibri"; + //Set number style + text.CharacterFormat.NumberForm = NumberFormType.Lining; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new text + Dim text As IWTextRange = paragraph.AppendText("Numbers to describe oldstyle number form 0123456789") + text.CharacterFormat.FontName = "Calibri" + 'Set number style + text.CharacterFormat.NumberForm = NumberFormType.OldStyle + paragraph = section.AddParagraph() + text = paragraph.AppendText("Numbers to describe lining number form 0123456789") + text.CharacterFormat.FontName = "Calibri" + 'Set number style + text.CharacterFormat.NumberForm = NumberFormType.Lining + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the type of number spacing(spacing between numbers in text) for the text. + + The member that specifies the type of number spacing. + + The following example illustrates how to set number spacing for text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new text + IWTextRange text = paragraph.AppendText("Numbers to describe tabular number spacing 0123456789"); + text.CharacterFormat.FontName = "Calibri"; + //Set number spacing + text.CharacterFormat.NumberSpacing = NumberSpacingType.Tabular; + paragraph = section.AddParagraph(); + text = paragraph.AppendText("Numbers to describe proportional number spacing 0123456789"); + text.CharacterFormat.FontName = "Calibri"; + //Set number spacing + text.CharacterFormat.NumberSpacing = NumberSpacingType.Proportional; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new text + Dim text As IWTextRange = paragraph.AppendText("Numbers to describe tabular number spacing 0123456789") + text.CharacterFormat.FontName = "Calibri" + 'Set number spacing + text.CharacterFormat.NumberSpacing = NumberSpacingType.Tabular + paragraph = section.AddParagraph() + text = paragraph.AppendText("Numbers to describe proportional number spacing 0123456789") + text.CharacterFormat.FontName = "Calibri" + 'Set number spacing + text.CharacterFormat.NumberSpacing = NumberSpacingType.Proportional + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the stylistic set type(defines the look of the text, based on the font used) for the text. + + The member that specifies the type of stylistic set. + + The following example illustrates how to set number spacing for text. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new text + IWTextRange text = paragraph.AppendText("Text to describe stylistic sets"); + text.CharacterFormat.FontName = "Gabriola"; + //Set stylistic set + text.CharacterFormat.StylisticSet = StylisticSetType.StylisticSet06; + paragraph = section.AddParagraph(); + //Add new text + text = paragraph.AppendText("Text to describe stylistic sets"); + text.CharacterFormat.FontName = "Gabriola"; + //Set stylistic set + text.CharacterFormat.StylisticSet = StylisticSetType.StylisticSet15; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new text + Dim text As IWTextRange = paragraph.AppendText("Text to describe stylistic sets") + text.CharacterFormat.FontName = "Gabriola" + 'Set stylistic set + text.CharacterFormat.StylisticSet = StylisticSetType.StylisticSet06 + paragraph = section.AddParagraph() + 'Add new text + text = paragraph.AppendText("Text to describe stylistic sets") + text.CharacterFormat.FontName = "Gabriola" + 'Set stylistic set + text.CharacterFormat.StylisticSet = StylisticSetType.StylisticSet15 + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + Returns the list of keys used for revisions + + + + + East asian layout structure + + + + + Determines whether [has combine brackets type]. + + + + + + Updates the cfe layout. + + The ufel. + The iFElayout identifier. + + + + Represent a comment properties. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Text position of the comment. + + + + + Initializes a new instance of the class. + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Creates a new object that is a copy of the current instance. + + + A new object that is a copy of this instance. + + + + + + + + + + + + + Determines whether the comment exists or not. + + + + + + + + + + + + + + + Gets or sets the user initials. + + The user initials. + + + + Gets or sets the user. + + The user. + + + + + + + + + + + + + + + + + + + Gets/sets the text position of the comment. + + The position. + + + + + + + + + Class which provides WCommentFormat class with random tag bookmark id. + + + + + Contains changed IDs and values they where change on. + + + + + Contains the comment ids, which can't be changed + + + + + Contains the old id(s) and the new id(s) + + + + + Gets the id for comment marker. + + The current id. + if set to true create new id. + + + + + Determines whether the new id is valid. + + The new id. + + if it specifies a valid id, set to true. + + + + + Gets the marker id. + + The current id. + if it creates new id, set to true. + + + + + Gets the instance of Random class. + + The instance. + + + + Gets the collection of ids and new ids they were changed on. + + + + + Gets the collection of ids and new ids they were changed on. + + + + + Gets the collection of ids and new ids they were changed on. + + + + + Represents the list formatting options. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Currently used list style + + + + + Current level number + + + + + Initializes a new instance of the class with the specified + instance. + + The owner entity of the current list format. + + + + Initializes a new instance of the class with the specified + instance along with paragraph style. + + instance. + The owner paragraph style for the current list format. + + + + + + + + + + + Initializes a new instance of the class. + + The doc. + The owner. + + + + Returns the default values. + + + The integer that specifies the key. + An object that specifies the default value. + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Update the style and type key to current list format. + + List style + + + + Checks whether the same list style already added to destination document. + + Destination Word document + Current list style + New list style + + + + + Adds the List Style to destination Word document. + + Destination docuement + New Style + + + + Clones the list relations. + + The doc. + + + + Imports list format from source to destination. + + + + + + + Increase the current level indent. + + List level must be less 8 and greater then 0 + + + + Decrease the current level indent. + + List level must be less 8 and greater then 0 + + + + Continues the list numbering from the previous list. + + + + + Applies the specified style. + + A String that represents the name of the style to apply. + + + + Apply default bullet style for current list's owner paragraph. + + + + + Apply default numbered style for current list's owner paragraph. + + + + + Removes the list from current paragraph. + + + + + Set the ListType for the Current ListFormat + + + + + + To Clears the list format applied + + + + + Creates the default list styles based on its type. + + + + + Compares the list format with current list format + + The List format + + + + Gets or sets current list nesting level. + + List level must be less 8 and greater then 0 + + + + Gets type of the list format. Read-only. + + + + + Gets or sets a value indicating whether numbering of the list must restart from previous list. + + True, if the list number must restart from previous list; otherwise, false. + + + + Gets the name of custom style. Read-only. + + + + + Gets current custom list style. Read-only. + + + + + Gets the current custom list level. + + + + + Gets or sets the name of the LFO style. + + The name of the LFO style. + + + + Gets the owner paragraph. + + The owner paragraph. + + + + Gets/sets IsListRemoved flag. + + + + + Gets/sets the value which specifies whether this is empty list. + Such situation occurs when style (which doesn't have) + list format inherits style which have list. + + The is empty list. + + + + Represents the formatting options of the paragraph in the Word document. + + The following example illustrates how to apply various paragraph formatting options. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new text to the paragraph + paragraph.AppendText("Paragraphs are the basic elements of the Word document. It can contain text and images. " + + "Paragraphs are the basic elements of the Word document. It can contain text and images. Paragraphs are the basic elements of the Word document. It can contain text and images."); + //After spacing, back color, borders, contextual spacing + paragraph.ParagraphFormat.AfterSpacing = 18f; + paragraph.ParagraphFormat.BackColor = Color.LightGray; + paragraph.ParagraphFormat.Bidi = true; + paragraph.ParagraphFormat.Borders.BorderType = BorderStyle.Dot; + paragraph.ParagraphFormat.Borders.Color = Color.Maroon; + paragraph.ParagraphFormat.Borders.LineWidth = 0.5f; + paragraph.ParagraphFormat.ContextualSpacing = true; + paragraph = section.AddParagraph(); + paragraph.AppendText("Paragraphs are the basic elements of the Word document. It can contain text and images. " + + "Paragraphs are the basic elements of the Word document. It can contain text and images. Paragraphs are the basic elements of the Word document. It can contain text and images."); + //column break, firstline indent, alignment + paragraph.ParagraphFormat.ColumnBreakAfter = true; + paragraph.ParagraphFormat.FirstLineIndent = 12; + paragraph.ParagraphFormat.HorizontalAlignment = HorizontalAlignment.JustifyHigh; + paragraph = section.AddParagraph(); + paragraph.AppendText("Paragraphs are the basic elements of the Word document. It can contain text and images. " + + "Paragraphs are the basic elements of the Word document. It can contain text and images. Paragraphs are the basic elements of the Word document. It can contain text and images."); + //Hanging indent, keep, left indent, line spacing, keep follow + paragraph.ParagraphFormat.FirstLineIndent = -12; + paragraph.ParagraphFormat.Keep = true; + paragraph.ParagraphFormat.LeftIndent = 10; + paragraph.ParagraphFormat.LineSpacing = 2; + paragraph.ParagraphFormat.LineSpacingRule = LineSpacingRule.AtLeast; + paragraph.ParagraphFormat.KeepFollow = true; + paragraph = section.AddParagraph(); + paragraph.AppendText("Paragraphs are the basic elements of the Word document. It can contain text and images. " + + "Paragraphs are the basic elements of the Word document. It can contain text and images. Paragraphs are the basic elements of the Word document. It can contain text and images."); + //Mirror indent, outline level, page break + paragraph.ParagraphFormat.MirrorIndents = true; + paragraph.ParagraphFormat.OutlineLevel = OutlineLevel.Level2; + paragraph.ParagraphFormat.PageBreakAfter = true; + paragraph = section.AddParagraph(); + paragraph.AppendText("Paragraphs are the basic elements of the Word document. It can contain text and images. " + + "Paragraphs are the basic elements of the Word document. It can contain text and images. Paragraphs are the basic elements of the Word document. It can contain text and images."); + //Right indent, auto spacing + paragraph.ParagraphFormat.RightIndent = 10; + paragraph.ParagraphFormat.SpaceAfterAuto = true; + paragraph.ParagraphFormat.SpaceBeforeAuto = true; + paragraph = section.AddParagraph(); + paragraph.AppendText("Paragraphs are the basic elements of the Word document. It can contain text and images. " + + "Paragraphs are the basic elements of the Word document. It can contain text and images. Paragraphs are the basic elements of the Word document. It can contain text and images."); + //Auto hyphens, window control, before spacing, page break + paragraph.ParagraphFormat.SuppressAutoHyphens = true; + paragraph.ParagraphFormat.WidowControl = true; + paragraph.ParagraphFormat.BeforeSpacing = 18f; + paragraph.ParagraphFormat.PageBreakBefore = true; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new text to the paragraph + paragraph.AppendText("Paragraphs are the basic elements of the Word document. It can contain text and images. " & "Paragraphs are the basic elements of the Word document. It can contain text and images. Paragraphs are the basic elements of the Word document. It can contain text and images.") + 'After spacing, back color, borders, contextual spacing + paragraph.ParagraphFormat.AfterSpacing = 18.0F + paragraph.ParagraphFormat.BackColor = Color.LightGray + paragraph.ParagraphFormat.Bidi = True + paragraph.ParagraphFormat.Borders.BorderType = BorderStyle.Dot + paragraph.ParagraphFormat.Borders.Color = Color.Maroon + paragraph.ParagraphFormat.Borders.LineWidth = 0.5F + paragraph.ParagraphFormat.ContextualSpacing = True + paragraph = section.AddParagraph() + paragraph.AppendText("Paragraphs are the basic elements of the Word document. It can contain text and images. " & "Paragraphs are the basic elements of the Word document. It can contain text and images. Paragraphs are the basic elements of the Word document. It can contain text and images.") + 'column break, firstline indent, alignment + paragraph.ParagraphFormat.ColumnBreakAfter = True + paragraph.ParagraphFormat.FirstLineIndent = 12 + paragraph.ParagraphFormat.HorizontalAlignment = HorizontalAlignment.JustifyHigh + paragraph = section.AddParagraph() + paragraph.AppendText("Paragraphs are the basic elements of the Word document. It can contain text and images. " & "Paragraphs are the basic elements of the Word document. It can contain text and images. Paragraphs are the basic elements of the Word document. It can contain text and images.") + 'Hanging indent, keep, left indent, line spacing, keep follow + paragraph.ParagraphFormat.FirstLineIndent = -12 + paragraph.ParagraphFormat.Keep = True + paragraph.ParagraphFormat.LeftIndent = 10 + paragraph.ParagraphFormat.LineSpacing = 2 + paragraph.ParagraphFormat.LineSpacingRule = LineSpacingRule.AtLeast + paragraph.ParagraphFormat.KeepFollow = True + paragraph = section.AddParagraph() + paragraph.AppendText("Paragraphs are the basic elements of the Word document. It can contain text and images. " & "Paragraphs are the basic elements of the Word document. It can contain text and images. Paragraphs are the basic elements of the Word document. It can contain text and images.") + 'Mirror indent, outline level, page break + paragraph.ParagraphFormat.MirrorIndents = True + paragraph.ParagraphFormat.OutlineLevel = OutlineLevel.Level2 + paragraph.ParagraphFormat.PageBreakAfter = True + paragraph = section.AddParagraph() + paragraph.AppendText("Paragraphs are the basic elements of the Word document. It can contain text and images. " & "Paragraphs are the basic elements of the Word document. It can contain text and images. Paragraphs are the basic elements of the Word document. It can contain text and images.") + 'Right indent, auto spacing + paragraph.ParagraphFormat.RightIndent = 10 + paragraph.ParagraphFormat.SpaceAfterAuto = True + paragraph.ParagraphFormat.SpaceBeforeAuto = True + paragraph = section.AddParagraph() + paragraph.AppendText("Paragraphs are the basic elements of the Word document. It can contain text and images. " & "Paragraphs are the basic elements of the Word document. It can contain text and images. Paragraphs are the basic elements of the Word document. It can contain text and images.") + 'Auto hyphens, window control, before spacing, page break + paragraph.ParagraphFormat.SuppressAutoHyphens = True + paragraph.ParagraphFormat.WidowControl = True + paragraph.ParagraphFormat.BeforeSpacing = 18.0F + paragraph.ParagraphFormat.PageBreakBefore = True + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + + Determine whether the paragraph format is have frame properties + + + + + + Determine whether the frame is have Horizontal alignment + + + + + + Determine whether the frame is have Vertical alignment + + + + + + Gets the property value. + + The prop key. + + + + + Determines whether the specified option key contains SPRM. + + The option key. + + true if the specified option key contains SPRM; otherwise, false. + + + + + Gets the spacing values of paragraph format from the MS Word specific inheritance hierarchy. + + The key to get the value. + The float that specifies the spacing value. + + + + Gets the Paragraph format from the MS Word specific inheritance hierarchy. + + + + + + + Sets the property value. + + The prop key. + The value. + + + + Changes the tabs. + + The tabs. + + + + Creates the new collection of tabs. + + + + + Determines whether the specified key contains value. + + The key. + + true if the specified key contains value; otherwise, false. + + + + + Determine whether the Current paragraph is in Same Frame of the previous paragraph + + + + + + + Determine whether the Next paragraph is in Same Frame of the current paragraph + + + + + + + Determine whether the current paragraph is having a same frame properties + + + + + + + Sets the default properties. + + + + + Checks whether the style is built-in heading style. + + The style name. + True if the style is built-in heading style; otherwise, false. + + + + Gests the corresponding outlinelevel value for built-in heading style. + + The style name. + The outlinelevel value for built-in heading style. + + + + Ensures the composites. + + + + + Returns the default values. + + + The integer that specifies the key. + An object that specifies the default value. + + + + Gets the composite values. + + + The integer that specifies the key. + The object. + + + + Imports the container. + + The object. + + + + Imports the XML properties. + + The format. + + + + Imports the members. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Writes object data as inside xml element. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + The value indicating the presence of xml content. + + + + Registers child objects in XDSL holder. + + + + + + + + + + + Removes the positioning. + + + + + Apply base style + + + + + + Closes this instance. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Determines whether the specified property is available. Search includes base formats. + + The property key. + + true if has value; otherwise, false. + + + + + Identify the paragraph contain any side of border + + true if ParagraphFormat contains the any type of border, else flase + + + + Gets the alignment for document rendering. + + + + + + + Determines whether this instance has shading. + + + if this instance has shading, set to true. + + + + + Gets the Single Property Modifier Record option value for the specified property. + + + The integer that represents the property key. + The integer that represents the SPRM value. + + + + Updates the justification. + + + + + Updates the BiDi value + + + + + + Updates the tabs. + + + + + Updates the source format. + + The dest base format. + + + + Updates the source formatting. + + The format. + + + + Compares the list format. + + The format. + + + + Updates the nested paragraph formatting. + + The format. + + + + Determines whether [is value defined] [the specified key]. + + The key. + + true if [is value defined] [the specified key]; otherwise, false. + + + + + Removes the value. + + The key. + + + + Clears the paragraph formatting applied + + + + + Sets the Frame Horizontal Distance From Text + + Horizontal distance from text + + + + Sets the Frame Vertical Distance From Text + + The vertical distance from text. + + + + Sets the Frame postion 'Y' value + + The frame y position value. + + + + Sets the Frame postion 'X' value + + The frame x position value. + + + + Sets the Frame width + + The frame width. + + + + Compares the current paragraph format with another paragraph format + + The paragraph format + + + + Gets or sets a value indicating whether [m_cancel on change]. + + + true if [m_cancel on change]; otherwise, false. + + + + + Gets or sets a value indicating whether to break lines on word or character level. By default line breaks on word level. + + + true if line breaks on word level; otherwise, false. + + + + + Gets or sets the value that represents the Absolute Tab of paragraph. + + + + + Gets or sets the value that represents the paragraph first line indent in character units. + + + + + Gets or sets the value that represents the paragraph left indent in character units. + + + + + Gets or sets the value that represents the paragraph right indent in character units. + + + + + Gets or sets a value indicating whether the paragraph is right-to-left. + + True if the paragraph is right to left; otherwise, false. + + + + Gets the that represents the tabs for the specified paragraph. Read-only. + + + + + Gets or sets a value indicating whether all lines in the paragraph are to remain on the same page. + + True if all lines of the paragraph to remain on the same page; otherwise, false. + + + + Gets or sets a value indicating whether the paragraph remains on the same page as the paragraph that follows it. + + True if the current paragraph to remain on the same page as the paragraph that follows it; otherwise, false. + + + + Gets or sets a value indicating whether there is a page break before the paragraph. + + True if a page break is forced before the paragraph; otherwise, false. + + + + Gets or sets a value indicating whether there is page break after the paragraph. + + True if a page break is forced after the paragraph; otherwise, false. + + + + Gets or sets a value indicating whether the first and last lines of the paragraph are to remain on the + same page as the rest of the paragraph when Word repaginates the document. + + True if the first and last lines of the paragraph are to remain on the same page; otherwise, false. + + + + True, if space is automatically inserted between East Asian text and numbers. + + + + + True, if space is automatically inserted between East Asian text and Latin text. + + + + + True, if the paragraph is set to automatically adjust the right indent + when a document grid for East Asian characters is defined. + + + + + Gets or sets the horizontal alignment for the paragraph. + + The member that specifies the type of alignment. + + + + Gets or sets horizontal alignment for the paragraph as in the input file, while opening files that support logical justification (Docx). + + + + + Gets or sets a float that represents the left indent(in points) for paragraph. + + + + + Gets or sets the float that represents the right indent for paragraph. + + + + + Gets or sets a float that represents the first line or hanging indent of the paragraph. + + The positive value is set to first line indent and negative value is set to hanging indent. + + + + Gets or sets the spacing (in points) before the paragraph. + + The float that specifies the spacing value. + + + + Gets or sets the before lines + + + + + Gets or sets the after lines + + + + + Gets or sets the spacing (in points) after the paragraph. + + The float that specifies the spacing value. + + + + Gets the collection that represents all the borders for the paragraph. + + + + + Gets or sets the background color of the paragraph. + + The for background. + + + + Gets or sets the back ground theme color of the paragraph + + + + + Gets or sets a value indicating whether there is column break after the paragraph. + + True if the column break is forced after the paragraph; otherwise, false. + + + + Gets or sets the line spacing(in points) for the paragraph. + + + + + Gets or sets line spacing rule of the paragraph. + + The member that specifies the line spacing rule. + + + + + + + + + + + + + + Gets or sets a value indicating whether Word automatically sets the amount of spacing before the paragraph. + + True if spacing before is automatic; otherwise, false. + + + + Gets or sets a value indicating whether Word automatically sets the amount of spacing after the paragraph. + + True if spacing after is automatic; otherwise, false. + + + + Gets or sets the outline level for the paragraph. + + The member that specifies the outline level. + + + + Gets or sets a value indicating whether this instance is frame. + + if this instance is frame, set to true. + + + + Gets or sets the frame vertical pos. + + The frame vertical pos. + + + + + Gets or sets the frame horizontal pos. + + The frame horizontal pos. + + + + Gets or sets the frame X. + + The frame X. + + + + Gets or sets the frame Y. + + The frame Y. + + + + Gets or sets the frame width + + The frame Width. + + + + Gets or sets the frame Height + + The frame Height. + + + + Gets or sets the frame horizontal distance from text. + + The frame horizontal distance from text. + + + + Gets or sets the frame vertical distance from text. + + The frame vertical distance from text. + + + + Gets or sets a value indicating whether to wrap frame around. + + The frame wrap mode + + + + + + + + + Gets or sets a value indicating whether to add space between the paragraphs of same style. + + True if not to have spacing; otherwise, false. + + + + Gets or sets the table style paragraph format. + + The table style paragraph format. + + + + Gets or sets a value indicating whether the left and right indents are of same width. + + True if to have mirror indents; otherwise, false. + + + + Gets or sets a value that indicates whether automatic hyphenation of words is enabled or disabled. + + True if automatic hyphenation of words is enabled; otherwise, false. + + + + Gets or sets the vertical alignment of all text on each line. + + + + + Gets or sets a value indicating whether the paragraph should use the document grid lines per page settings + + + + + Gets or sets a value indicating the frame of this paragraph can overlap with other frames. + + + + + Gets or sets the value indicating the text wrapping options for a text box when tight wrapping is set for the text box + + + + + Gets or sets a value indicating whether the line numbers shall be calculated for lines in the paragraph. + + + + + Gets or sets a value indicating whether the anchor of the frame which contains this paragraph is locked to its current location. + + + + + Gets or sets a value indicating whether the paragraph uses East Asian typography and line-breaking rules to determine + the valid characters that are allowed to begin and end each line of East Asian text. + + + + + Gets or set a value indicating whether the punctuation character at the end of the line can extend beyond the end. + + + + + Gets or set a value indicating that specifies a preference to render punctuation characters at the beginning of a line. + + + + + Gets or sets the drop cap type. + + + + + Gets or sets a value for the number of lines to drop. + + + + + Gets or sets a value indicating the text direction in the frame. + + + + + + + + + + To hold the paragraph style name for the old format(To preserve the track changes information properly) + Do not use this property for retrieving paragraph style related information. + + + + + Represents the section formatting. + + + + + + + + + + The columns collection. + + + + + Holds the column collections which exist in SectPrChange. + + + + + Creates a duplicate copy of the section format. + + + + + + Gets the property value. + + The property key. + The value. + + + + sets the property value. + + The prop key. + + + + + Returns the default values. + + + The integer that specifies the key. + An object that specifies the default value. + + + + Gets the default values for composite objects. + + + + + + + Compares the current section properties with another section properties + + The paragraph format + + + + Clear the object from the allocated memory. + + + + + Holds the column collections which exist in SectPrChange. + + + + + Gets the page setup of the current section. Read-only. + + The of the current section. + + + + Gets or sets section break code of the current section. + + The member that specifies the break code. + + + + Gets the collection of columns which logically divide page on many printing or publishing areas. Read-only. + + The collection of columns in the section. + + + + Gets or sets the text direction. + + The text direction. + + + + Gets a value indicating whether this instance has changed format. + + + if this instance has changed format, set to true. + + + + + Gets or sets the author name for section formatting. + + + + + Gets or sets the datetime for section formatting. + + + + + Represents the formatting properties for the table and row in a Word document. + + The following example illustrates how to apply table formatting options such as Borders, LeftIndent, Paddings, IsAutoResize, etc. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an instance of WordDocument class (Empty Word Document) + WordDocument document = new WordDocument(); + //Open an existing Word document into DocIO instance + document.Open("Table.docx", FormatType.Docx); + //Access the instance of the first section in the Word document + WSection section = document.Sections[0]; + //Access the instance of the first table in the section + WTable table = section.Tables[0] as WTable; + //Specify the title for the table + table.Title ="PriceDetails"; + //Specify the description of the table + table.Description = "This table shows the price details of various fruits"; + //Specify the left indent of the table + table.IndentFromLeft = 50; + //Specify the background color of the table + table.TableFormat.BackColor = Color.FromArgb(192, 192, 192); + //Specify the horizontal alignment of the table + table.TableFormat.HorizontalAlignment = RowAlignment.Left; + //Specify the left, right, top and bottom padding of all the cells in the table + table.TableFormat.Paddings.All = 10; + //Specify the auto resize of table to automatically resize all cell width based on its content + table.TableFormat.IsAutoResized = true; + //Specify the table top, bottom, left and right border line width + table.TableFormat.Borders.LineWidth = 2f; + //Specify the table horizontal border line width + table.TableFormat.Borders.Horizontal.LineWidth = 2f; + //Specify the table vertical border line width + table.TableFormat.Borders.Vertical.LineWidth = 2f; + //Specify the tables top, bottom, left and right border color + table.TableFormat.Borders.Color = Color.Red; + //Specify the table Horizontal border color + table.TableFormat.Borders.Horizontal.Color = Color.Red; + //Specify the table vertical border color + table.TableFormat.Borders.Vertical.Color = Color.Red; + //Specify the table borders border type + table.TableFormat.Borders.BorderType = BorderStyle.Double; + //Access the instance of the first row in the table + WTableRow row = table.Rows[0]; + //Specify the row height + row.Height = 20; + //Specify the row height type + row.HeightType = TableRowHeightType.AtLeast; + document.Save("TableFormatting.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an instance of WordDocument class (Empty Word Document) + Dim document As New WordDocument() + 'Open an existing Word document into DocIO instance + document.Open("Table.docx", FormatType.Docx) + 'Access the instance of the first section in the Word document + Dim section As WSection = document.Sections(0) + 'Access the instance of the first table in the section + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Specify the title for the table + table.Title = "PriceDetails" + 'Specify the description of the table + table.Description = "This table shows the price details of various fruits" + 'Specify the left indent of the table + table.IndentFromLeft = 50 + 'Specify the background color of the table + table.TableFormat.BackColor = Color.FromArgb(192, 192, 192) + 'Specify the horizontal alignment of the table + table.TableFormat.HorizontalAlignment = RowAlignment.Left + 'Specify the left, right, top and bottom padding of all the cells in the table + table.TableFormat.Paddings.All = 10 + 'Specify the auto resize of table to automatically resize all cell width based on its content + table.TableFormat.IsAutoResized = True + 'Specify the table top, bottom, left and right border line width + table.TableFormat.Borders.LineWidth = 2.0F + 'Specify the table horizontal border line width + table.TableFormat.Borders.Horizontal.LineWidth = 2.0F + 'Specify the table vertical border line width + table.TableFormat.Borders.Vertical.LineWidth = 2.0F + 'Specify the tables top, bottom, left and right border color + table.TableFormat.Borders.Color = Color.Red + 'Specify the table Horizontal border color + table.TableFormat.Borders.Horizontal.Color = Color.Red + 'Specify the table vertical border color + table.TableFormat.Borders.Vertical.Color = Color.Red + 'Specify the table borders border type + table.TableFormat.Borders.BorderType = BorderStyle.[Double] + 'Access the instance of the first row in the table + Dim row As WTableRow = table.Rows(0) + 'Specify the row height + row.Height = 20 + 'Specify the row height type + row.HeightType = TableRowHeightType.AtLeast + document.Save("TableFormatting.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with + the specified instance. + + The doc. + + + + Gets the cell spacing value + + + + + + Gets the grid count. + + The index. + + + + + Gets the index of the offset. + + The table grid. + The offset. + + + + + Gets the cell offset. + + The index. + + + + + Gets the text wrap around. + + + + + + Sets the text wrap around. + + if set to true [value]. + + + + Clears the absolute position. + + + + + Gets the property value. + + The property key. + + + + + Sets the property value. + + The property key. + The value. + + + + Determines whether this instance has SPRMS. + + + if this instance has SPRMS, set to true. + + + + + Gets table indent. + + + + + Determines whether the specified property key has value. + + The property key. + + if the specified property key has value, set to true. + + + + + Returns the Single Property Modifier Record option value for the specified property. + + + The integer that represents the property key. + The integer that represents the SPRM value. + + + + Removes the changes. + + + + + Updates the row grid before/after width. + + The row. + The grid span. + if set to true [is after width]. + + + + Clears the preferred width properties for Autofit. + + + + + + To Compare RowFormats of two objects and return true if equal else false. + + + + + Apply base style + + + + + + Ensures the composites. + + + + + Returns the composite values. + + + The integer that specifies the key. + The object. + + + + Returns the default values. + + + The integer that specifies the key. + An object that specifies the default value. + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as inside xml element. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + The value indicating the presence of xml content. + + + + Occurs on format change. + + + The object. + The integer that represents the property key. + + + + Removes the sprms specific to first row. + + + + + Imports the container. + + The object. + + + + Imports the XML properties. + + The format. + + + + Imports the members. + + + The object. + + + + Removes the positioning. + + + + + Closes this instance. + + + + + Checks the default padding. + + + + + Gets or sets the preferred width of the table. + + The preferred width of the table. + + + + Get grid before width + + + + + Get grid after width + + + + + Gets or sets Grid Before + + + + + Gets or sets GridAfter + + + + + Gets or sets Hidden property of the row + + + + + Gets or sets background color for the table or table row. + + The for the background of table or row. + When the table has no background color, the background color of the first row will be applied to the entire table. + + + + Gets or sets foreground color for the table or table row. + + + + + Gets or sets the texture style. + + The texture style. + + + + Gets the borders for the table or table row. Read-only + + The for the table or row. + The borders specified for the first row in the table will be applied to the entire table when the table has no borders. + + + + Gets the for the table. Read-only. + + The instance that specifies the cell padding values for the entire table. + + + + Gets or sets spacing value between the cells in the table or table row. + + The float that specifies the spacing value. + + + + Gets or sets the value for table left indent. + + The float that specifies the left indent value. + + + + Gets or sets the value indicating whether the table is auto resized based on contents. + + True if automatically resize to fit contents; otherwise false. + + + + Gets or sets the value indicating whether the row can break across pages. + + True if the row can break across pages; otherwise, false. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument("Template.docx"); + WSection section = document.Sections[0]; + WTable table = section.Tables[0] as WTable; + //Disable breaking across pages for all rows in the table. + foreach (WTableRow row in table.Rows) + row.RowFormat.IsBreakAcrossPages = false; + document.Save("Result.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument("Template.docx") + Dim section As WSection = document.Sections(0) + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Disable breaking across pages for all rows in the table. + For Each row As WTableRow In table.Rows + row.RowFormat.IsBreakAcrossPages = False + Next + document.Save("Result.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets whether the row is a table header. + + + + + Gets or sets a value indicating whether the table is a right to left table. + + True if the table is right to left table; otherwise, false. + + + + Gets or sets horizontal alignment for the table. + + The member that specifies the horizontal alignment for table. + + + + Gets or sets the value determines whether the Default padding values need to be skipped from Writing in DOC format. + + + + + + + + + + Gets the owner table. + + The owner table. + + + + Gets or sets the row height. + + The height. + + + + Gets a value indicating whether cancel on change event. + + true if cancel on change event; otherwise, false. + + + + Gets or sets a value indicating whether to use Around text wrapping. + + True if wrap table around text; otherwise, false. + + + + Gets the positioning values of the table when the text wrapping type is around. Read-only. + + The object that specifies the absolute position of the table. + + + + + + + + + Gets or sets the flag when left indent defined + + + + + To hold the table style name for the old format(To preserve the track changes information properly) + Do not use this property for retrieving table style related information. + + + + + Represents the functionalities to absolute position a table when it has text wrap type as around. + + + The following code example demonstrates how to set the absolute position to a table in the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create an instance of WordDocument class (Empty Word Document) + WordDocument document = new WordDocument(); + //Open an existing Word document into DocIO instance + document.Open("Table.docx", FormatType.Docx); + //Access the instance of the first section in the Word document + WSection section = document.Sections[0]; + //Access the instance of the first table in the section + WTable table = section.Tables[0] as WTable; + //Specify the table positioning options + table.TableFormat.Positioning.HorizPositionAbs = HorizontalPosition.Right; + table.TableFormat.Positioning.HorizRelationTo = HorizontalRelation.Margin; + table.TableFormat.Positioning.VertPositionAbs = VerticalPosition.Center; + table.TableFormat.Positioning.VertRelationTo = VerticalRelation.Page; + table.TableFormat.Positioning.DistanceFromBottom = 10; + table.TableFormat.Positioning.DistanceFromLeft = 10; + table.TableFormat.Positioning.DistanceFromRight = 10; + table.TableFormat.Positioning.DistanceFromTop = 10; + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create an instance of WordDocument class (Empty Word Document) + Dim document As New WordDocument() + 'Open an existing Word document into DocIO instance + document.Open("Table.docx", FormatType.Docx) + 'Access the instance of the first section in the Word document + Dim section As WSection = document.Sections(0) + 'Access the instance of the first table in the section + Dim table As WTable = TryCast(section.Tables(0), WTable) + 'Specify the table positioning options + table.TableFormat.Positioning.HorizPositionAbs = HorizontalPosition.Right + table.TableFormat.Positioning.HorizRelationTo = HorizontalRelation.Margin + table.TableFormat.Positioning.VertPositionAbs = VerticalPosition.Center + table.TableFormat.Positioning.VertRelationTo = VerticalRelation.Page + table.TableFormat.Positioning.DistanceFromBottom = 10 + table.TableFormat.Positioning.DistanceFromLeft = 10 + table.TableFormat.Positioning.DistanceFromRight = 10 + table.TableFormat.Positioning.DistanceFromTop = 10 + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + Initializes a new instance of the class. + + The owner row format. + + + + + + + + + + + Gets the property value. + + The property key. + + + + + Sets the property value. + + The property key. + The value. + + + + Returns the default values. + + + The integer that specifies the key. + An object that specifies the default value. + + + + Comparing the table postioning properties of two objects + + + + + Gets or sets a value indicating whether allow table to overlap]. + + true if allow table to overlap; otherwise, false. + + + + Gets or sets the absolute horizontal position for the table. + + The member that specifies the position. + + + + Gets or sets the absolute vertical position for the table. + + The member that specifies the position. + + + + Gets or sets the horizontal position for the table. + + The float that specifies the vertical position. + + + + Gets or sets the vertical position for the table. + + The float that specifies the vertical position. + + + + Gets or sets the horizontal relation of the table. + + + + + Gets or sets the vertical relation of the table. + + + + + Gets or sets the distance between the table and the text above the table . + + The float that specifies the distance from the top. + + + + Gets or sets the distance between the table and the text below the table. + + The float that specifies the distance from the bottom. + + + + Gets or sets the distance between the table and the text to the left of table. + + The float that specifies the distance from the left. + + + + Gets or sets the distance between the table and the text to the right of table. + + The float that specifies the distance from the right. + + + + Specifies the preferred width information + + + + + Closes the item. + + + + + Initializes a new instance of the class. + + The owner format. + The key. + + + + Gets or sets Preferred width value + + + + + Gets or sets Preferred width type + + + + + Represents the formatting options of the text box such as colors and lines, size, etc. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Append new textbox to the paragraph + IWTextBox textbox = paragraph.AppendTextBox(150, 75); + //Add new text to the textbox body + IWParagraph textboxParagraph = textbox.TextBoxBody.AddParagraph(); + textboxParagraph.AppendText("Text inside text box"); + //Set fill color, line width, line dashing and line style for textbox + textbox.TextBoxFormat.FillColor = Color.LightGreen; + textbox.TextBoxFormat.LineWidth = 2; + textbox.TextBoxFormat.LineDashing = LineDashing.Dash; + textbox.TextBoxFormat.LineStyle = TextBoxLineStyle.Double; + //Apply textbox text direction + textbox.TextBoxFormat.TextDirection = Syncfusion.DocIO.DLS.TextDirection.VerticalTopToBottom; + //Set text wrapping style and type + textbox.TextBoxFormat.TextWrappingStyle = TextWrappingStyle.InFrontOfText; + textbox.TextBoxFormat.TextWrappingType = TextWrappingType.Right; + //Set horizontal and vertical position + textbox.TextBoxFormat.HorizontalPosition = 200; + textbox.TextBoxFormat.VerticalPosition = 200; + //Set horizontal and vertical origin + textbox.TextBoxFormat.VerticalOrigin = VerticalOrigin.Margin; + textbox.TextBoxFormat.HorizontalOrigin = HorizontalOrigin.Page; + //Set top and bottom margin values + textbox.TextBoxFormat.InternalMargin.Bottom = 5f; + textbox.TextBoxFormat.InternalMargin.Top = 5f; + //Set horizontal and vertical alignment + textbox.TextBoxFormat.VerticalAlignment = ShapeVerticalAlignment.Bottom; + textbox.TextBoxFormat.HorizontalAlignment = ShapeHorizontalAlignment.Center; + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append new textbox to the paragraph + Dim textbox As IWTextBox = paragraph.AppendTextBox(150, 75) + 'Add new text to the textbox body + Dim textboxParagraph As IWParagraph = textbox.TextBoxBody.AddParagraph() + textboxParagraph.AppendText("Text inside text box") + 'Set fill color, line width, line dashing and line style for textbox + textbox.TextBoxFormat.FillColor = Color.LightGreen + textbox.TextBoxFormat.LineWidth = 2 + textbox.TextBoxFormat.LineDashing = LineDashing.Dash + textbox.TextBoxFormat.LineStyle = TextBoxLineStyle.[Double] + 'Apply textbox text direction + textbox.TextBoxFormat.TextDirection = Syncfusion.DocIO.DLS.TextDirection.VerticalTopToBottom + 'Set text wrapping style and type + textbox.TextBoxFormat.TextWrappingStyle = TextWrappingStyle.InFrontOfText + textbox.TextBoxFormat.TextWrappingType = TextWrappingType.Right + 'Set horizontal and vertical position + textbox.TextBoxFormat.HorizontalPosition = 200 + textbox.TextBoxFormat.VerticalPosition = 200 + 'Set horizontal and vertical origin + textbox.TextBoxFormat.VerticalOrigin = VerticalOrigin.Margin + textbox.TextBoxFormat.HorizontalOrigin = HorizontalOrigin.Page + 'Set top and bottom margin values + textbox.TextBoxFormat.InternalMargin.Bottom = 5.0F + textbox.TextBoxFormat.InternalMargin.Top = 5.0F + 'Set horizontal and vertical alignment + textbox.TextBoxFormat.VerticalAlignment = ShapeVerticalAlignment.Bottom + textbox.TextBoxFormat.HorizontalAlignment = ShapeHorizontalAlignment.Center + 'Save and close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + TextBoxFormat class members + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Clears the textbox format applied + + + + + Returns the default text box values. + + + The integer that specifies the key. + Null (don't use keys ). + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + True if the specified key is present, otherwise false. + + + + Sets the property value. + + The prop key. + The value. + + + + Closes this instance. + + + + + Creates a duplicate copy of the text box format object. + + The reference to the newly created object. + + + + Clones the relations. + + The doc. + + + + + Compares the current text box format with another text box format. + + + + + + + Gets the properties text for Word comparison + + + + + + + Updates the fill effects. + + The container. + The doc. + + + + Sets the TextWrappingStyle,specific for parsers. + + TextWrapStyle + + + + Gets or sets a value indicate whether current wrapping bounds points added to the list or not. + + + true if this instance is wrapping bounds added; otherwise, false. + + + + + Gets or sets the horizontal width origin value. + + The member that specifies the width origin value. + + + + Gets or sets the vertical height origin value. + + The member that specifies the height origin value. + + + + Gets or sets the horizontal origin of the text box. + + The member that specifies the horizontal origin value. + + + + Gets or sets the vertical origin of the text box. + + The member that specifies the vertical origin value. + + + + Gets or sets the text Wrapping style of the text box. + + The member that specifies the text wrapping style. + + + + DistanceBottom Returns or sets the distance (in points) between the document text and the bottom edge of the text-free area surrounding the specified shape. Read/write Single. + + + + + DistanceLeft Returns or sets the distance (in points) between the document text and the left edge of the text-free area surrounding the specified shape. Read/write Single. + + + + + DistanceRight Returns or sets the distance (in points) between the document text and the right edge of the text-free area surrounding the specified shape. Read/write Single. + + + + + DistanceTop Returns or sets the distance (in points) between the document text and the top edge of the text-free area surrounding the specified shape. Read/write Single. + + + + + Gets or sets the fill color for the text box. + + The that specifies the fill color. + + + + Gets or sets the line style for the text box. + + The member that specifies the line style. + + + + Gets or sets the width(in points) of the text box. + + The float that specifies the width. + + + + Gets or sets the height(in points) of the text box. + + The float that specifies the height. + + + + Gets or sets the line color of the text box. + + The that specifies the line color. + + + + Gets or sets a value indicating whether the textbox has no line around its shape. + + True if the textbox has no line; otherwise, false. + + + + Gets or sets textbox wrapping mode + + + + + Gets or sets the horizontal position of the text box. + + The float specifies the horizontal position. + + + + Gets or sets true/false value of IsBelowText property + + + + + Gets or sets the vertical position of the text box. + + The float specifies the vertical position. + + + + Gets or sets the text wrapping type for the text box. + + The member that specifies the wrapping type. + + + + Gets or sets texbox's shape identifier + + + + + Gets or sets the line width of the text box. + + The float that specifies the line width. + + + + Gets or sets the line dashing style for the text box. + + The member that specifies the line dashing style. + + + + Gets or sets the horizontal alignment of the text box. + + member that specifies the horizontal alignment. + + If the alignment is set as None, then the text box is explicitly positioned using position properties. + Otherwise it is positioned according to the alignment specified. The position of the object is relative to . + + + + + Gets or sets the vertical alignment of the text box. + + member that specifies the vertical alignment. + + If the alignment is set as None, then the text box is explicitly positioned using position properties. + Otherwise it is positioned according to the alignment specified. The position of the object is relative to . + + + + + Gets or sets vertical alignment of the text in textbox. + + The member that specifies the text vertical alignment. + + Vertical text alignment for textbox is applicable for DOCX format only. + + + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Appends new textbox to the paragraph + IWTextBox textbox = paragraph.AppendTextBox(150, 50); + //Adds new text to the textbox body + IWParagraph textboxParagraph = textbox.TextBoxBody.AddParagraph(); + textboxParagraph.AppendText("Text inside text box"); + //Sets vertical alignment of the text + textbox.TextBoxFormat.TextVerticalAlignment = VerticalAlignment.Bottom; + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Creates a new Word document + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Appends new textbox to the paragraph + Dim textbox As IWTextBox = paragraph.AppendTextBox(150, 50) + 'Adds new text to the textbox body + Dim textboxParagraph As IWParagraph = textbox.TextBoxBody.AddParagraph() + textboxParagraph.AppendText("Text inside text box") + 'Sets vertical alignment of the text + textbox.TextBoxFormat.TextVerticalAlignment = VerticalAlignment.Bottom + 'Save and close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets textbox identifier; + + + + + + + + + + Gets the internal margin for the text box. + + The instance that specifies the margin values. + + + + Gets or sets the textbox rotation in degree. + + The float that specifies the rotation value of the textbox. + A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. + + The following code example demonstrates how to gets or sets the rotation value of textbox in degree. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Appends new textbox to the paragraph + IWTextBox textbox = paragraph.AppendTextBox(150, 75); + //Adds new text to the textbox body + IWParagraph textboxParagraph = textbox.TextBoxBody.AddParagraph(); + textboxParagraph.AppendText("Text inside text box"); + //Sets textbox rotation in degree + textbox.TextBoxFormat.Rotation = 90; + //Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Creates a new Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph + 'Appends new textbox to the paragraph + Dim textbox As IWTextBox = paragraph.AppendTextBox(150, 75) + 'Adds new text to the textbox body + Dim textboxParagraph As IWParagraph = textbox.TextBoxBody.AddParagraph + textboxParagraph.AppendText("Text inside text box") + 'Sets textbox rotation in degree + textbox.TextBoxFormat.Rotation = 90 + 'Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets a Horizontal flipping of TextBox. + + + true indicates that a textbox has been flipped horizontally; otherwise, false. + + This property returns True if the specified textbox is flipped around the horizontal axis, and False if not. + + The following code example demonstrates how to gets or sets the horizontal flip to textbox. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Appends new textbox to the paragraph + IWTextBox textbox = paragraph.AppendTextBox(150, 75); + //Adds new text to the textbox body + IWParagraph textboxParagraph = textbox.TextBoxBody.AddParagraph(); + textboxParagraph.AppendText("Text inside text box"); + //Sets horizontal flip to the textbox + textbox.TextBoxFormat.FlipHorizontal = true; + //Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Creates a new Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph + 'Appends new textbox to the paragraph + Dim textbox As IWTextBox = paragraph.AppendTextBox(150, 75) + 'Adds new text to the textbox body + Dim textboxParagraph As IWParagraph = textbox.TextBoxBody.AddParagraph + textboxParagraph.AppendText("Text inside text box") + 'Sets horizontal flip to the textbox + textbox.TextBoxFormat.FlipHorizontal = True + 'Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets a Vertical flipping of TextBox. + + + true indicates that a textbox has been flipped vertically; otherwise, false. + + This property returns True if the specified textbox is flipped around the vertical axis, and False if not. + + The following code example demonstrates how to gets or sets the vertical flip to textbox. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Appends new textbox to the paragraph + IWTextBox textbox = paragraph.AppendTextBox(150, 75); + //Adds new text to the textbox body + IWParagraph textboxParagraph = textbox.TextBoxBody.AddParagraph(); + textboxParagraph.AppendText("Text inside text box"); + //Sets vertical flip to the textbox + textbox.TextBoxFormat.FlipVertical = true; + //Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Creates a new Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph + 'Appends new textbox to the paragraph + Dim textbox As IWTextBox = paragraph.AppendTextBox(150, 75) + 'Adds new text to the textbox body + Dim textboxParagraph As IWParagraph = textbox.TextBoxBody.AddParagraph + textboxParagraph.AppendText("Text inside text box") + 'Sets vertical flip to the textbox + textbox.TextBoxFormat.FlipVertical = True + 'Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets the background fill effects of the text box. + + The instance that specifies the fill effects. + + + + Gets or sets a value indicating whether allow textbox in cell. + + if allow in cell, set to true. + + + + Gets or sets the index of the order. + + The index of the order. + + + + Gets the docx style properties. + + The docx style props. + + + + Gets a value indicating whether this instance has docx props. + + + if this instance has docx props, set to true. + + + + + Gets or set a value indicating whether the TextBox is sized automatically based on the contents. + + + True, if resize text box to fit the contents; otherwise false. + + The default value is false. + + + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Appends new textbox to the paragraph + IWTextBox textbox = paragraph.AppendTextBox(150, 50); + //Adds new text to the textbox body + IWParagraph textboxParagraph = textbox.TextBoxBody.AddParagraph(); + textboxParagraph.AppendText("Text inside text box text inside text box text inside text box."); + //Resize the textbox based on its contents + textbox.TextBoxFormat.AutoFit = true; + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Creates a new Word document + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Appends new textbox to the paragraph + Dim textbox As IWTextBox = paragraph.AppendTextBox(150, 50) + 'Adds new text to the textbox body + Dim textboxParagraph As IWParagraph = textbox.TextBoxBody.AddParagraph() + textboxParagraph.AppendText("Text inside text box text inside text box text inside text box.") + 'Resize the textbox based on its contents + textbox.TextBoxFormat.AutoFit = True + 'Save and close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets the width relative percent. + + The width relative percent. + + + + Gets or sets the height relative percent. + + The height relative percent. + + + + Gets or sets the horizontal relative percent. + + The horizontal relative percent. + + + + Gets or sets the vertical relative percent. + + The vertical relative percent. + + + + Gets or sets the text direction for the text box. + + The member that specifies the text direction type. + + + + Gets/sets Text Theme color. + + + + + Gets or sets a value indicating whether this textbox can overlap other textboxes. + + + True, if allow textbox to overlap other textboxes; otherwise false. + + + The default value is true. + + + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Appends new textbox to the paragraph + IWTextBox textbox = paragraph.AppendTextBox(150, 50); + //Adds new text to the textbox body + IWParagraph textboxParagraph = textbox.TextBoxBody.AddParagraph(); + textboxParagraph.AppendText("Text inside text box text inside text box text inside text box."); + //Allow the textbox to overlap other textboxes + textbox.TextBoxFormat.AllowOverlap = true; + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Creates a new Word document + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Appends new textbox to the paragraph + Dim textbox As IWTextBox = paragraph.AppendTextBox(150, 50) + 'Adds new text to the textbox body + Dim textboxParagraph As IWParagraph = textbox.TextBoxBody.AddParagraph() + textboxParagraph.AppendText("Text inside text box text inside text box text inside text box.") + 'Allow the textbox to overlap other textboxes + textbox.TextBoxFormat.AllowOverlap = True + 'Save and close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets the wrap polygon. + + + The wrap polygon. + + + + + Gets the additional docx properties. + + The docx props. + + + + Gets or Sets the path + + + + + Gets or sets the Coordinate size of the shape or chart. + + The for the shape or chart. + + + + Gets or sets the Coordinate X Origin of the shape or chart. + + The for the shape or chart. + + + + Gets or sets the Coordinate Y Origin of the shape or chart. + + The for the shape or chart. + + + + Gets a VML Path points to draw. + + + + + Represents the internal margin for the text box. + + + + + + + + + + + Member to hold the collection of properties values and its keys. + + + + + Initializes a new instance of the class. + + + + + Returns the value indicating whether the key exists in the properties collection. + + The integer that specifies the key. + True if the specified key is present, otherwise false. + + + + Sets the property value. + + The prop key. + The value. + + + + Set the default internal margins for shape and textbox when creating using DocIO in scratch. + + + + + Clones this instance. + + + + + + Compares the current internal margin with another internal margin of another document. + + + + + + + Gets the properties text for Word comparison + + + + + + + Gets or sets the internal left margin (in points). + + The float that specifies the internal left margin. + + + + Gets or sets the internal right margin (in points). + + The float that specifies the internal right margin. + + + + Gets or sets the internal top margin (in points). + + The float that specifies the internal top margin. + + + + Gets or sets the internal bottom margin (in points). + + The float that specifies the internal bottom margin. + + + + Gets or sets the value for the property with specified key. + + The key for the property. + An object with the specific key. + + + + Properties Collection + + + + + Initializes a new instance of the class. + + + + + Copy source wrapformat to destination wrapformat + + + + + + + Compare the properties of source wrapformat with destination wrapformat + + + True, if the list matches, else false + + + + Gets the WrapPolygon text for Word comparison + + + + + + Gets or sets a value indicating whether this is edited. + + + true if edited; otherwise, false. + + + + + Gets or sets the vertices. + + + The vertices. + + + + + Represents the implementation to get the instance. + + + + + + + + + + Initializes the object. + + The object. + + + + Registers the specified converter. + + The object. + + + + Summary description for XmlTableFormat. + + + + + Initializes a new instance of the class. + + The owner. + + + + Clones the specified owner table. + + The owner table. + + + + + Closes this instance. + + + + + Gets the node array with unparsed table properties. + + The node array. + + + + Gets or sets the name of the table style. + + The name of the style. + + + + Gets the format. + + The format. + + + + Gets a value indicating whether this instance has format. + + + if this instance has format, set to true. + + + + + Gets the owner. + + The owner. + + + + Represents a collection of objects. + + + + + Gets the at the specified index. + + The zero-based index of the Word document to get + The at the specified index + The index is not valid index in the + + + + Represents a block content control in the Word document. + + + + + Gets the content control properties. Read-only. + + The object that specifies the content control properties. + The following example illustrates how to set the properties for content control. + + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + IBlockContentControl control = section.Body.AddBlockContentControl(ContentControlType.RichText); + //Adds new paragraph to the section. + WParagraph paragraph = new WParagraph(control.Document); + //Adds new text to the content control. + paragraph.AppendText("Block content control"); + //Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph); + //Sets title of the block content control. + control.ContentControlProperties.Title = "Rich text content control"; + //Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + Dim control As New BlockContentControl(document, ContentControlType.RichText) + 'Adds new paragraph to the section. + Dim paragraph As New WParagraph(control.Document) + 'Adds new text to the content control. + paragraph.AppendText("Block content control") + 'Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph) + 'Sets title of the block content control. + control.ContentControlProperties.Title = "Rich text content control" + 'Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets the character format of the content control. Read-only. + + The object that specifies the character format. + + + + Gets the block control text body. Read-only. + + The following example illustrates how to get the text body of the content control. + + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + IBlockContentControl control = section.Body.AddBlockContentControl(ContentControlType.RichText); + //Adds new paragraph to the section. + WParagraph paragraph = new WParagraph(control.Document); + //Adds new text to the content control. + paragraph.AppendText("Block content control"); + //Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph); + //Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + Dim control As New BlockContentControl(document, ContentControlType.RichText) + 'Adds new paragraph to the section. + Dim paragraph As New WParagraph(control.Document) + 'Adds new text to the content control. + paragraph.AppendText("Block content control") + 'Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph) + 'Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Represents a inline content control in the Word document. + + + + + Gets the content control properties. Read-only. + + The object that specifies the content control properties. + The following example illustrates how to set the properties for content control. + + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Adds new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText); + //Adds new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Rich Text Content Control"; + (paragraph.Items.LastItem as IInlineContentControl).ParagraphItems.Add(textRange); + IInlineContentControl richTextControl = paragraph.Items.LastItem as IInlineContentControl; + richTextControl.ParagraphItems.Add(textRange); + // Sets Title property of the content control. + richTextControl.ContentControlProperties.Title = "Rich text content control"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Adds new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText) + 'Adds new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Rich Text Content Control" + TryCast(paragraph.Items.LastItem, IInlineContentControl).ParagraphItems.Add(textRange) + Dim richTextControl As IInlineContentControl = TryCast(paragraph.Items.LastItem, IInlineContentControl) + richTextControl.ParagraphItems.Add(textRange) + ' Sets Title property of the content control. + richTextControl.ContentControlProperties.Title = "Rich text content control" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets the character format of the content control. Read-only. + + The object that specifies the character format. + + + + Gets the content control items. Read-only. + + The of the current control. + The following example illustrates how to get the paragraph items of the current inline content control. + + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Adds new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText); + //Adds new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Rich Text Content Control"; + (paragraph.Items.LastItem as IInlineContentControl).ParagraphItems.Add(textRange); + IInlineContentControl richTextControl = paragraph.Items.LastItem as IInlineContentControl; + richTextControl.ParagraphItems.Add(textRange); + // Sets Title property of the content control. + richTextControl.ContentControlProperties.Title = "Rich text content control"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Adds new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText) + 'Adds new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Rich Text Content Control" + TryCast(paragraph.Items.LastItem, IInlineContentControl).ParagraphItems.Add(textRange) + Dim richTextControl As IInlineContentControl = TryCast(paragraph.Items.LastItem, IInlineContentControl) + richTextControl.ParagraphItems.Add(textRange) + ' Sets Title property of the content control. + richTextControl.ContentControlProperties.Title = "Rich text content control" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Represents a field. + + + + + Represents the text in the Word document. + + + + + Applies the specified character format to the text. + + The to be applied to the text. + The following example illustrates how to add a text to the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + document.EnsureMinimal(); + //Add new text + IWTextRange text = document.LastParagraph.AppendText("Hello world"); + //Initialize character format + WCharacterFormat characterformat = new WCharacterFormat(document); + characterformat.Bold = true; + characterformat.Italic = true; + characterformat.TextColor = Color.Blue; + //Apply character format + text.ApplyCharacterFormat(characterformat); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + document.EnsureMinimal() + 'Add new text + Dim text As IWTextRange = document.LastParagraph.AppendText("Hello world") + 'Initialize character format + Dim characterformat As New WCharacterFormat(document) + characterformat.Bold = True + characterformat.Italic = True + characterformat.TextColor = Color.Blue + 'Apply character format + text.ApplyCharacterFormat(characterformat) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the text. + + + + + Gets the character format(font properties) of the text. Read-only. + + + + + Updates the field result for this . + + + Essential DocIO currently support the updating of field result for the following field types only: + + = (formula field) + DATE + TIME + DOCVARIABLE + DOCPROPERTY + COMPARE + IF + NEXTIF + MERGEREC + MERGESEQ + SECTION + NUMPAGES + TITLE + Cross-Reference + + Also while updating of NUMPAGES field and Cross Reference field with Page number and Paragraph number options are not supported in Silverlight, WinRT, Universal, Windows Phone and Xamarin applications. + Currently group shapes, drawing canvas, and table auto resizing are not supported in Word to PDF lay outing, and this may lead to update incorrect page number and total number of pages. + + + + + Replaces the field with its most recent result. + + + When you unlink a field, its current result is converted to text or a graphic and can no longer be updated automatically. + Note that the fields such as XE (Index Entry) fields and SEQ (Sequence) fields cannot be unlinked. + + + + + Gets or sets the text format field switch that defines how to display field results. + + + + + Gets or sets field type. + + the represents the type of the field. + + + + Gets or sets the field code. + + The field code information used to evaluate the resultant value of the field. + + + + Represents a mail merge field. + + + + + Gets or sets mail merge field name. + + + + + Gets or sets the text that is displayed before the merge field. + + + + + Gets or sets the text that is displayed after the merge field. + + + + + Gets the prefix of merge field. Read-only. + + + + + Gets the number format of the merge field. Read-only. + + + + + Gets the date format of the merge field. Read-only. + + + + + Represents a picture in a word document. + + + + + Loads the image from the specified instance. + + The instance. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin platforms. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Initialize new picture + WPicture picture = new WPicture(document); + //Load image from the file + picture.LoadImage(Image.FromFile("Image.png")); + //Set width and height + picture.Height = 100; + picture.Width = 150; + //Add picture to the paragraph + paragraph.Items.Add(picture); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Initialize new picture + Dim picture As New WPicture(document) + 'Load image from the file + picture.LoadImage(Image.FromFile("Image.png")) + 'Set width and height + picture.Height = 100 + picture.Width = 150 + 'Add picture to the paragraph + paragraph.Items.Add(picture) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Loads the image from the specified byte array. + + The byte array that specifies the image as bytes. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Get the image and convert to byte array + Image image = Image.FromFile("Image.png"); + MemoryStream imageStream = new MemoryStream(); + image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png); + byte[] imageBytes = imageStream.ToArray(); + //Initialize new picture + WPicture picture = new WPicture(document); + //Load image from the byte array + picture.LoadImage(imageBytes); + //Set width and height + picture.Height = 100; + picture.Width = 150; + //Add picture to the paragraph + paragraph.Items.Add(picture); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Get the image and convert to byte array + Dim image__1 As Image = Image.FromFile("Image.png") + Dim imageStream As New MemoryStream() + image__1.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png) + Dim imageBytes As Byte() = imageStream.ToArray() + 'Initialize new picture + Dim picture As New WPicture(document) + 'Load image from the byte array + picture.LoadImage(imageBytes) + 'Set width and height + picture.Height = 100 + picture.Width = 150 + 'Add picture to the paragraph + paragraph.Items.Add(picture) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Get the SVG image as byte array. + byte[] imageBytes = File.ReadAllBytes("Image.png"); + //Get the SVG image as byte array. + byte[] svgData = File.ReadAllBytes("Image.svg"); + //Initialize new picture + WPicture picture = new WPicture(document); + //Load both fallback and SVG image from the byte array + picture.LoadImage(svgData, imageBytes); + //Set width and height + picture.Height = 100; + picture.Width = 150; + //Add picture to the paragraph + paragraph.Items.Add(picture); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Get the image byte array + Dim imageBytes As Byte() = File.ReadAllBytes("Image.png") + 'Get the SVG image as byte array. + Dim svgData As Byte() = File.ReadAllBytes("Image.svg") + 'Initialize new picture + Dim picture As New WPicture(document) + 'Load both fallback and SVG image from the byte array + picture.LoadImage(svgData, imageBytes) + 'Set width and height + picture.Height = 100 + picture.Width = 150 + 'Add picture to the paragraph + paragraph.Items.Add(picture) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Adds caption for the current picture with specified name, caption format and caption position. + + The string that specifies the name. + The member that specifies the format for caption numbering. + The member that specifies the position of caption. + The paragraph instance with the specified caption. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("This paragraph has picture. "); + //Append new picture to the paragraph + IWPicture picture = paragraph.AppendPicture(Image.FromFile("Image.png")); + //Set width and height for the paragraph + picture.Width = 150; + picture.Height = 100; + //Set caption for picture + picture.AddCaption("Figure 1.1", CaptionNumberingFormat.Number, CaptionPosition.AboveImage); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("This paragraph has picture. ") + 'Append new picture to the paragraph + Dim picture As IWPicture = paragraph.AppendPicture(Image.FromFile("Image.png")) + 'Set width and height for the paragraph + picture.Width = 150 + picture.Height = 100 + 'Set caption for picture + picture.AddCaption("Figure 1.1", CaptionNumberingFormat.Number, CaptionPosition.AboveImage) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Gets or sets the picture height in points + + The float that specifies the height. + + + + Gets or sets the picture width in points. + + The float that specifies the width. + + + + Gets or sets the picture height scale factor in percent. + + The float that specifies the height scale factor. + + + + Gets or sets the picture width scale factor in percent. + + The float that specifies the width scale factor. + + + + Gets or sets the picture rotation in degree. + + The float that specifies the rotation value of the picture. + A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. + + + + Gets or sets a Horizontal flipping of Picture. + + + true indicates that a picture has been flipped horizontally; otherwise, false. + + This property returns True if the specified picture is flipped around the horizontal axis, and False if not. + + The following code example demonstrates how to gets or sets the horizontal flip to picture. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new text to the paragraph + IWParagraph paragraph = section.AddParagraph(); + //Gets the image and convert to byte array + Image image = Image.FromFile("Image.png"); + MemoryStream imageStream = new MemoryStream(); + image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png); + byte[] imageBytes = imageStream.ToArray(); + //Initializes new picture + WPicture picture = new WPicture(document); + //Loads an image from the byte array + picture.LoadImage(imageBytes); + //Sets height and width for the image + picture.Height = 100; + picture.Width = 150; + //Sets horizontal flip to the picture + picture.FlipHorizontal = true; + //Adds image to the paragraph + paragraph.Items.Add(picture); + //Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the document + document.Close(); + + + 'Creates a New Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new text to the paragraph + Dim paragraph As IWParagraph = section.AddParagraph + 'Gets the image and convert to byte array + Dim image As Image = Image.FromFile("Image.png") + Dim imageStream As MemoryStream = New MemoryStream + image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png) + Dim imageBytes() As Byte = imageStream.ToArray + 'Initializes new picture + Dim picture As WPicture = New WPicture(document) + 'Loads an image from the byte array + picture.LoadImage(imageBytes) + 'Sets height and width for the image + picture.Height = 100 + picture.Width = 150 + 'Sets horizontal flip to the picture + picture.FlipHorizontal = True + 'Adds image to the paragraph + paragraph.Items.Add(picture) + 'Saves the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the document + document.Close() + + + + + + Gets or sets a Vertical flipping of Picture. + + + true indicates that a picture has been flipped vertically; otherwise, false. + + This property returns True if the specified picture is flipped around the vertical axis, and False if not. + + The following code example demonstrates how to gets or sets the vertical flip to picture. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new text to the paragraph + IWParagraph paragraph = section.AddParagraph(); + //Gets the image and convert to byte array + Image image = Image.FromFile("Image.png"); + MemoryStream imageStream = new MemoryStream(); + image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png); + byte[] imageBytes = imageStream.ToArray(); + //Initializes new picture + WPicture picture = new WPicture(document); + //Loads an image from the byte array + picture.LoadImage(imageBytes); + //Sets height and width for the image + picture.Height = 100; + picture.Width = 150; + //Sets vertical flip to the picture + picture.FlipVertical = true; + //Adds image to the paragraph + paragraph.Items.Add(picture); + //Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the document + document.Close(); + + + 'Creates a New Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new text to the paragraph + Dim paragraph As IWParagraph = section.AddParagraph + 'Gets the image and convert to byte array + Dim image As Image = Image.FromFile("Image.png") + Dim imageStream As MemoryStream = New MemoryStream + image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png) + Dim imageBytes() As Byte = imageStream.ToArray + 'Initializes new picture + Dim picture As WPicture = New WPicture(document) + 'Loads an image from the byte array + picture.LoadImage(imageBytes) + 'Sets height and width for the image + picture.Height = 100 + picture.Width = 150 + 'Sets vertical flip to the picture + picture.FlipVertical = True + 'Adds image to the paragraph + paragraph.Items.Add(picture) + 'Saves the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the document + document.Close() + + + + + + Gets the instance that represents the picture. Read-only. + + The instance. + This property is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + Gets the SVG image as byte array. Read-only. + + The array that represents SVG image bytes. + + + + Gets the image as byte array. Read-only. + + The array that represents image bytes. + + + + Gets or sets the horizontal origin of the picture. + + The member that specifies the horizontal origin. + + + + Gets or sets the vertical origin of the picture. + + The member that specifies the vertical origin. + + + + Gets or sets absolute horizontal position of the picture in points. + + The float that specifies the horizontal position. + + The horizontal position is relative to the . + + + + + Gets or sets absolute vertical position of the picture in points. + + The float that specifies the vertical position. + + The vertical position is relative to the . + + + + + Gets or sets the text wrapping style of the picture. + + The member that specifies the text wrapping style. + + + + Gets or sets the text wrapping type of the picture. + + The member that specifies the text wrapping type. + + + + Gets or sets a value indicating whether the picture is below the text. + + True if the picture is below text; otherwise, false. + + + + Gets or sets the horizontal alignment of the picture. + + The member that specifies the horizontal alignment. + + If the alignment is set as None, then the picture is explicitly positioned using position properties. + Otherwise it is positioned according to the alignment specified. The position of the object is relative to . + + + + + Gets or sets the vertical alignment of the picture. + + + If the alignment is set as None, then the picture is explicitly positioned using position properties. + Otherwise it is positioned according to the alignment specified. The position of the object is relative to . + + + + + Gets or sets the alternate text for the picture. + + The string that represents the alternate text. + + + + Gets or sets the name of the picture. + + The string that represents the name. + + + + Gets or sets the picture title. + + The string that represents the title. + + + + Gets or sets a value indicating whether the picture is visible. + + + True if the picture is visible; otherwise, false. + + + + + Gets the character format(font properties) of the picture. Read-only. + + + + + Represents the text box. + + + + + Gets or sets the name of the text box. + + + The string that represents the name. + + + + + Gets or sets a value indicating whether this is visible. + + + True if visible; otherwise, false. + + + + + Gets the child elements of the text box. Read-only. + + The collection of child elements. + + + + Gets the text body of the text box. Read-only. + + + + + Gets or sets the text box format. + + + + + Represents the style that can be used to format a characters inside the paragraph. + + + + + Gets or sets a value indicating whether this instance is primary style. + + + if this instance is primary style, set to true. + + + + + Gets formatting of characters inside paragraph. + + + + + Represents the style that can be used to format a Paragraph. + + + + + Closes this instance. + + + + + Gets or sets a value indicating whether this instance is primary style. + + + if this instance is primary style, set to true. + + + + + Gets formatting of paragraph. + + + + + Gets formatting of characters inside paragraph. + + + + + Represents the style of the . + + + + + Gets the paragraph format. + + The object. + + + + Represent a Absolute Tab. + + + + + Initializes a new instance of the class. + + Document + + + + Get the tab position. + + + + + Get the tab position relative to margin. + + + + + Get the tab position relative to indent. + + + + + Get Base Entity + + + + + + + Get cell width + + + the cell width + + + + Get left padding of table cell + + + the left padding + + + + Get right padding of table cell + + + the right padding + + + + Attaches to paragraph. + + The paragraph. + The item pos. + + + + Detaches from owner. + + + + + Writes object data as xml attributes. + + The object. + + + + Reads object data from xml attributes. + + The object. + + + + Registers child objects in XDSL holder. + + + + + Closes this instance. + + + + + Create LayoutInfo + + + + + Measures self size. + + + + + + + Get Absolute Tab position to layout in Doc to PDF conversion + + + + + + Gets absolute position for the absolut tab. + + + + + + + + Initializing LayoutInfo value to null + + + + + Gets/sets Character format. + + + + + Gets the Absolute Tab position. + + The Absolute Tab position. + + + + Gets the type of the entity. + + The of the current item. + + + + Gets or Sets the Absolute Tab alignment. + + The Absolute Tab alignment. + + + + Gets or Sets the Absolute Tab relation. + + The Absolute Tab relation. + + + + Gets or Sets the Absolute Tab Leader. + + The Absolute Tab Leader. + + + + Gets/sets Character format. + + + + + Represents the end position of the + in the document. + + + + + + + + + Initializes a new instance of the class. + + The doc. + + + + Initializes a new instance of the class with the specified + and name. + + The object. + The string that represents the name. + + + + Closes the item. + + + + + Sets the name. + + The name. + + + + Attaches to paragraph. + + + + + + + Detaches from owner. + + + + + + + + + + Creates a duplicate copy of the entity. + + + An object that is newly created. + + + + Checks whether any renderable item before the bookmark end in Owner paragraph + + Returns true, if contains renderable item before bookmark end. Otherwise false + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Creates layout information. + + + + + + Measures the specified Custom Graphics. + + The Custom Graphics. + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets the bookmark name. + + The string that represents the bookmark end name in the document. + + + + Gets/sets IsCellGroupBkmk value. + + + + + Specifies whether the Bookmark is detached (For both cases either cloned or removed from collection) from the Bookmarks collection. + + + + + Get/Set if the bookmark end is preserved after the Paragraph mark + + + + + Get/Set if the bookmark end is preserved after the TableCell mark + + + + + Get/Set if the bookmark end is preserved after the TableRow mark + + + + + Get/Set if the bookmark end is preserved after the Table mark + + + + + Gets or sets whether the bookmark end need to serialize in next paragraph. + + + + + Gets or sets the displacedByCustomXml value for bookmarks end. + + The DisplacedByCustomXml. + + This element only has an effect when the custom XML element is block-level(i.e.surrounds an entire paragraph), + as in this scenario the logical and physical placement of the annotation and custom XML element can differ. + + + + + Represents the end position of the + in the document. + + + + + + + + Initializes a new instance of the class. + + The doc. + + + + Initializes a new instance of the class with the specified + and name. + + The object. + The string that represents the id. + + + + Sets the id. + + Represents the id. + + + + Attaches to paragraph. + + + + + + + Detaches from owner. + + + + + Attach the editable range to the document. + + + + + Creates a duplicate copy of the entity. + + + An object that is newly created. + + + + Closes the item. + + + + + Creates layout information for + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets the editable range id. + + The string that represents the editable range end id in the document. + + + + Get/Set if the editable range end is preserved after the Paragraph mark + + + + + Get/Set if the editabler range end is preserved after the TableCell mark + + + + + Get/Set if the editable range end is preserved after the TableRow mark + + + + + Get/Set if the editable range end is preserved after the Table mark + + + + + Denotes whether it is detached editable range end. + + + + + Represents the start position of the + in the document. + + + + + + + + + + + + + + Initializes a new instance of the class. + + The doc. + + + + Initializes a new instance of the class with the specified + and name. + + The object. + The string that represents the name. + + + + Sets the bookmark name. + + The name. + + + + Attaches to paragraph. + + + + + + + Detaches from owner. + + + + + Clones the relations. + + + + + Creates a duplicate copy of the entity. + + + An object that is newly created. + + + + Closes the item. + + + + + Get the bookmark content in different cells in a single table + + Bookmark start or bookmark end owner table + Bookmark start owner table row index + Bookmark end owner table row index + Bookmark start owner cell index + Bookmark end owner cell index + Temporary textbody to store the textbody items + + + + Gets the maximum cell count of row in the table + + + + + + + + + Remove bookmark start and end from its owner cell when getting bookmatk content + + Current table cell to check + The WTableCell + + + + Get the exact bookmark start and bookmark end cell + + Current bookmark start owner cell + Current bookmark end owner cell + Temporary bookmark end cell + Bookmark start owner table + Bookmark end owner table + Current bookmark start + Current bookmark end + Bookmark start owner row index + Bookmark end owner row index + Bookmark start owner cell index + Bookmark end owner cell index + + + + Extends the cell range to get complete merged cell for horizontal merge cells + + Current bookmark start owner cell + Current bookmark end owner cell + Bookmark start owner table + Bookmark end owner table + Bookmark start owner row index + Bookmark end owner row index + Bookmark start owner cell index + Bookmark end owner cell index + + + + Determines whether bookmark end is in nested table at the same cell of bookmark start. + + Represents of + Represents of + Represents of + Represents an index of contains + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Creates layout information. + + + + + + + + + + + + + Initializing LayoutInfo value to null + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets the name of bookmark start. + + The string that represents the name of bookmark start. + + + + Gets or sets IsCellGroupBkmk value. + + + + + Specifies whether the Bookmark is detached (For both cases either cloned or removed from collection) from the Bookmarks collection. + + + + + Gets or sets the index of the column where bookmark starts. + + The column first. + + + + Gets or sets the index of the column where bookmarks ends. + + The column last. + + + + Gets or sets the displacedByCustomXml value for bookmarks start. + + The DisplacedByCustomXml. + + This element only has an effect when the custom XML element is block-level(i.e.surrounds an entire paragraph), + as in this scenario the logical and physical placement of the annotation and custom XML element can differ. + + + + + Represents the start position of the + in the document. + + + + + + + + + + + + + Initializes a new instance of the class. + + The doc. + + + + Sets the editable range id. + + Represents the id of editable range. + + + + Attaches to paragraph. + + + + + + + Detaches from owner. + + + + + Clones the relations. + + + + + Creates a duplicate copy of the entity. + + + An object that is newly created. + + + + Closes the item. + + + + + Creates layout information for + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets the id of editable range start. + + The string that represents the id of editable range start. + + + + Gets or sets the index of the column where editable range starts. + + The column first. + + + + Gets or sets the index of the column where editable range ends. + + The column last. + + + + Gets or sets the single user for editable range permission. + + + + + Gets or sets the editor group for editable range permission. + + + + + Specifies whether the editable range is detached + (For both cases either cloned or removed from collection) from the editable ranges collection. + + + + + Represents breaks in the paragraph, can be a page break, column break or line break. + + + + + Type of break. + + + + + Line break text. + + + + + Initializes a new instance of the class. + + The object. + + + + Initializes a new instance of the class. + + The object. + The member that specifies the break type. + + + + Closes the item. + + + + + Clones itself. + + + An object that represents the cloned copy. + + + + Clones the relations. + + The doc. + + + + Attaches to paragraph. + + The paragraph. + The item pos. + + + + Detaches from owner. + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Registers child objects in XDSL holder. + + + + + + Creates layout information. + + + + + + Determines whether the page break need to be skipped based on given entity owner. + + Entity + true, if present inside TextBox/FootNote/EndNote/Header/Footer + + + + Denotes whether break is carraige return + + + + + + Measures self size. + + + + + + + Gets the Break text for Word comparison + + + + + + Gets the properties text for Word comparison + + + + + + Compares the current Break with another Break. + + + + + + + Gets Html to Doc layout info + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets the type of the break. + + The member that specifies the break type. + + + + Gets/sets text range of line break. + + + + + Gets the end pos. + + The end pos. + + + + Represents the Inline Shape Object. + + + + + Represents the shape object in the Word document. + + + + + + + + + + + + + + + + + + + + + + + + + Adds the self. + + + + + Attaches to paragraph. + + + + + + + + + + + + + Creates a duplicate copy of this . + + + The reference of the newly created object. + + + + Creates the layout information. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Registers child objects in XDSL holder. + + + + + + Closes this instance. + + + + + Gets the type of the entity. + + The of the current item. + + + + Get/set FSPA for ShapeObject. + + + + + Gets/sets ShapeObject's main autoshape collection. + + + + + Get/set value which defines whenever current autoshape + is in header/footer subdocument. + + + + + Gets or sets a value indicating whether the LayoutInCell property is set for the Shape in the Table cell. + + + + + Gets shape object's character format. + + + + + + + + + + + + + + + + + + + + Defines id of OLE container in obeject pool. + + + + + Unparsed data stream + + + + + Initializes a new instance of the class with the specified instance. + + + + + + Clones the current item. + + + An object that is cloned copy of current item. + + + + Gets the dash style. + + The border style. + The line style. + + + + + Gets the border style. + + The dash style. + The line style. + + + + + Converts to inline shape. + + + + + Converts to shape. + + + + + Gets the effect extent. + + Width of the border. + The left top. + The right bottom. + + + + Writes object data as inside xml element. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + The value indicating the presence of xml content. + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + + + + + + Closes this instance. + + + + + Compare the properties of Picture shape + + + True, if all the properties matches, else false + + + + Gets the inline shape object text for Word comparison + + + + + + Gets the line gradient. + + The line gradient. + + + + Gets/sets inline shape object's format. + + + + + + + + + + Gets/sets IsOLE property + + + + + Get/set id for OLE container which has image data. + + + + + Get unparsed data stream + + + + + Gets or sets the fill effects for the InlineShapeObject. + + The instance. + To maintain a fill for picture + + + + Summary description for GradientFill. + + + + + Initializes a new instance of the class. + + + + + Clones this instance. + + + + + Closes this instance. + + + + + Compares the properties of gradient fill. + + + True, if all the properties matches, else false + + + + Gets the gradient fill text for Word comparison + + + + + + Gets or sets a value indicating whether [rotate with shape]. + + true if [rotate with shape]; otherwise, false. + + + + Gets or sets the flip. + + The flip. + + + + Gets the gradient stops. + + The gradient stops. + + + + Gets or sets the linear gradient. + + The linear gradient. + + + + Gets or sets the path gradient. + + The path gradient. + + + + Gets the tile rectangle. + + The tile rectangle. + + + + Gets/Sets the boolean flag when it is empty element + + The tile rectangle. + + + + Summary description for GradientFill. + + + + + Initializes a new instance of the class. + + + + + Clones the Tile Rectangle + + + + + Compare GradientStop + + + + + Gets the gradient stop text for Word comparison + + + + + + Gets or sets the position. + + The position. + + + + Gets or sets the color. + + The color. + + + + Gets or sets the opacity. + + The opacity. + + + + Summary description for LinearGradient. + + + + + Initializes a new instance of the class. + + + + + Clones the Tile Rectangle + + + + + Compare the properties of linear gradient + + + True, if all the properties matches, else false + + + + Gets the linear gradient text for Word comparison + + + + + + Gets or sets the angle. + + The angle. + + + + Gets or sets the flag for 2007 format angle + + + + + Gets or sets a value indicating whether this is scaled. + + true if scaled; otherwise, false. + + + + Summary description for PathGradient. + + + + + Initializes a new instance of the class. + + + + + Clones the Tile Rectangle + + + + + Compare the properties of path gradient + + + True, if all the properties matches, else false + + + + Gets the path gradient text for Word comparison + + + + + + Gets or sets the path shade. + + The path shade. + + + + Gets or sets the bottom offset. + + The bottom offset. + + + + Gets or sets the left offset. + + The left offset. + + + + Gets or sets the right offset. + + The right offset. + + + + Gets or sets the top offset. + + The top offset. + + + + Summary description for TileRectangle. + + + + + Initializes a new instance of the class. + + + + + Clones the Tile Rectangle + + + + + Compare the properties of TileRectange + + + True, if all the properties matches, else false + + + + Gets the tile rectangle text for Word comparison + + + + + + Gets or sets the bottom offset. + + The bottom offset. + + + + Gets or sets the left offset. + + The left offset. + + + + Gets or sets the right offset. + + The right offset. + + + + Gets or sets the top offset. + + The top offset. + + + + Gets or sets value when the + + The top offset. + + + + Represents the OLE object in the Word document. + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Add the field code as text range. + + + + + Sets the value for LinkPath property. + + Path of the file. + + + + Parses the object pool. + + The object pool stream. + + + + Update OleObject storage name + + + + + Parses the OLE part stream. + + The stream. + + + + Parses the streams. + + The storage. + + + + Parses the OLE stream. + + The stream. + + + + Checks the object info stream exists. Add new object info stream if not exists. + + + + + Creates the OLE obj container. + + The native data. + The data path. + + + + Gets the OLE part stream. + + Is from NativeData + Stream + + + + Get byte array from a ICompoundStorage. + + Represent the ICompoundStorage + Represent the stream name to extract. + Returns the byte array + + + + Determines whether [is native item]. + + + true if [is native item]; otherwise, false. + + + + + Writes to storage. + + The storage. + + + + Updates the GUID. + + The CMP file. + The index. + + + + Gets the OLE container stream. + + + + + + Updates the ole object properties. + + + + + Sets the OLE picture. + + The picture. + + + + Sets the type of the OLE. + + The type. + + + + Sets the type of the field. + + + + + Update Ole object ObjInfo stream with Display as icon data + + + + + Update Object info + + + + + + Compares the current ole object with the specified ole object. + + + + + + + Gets the ole object text for Word comparison + + + + + + Creates layout information. + + + + + + Creates a duplicate copy of the entity. + + + An reference to the newly created object. + + + + Adds the self. + + + + + Attaches to paragraph. + + The paragraph. + The item pos. + + + + Detaches itself + + + + + Clones the relations. + + The doc. + + + + Updates the cloned WOleObject helper entity references. + + + + + Decides whether current index is valid or not. + + Index of an item + + + + + Closes this instance. + + + + + Initializing LayoutInfo value to null + + + + + + + + Gets the OLE picture. Read-only. + + The instance that represents the OLE picture. + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + The that represents the storage container of OLE object. + + + + Gets or sets the field. + + The field. + + + + Gets or sets the name of the OLE Object storage. + + The string that specifies the name of the OLE storage. + + + + Gets or sets the link path of the OLE object. + + The string that specifies the link address. + + + + Gets the type of the OLE object. Read-only. + + The member that specifies the type of the OLE object. + + + + Gets or sets the not parsed from docx ole object. + + The XmlParagraphItem. + + + + Gets the type of the OLE object. + + The type of the OLE object. + + + + Gets or sets Ole Stream + + + + + Gets the type of "Update Method" of the linked OLE object. + + Type of update method. + + + + Gets or sets the type of the OLE object. + + The string that specifies the type of the OLE object. + + + + Gets the native data of embedded OLE object. Read-only. + + The byte array that specifies the native data. + + + + Gets the OLE object. + + The OLE object. + + + + Gets the next OLE object id. + + The next OLE obj id. + + + + Gets the name of file embedded in the package(only if OleType is "Package"). Read-only. + + The string that represents the file name. + + + + Gets a value indicating whether this instance is empty. + + true if this instance is empty; otherwise, false. + + + + Gets the GUID. + + The GUID. + + + + Create a object of the Ole10NativeParser + + + + + + Read a string until the empty byte comes. + + Specifies the byte array to read + Specifies a start position of a array to read + Returns the builded string + + + + Gets the native data from the OLE native stream + + + + + Gets the file name of the OLE native stream. + + + + + Represent a table of contents in the Word document. + + The following example illustrates how to add table of contents to a Word document. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add the section into the Word document + IWSection section = document.AddSection(); + string paraText = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"; + //Add the paragraph into the created section + IWParagraph paragraph = section.AddParagraph(); + //Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determines the TOC entries + paragraph.AppendTOC(1, 3); + //Add the section into the Word document + section = document.AddSection(); + //Add the paragraph into the created section + paragraph = section.AddParagraph(); + //Add the text for the headings + paragraph.AppendText("First Chapter"); + //Set a build in heading style. + paragraph.ApplyStyle(BuiltinStyle.Heading1); + //Add the text into the paragraph + section.AddParagraph().AppendText(paraText); + //Add the section into the Word document + section = document.AddSection(); + //Add the paragraph into the created section + paragraph = section.AddParagraph(); + //Add the text for the headings + paragraph.AppendText("Second Chapter"); + //Set a build in heading style. + paragraph.ApplyStyle(BuiltinStyle.Heading2); + //Add the text into the paragraph + section.AddParagraph().AppendText(paraText); + //Add the section into the Word document + section = document.AddSection(); + //Add the paragraph into the created section + paragraph = section.AddParagraph(); + //Add the text into the headings + paragraph.AppendText("Third Chapter"); + //Set a build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading3); + //Add the text into the paragraph. + section.AddParagraph().AppendText(paraText); + //Update the table of contents + document.UpdateTableOfContents(); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add the section into the Word document + Dim section As IWSection = document.AddSection() + Dim paraText As String = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula" + 'Add the paragraph into the created section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determines the TOC entries + paragraph.AppendTOC(1, 3) + 'Add the section into the Word document + section = document.AddSection() + 'Add the paragraph into the created section + paragraph = section.AddParagraph() + 'Add the text for the headings + paragraph.AppendText("First Chapter") + 'Set a build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading1) + 'Add the text into the paragraph. + section.AddParagraph().AppendText(paraText) + 'Add the section into the Word document + section = document.AddSection() + 'Add the paragraph into the created section + paragraph = section.AddParagraph() + 'Add the text for the headings + paragraph.AppendText("Second Chapter") + 'Set a build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading2) + 'Add the text into the paragraph + section.AddParagraph().AppendText(paraText) + 'Add the section into the Word document + section = document.AddSection() + 'Add the paragraph into the created section + paragraph = section.AddParagraph() + 'Add the text into the headings + paragraph.AppendText("Third Chapter") + 'Set a build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading3) + 'Add the text into the paragraph + section.AddParagraph().AppendText(paraText) + 'Update the table of contents + document.UpdateTableOfContents() + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Initializes a new instance of the class with the specified + instance and switches. + + The instance. + The string that specifies the formatting string of the TOC field. + + + + Sets the style for the TOC level. + + The level number of the table of contents. + The name of the style to apply. + + The following code illustrates how to set the style for the TOC level. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Create a new custom styles + Style style = (WParagraphStyle)document.AddParagraphStyle("Mystyle"); + style.CharacterFormat.Bold = true; + style.CharacterFormat.FontName = "Verdana"; + style.CharacterFormat.FontSize = 25; + //Add the section into the Word document + IWSection section = document.AddSection(); + string paraText = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula"; + //Add the paragraph into the created section + IWParagraph paragraph = section.AddParagraph(); + //Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determines the TOC entries + TableOfContent toc = paragraph.AppendTOC(1, 3); + toc.UseHeadingStyles = false; + //Set the TOC level style based on which the TOC should be created + toc.SetTOCLevelStyle(2, "Mystyle"); + //Add the section into the Word document + section = document.AddSection(); + //Add the paragraph into the created section + paragraph = section.AddParagraph(); + //Add the text for the headings + paragraph.AppendText("First Chapter"); + //Set the build in heading style + paragraph.ApplyStyle("Mystyle"); + //Add the text into the paragraph + section.AddParagraph().AppendText(paraText); + //Add the section into the Word document + section = document.AddSection(); + //Add the paragraph into the created section + paragraph = section.AddParagraph(); + //Add the text for the headings + paragraph.AppendText("Second Chapter"); + //Set the build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading1); + //Add the text to the paragraph + section.AddParagraph().AppendText(paraText); + //Add the section into Word document + section = document.AddSection(); + //Add a paragraph to created section + paragraph = section.AddParagraph(); + //Add the text for the headings + paragraph.AppendText("Third Chapter"); + //Set the build in heading style + paragraph.ApplyStyle("Mystyle"); + //Add the text to the paragraph + section.AddParagraph().AppendText(paraText); + //Update the table of contents + document.UpdateTableOfContents(); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Create a new custom styles + Dim style As Style = DirectCast(document.AddParagraphStyle("Mystyle"), WParagraphStyle) + style.CharacterFormat.Bold = True + style.CharacterFormat.FontName = "Verdana" + style.CharacterFormat.FontSize = 25 + 'Add the section into the Word document + Dim section As IWSection = document.AddSection() + Dim paraText As String = "Lorem ipsum dolor sit amet, lacus amet amet ultricies. Quisque mi venenatis morbi libero, orci dis, mi ut et class porta, massa ligula magna enim, aliquam orci vestibulum Turpis facilisis vitae consequat, cum a a,turpis dui consequat massa in dolor per, felis non amet.Auctor eleifend in omnis elit vestibulum, donec non elementum tellus est mauris, id aliquam, at lacus, arcu pretium proin lacus dolor et. Eu tortor, vel ultrices amet dignissim mauris vehicula" + 'Add the paragraph into the created section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determine the TOC entries + Dim toc As TableOfContent = paragraph.AppendTOC(1, 3) + toc.UseHeadingStyles = False + 'Set the TOC level style based on which the TOC should be created + toc.SetTOCLevelStyle(2, "Mystyle") + 'Add the section into the Word document + section = document.AddSection() + 'Add the paragraph into the created section + paragraph = section.AddParagraph() + 'Add the text for the headings + paragraph.AppendText("First Chapter") + 'Set the build in heading style + paragraph.ApplyStyle("Mystyle") + 'Add the text into the paragraph + section.AddParagraph().AppendText(paraText) + 'Add the section into the Word document + section = document.AddSection() + 'Add the paragraph into the created section + paragraph = section.AddParagraph() + 'Add the text for the headings + paragraph.AppendText("Second Chapter") + 'Set the build in heading style + paragraph.ApplyStyle(BuiltinStyle.Heading1) + 'Add the text to the paragraph + section.AddParagraph().AppendText(paraText) + 'Add the section into Word document + section = document.AddSection() + 'Add a paragraph to created section + paragraph = section.AddParagraph() + 'Add the text for the headings + paragraph.AppendText("Third Chapter") + 'Set the build in heading style + paragraph.ApplyStyle("Mystyle") + 'Add the text to the paragraph + section.AddParagraph().AppendText(paraText) + 'Update the table of contents + document.UpdateTableOfContents() + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Returns the name of the style applied to the specified TOC level. + + The level number of the table of contents. + The name of the style. + + The following example illustrates how to get the name of the style applied to the TOC level. + + //Load a Word document + WordDocument document = new WordDocument("Template.docx"); + WTextBody textBody = document.Sections[0].Body; + WParagraph paragraph = textBody.Paragraphs[0]; + //Get the TOC item from the paragraph + TableOfContent toc = paragraph.ChildEntities[0] as TableOfContent; + //Gets the style name for the specified level + string styleName = toc.GetTOCLevelStyle(1); + WParagraphStyle style = document.Styles.FindByName(styleName) as WParagraphStyle; + //Modify the character format of the style + style.CharacterFormat.HighlightColor = Color.LightGray; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Load a Word document + Dim document As New WordDocument("Template.docx") + Dim textBody As WTextBody = document.Sections(0).Body + Dim paragraph As WParagraph = textBody.Paragraphs(0) + 'Get the TOC item from the paragraph + Dim toc As TableOfContent = TryCast(paragraph.ChildEntities(0), TableOfContent) + 'Gets the style name for the specified level + Dim styleName As String = toc.GetTOCLevelStyle(1) + Dim style As WParagraphStyle = TryCast(document.Styles.FindByName(styleName), WParagraphStyle) + 'Modify the character format of the style + style.CharacterFormat.HighlightColor = Color.LightGray + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Returns the list of styles defined for the specified TOC level. + + The level number of the table of contents. + The collection of styles defined for the specified TOC level. + + + + Gets the corresponding key value. + + + + + + Parses the switches. + + + + + Gets the built-in style. + + The built-in style. + + + + + Creates the default styles collection. + + + + + Updates the formatting string of TOC field. + + + + + Updates the field code text range with formatting switches. + + + + + Remove existing field code items. + + + + + Updates TOC heigher and lower levels. + + + + + Updates the hyperlinks. + + + + + Updates the manual line break. + + + + + Updates the formatting string with UsePageNumbers value. + + + + + Updates the page number alignment. + + + + + Updates the use outline levels property in formatting string. + + + + + Updates the use table entry field property. + + + + + Updates the header styles. + + + + + Updates the table of figure Label. + + + + + Updates the caption label and numbers. + + + + + Parses the label name. + + The option string. + + + + Parses the heading levels. + + The option string. + + + + Parses the number alignment. + + The option string. + + + + Parses the use field. + + The option string. + + + + Parses the header styles and update the header style level if the level is not specified + + + + + + + check whether string contains number + + + + + + + Called when [set value]. + + + + + Called when [get value]. + + + + + Sets the style for TOC level. + + The level number. + Name of the style. + if it is on set property, set to true. + + + + Checks the level number. + + Name of the parameter. + The level number. + + + + Parses the document. + + + + + Parses the text body. + + The text body. + + + + Parses the table. + + The table. + + + + Checks whether the paragraph contains with sequence field with caption name. + + The paragraph. + + + + Parses the paragraph. + + The paragraph. + + + + Checks whether the paragraph has outline level + + The paragraph. + True if outline level are present in paragraph; else False + + + + Checks and splits the paragraph. + + The paragraph. + + + + Updates the tab characters. + + The text range. + + + + Updates the new line characters. + + The text range. + The split text. + + + + Creates the paragraph. + + The paragraph. + The index. + + + + Create new paragraph when TOC paragraph has other paragraph items before the TOC field. + + + + + + + Check wheteher TOC previous sibling contains only book marks or any other valid items. + + + + + + + Removes the updated toc entries. + + + + + Checks the paragraph style. + + Name of the style. + + + + + Return the Toc link style. + + The paragraph. + + + + + Gets the TOC level. + + Name of the style. + The paragraph + TOC level of the paragarph + + + + Inserts the bookmark. + + The paragraph. + The field. + The start index. + The end index. + + + + Inserts the bookmark hyperlink. + + The paragraph. + The field. + The bookmark. + + + + Creates the hyperlink. + + The paragraph. + The toc paragraph. + The text. + The bookmark. + + + + Creates the hyperlink for field value null + + Current paragraph + TOC paragraph + true when is to reference link style, elsefalse + List of TOC link styles + + + + Append text into toc paragraph + + Paragraph textrange + Paragraph textrange value + Paragraph style + Toc paragraph + + + + To identify the whether text range formatting applied to toc text range or not + + Current formatting key + Current paragraph style + Current text range + Current text range character style + trueif character style or inline character formatting have value + and customer paragraph style doesn't have key else false + + + + To identify the tab is first or last item in its owner paragraph + + Current heding paragraph + Current tab index + trueif the tab is first item or after tab item, thers is + no text in its owner paragraph, else false + + + + To identify the tab is first or last item in its owner paragraph + + Start tab index + End tab index + Owner paragraph + trueif the tab is first item or after tab item, thers is + no text in its owner paragraph, else false + + + + Get the tab stop position for the first occurrence tab in current toc paragraph + + Current Toc paragraph + + + + + Get the tab stop position from the paragraph style + + Tab collection in paragraph style + truewhen the tab stop position from style + Previous text length + Tab stop position + Tab stop position + + + + Creates the hyper link for link style. + + The paragraph. + The toc paragraph. + The toc link styles. + + + + Checks whether the font name need to apply for linked character style TOC items. + + Textrange of the paragraph + Textrange character style + + + + Gets the index of the toc valid item. + + The paragraph. + + + + + Updates the tabs. + + The paragraph. + + + + Checks whether all the tab justification is clear + + The paragraph style. + True if all the tab justification value is clear; else false + + + + Gets the tab position. + + The entity. + + + + + Creates the TOC paragraph. + + The level. + + + + + Generates the name of the bookmark. + + + + + + Updates the page numbers. + + + + + Updates the list. + + The paragraph. + The toc paragraph. + Set to Truewhen the list tab added into the toc paragraph + + + + Adds the list value and tab. + + The paragraph. + The toc paragraph. + The list value. + Set to Truewhen the list tab added into the toc paragraph + + + + Creates layout information. + + + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Creates a duplicate copy of the . + + + The reference of the newly created object. + + + + Closes this instance. + + + + + Compare the table of content with another table of content of another document. + + + + + + + Gets the TableOfContent string for Word Comparison. + + + + + + Gets or sets the name of the sequence identifier to be used when building a table of figures. The default value is null. + + The specifying the identifier. + + 1. This property corresponds to the \c switch of the TOC field. + 2. Apart from caption fields of tables, figures, and shapes, it also considers any valid identifier used by a SEQ field. + + + + //Create a new Word document. + using (WordDocument document = new WordDocument()) + { + //Add a new section to the document. + IWSection section = document.AddSection(); + //Add a paragraph to the section. + IWParagraph paragraph = section.AddParagraph(); + //Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determine the TOC entries. + TableOfContent tableOfContent = paragraph.AppendTOC(1, 3); + //Set the name of SEQ field identifier for table of figures. + tableOfContent.TableOfFiguresLabel = "Figure"; + //Add a paragraph to the section. + paragraph = section.AddParagraph(); + //Add image to the paragraph. + FileStream imageStream = new FileStream(@"Image.png", FileMode.Open, FileAccess.ReadWrite); + IWPicture picture = paragraph.AppendPicture(imageStream); + //Add Image caption. + IWParagraph paragraph1 = picture.AddCaption("Figure", CaptionNumberingFormat.Number, CaptionPosition.AfterImage); + //Add text to the paragraph. + paragraph1.AppendText(" Icon."); + //Update the fields in Word document. + document.UpdateDocumentFields(); + //Update the table of contents. + document.UpdateTableOfContents(); + //Saves the Word document to MemoryStream. + MemoryStream stream = new MemoryStream(); + document.Save(stream, FormatType.Docx); + } + + + 'Create a new Word document. + Dim document As WordDocument = New WordDocument() + 'Add a new section to the document. + Dim section As IWSection = document.AddSection() + 'Add a paragraph to the section. + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determine the TOC entries. + Dim tableOfContent As TableOfContent = paragraph.AppendTOC(1, 3) + 'Set the name of SEQ field identifier for table of figures. + tableOfContent.TableOfFiguresLabel = "Figure" + 'Add a paragraph to the section. + paragraph = section.AddParagraph() + 'Add image to the paragraph. + Dim imageStream As FileStream = New FileStream("Image.png", FileMode.Open, FileAccess.ReadWrite) + Dim picture As IWPicture = paragraph.AppendPicture(imageStream) + 'Add Image caption. + Dim paragraph1 As IWParagraph = picture.AddCaption("Figure", CaptionNumberingFormat.Number, CaptionPosition.AfterImage) + 'Add text to the paragraph. + paragraph1.AppendText(" Icon.") + 'Update the fields in Word document. + document.UpdateDocumentFields() + 'Update the table of contents. + document.UpdateTableOfContents() + 'Save the document. + document.Save("Result.docx") + document.Close() + + + + + + Gets or sets a value indicating whether to include caption's labels and numbers while building a table of figures based on identifier . + The default value is true. + + true if need to include caption's labels and numbers; otherwise, false. + + This property corresponds to the \a switch of the TOC field. + + + + //Create a new Word document. + using (WordDocument document = new WordDocument()) + { + //Add a new section to the document. + IWSection section = document.AddSection(); + //Add a paragraph to the section. + IWParagraph paragraph = section.AddParagraph(); + //Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determine the TOC entries. + TableOfContent tableOfContent = paragraph.AppendTOC(1, 3); + //Set the name of SEQ field identifier for table of figures. + tableOfContent.TableOfFiguresLabel = "Figure"; + //Disable the flag, to exclude caption's label and number in TOC entries. + tableOfContent.IncludeCaptionLabelsAndNumbers = false; + //Add a paragraph to the section. + paragraph = section.AddParagraph(); + //Add image to the paragraph. + FileStream imageStream = new FileStream(@"Image.png", FileMode.Open, FileAccess.ReadWrite); + IWPicture picture = paragraph.AppendPicture(imageStream); + //Add Image caption. + IWParagraph paragraph1 = picture.AddCaption("Figure", CaptionNumberingFormat.Number, CaptionPosition.AfterImage); + //Add text to the paragraph. + paragraph1.AppendText(" Icon."); + //Update the fields in Word document. + document.UpdateDocumentFields(); + //Update the table of contents. + document.UpdateTableOfContents(); + //Saves the Word document to MemoryStream. + MemoryStream stream = new MemoryStream(); + document.Save(stream, FormatType.Docx); + } + + + 'Create a new Word document. + Dim document As WordDocument = New WordDocument() + 'Add a new section to the document. + Dim section As IWSection = document.AddSection() + 'Add a paragraph to the section. + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determine the TOC entries. + Dim tableOfContent As TableOfContent = paragraph.AppendTOC(1, 3) + 'Set the name of SEQ field identifier for table of figures. + tableOfContent.TableOfFiguresLabel = "Figure" + 'Disable the flag, to exclude caption's label and number in TOC entries. + tableOfContent.IncludeCaptionLabelsAndNumbers = False + 'Add a paragraph to the section. + paragraph = section.AddParagraph() + 'Add image to the paragraph. + Dim imageStream As FileStream = New FileStream("Image.png", FileMode.Open, FileAccess.ReadWrite) + Dim picture As IWPicture = paragraph.AppendPicture(imageStream) + 'Add Image caption. + Dim paragraph1 As IWParagraph = picture.AddCaption("Figure", CaptionNumberingFormat.Number, CaptionPosition.AfterImage) + 'Add text to the paragraph. + paragraph1.AppendText(" Icon.") + 'Update the fields in Word document. + document.UpdateDocumentFields() + 'Update the table of contents. + document.UpdateTableOfContents() + 'Save the document. + document.Save("Result.docx") + document.Close() + + + + + + Gets or sets a value indicating whether to use default heading styles. + + True if it uses heading styles; otherwise false. + + + + Gets or sets the ending heading level of the table of contents. The default value is 3. + + The integer specifying the upper heading level. + + + + Gets or sets the starting heading level of the table of contents. The default value is 1. + + The integer specifying the starting heading level. + + + + Gets or sets a value indicating whether to use table entry fields. The default value is false. + + True if it uses table entry fields; otherwise, false. + + + + + Gets or sets the table ID. + + The table ID. + + + + Gets or sets a value indicating whether to show page numbers as right aligned. The default value is true. + + True if to right align page numbers; otherwise, false. + + + + + Gets or sets a value indicating whether to show page numbers in table of contents. The default value is true. + + True if to includes page numbers; otherwise, false. + + + + Gets or sets a value indicating whether to use hyperlinks for the levels. The default value is true. + + True if it uses hyperlinks for levels; otherwise false. + + + + Gets or sets a value indicating whether to use outline levels. The default value is false. + + True if it uses outline levels; otherwise false. + + + + Gets the type of the entity. + + The of the current + . + + + + Gets or sets the formatting string. + + The formatting string. + + + + Gets TOC field + + + + + Gets the TOC styles. + + The TOC styles. + + + + Gets the list of TOC entry with its corresponding entity. + + The TOC entry and its corresponding entity. + + + + Gets the TOC levels. + + The TOC levels. + + + + Gets the last TOC paragraph. + + The last TOC paragraph. + + + + Gets or sets a value indicating whether [invalid format string]. + + + true if [invalid format string]; otherwise, false. + + + + + Gets or sets a value indicating whether [formatting parsed]. + + + true if [formatting parsed]; otherwise, false. + + + + + Gets or sets a value indicating whether to include newline characters in TOC entries. Default value is false. + + True if it includes newline characters in TOC entries; otherwise, false. + + + //Create a Word document. + WordDocument document = new WordDocument(); + //Adds the section into the Word document. + IWSection section = document.AddSection(); + //Adds the paragraph into the created section. + IWParagraph tocParagraph = section.AddParagraph(); + //Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determine the TOC entries. + TableOfContent tableOfContent = tocParagraph.AppendTOC(1, 3); + //Enables the property IncludeNewLineCharacters to preserve newline characters in the TableOfContent. + tableOfContent.IncludeNewLineCharacters = true; + //Adds the paragraph into the section. + WParagraph paragraph = section.AddParagraph() as WParagraph; + //Adds the text and breaks the headings. + paragraph.AppendText("First "); + paragraph.AppendBreak(BreakType.LineBreak); + paragraph.AppendText("Chapter"); + //Sets a built-in heading style. + paragraph.ApplyStyle(BuiltinStyle.Heading1); + //Adds the text into the new paragraph of the section. + section.AddParagraph().AppendText("AdventureWorks Cycles, the fictitious company on which the AdventureWorks sample databases are based, is a large, multinational manufacturing company."); + //Updated the table of content. + document.UpdateTableOfContents(); + //Saves the document. + document.Save("Result.docx"); + document.Close(); + + + 'Create a Word document. + Dim document As WordDocument = New WordDocument() + 'Add the section into the Word document. + Dim section As IWSection = document.AddSection() + 'Add the paragraph into the created section. + Dim tocParagraph As IWParagraph = section.AddParagraph() + 'Append the TOC field with LowerHeadingLevel and UpperHeadingLevel to determine the TOC entries. + Dim tableOfContent As TableOfContent = tocParagraph.AppendTOC(1, 3) + 'Enable the property IncludeNewLineCharacters to preserve newline characters in TableOfContent. + tableOfContent.IncludeNewLineCharacters = True + 'Add the paragraph into the section. + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + 'Add the text and break the headings. + paragraph.AppendText("First ") + paragraph.AppendBreak(BreakType.LineBreak) + paragraph.AppendText("Chapter") + 'Set a built-in heading style. + paragraph.ApplyStyle(BuiltinStyle.Heading1) + 'Add the text into the new paragraph of the section. + section.AddParagraph().AppendText("AdventureWorks Cycles, the fictitious company on which the AdventureWorks sample databases are based, is a large, multinational manufacturing company.") + 'Updated the table of content. + document.UpdateTableOfContents() + 'Save the document. + document.Save("Result.docx") + document.Close() + + + + + + Gets/Sets the Text Size of the TextRange + + + + + Represents the check box in the Word document. + + The following code illustrates how to add a new checkbox. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("Gender\t"); + //Append new Checkbox + WCheckBox checkbox = paragraph.AppendCheckBox(); + checkbox.Checked = false; + //Set Checkbox size + checkbox.CheckBoxSize = 10; + checkbox.CalculateOnExit = true; + //Set help text + checkbox.Help = "Help text"; + paragraph.AppendText("Male\t"); + checkbox = paragraph.AppendCheckBox(); + checkbox.Checked = false; + checkbox.CheckBoxSize = 10; + checkbox.CalculateOnExit = true; + paragraph.AppendText("Female"); + //Save the Word document + document.Save("Checkbox.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + + + + Summary description for WFormField. + + + + + Represents the field in the document. + + + + + Represents the text in the Word document. Each part of text can have separate formatting. + + The following example illustrates how to add a text to the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Initialize new text range instance + IWTextRange textrange = new WTextRange(document); + //Add text and its formatting + textrange.Text = "A new text is added"; + textrange.CharacterFormat.FontSize = 14; + textrange.CharacterFormat.Bold = true; + textrange.CharacterFormat.TextColor = Color.Green; + //Add text range to the paragraph + paragraph.Items.Add(textrange); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Initialize new text range instance + Dim textrange As IWTextRange = New WTextRange(document) + 'Add text and its formatting + textrange.Text = "A new text is added" + text.CharacterFormat.FontSize = 14 + text.CharacterFormat.Bold = True + text.CharacterFormat.TextColor = Color.Green + 'Add text range to the paragraph + paragraph.Items.Add(textrange) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Represents a Widget with string-like layout. + + + + + Represents a LEAF Widget that can SPLIT self. + + + + + Splits the size of the by. + + The dc. + The size. + The clientWidth. + + + + + Represnts an widget which can be measure itself. + + + + + Measures size of specified string. + + + + + + + + Measures size of specified string. + + + + + + + + Offsets to index. + + The graphics. + The offset. + The text. + The clientWidth. + + + + + Gets text ascent. + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the character range type of text range. + + + + + Specifies the font script type of text range. + + + + + To update XML values mapped to Content control + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Attaches to paragraph. + + The paragraph. + The item pos. + + + + Attaches to paragraph. + + The paragraph. + The item pos. + + + + Inserts the text in existing , without removing exisitng. + + A to insert the text + This will insert the text when inserting inline content control in between pragraph, + there we need to update the text content to paragraph. + + + + Detaches from owner. + + + + + Creates a duplicate copy of the text. + + + The reference to the newly created instance. + + + + Applies the specified character format to the text. + + The to be applied to the text. + The following example illustrates how to add a text to the document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + document.EnsureMinimal(); + //Add new text + IWTextRange text = document.LastParagraph.AppendText("Hello world"); + //Initialize character format + WCharacterFormat characterformat = new WCharacterFormat(document); + characterformat.Bold = true; + characterformat.Italic = true; + characterformat.TextColor = Color.Blue; + //Apply character format + text.ApplyCharacterFormat(characterformat); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + document.EnsureMinimal() + 'Add new text + Dim text As IWTextRange = document.LastParagraph.AppendText("Hello world") + 'Initialize character format + Dim characterformat As New WCharacterFormat(document) + characterformat.Bold = True + characterformat.Italic = True + characterformat.TextColor = Color.Blue + 'Apply character format + text.ApplyCharacterFormat(characterformat) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Split the widgets based on the control characters tab ("\t") and carriage return ("\r") + + + + + Splits the widget by tab. + + + + + Check whether current text range is present inside the hyperlink field and return the field. + + + + + + + + Closes the item. + + + + + Splits the widget by paragraph break. + + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as inside xml element. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + The value indicating the presence of xml content. + + + + Creates layout information. + + + + + + Measure Size of the TextRange + + + + + + Initializing LayoutInfo value to null + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get Font of the TextRange or Field + + + + + + Offsets to index. + + + The offset. + The text. + The clientWidth. + + + + + Determines current section client width. + + The clientWidth. + Client Width + + + + + + + + The clientWidth. + + + + + Determine whether the text range is last item of the paragraph and which have text with empty space + + + + + + Determine whether the space width consider or not. + + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets or sets the text. + + + + + Get or set the initial Text value. + + + + + Gets the character format(font properties) of the text. Read-only. + + + + + Gets or Sets the length of the text. + + + + + Gets or sets Character Range Type in the widget + + + + + Gets or sets Font Script Type of the text. + + + Used to represent the FontScriptType of a text, which is exist in WTextRange.Text property. + + + + + Gets the end pos. + + The end pos. + + + + Defines if text of current text range is safe. + + + + + Gets a boolean value indicating whether this text range is paragraph mark. + + + true if paragraph mark; otherwise, false. + + + + + Get or set new textlength. + + + + + Get or set new end position. + + + + + Get or set new start position. + + + + + / + + + + + Initializes a new instance of the class. + + The text range. + + + + Beginning of Field Mark character: 0x0013. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Local reference string for the hyperlink + + + + + The source field type value (used in case field type is unknown) + + + + + Preserves the character formatting of field's previous result. + + + + + Maintain original field for AutoNum fields. + + + + + Screen tip text for hyperlink + + + + + Creates a new instance of the class with specified instance. + + The Word document instance + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + + + + + + + + Decides whether field code start with Invalid Character. + + + + + + Sets IsSkip as true for field code items which is for TOC and WOleObject. + + + + + Set Field Type + + + + + + + + + + + + Updates Field code + + + + + + TCEntry,TOA entry,Index Entry ,Ref Doc,FieldPrivate + + + + + + Decides whether the formatting string to be set. + + + + + + Gets the field type from field code. + + Field code. + + + + + Set the TextFormat Switch String + + + + + + Set the Local Switch String + + + + + + Sets the screen tip and position switch. + + The field code. + Start index of the switch. + The formatting switch. + + + + Converts the switches to string. + + + + + + Attaches to paragraph. + + The paragraph. + The item pos. + + + + Detaches from owner. + + + + + Removes items upto Field end in inline content control. + + Owner paragraph of the field, if it is also in inline content control. + Owner paragraph of Field end, if it is also in inline content control. + + + + Removes the paragraph child items upto field end + + Owner paragraph + Start item index + Flag to check whether Field end is found or not, to remove further items. + + + + Removes item from the inline content control. + + An to remove its inner items. + Index value to start removing of items. + Flag to check whether Field end is found or not, to remove further items. + + + + Clones the relations. + + + + + Gets the owner textbody. + + The entity. + + + + + Clones itself. + + + Returns cloned object. + + + + Closes this instance. + + + + + Gets the field as WSymbol or WTextRange item. + + + A which can be either a if the character code is within the + ASCII range (0-255) or a for Unicode characters. + + + + + Gets the field code of the field. + + + + + + Gets the field code. + + The field code. + + + + + Determines whether the field is form field. + + + + + Removes the field code items. (Begin to Separator or End) + + + + + Convert the field result to static text during docuent reading. + + + + + + Insert TOC field. + + + + + + Remove the TOC fields when it prserved inside another TOC field. + + + + + Replace the WField instance with corresponding field type instance. + + + + + + Sets the field type by getting its field code. + + + + + Ensures IF field expression before converting merge field to static text as a part of mail merge. + + The merge field to be converted as static text. + + + + Finds the field code from text body items. + + Owner text body. + Field separator or end mark owner paragraph. + + + + Decide whether the field code is valid or not. + + Current field code. + + + + + Get owner section + + + + + + + To ensure for the BookmarkStart has been added to the owner document + + The Bookmark Start used to start removing the merge field collection + + + + To ensure for the BookmarkEnd has been added to the owner document + + The Bookmark end used to stop removing the merge field collection + + + + Gets the result character formatting. + + + + + + Updates the list of character formats from Range Items of merge field. + + + + + + Gets result of character format from text range. + + Text range. + Index + Count + + + + + Gets the content of the field. + + The field. + ParagraphItem. + + + + Updates the field result for this . + + + Essential DocIO currently support the updating of field result for the following field types only: + + = (formula field) + DATE + TIME + DOCVARIABLE + DOCPROPERTY + COMPARE + IF + NEXTIF + MERGEREC + MERGESEQ + SECTION + NUMPAGES + TITLE + Cross-Reference + + Also while updating of NUMPAGES field and Cross Reference field with Page number and Paragraph number options are not supported in Silverlight, WinRT, Universal, Windows Phone and Xamarin platforms. + Currently group shapes, drawing canvas, and table auto resizing are not supported in Word to PDF lay outing, and this may lead to update incorrect page number and total number of pages. + + + + + Checks whether the bookmark sequence field update. + + + + + + + Clears the internal collection when invoke the field.Update() method from the sample level + for seqence field. + + + + + Update the field result value for sequence field. + + + + + + Gets the sequence field result value. + + + + + + Wheather we need to reset this sequence field based on heading style behavior. + + + + + + Gets the previous paragraph. + + The paragrph. + + + + + Gets the previous paragraph is in table. + + The table. + + + + + Gets the previous pragraph is in the table cell. + + + + + + + Gets the previous paragraph is in the section. + + + + + + Gets the content of the previous paragraph is in SDT. + + Content of the SDT. + + + + + Gets the previous sequence field value. + + + + + + + Returns the heading level of the style + + Style Name + Heading level + + + + Converts the string to its corresponding Integer value + + + + + + + updates the unknown or custom fields + + + + + Gets the AutoNum Field Value. + + resultText + + + + Gets the Seperator code from the FieldCode + + The Field. + + + + Checks wheather the field present inside the Text Body or not. + + + Return true, if field exsists in valid text body, else return false. + + + + Updates the SET field. + + + + + Updates the BookMark for SET fields. + + BookMark Name. + + + + Remove the previous BookMark for SET fields. + + BookMark Name. + + + + Updates the document built in properties. + + Name of the property. + + + + Removes the string format. + + The field code. + if set to true [is having string format]. + + + + + Update Datefield + + + + + Get ordinal string for numeric value + + Ordinal string + text + + + + + Updates the next if field. + + + + + + Updates the section field. + + + + + Determines whether [is picture switch is in second place]. + + + + + + Updates the number format result. + + The result. + + + + Updates the number format result. + + The result. + True whether to update result text only without updating the field result part. Otherwise False + + + + Updates the doc property field. + + + + + Updates the DocVariable field or MergeField value with text formats applied + + The text + + + + + Updates the text format of the field + + The text + The formatting string + + + + + Updates the text format of the field + + The text + The formatting string + Page field has formatting string or not + + + + + Gets the Caps string + + The text which need to convert + + + + + Convert the first letter of each word, splitted based on special character, into Caps + + The text which need to convert + The separator + + + + + Gets Number format based on invariant culture + + + + + + + Changes current culture number format to invariant culture format. + + + + + + + Updates the reference field. + + + + + Checks whether the current field is present inside the bookmark. + + The bookmark name. + True if the current field is present inside the bookmark; otherwise false. + + + + Checks whether the current field is present inside the bookmark in the paragraph. + + + + + + Checks whether the current field is present inside the bookmark in the textbody. + + + + + + Checks whether the current field is present inside the bookmark in the table and block content control. + + + + + + Checks whether the current field is present inside the bookmark inside the table. + + + + + Checks whether the current field is present inside the bookmark after the bookmark start next paragraph in textbody. + + + + + + Checks the text body owner. + + The bookmark. + + + + + Updates the Unknown field result. + + The field result. + + + + Updates the reference field result. + + The field result. + + + + Insert and update revisions of textbody items. + + + + + Moves the Field end paragraph items to Field result last paragraph. + + The para. + + + + Gets the index of the hierarchical. + + The entity. + + + + + Gets the position value. + + The bookmark. + + + + + Compares the index of the hierarchical. + + The value1. + The value2. + + + + + Get the date value + + + + + + + + Updating custom day value + + + + + + + + + Updating the custom month value + + + + + + + + + Update the custom year value + + + + + + + + + To Get Number from text + + + + + + + To Get the number from alphabet string + + + + + + + Removes the unwanted text in the begining of the field code + + + + + + + Removes the unwanted text in the end of the field code + + + + + + + Removes the text. + + + The text. + The text to revome. + + + + + Splits if arguments. + + + + + + + + + + Splits the field code. + + The table start. + The text. + The condition. + + + + Splits the field code. + + The operators. + The arguments. + Index of the operator. + if set to true [is operator]. + The text. + The condition. + + + + Checks whether there is index found for operator + + + + + + + + Updates the operators index with modified text. + + + + + + + //Updates the operators index as per the modified text + + + + + + + Determines whether the specified operators is operator. + + The operators. + The text. + The condition. + + true if the specified operators is operator; otherwise, false. + + + + + Gets the index of the operator. + + The collection of Operators + The Fieldcode of the field + + + + + Gets the text in table. + + The text. + The text from table start mark to table end mark + + + + Updates the condition. + + + The Text which is the fieldcode after removing the true and false part + The index of operator in text + The value of operator + + + + + Checks whether the two operands are equal if operand1 contains wildcard characters. + + The first operand. + The second operand. + True if the operands are equal, otherwise false. + + + + Checks whether the text has the expected operator + + + + + + + + + + Checks operator index are in valid position of text length + + + + + + + + + Updates the compare field. + + + + + Compares the expression. + + The operand1. + The operand2. + The operation. + + + + + Updates the formula field. + + + + + Remove the currency symbol from Field code + + The Field code + Checks whether the fieldcode starts with currency symbol + + + + + Updates the number format. + + The text. + The number format. + + + + + Check whether number field has valid format. + + + + + + + Update the Merge field value based on Number format. + + Current Number format + Field value + + + + + If switch contains ";" symbol then need to split based on the input value. For positive values first part, for negative values second part. + + Number format + Feild value + + + + Format the field value based on the given number format string. + + + + + + + + + + + Insert the text which preserved before the field number format code. + + + + + + + + Format the fractional part of the field value based on the number format switch. + + + + + + + + + + Format the integral part of the field value based on the number format switch. + + + + + + + + + Remove thousand separator and add the values, when it has invalid structure. + + + + + + + + + Add the list of integer values. + + + + + + + Split the field value based on the separator. + + + + + + + + Split the field value by the group separator. + + + + + + + + + + + + Clear the String builder text. + + + + + + Convert the given string as integer + + + + + + + Return true if switch start with double quotes + + + + + + + Check whether Number format has valid structure or not. + + + + + + + + + Split the number format by decimal separator. + + + + + + + + + Removes the merge format. + + + The text. + + + + + Removes the merge format. + + + The field code. + The number format + + + + + Updates the formula. + + The field code. + + + + + Updates the function. + + The field code. + + + + + Calulates the product of specified operands. + + The operands. + + + + + Calulates the sum of specified operands. + + The operands. + + + + + Calulates the average of specified operands. + + The operands. + + + + + Rounds of the operand to specified decimal point. + + The operand. + The decimal point. + + + + + Checks whether the specified operand is numeric value. + + The operand. + + + + + Determines whether the specified text is function. + + The text. + + true if the specified text is function; otherwise, false. + + + + + Determines whether the specified text is expression. + + The text. + + true if the specified text is expression; otherwise, false. + + + + + Updates the expression. + + The text. + + + + + Evaluates the expression. + + The expression. + The operation. + + + + Splits the expression. + + The text. + The operators. + + + + + Splits the operands. + + The text. + + + + + Replaces the field with its most recent result. + + The following example illustrates how to unlink the specified field. + + //Creates an instance of WordDocument class + WordDocument document = new WordDocument(); + //Adds a new section into the Word Document + IWSection section = document.AddSection(); + //Adds a new paragraph into Word document and appends text into paragraph + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Today's Date: "); + //Adds the new Date field in Word document with field name and its type + WField field = paragraph.AppendField("Date", FieldType.FieldDate) as WField; + //Updates the field + field.Update(); + //Unlink the field + field.Unlink(); + //Saves the document in the given name and format + document.Save("Sample.docx", FormatType.Docx); + //Releases the resources occupied by WordDocument instance + document.Close(); + + + 'Creates an instance of WordDocument class + Dim document As WordDocument = New WordDocument() + 'Adds a new section into the Word Document + Dim section As IWSection = document.AddSection() + 'Adds a new paragraph into Word document and appends text into paragraph + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Today's Date: ") + 'Adds the new Date field in Word document with field name and its type + Dim field As WField = CType(paragraph.AppendField("Date", FieldType.FieldDate), WField) + 'Updates the field + field.Update() + 'Unlink the field + field.Unlink() + 'Saves the document in the given name and format + document.Save("Sample.docx", FormatType.Docx) + 'Releases the resources occupied by WordDocument instance + document.Close() + + + + When you unlink a field, its current result is converted to text or a graphic and can no longer be updated automatically. + Note that the fields such as XE (Index Entry) fields and SEQ (Sequence) fields cannot be unlinked. + + + + + Removes the field items except the field result. + + + + + Removes the paragraph items in between the field range. + + The paragraph item. + + + + Removes the textbody items in between the field range. + + The textbody item. + + + + Iterates into body items. + + + + + Iterates into paragraph items. + + The paragraph. + + + + Iterates into table. + + The table. + + + + Removes the nested field after unlinking. + + + + + Adds the required values into the stack while reading the nested fields in field result. + + + + + + + Resets the required values after reading the nested fields in field result. + + + + + + + Updates the nested field code. + + + + + Updates the paragraph items of the field range. + + The paragraph items collection. + The start index of item. + + + + Updates the nested field code. + + + + + Updates the text for text body item. + + + The entity. + + + + + Updates the text for text body item. + + + The entity. + + + + + Updates the text for table. + + The entity. + + + + + Updates the text for paragraph item. + + + The entity. + + + + + Gets the field result. + + + + + + + + + + + + + + + + + + + Remove the field separator for the TOC entry,TOA entry,Index entry,Ref Doc and Private + + + + + + Parses the field. + + + The field code. + + + + Parses the field format. + + + The field values. + + + + Parses the local reference string for the hyperlink. + + The field code. + The start pos. + + + + Parse the switches + + Text + Index + + + + + Checks whether the text start with valid character + + + + + + + + Checks whether the text start end valid character + + + + + + + + Removes the Meridiem if present + + Text + Is Meridiem defined + + + + + Updates the Meridiem + + Text + Current date time + + + + + Updates the date value + + Text + Current date Time + Updated date value + + + + Updates Day + + Date value + Current date time + Count + + + + + Gets the culture. + + The local ID. + + + + + Updates Month + + Date value + Current date time + Count + + + + + Gets the culture from the character format. + + The CultureInfo obtained from the character format. + + + + Gets the haskey from the character format. + + The character format from which to retrieve the culture. + The CultureInfo obtained from the character format if the culture is present. + Return true if the format contains the culture value; otherwise, return false. + + + + Gets the haskey from the base format. + + The character format from which to retrieve the culture. + The CultureInfo obtained from the character format if the culture is present. + Return true if the format contains the culture value; otherwise, return false. + + + + Retrieves the first valid text range within the field. If none of the text ranges are valid, returns the current field. + + The first valid text range within the field, or the current field if none are valid. + + + + Retrieves the first field code entity for a text body item. + + The text body entity to search for a field code. + The first field code entity found within the specified entity, or null if no field code is found. + + + + Retrieves the first field code entity for a table. + + The table entity to search for a field code. + The first field code entity found within the specified entity, or null if no field code is found. + + + + Retrieves the first field code entity for a paragraph item. + + The paragraph item entity to search for a field code. + The first field code entity found within the specified entity, or null if no field code is found. + + + + Updates year + + Date value + Current date time + Count + + + + + Updates hour + + Date value + Current date time + Count + + + + + Updates Minute + + Date value + Current date time + Count + + + + + Updates Seconds + + Date value + Current date time + Count + + + + + Checks the field separator. + + + + + + Gets the formatting for hyper link. + + + + + Gets the cloned table. + + + The entity. + + + + + Gets the cloned content control + + The entity to be cloned + + + + + Updates the cloned text body item. + + The source. + The destination. + + + + Gets the cloned paragraph. + + The entity. + The TXT. + The next item. + + + + + Updates the field items. + + The item. + The entity. + The paragraph. + The items to update. + + + + + Checks whether empty para is considered as result for field + + + + + Gets the index of the paragraph item. + + The entity. + The TXT. + + + + + Gets the start index of the item. + + The index. + The text. + + + + + Merges the field mark paragraphs. + + + + + Removes the previous result. + + + + + Removes the previous result. + + + + + + Checks the pragragh. + + The paragraph. + + + + Updates the paragraph text. + + The paragraph. + if set to true [is last item]. + The result. + + + + Gets the paragraph item text. + + The item. + + + + + Updates the field result. + + The text. + + + + Updates the field result. + + The text. + if set to true [is from hyper link]. + + + + Gets the text range. + + + The text. + + + + + Skips the layouting of field code. + + + + + Splits text range by paragraph break(\r\n). + + + + + Splits the text range into new paragraph. + + The entity to split text range. + + + + Skips the layouting of macro button field code. + + + + + Splits the character by white space and extracts the valid test. + + + + + + + + + Skips the layouting of paragraph item. + + The entity. + + + + Skips the layouting of text body item. + + The entity. + + + + Skips the layouting of table. + + The entity. + + + + Set skip for items to avoid Doc to PDF layouting. + + The start index. + Item collection paragraph items or text body items + True;if field end reached, Otherwise;false + + + + Gets the next sibling if current item is perserved inside InlineContentControl. + + + + + + Iterate Field Range Items and skip field result entity. + + + + + Skip the table child entities. + + Field End table. + Field End table cell. + Return true; if the Field is in table;Else false. + + + + Skip the other item in the paragraph except Field end + + ParagraphItemCollection. + + + + Gets the layouted EQ field size. + + Graphics object for EQ field. + Charcter format for EQ field. + + + + + Used to split, validate, and layout the inputed . + + Represents a inputed fieldcode of equation field. + Represents as object which act as drawing context. + Represents a which set for equation field. + Represents a which set for equation field. + Represents a X position of equation field. + Represents a Y position of equation field. + Returns a complete for the inputed + + + + Determine whether the given EQ field code valid or not. + + Field code to validate. + Returns true if it is valid field code, else false. + + + + Determine whether the given EQ switch valid or not. + + Represents a field code to find and perform validation on corresponding EQ switch. + Returns true, if it is valid field code, else return false. + + + + Used to create corresponding eqution field for the . + + Represent a field code of the equation field. + Represents a object which act as drawing context. + Represents a which set for equation field. + Represents a X position of equation field. + Represents a Y position of equation field. + Return an equation field for the inpute field code. + + + + Generetes a equation field switch. + + Represents a EQ switch to save layouted elements. + Represents a field code of equation field switch. + Font for equation field. + Represents as object which act as drawing context. + Represents a of equation field switch. + Represents a X position of equation field. + Represents a Y position of equation field. + + + + Generetes nested equation field switch. + + Represents a EQ switch to save layouted elements. + Represents a field code of equation field switch. + Represents as object which act as drawing context. + Represents a of equation field switch. + Represents a X position of equation field. + Represents a Y position of equation field. + + + + Generetes normal text in equation field switch. + + Represents a EQ switch to save layouted element. + Represents a field code of equation field switch. + Font for equation field. + Represents as object which act as drawing context. + Represents a of equation field switch. + Represents a X position of equation field. + Represents a Y position of equation field. + + + + Layout the radical equation field switch. + + Represents the field codes of radical equation field switch. + Represents as object which act as drawing context. + Represents a which set for radical equation field switch. + Represents a X position of radical equation field switch. + Represents a Y position of radical equation field switch. + Returns layouted radical switch. + + + + Generates the radical equation field switch using their field code. + + Represents the radical equation field switch containing elements. + Represents the elements to be added into the radical switch. + Represents as object which act as drawing context. + Represents a which set for radical equation field switch. + Represents a X position of radical equation field switch. + Represents a Y position of radical equation field switch. + Returns the radical equation field switch, including their elements. + + + + Generates outer element of radical switch and shift the position. + + Represents the radical equation field switch containing elements. + Outer element of radical EQ switch. + Represents as object which act as drawing context. + Represents a which set for radical equation field switch. + Represents a X position of radical equation field switch. + Represents a Y position of radical equation field switch. + Y position for outer element. + Right most X for outer element. + + + + Shift the Radical lines Y position. + + Layouted radical symbol of radical EQ field. + Position to shift the radical symbol. + + + + Update radical switch bounds. + + Layouted radical EQ field. + + + + Generates a radical symbol as per outer and inner elements. + + Represents a radical switch, to maintain all its elements. + Represents an element inside the radical symbol. + Represents a X position of radical equation field switch. + Right most position of outer element. + Baseline Y position of outer element of radical EQ switch. + Returns a radical equation field switch including symbol and elements. + + + + Update the bounds of radical switch after generating symbol. + + Radical EQ switch to set bounds. + Inner element of the radical switch. + Hook part of the radical symbol. + Upward line of the radical symbol. + Top line of the radical symbol. + Thickness of the lines. + X position of the radical switch. + + + + Generates upward line of radical symbol. + + Inner elment of the radical EQ switch. + Upward line of the radical symbol to generate. + Thickness of the line to generate + + + + Generates downward line of radical symbol. + + Inner elmenet of the radical EQ switch. + Upward line of the radical symbol, which already generated. + Downward line of the radical symbol, to generate. + Thickness of the line to generate + Point values for generating hook portion of radical symbol. + + + + Generates top horizontal line of radical symbol. + + Inner elmenet of the radical EQ switch. + Upward line of the radical symbol, which already generated. + Top horizontal line of the radical symbol. + Thickness of the line to generate + + + + Generate hook portion of radical symbol. + + Inner elmenet of the radical EQ switch. + Hook portion of root symbol to generate. + Thickness of the line to generate + Height of the hook to generate. + One of the point of hook symbol. + + + + Get the position for outer element of radical EQ switch. + + Hook part of the radical symbol. + Upward line of the radical symbol. + Top line of the radical symbol. + Thickness of the lines. + Right x position of the outer elmeent. + Y of the outer element of radical switch. + + + + Get the another length from the known angles. + + Opposite side of angle1. + One of the angle, whose opposite side is known value. + Another angle, whose opposite side need to calculate + Returns calculated width from height and angles. + + + + Converts degrees into radian. + + Represents an angle in degree + Returns radian value of inputed degree value. + + + + Determines whether the inputed radical field code is valid or not. + + Represents a field code of radical equation field switch. + Return true if valid, otherwise return false. + + + + Determines whether an inputed field code of list equation field switch is valid or not. + + Represents the field code of list equation field switch. + Returns true if it is valid field code, otherwise returns false. + + + + Layout the list equation field switch using their elements. + + Represents a fieldcode of list equation switch. + Represents as object which act as drawing context. + Represents a of list equation field switch. + Represents a X position of list equation field. + Represents a Y position of list equation field. + Returns a layouted list equation field switch. + + + + Generetes a list equation field switch. + + Represents a list switch to save layouted elements. + Represents a field code of list equation field switch. + Represents as object which act as drawing context. + Represents a of list equation field switch. + Represents a X position of list equation field. + Represents a Y position of list equation field. + + + + Determines whether inputed supercript or subscript field code is valid or not. + + Represents a field code of superscript EQ switch. + Returns true if validation success, else return false. + + + + Checks whether the inputed code is correct sequence of superscript or subscript EQ switch. + + Field code of superscript or subscript EQ switch. + Returns true, if it is correct sequence, else returns false. + + + + Checks the value in string is whether positive or negative. + + Input string to check value. + Returns true for positive value, else return false. + + + + Layout the superscript or subscript EQ switch. + + Represents a field code of superscript or subscript EQ switch. + Represents as object which act as drawing context. + Represents a of superscript or subscript equation field switch. + Represents a X position of superscript or subscript equation field. + Represents a Y position of superscript or subscript equation field. + Returns layouted superscript or subscript EQ switch. + + + + Genrates a superscript or subscript EQ switch. + + Represents a superscript or subscript switch to layout. + Represents the elements of superscript or subscript switch. + Represents as object which act as drawing context. + Represents a of superscript or subscript EQ switch. + Represents a X position of superscript or subscript EQ switch. + Represents a Y position of superscript or subscript EQ switch. + Returns generated superscipt or subscript EQ switch. + + + + Adds space to below EQ switch. + + Represents a EQ switch to add space. + Represents a value of space to add. + + + + Add space to above of EQ switch. + + Represents a EQ switch to add space. + Represents a value of space to add. + + + + Gets space value to add below superscript or subscript EQ switch. + + Represents a fieldcode of superscript or subscript EQ switch. + Returns a value to add below superscript or subscript EQ switch. + + + + Gets space value to add above superscript or subscript EQ switch. + + Represents a fieldcode of superscript or subscript EQ switch. + Returns a value to add above superscript or subscript EQ switch. + + + + Aligns the items in like single column array. + + Represents a EQ switch to align. + + + + Set property values from super or subscript switch field code. + + Represent a switch with elements. + Represents a super or subscript field code. + Represents as object which act as drawing context. + + + + Align the script switch as superscipt switch using property value. + + Represents as + object which act as drawing context. + Represents superscript or subscript switch. + Value to shift the superscript or subscript EQ switch, + to make it a superscript switch. + + + + Align the script switch as subscript switch using property value. + + Represents as object which act as drawing context. + Represents superscript or subscript switch. + Value to shift the superscript or subscript EQ switch, to make it a subscript switch. + + + + Gets the super/sub script properties values. + + Up value property for superscript switch. + Down value for superscript switch. + Determines whether switch has up or down value + + + + Extract the digit value from the given string. + + Represents a input to extract digit from it. + Returns a digit from string. + + + + Gets the maximum height of layouted EQ fields. + + Layouted EQ field + Maximum height of layouted EQ fields + Return maximum bottom of the layouted EQ fields. + + + + Used to layout the fraction equation field switch. + + Represents a fieldcode of the fraction equation field switch. + Represents a object which act as drawing context. + Represents a of fraction equation field switch. + Represents a X position of fraction equation field switch. + Represents a Y position of fraction equation field switch. + Return an fraction equation field for the inpute field code. + + + + Generates the EQ fraction switches. + + Layouted fraction switches + Numerator and denominator values + Represents a object which act as drawing context. + Represents a of fraction equation field switch. + Represents a X position of fraction equation field switch. + Represents a Y position of fraction equation field switch. + + + + Inserts the fraction line between the numarator and denominator. + + Fraction switch to save all its elements + Numerator of fraction switch. + Denominator of fraction switch. + Represents a object which act as drawing context. + Represents a of fraction equation field switch. + Represents a X position of fraction equation field switch. + Represents a Y position of fraction equation field switch. + + + + Set x position for fraction elements. + + Fraction line between two elements. + Numerator of fraction switch. + Denominator of fraction switch. + Represents a X position of fraction equation field switch. + Represents a Y position of fraction equation field switch. + + + + Set y for numerator and denominator. + + /// Numerator of fraction switch. + Denominator of fraction switch. + Represents a object which act as drawing context. + Represents a X position of fraction equation field switch. + Represents a Y position of fraction equation field switch. + + + + Find the value to center align the EQ switch. + + Switch to consider for alignment. + Maximum width consider to center the alignment. + Returns value to set for center alignment of inputed switch. + + + + Determine whether the given fraction switch is valid or not. + + Represents a Fraction switch field code to perform validation. + Returns true if validation success , else return false. + + + + Used to layout the each in X and Y co-ordinates. + + Represent an equation field to maintain all layouted equation fields. + Represent a splitted from the inputed field code. + Represents a object which act as drawing context. + Represents a which set for equation field. + Represents a X position of equation field. + Represents a Y position of equation field. + Return a layouted equation field for the inputed field code. + + + + Layout the bracket EQ switch. + + Represents a field code of bracket EQ switch. + Represents a object which act as drawing context. + Represents a for bracket EQ switch. + Represents a X position of bracket EQ switch. + Represents a Y position of bracket EQ switch. + Returns a layouted bracket switch. + + + + Extract the opening and closing character from the bracket switch field code. + + Represents a field code of bracket switch. + Represents a opening character for bracket EQ switch. + Represents a closing character for bracket EQ switch. + + + + Gets corresponding closing character for inputed character. + + Opening character of bracket. + Returns corresponding closing character for opening character. + + + + Generates a bracket switch using their elements. + + Represents a bracket switch to maintain its elements. + Represents the element of bracket EQ switch. + Represents an open bracket for bracket EQ switch. + Represents a closing bracket of bracket EQ switch. + Represents a object which act as drawing context. + Represents a for bracket EQ switch. + Represents a X position of bracket EQ switch. + Represents a Y position of bracket EQ switch. + + + + Generates opening bracket of bracket EQ switch. + + Represents a bracket switch to maintain its elements. + Represents an open bracket for bracket EQ switch. + Represents a object which act as drawing context. + Represents a for bracket EQ switch. + Represents a X position of bracket EQ switch. + Represents a Y position of bracket EQ switch. + Denotes the height of character is minimum to increase by font size. + Height to generate opening bracket. + Extra width to add with normal width. + Value to adjust the bracket to enclosing the bracket switch. + + + + Generates closing bracket of bracket EQ switch. + + Represents a bracket switch to maintain its elements. + Represents a closing bracket of bracket EQ switch. + Represents a object which act as drawing context. + Represents a for bracket EQ switch. + Represents a X position of bracket EQ switch. + Represents a Y position of bracket EQ switch. + Denotes the height of character is minimum to increase by font size. + Height to generate opening bracket. + Extra width to add with normal width. + Extra position to preserve correct closing bracket. + + + + Determines whether the brackets contains the minimum height or not + + Character to compare the height. + Represents a object + which act as drawing context. + Represents a for bracket EQ switch. + Maximum height of the character to generate. + Returns true, if height of the character to generate + is greater than maximum height of normal character , else false. + Each character has certain limit to generate by increasing font size. + If height is greater than that limit, then the character is generated using parts of unicodes. + + + + Generates a character as per bracket switch height from inputed character. + + Representsa to save generated character. + Input character to genreate corresponding character in size. + Represents a object which act as drawing context. + Represents a to set for input character. + Represents a X position where to generate character. + Represents a Y position where to generate character. + Represents a maximum height for the character to generate. + + + + Changes the font size of the character, instead of generating character from parts of Unicodes. + + Representsa to save generated character. + Input character to genreate corresponding character in size. + Represents a object which act as drawing context. + Represents a to set for input character. + Represents a X position where to generate character. + Represents a maximum height for the character to generate. + + + + Generates a parenthesis using its parts of Unicodes and layouted as single element. + + A to save all parts of layouted charaacters. + Unicode of upper hook of parenthesis. + Unicode of Parenthesis extenion. + Unicode of lower hook of parenthesis. + Represents a object which act as drawing context. + Represents a to set for parenthesis. + Represents a X position where to generate parenthesis. + Represents a Y position where to generate parenthesis. + Represents a maximum height of the parenthesis to generate. + + + + Generates middle part of the paranthesis using Unicode. + + A to save all parts of layouted charaacters. + Unicode of middle part of parenthesis. + Represents a middle part of layouted Unicode. + Represents a lower part of layouted Unicode. + Represents a object which act as drawing context. + Represents a to set for parenthesis. + Represents a X position where to generate parenthesis. + Represents a Y position where to generate parenthesis. + Maximum height to generate middle part of parenthesis. + + + + Generates a square bracket from parts of unicodes and save it as one + + A to save all parts of layouted charaacters. + Unicode of upper corner of square bracket. + Unicode of square bracket extenion. + Unicode of lower corner of square bracket. + Represents a object which act as drawing context. + Represents a to set for square bracket. + Represents a X position where to generate square bracket. + Represents a Y position where to generate square bracket. + Represents a maximum height of the square bracket to generate. + + + + Generates a curly brace from parts of unicodes and save it as one , + + A to save all parts of layouted charaacters. + Unicode of upper hook of curly brace. + Unicode of middle peice of curly brace. + Unicode of lower hook of curly brace. + Unicode of curly bracket extension. + Represents a object which act as drawing context. + Represents a to set for curly brace. + Represents a X position where to generate curly brace. + Represents a Y position where to generate curly brace. + Represents a maximum height of the curly brace to generate. + + + + Generates upper extension part of curly brace. + + A to save all parts of layouted charaacters. + Unicode of extension part of bracket. + Represents a middle part of layouted Unicode. + Represents a object which act as drawing context. + Represents a to set for bracket. + Represents a X position where to generate bracket. + Represents a Y position where to generate bracket. + Maximum height to generate extension part. + + + + Generates lower part extension of curly brace. + + /// A to save all parts of layouted charaacters. + Unicode of extension part of bracket. + Represents a lower part of layouted Unicode. + Represents a object which act as drawing context. + Represents a to set for bracket. + Represents a X position where to generate bracket. + Represents a Y position where to generate bracket. + Maximum height to generate extension part. + + + + Generates upper part of bracket. + + A to save all parts of layouted charaacters. + Unicode of upper part of bracket. + Represents a upper part of layouted Unicode. + Represents a object which act as drawing context. + Represents a to set for bracket. + Represents a X position where to generate bracket. + Represents a Y position where to generate bracket. + + + + Generates lower part of bracket. + + A to save all parts of layouted charaacters. + Unicode of lower part of bracket. + Represents a lower part of layouted Unicode. + Represents a object which act as drawing context. + Represents a to set for bracket. + Represents a X position where to generate bracket. + Represents a Y position where to generate bracket. + + + + Generates repeated character from inputed unicode untill it reaches maximum height + + Represents a to save multiple layouted character. + Unicode for character to generate repeatedly. + Represents a object which act as drawing context. + Represents a to set for character. + Represents a X position where to generate character. + Represents a Y position where to generate character. + Maximum height to generate characters. + Font size for the character to generate. + + + + Checks whether the inputed field code is valid bracket EQ switch field code or not. + + Represents a field code of bracket EQ switch. + Returns true if it is valid field code, else returns false. + + + + Checks whether bracket EQ switch is in correct pattern or not. + + Represents a properties of bracket EQ switch. + Returns true if it is correct pattern, else return false. + + + + Validate whether the inputed field code of box equation field switch is valid or not. + + Represents a field code of box switch. + Returns true, if it is valid field code, else returns false. + + + + Checks whether the inputed code is correct sequence of box EQ switch. + + Field code of box EQ switch. + Returns true, if it is correct sequence , else returns false. + + + + Create layout for EQ box switch. + + Represents a field code of box equation field switch. + Represents as object which act as drawing context. + Represents a of box equation field switch. + Represents a X position of box equation field. + Represents a Y position of box equation field. + Returns a layouted box EQ switch. + + + + Retrives the properties from the box switch field code. + + Field code of box EQ switch. + Represents whether left side line is need to generate or not. + Represents whether top side line is need to generate or not. + Represents whether right line is need to generate or not. + Represents whether bottom line is need to generate or not. + + + + Inserts a box to the boundary of box EQ switch. + + Represents a box EQ switch consider to generate a box. + Represents whether left side line is need to generate or not. + Represents whether top side line is need to generate or not. + Represents whether right line is need to generate or not. + Represents whether bottom line is need to generate or not. + Extra width to add if it has any line. + + + + Adds the line EQ child into the layouted equation fields. + + Layouted box EQ field. + Point x1 + Point x2 + Point y1 + Point y2 + + + + Generates a box EQ switch using thier elements. + + Represent a box EQ switch to save layouted elements.. + Represent an element of box EQ switch. + Represents as object which act as drawing context. + Represents a of box equation field switch. + Represents a X position of box equation field. + Represents a Y position of box equation field. + Retruns generated box switch. + + + + Layout a integral EQ switch. + + Represents a field code of integral EQ switch. + Represents as object which act as drawing context. + Represents a which set for integral equation field switch. + Represents a X position of integral equation field switch. + Represents a Y position of integral equation field switch. + Returns layouted integral EQ switch. + + + + Gets the symbol and position of limits whether inline or normal from the integral EQ switch field code. + + Represents a field code of integral switch. + Sets whether limits are inline or normal limits. + Sets the symbol for integral switch. + Denotes whether symbol is need to layout as varible in size or not, as per size of integrand. + + + + Generates a integral EQ switch using their elements. + + Represents a integral Eq switch to save layouted elements. + Represents an element of integral EQ switch. + Represents whether the limits are inline or not. + Represents whether the symbol vary as per integrand size or not, if it is other than preferred symbols. + Represents a symbol to used in integral EQ switch. + Represents as object which act as drawing context. + Represents a which set for integral equation field switch. + Represents a X position of integral equation field switch. + Represents a Y position of integral equation field switch. + + + + Generates elements of integral EQ switch. + + Upper limit of the integral EQ switch. + Lower limit of the integral EQ switch. + Integrand of the integral EQ switch. + Maximum width among limits. + Elements to layout for integral EQ switch. + Represents as object which act as drawing context. + Represents a which set for integral equation field switch. + Represents a X position of integral equation field switch. + Represents a Y position of integral equation field switch. + + + + Calculates the height of the symbol from elements. + + Upper limit of the integral EQ switch. + Lower limit of the integral EQ switch. + Integrand of the integral EQ switch. + Denotes the position of limits. + Height of the symbol to generate. + + + + Set position for integral elments. + + Denotes the position for limits. + Upper limit of the integral EQ switch. + Lower limit of the integral EQ switch. + Integrand of the integral EQ switch + Symbol of the integral EQ switch. + Integral siwthc to hold all layouted elements. + Represents as object which act as drawing context. + Represents a which set for integral equation field switch. + Represents a X position of integral equation field switch. + Represents a X position of integral equation field switch. + Maximum width among limits. + Symbol in the integral EQ switch. + + + + Aligns the elements and symbol of integral EQ switch, when limits are inline. + + Upper limit of the integral EQ switch. + Lower limit of the integral EQ switch. + Integrand of the integral EQ switch + Symbol of the integral EQ switch. + Represents as object which act as drawing context. + Represents a X position of integral equation field switch. + Represents a which set for integral equation field switch. + Represents a X position of integral equation field switch. + Integral switch to hold all layouted elements. + Symbol to generate for integral switch. + + + + Align the elements and symbol of integral EQ switch, when limits are not inline. + + Upper limit of the integral EQ switch. + Lower limit of the integral EQ switch. + Integrand of the integral EQ switch + Symbol of the integral EQ switch. + Represents as object which act as drawing context. + Represents a which set for integral equation field switch. + Maximum width among limits. + Integral switch to hold all layouted elements. + + + + Aligns the elements and Pi or Summation symbol of integral EQ switch. + + Upper limit of the integral EQ switch. + Lower limit of the integral EQ switch. + Integrand of the integral EQ switch + Symbol of the integral EQ switch. + Represents as object which act as drawing context. + + + + Align the elements and integral symbol of integral switch. + + Upper limit of the integral EQ switch. + Lower limit of the integral EQ switch. + Integrand of the integral EQ switch + Symbol of the integral EQ switch. + Represents as object which act as drawing context. + Represents a which set for integral equation field switch. + + + + Get the extra value to shift lower limit. + + Height of the layouted integrand of integral EQ switch. + Represents as object which act as drawing context. + Represents a which set for integral equation field switch. + Retruns a value to add with the lower limit shifting value. + + + + Gets the extra height which is need to add before and after of integral symbol. + + + + + + + + Calculate the space to add to center align the element, for both vertical and horizontal + + Maximum size which consider for center align + Size of element to layout in center. + + + + Generates symbol for integral EQ switch as per inputed height. + + Layouted integrand of integral EQ switch. + Represents a to save generated symbol. + A character or Unicode to generate as a symbol. + Denotes whether symbol is vary in size as per maximum height. + Represents as object which act as drawing context. + Represents a for symbol. + Represents a X position of symbol. + Represents a Y position of symbol. + Represents a maximum height to layout a symbol. + + + + Gets the font size for integral symbol to generate. + + Layouted integrand of integral EQ switch. + Returns the font size used for integral symbol. + + + + Generates intergal symbol from two parts. + + Represents a to save generated symbol. + Represents as object which act as drawing context. + Represents a for symbol. + Represents a X position of symbol. + Represents a Y position of symbol. + Font size for the each part of integral symbol. + + + + Generates the integral symbol by using its parts of unicode. + + Represents a to save generated symbol. + Represents as object which act as drawing context. + Represents a for symbol. + Represents a X position of symbol. + Represents a Y position of symbol. + Represents a maximum height need to generate symbol. + Font size for the each part of integral symbol. + + + + Generates the upper part of integral symbol using its unicode. + + Represents a to save generated symbol. + Represents as object which act as drawing context. + Represents a for symbol. + Represents a X position of symbol. + Represents a Y position of symbol. + Represents a layouted upper part of integral symbol. + Font size for the upper part o integral symbol. + + + + Generates the lower part of integral symbol using its unicode. + + Represents a to save generated symbol. + Represents as object which act as drawing context. + Represents a for symbol. + Represents a X position of symbol. + Represents a Y position of symbol. + Represents a layouted lower part of integral symbol. + Font size for the lower part of integral symbol. + + + + Generates the middle part of integral symbol using its unicode. + + Represents a to save generated symbol. + Represents as object which act as drawing context. + Represents a for symbol. + Represents a X position of symbol. + Represents a Y position of symbol. + Represents a layouted lower part of integral symbol. + Represents a middle part of integral symbol. + Represents a maximum height to generate middle extension part. + Font size for the middle part of integral symbol. + + + + Determines whether the inputed fied code if valid integral EQ switch field code. + + Represents a field code of integral EQ switch. + Returns true if it is valid field code, else returns false. + + + + Checks whether the inputed field code has correct sequence for integral EQ switch or not. + + Represents a field code of integral EQ switch to check. + Returns true if input has correct sequence, else returns false. + + + + Validate whether the inputed field code of overstrike EQ switch is valid or not. + + Represents a field code of overstrike EQ switch. + Returns true, if it is valid field code, else returns false. + + + + Checks whether the inputed field code is correct format of overstrike EQ switch. + + Field code of overstrike EQ switch. + Returns true, if it is correct sequence, else return false. + + + + Layout a overstrike EQ switch. + + Represents a field code of oversrike EQ switch. + Represents as object which act as drawing context. + Represents a which set for overstrike EQ switch. + Represents a X position of overstrike EQ switch. + Represents a Y position of overstrike EQ switch. + Returns layouted overstrike EQ switch. + + + + Generates an overstrike EQ switch. + + An overstrike switch to save all its layouted elements. + Element of overstrike switch to layout. + Alignment property to set for overstrike EQ switch. + Represents as object which act as drawing context. + Represents a which set for overstrike EQ switch. + Represents a X position of overstrike EQ switch. + Represents a Y position of overstrike EQ switch. + + + + Align the layouted overstrike EQ switch elements as per alignment property. + + Represents an overstrike switch, need to align. + Represents a type of alignment which will set for overstrike elements. + + + + By iterating to each property of overstrike EQ switch, get the alignment propery. + + Field code of overstrike EQ switch. + Represents an alignment property retrieved from field code. + + + + Determines whether inputed field code of array EQ switch is valid or not. + + Represents a field code of array EQ switch. + Returns true if validation success, else return false. + + + + Check whether the inputed code is correct sequence of array EQ switch. + + Field code of array EQ switch. + Returns true, if input code is correct format, else returns false. + + + + Layout an array EQ switch. + + Represents a field code of array EQ switch. + Represents as object which act as drawing context. + Represents a which set for array EQ switch. + Represents a X position of array EQ switch. + Represents a Y position of array EQ switch. + Returns layouted array EQ switch. + + + + Gets the array switch properties from array EQ switch fieldcode. + + Field code of array EQ switch. + Number cof columns value, to layout the array switch. + Vertical space value, to add in between each row. + Horizontal space value, to add in between each column. + Represents an alignment of array switch. + + + + Gets an alignment property from the field code of array EQ switch. + + Field code of array EQ switch, which is one of the alignment property. + Represents an alignment of array EQ switch. + + + + Generates an array EQ switch. + + Layouted array switch to save all its layouted elements. + Element to layout in array switch. + Space value to add between each column in array switch. + Space value to add between each row in array switch. + Number of columns to layout the array elements in columnwise manner. + Represents as object which act as drawing context. + Represents a which set for array EQ switch. + Represents a X position of array EQ switch. + Represents a Y position of array EQ switch. + + + + Layout each elements of array EQ switch. + + Layouted array switch to save all its layouted elements. + Element to layout in array switch. + Space value to add between each column in array switch. + Space value to add between each row in array switch. + Number of columns to layout the array elements in columnwise manner. + Represents as object which act as drawing context. + Represents a which set for array EQ switch. + Represents a X position of array EQ switch. + Represents a Y position of array EQ switch. + + + + Align the generated array EQ switch to the normal line of text. + + Represents an array switch to align. + Represents as object which act as drawing context. + Represents a which set for array EQ switch. + + + + Checks whether an element is available in the index of array EQ switch. + + An array EQ switch to check the element. + Row of array EQ switch to search for element. + Column of array EQ switch to search for element. + Return true if element is available at the position, elese returns false. + + + + Calculates the maximum number of rows and columns in array EQ switch. + + An array EQ switch to count the rows and columns. + Represents the number of rows in array EQ switch. + Represents the number of columns in array EQ switch. + + + + Set Y position for each element in array EQ switch. + + An array EQ switch to layout the elements. + Represents as object which act as drawing context. + Maximum number of rows in array switch. + Maximum number of columns in array switch. + + + + Set width for columns from the maximum width of element in the column. + + Represents an array switch to layout columns. + Maximum number of rows in array switch. + Maximum number of columns in array switch. + + + + Set X for each elements in column. + + /// Represents an array switch to set x value.. + Maximum number of rows in array switch. + Denotes the column index to set X values for all elements. + X position for elements in column. + + + + Get the maximum width of the particular column, by comparing width of each element. + + An array switch need to layout. + Index of column to find the maximum width. + Return maximum width of the column. + + + + Determines whether inputed field code of Displace EQ switch is valid or not. + + Represents a field code of Displace EQ switch. + Returns true if validation success, else return false. + + + + Layout a displace EQ switch. + + Represents a field code of displace EQ switch. + Represents as object which act as drawing context. + Represents a which set for displace EQ switch. + Represents a X position of displace EQ switch. + Represents a Y position of displace EQ switch. + Returns layouted displace EQ switch. + + + + Generates an displace EQ switch. + + Represents a displace EQ switch to save its layouted elements. + Element of displace EQ switch to layout. + Represents n values used for shifting in displace EQ switch. + Represents whether line is to be drawn or not in displace EQ switch. + Represents as object which act as drawing context. + Represents a which set for displace EQ switch. + Represents a X position of displace EQ switch. + Represents a Y position of displace EQ switch. + + + + Shift the displace EQ switch as per shiftvalue, which is forward or backward. + + Represents a displace switch to perform shifting. + Represents n values used for shifting in displace EQ switch. + Represents whether line is drawn or not. + Represents as object which act as drawing context. + Represents a which set for displace EQ switch. + Represents a X position of displace EQ switch. + Represents a Y position of displace EQ switch. + + + + Generates line for "li" property in displace EQ switch. + + Represents a displace switch to save generate line. + Represents as object which act as drawing context. + Represents a which set for displace EQ switch. + Represents a X position of displace EQ switch. + Represents a Y position of displace EQ switch. + Represents the length of line to generate. + + + + Set width as zero including its inner elementsof switch, to make field overlap with following text. + + Represents a to set width as zero + + + + Generates space to fill the specified width of EQ switch. + + A to save the layouted space. + Represents a width of switch of layouted EQ switch, consists of spaces. + Represents as object which act as drawing context. + Represents a which set for displace EQ switch. + Represents a X position of displace EQ switch. + Represents a Y position of displace EQ switch. + + + + Gets the properties of displace EQ switch from fielcode. + + Field code of displace EQ switch. + Represents n values used for shifting in displace EQ switch. + Represents whether line is to be drawn or not in displace EQ switch. + + + + Checks the given code in correct format. + + Input code, it is one of the properties of EQ switch. + Represent whether the inputed may contain negative values or not. + Returns true if inputed is in correct format, else returns false. + + + + Split the input as text part and start of integer part. + + Input text to perform splitting + Reference to store splitted integer part. + + It splits the as text part untill it reacher first occcurence of integer. + And the remaining string is considered as integer part. + + + + + Calculate the font size with respect to the desired height. + + Text to increase the font size. + Desired height of the inputed text. + Represents as object which act as drawing context. + Represents a character format to used for measuring. + Returns the size of font, to make the text in desired height. + + + + Layout the EQ field in vertical center alignment. + + EQ field need to shift to set in vertical center. + EQ field to consider for height and position to be layout, which is stable. + Represents a object which act as drawing context. + + + + Gets the list separator from the current culture. + + Returns a list separator of the current culture. + + + + Split the inputed string by comma, ignoring the comma with slash as prefix. + + Represents a text to split. + Returns a collection of splitted strings. + + + + Updates the layouted EQ fields bounds. + + layouted EQ fields. + + + + Shift the x position of the layuted EQ fields. + + layouted EQ field + Value of X to shift. + + + + This method indicate whether the provide EQ field code + contains any switch or not. + + EQ field code + Returns true if input code has any switch, else false. + + + + Extract the particular from the EQ field codes + + field code + Return the field code by ignoring elements and other text. + + + + Split the EQ field code based on the switches. + + Collection to hold the splited switches. + EQ field code + + + + Gets the top most Y position of layouted EQ fields. + + Layouted EQ field. + Minimum value of y position. + Returns minimum value of y position. + + + + Gets the letf most x position of layouted EQ fields. + + Layouted EQ fields + X position + Returns left most X value of EQ fields. + + + + Gets the maximum right position of the layouted EQ field. + + Represents a layouted EQ field, to find maximum right position. + Represents a maximum width of the inputed layouted EQ field. + Returns maximum right position of the layouted EQ field. + + + + Check the inputed text has many characters. + + Text to check. + Return true if has many characters, else return false. + + + + Gets the substring till the first occurence of delimeter,skip if delimeter has backslash as prefix. + + Represents a original string to create a substring. + Delimeter consider for create substring + Returns substring from the inputed string. + + + + Validate character follwed by backslash is whether valid character of Equation field or not. + + Represents a text to check backslash validation. + Returns true if it has improper slash, else false. + + + + Collects the indexes of backslash, but ignore the slash with another slash as prefix. + + Represents a text to find the indexes of slash. + Return collection of indexes of backslashes in the inputed + + + + Determine whether the given switch contains the miss matched + parenthesis or not. + + Represents a to check balancing parenthesis. + Return true if it has mismatch parenthesis else, false. + + + + Checks the inputed text only has alphabets. + + Represents a text to check each charcater. + Return true if inputed text has only alphabets, else returns false. + + + + Gets the text from the before switch in the field code. + + EQ field code + Returns text before an EQ switch. + + + + Gets the first occurence of the EQ switches. + + EQ field code + Returns the EQ switch field code of beginning of first occured switch. + + + + Remove the EQ text and return field code of the equation field. + + Represents an inputed equation fieldcode. + Returns a field code, after removed unneccessary EQ text. + + + + Replaces backslash before comma, slash, and parenthesis into normal symbols. + + Represents a to perform replacement. + Returns a replaced text. + + + + Checks whether a character is exist in given arraay. + + Array to find the input character. + Character to search in array. /// + Returns true if it contains inputed character, else false. + + + + Get CharacterFormat of the PAGE and NUMPAGES field based on TextRanges preserved inside the field + + + + + + Get the character format from the existing field result (Before update) in the REF field. + + + + + + + Get FontScriptType of the PAGE and NUMPAGES field based on TextRanges preserved inside the field + + + + + + Gets the first field code entity formats. + + + + + + Determine whether the current Reference field as Bookmark cross reference field + + + + + + Initializing LayoutInfo value to null + + + + + Get Text Range preserved inside the PAGE and NUMPAGES field + + + + + + Determine whether the current Reference field as Bookmark cross reference field + + + + + + Implemented alternative method to improve the performance + + + + + + + + Check whether the current field ranges contains nested field in it + + + + + Check whether there is any nested field + + + + + + Get the current field as string + + Boolean to represent whether the string need till current field separator or not + Returns the string that represent the current field + + + + Gets or sets the text format field switch that defines how to display field results. + + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + + Gets or sets field pattern. + + + + + Gets the field value. Read-only. + + The field value. + + + + Gets or sets field type. + + the represents the type of the field. + + + + Decides whether field should be updated automatically or not. + + + + + Decides whether the field should not be updated untill field code changed. + + + + + Is Local Hyperlink + + + + + Decides whether the field has a page field inside. + + + Boolean is used for Word to PDF layouting purpose. + + + + + Decides whether the field is inside of another field. + + + Boolean is used for Word to PDF layouting purpose. + + + + + Gets the formatting string. + + The formatting string. + + + + Gets the local reference for the hyperlink. + + The local reference. + + + + Gets or sets the screen tip text for hyperlink + + The string that specifies the screen tip. + + + + Gets or sets the field code. + + The field code information used to evaluate the resultant value of the field. + + + + Gets the field code of the current field. + + + + + Gets or sets the type of the source field. + + The type of the source field. + + + + Gets or sets the field result. + + The field result. + + + + Gets the range. + + The range. + + + + Gets or sets the field separator. + + The field separator. + + + + Gets or sets the field end. + + The field end. + + + + Gets or sets a value indicating whether the instance is cloned. + + + true if the instance is cloned; otherwise, false. + + + + + Gets or sets a value indicating whether the instance is added. + + + true if the instance is added; otherwise, false. + + + + + Gets or sets a value indicating whether field range updated. + + + true if field range updated; otherwise, false. + + + + + Gets or sets a value indicating whether is field separator. + + + true if is field separator; otherwise, false. + + + + + Gets or sets a value indicating whether skip the instance. + + + true if skip the instance; otherwise, false. + + + + + Gets or sets a value indicating whether the instance is updated. + + + true if the instance is updated; otherwise, false. + + + + + Check whether field is nested field and Inside the field separator + + + if the field is inside the field separator, set to true. + + + + + Gets or sets a value indicating whether the field is created while parsing "pgNum" element. + + True if the field is created while parsing "pgNum" element; otherwise, false. + + + + Gets or sets a value indicating whether this instance is number pages inside expression field. + + + true if this instance is number pages inside expression field; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is number page used for evaluation. + + + true if this instance is number page used for evaluation; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is field inside unknown field. + + + true if this instance is field inside unknown field; otherwise, false. + + + + + Gets the result format. + + + The result format. + + + + + Gets or sets the text. + + The string that specifies the text. + + + + Check Whether the current field contain field separator or not + + + + + Gets or Sets the OriginalField for AutoNum Fields + + + + + Returns the list of functions + + + + + Get or set the start position. + + + + + Month + + + + + + + + + + + + + + + Specifies whether the field has Form field data. + + + + + Initializes a new instance of the class. + + + + + + Initializes a new instance of the class. + + The form field. + The doc. + + + + Clones itself. + + + Returns cloned object. + + + + + + + + + Attaches to paragraph. + + The paragraph. + + + + + Detaches from owner. + + + + + Attaches for text body. + + + + + Detaches for text body. + + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Applies the new name of the bookmark. + + The old name. + The new name. + + + + Applies new bookmark name in bookmark collection of document. + + The old name. + The new name. + + + + + Applies the in owner para collection. + + The old name. + The new name. + + + + Checks if collection of bookmarks in document contains bookmark with specified name. + + The new name. + + + + Gets the form field text for Word Comparison + + + + + + Gets type of this form field. + + + + + Gets/sets form field title name (bookmark name). + + + + + Gets/sets form field help. + + + + + Gets or sets the status bar help. + + The status bar help. + + + + Gets / sets the name of macros on start + + + + + Gets / sets the name of macros on end + + + + + + + + + + + + + + + Gets or sets Enabled property (true if form field enabled). + + + + + Gets/sets calculate on exit property. + + + + + Gets or sets a value indicating whether this instance has form field data. + + + true if this instance has form field data; otherwise, false. + + + + + + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Creates a duplicate copy of the entity. + + + A reference to the newly created instance. + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Sets the size of the CheckBox. + + Size of the check box. + + + + Creates layout information. + + + + + + Gets the size of the CheckBox. + + The dc. + + + + + Initializing LayoutInfo value to null + + + + + Gets the Checkbox text for Word Comparison + + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets or sets the size of the checkbox. + + The integer that specifies the size of checkbox. + + + + Gets or sets value indicating whether by default the checkbox is checked or not. + + True if the checked box is checked by default; otherwise, false. + + + + Gets or sets a value indicating whether the the checkbox is checked. + + True if the checked box is checked; otherwise, false. + + + + Gets or sets the type of the checkbox size. + + The member that specifies the checkbox size type. + + + + Represents the chart in the Word document. + + This class, its properties and methods are not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin applications. + The following code illustrates how to create a new chart. + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Input data for chart + Dim data As Object()() = New Object(5)() {} + For i As Integer = 0 To 5 + data(i) = New Object(2) {} + Next + data(0)(0) = "" + data(1)(0) = "Gravad lax" + data(2)(0) = "Louisiana Hot spiced Okara" + data(3)(0) = "Mascarpone Fabioli" + data(4)(0) = "Wimmers gute SemmelKnodel" + data(5)(0) = "Maxilaku" + data(0)(1) = "Sum of Purchases" + data(1)(1) = 286 + data(2)(1) = 680 + data(3)(1) = 288 + data(4)(1) = 200 + data(5)(1) = 731 + data(0)(2) = "Sum of Future Expenses" + data(1)(2) = 1300 + data(2)(2) = 700 + data(3)(2) = 1280 + data(4)(2) = 1200 + data(5)(2) = 2660 + 'Create and Append chart to the paragraph + Dim chart As WChart = paragraph.AppendChart(data, 470, 300) + 'Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered + chart.ChartTitle = "Purchase Details" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None + chart.PrimaryCategoryAxis.Title = "Products" + chart.PrimaryValueAxis.Title = "In Dollars" + 'Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom + 'Save the document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + OfficeChart object to hold chart elements + + + + + Attaches to paragraph. + + The paragraph. + The item pos. + + + + Detaches from owner. + + + + + Creates a duplicate copy of the entity. + + + A reference to the newly created object. + + + + + + + + + + + Clears the object + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + + + + + + Set chart data from excel file + + Worksheet number that has data for chart + Data ranga in the worksheet that has chart data + + + + Initialize the CharToImageConverter + + Current chart + + + + Sets the data for the chart from the specified collection. + + An that represents the two dimensional array. + + + + Sets the data for the chart from the specified collection with the row index and column index. + + An that represents the two dimensional array. + The integer that specifies the row of the first cell where array should be imported. + The integer that specifies the column of the first cell where array should be imported. + + + + Sets the data for the chart from the specified collection with the row index and column index. + + An object with desired data. + The integer that specifies the row of the first cell where array should be imported. + The integer that specifies the column of the first cell where array should be imported. + + + + + Replaces the chart data with the worksheet data. + + + Optional Boolean. Set to true to update all the formulas in the Excel sheet. The default value is false. + + + + //Open the template document. + WordDocument document = new WordDocument("Template.docx"); + //Get the paragraph. + WParagraph paragraph = document.LastParagraph; + //Get the chart entity. + WChart chart = paragraph.ChildEntities[0] as WChart; + //Replaces the chart data with the worksheet data. + chart.Refresh(true); + //Save and close the document + document.Save("Sample.docx"); + document.Close(); + + + 'Open the template document. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Get the paragraph. + Dim paragraph As WParagraph = document.LastParagraph + 'Get the chart entity. + Dim chart As WChart = TryCast(paragraph.ChildEntities(0), WChart) + 'Replaces the chart data with the worksheet data.. + chart.Refresh(True) + 'Save and close the document + document.Save("Sample.docx") + document.Close() + + + + + + Creates layout information. + + + + + + Measures the size of chart + + + + + + + Gets the Chart as string for Word Comparison. + + + + + + Gets the chart properties for Word comparison + + + + + + Gets the chart properties for Word comparison + + + + + + To Compare two charts returns true if equal else returns false. + + + + + + Checks that the chart is of 2016 charts type + + + + + Gets or sets workbook data + + + + + Gets or sets the internal data file path of . + + + + + Decides whether chart item relation is external. + + + + + Gets or sets the type of the chart + + The member that specifies the type of chart. + + + + Gets or sets the external data file path of . + + + The following code illustrates how to sets the external data file path of . + + //Loads the template document + WordDocument document = new WordDocument("Template.docx"); + //Gets the last paragraph + WParagraph paragraph = document.LastParagraph; + //Gets the chart entity from the paragraph items + WChart chart = paragraph.ChildEntities[0] as WChart; + //Modifies the external data file path of chart + chart.ExternalDataPath = @"Data\Excel_Template.xlsx"; + //Saves and closes the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Loads the template document + Dim document As New WordDocument("Template.docx") + 'Gets the last paragraph + Dim paragraph As WParagraph = document.LastParagraph + 'Gets the chart entity from the paragraph items + Dim chart As WChart = TryCast(paragraph.ChildEntities(0), WChart) + 'Modifies the external data file path of chart + chart.ExternalDataPath = "Data\Excel_Template.xlsx" + 'Saves and closes the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets IOfficeDataRange of the chart data. + + + + + Gets or sets value indicating whether chart series are represented as rows. + + True if the series are represented as rows; otherwise, false. + + + + Gets or sets the title of the chart. + + The string that specifies the chart title. + + + + Gets the IOfficeChartTextArea of the chart. Read-only. + + + + + Gets collection of IOfficeChartSeries present in the chart. Read-only. + + + + + Gets the primary category axis of the chart. Read-only. + + The IOfficeChartCategoryAxis instance that specifies the primary category axis. + + + + Gets the primary value axis of the chart. Read-only. + + The IOfficeChartValueAxis instance that specifies the primary value axis. + + + + Gets the primary series axis of the chart. Read-only. + + The IOfficeChartSeriesAxis instance that specifies the primary series axis. + + + + Gets the secondary category axis of the chart. Read-only. + + The IOfficeChartCategoryAxis instance that specifies the secondary category axis. + + + + Gets the secondary value axis of the chart. Read-only. + + The IOfficeChartValueAxis instance that specifies the secondary value axis. + + + + Gets the chart area. Read-only. + + The following code illustrates how to apply the formatting for chart area. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Get the paragraph + WParagraph paragraph = document.LastParagraph; + //Get the chart entity + WChart chart = paragraph.ChildEntities[1] as WChart; + //Format chart area. + IOfficeChartFrameFormat chartArea = chart.ChartArea; + //Set border line pattern, color, line weight + chartArea.Border.LinePattern = OfficeChartLinePattern.Solid; + chartArea.Border.LineColor = Color.Blue; + chartArea.Border.LineWeight = OfficeChartLineWeight.Hairline; + //Set fill type and fill colors + chartArea.Fill.FillType = OfficeFillType.Gradient; + chartArea.Fill.GradientColorType = OfficeGradientColor.TwoColor; + chartArea.Fill.BackColor = Color.FromArgb(205, 217, 234); + chartArea.Fill.ForeColor = Color.White; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Get the paragraph + Dim paragraph As WParagraph = document.LastParagraph + 'Get the chart entity + Dim chart As WChart = TryCast(paragraph.ChildEntities(1), WChart) + 'Format chart area. + Dim chartArea As IOfficeChartFrameFormat = chart.ChartArea + 'Set border line pattern, color, line weight + chartArea.Border.LinePattern = OfficeChartLinePattern.Solid + chartArea.Border.LineColor = Color.Blue + chartArea.Border.LineWeight = OfficeChartLineWeight.Hairline + 'Set fill type and fill colors + chartArea.Fill.FillType = OfficeFillType.Gradient + chartArea.Fill.GradientColorType = OfficeGradientColor.TwoColor + chartArea.Fill.BackColor = Color.FromArgb(205, 217, 234) + chartArea.Fill.ForeColor = Color.White + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the plot area of the chart. Read-only. + + The following code illustrates how to apply the formatting for plot area. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + WParagraph paragraph = document.LastParagraph; + //Get the chart entity + WChart chart = paragraph.ChildEntities[0] as WChart; + //Set border settings - line color, pattern, weight, transparency + chart.PlotArea.Border.AutoFormat = false; + chart.PlotArea.Border.IsAutoLineColor = false; + chart.PlotArea.Border.LineColor = Color.Blue; + chart.PlotArea.Border.LinePattern = OfficeChartLinePattern.DashDot; + chart.PlotArea.Border.LineWeight = OfficeChartLineWeight.Wide; + chart.PlotArea.Border.Transparency = 0.6; + //Set the plot area’s fill type, color + chart.PlotArea.Fill.FillType = OfficeFillType.SolidColor; + chart.PlotArea.Fill.ForeColor = Color.LightPink; + //Set the plot area shadow presence + chart.PlotArea.Shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalTopLeft; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + Dim paragraph As WParagraph = document.LastParagraph + 'Get the chart entity + Dim chart As WChart = TryCast(paragraph.ChildEntities(0), WChart) + 'Set border settings - line color, pattern, weight, transparency + chart.PlotArea.Border.AutoFormat = False + chart.PlotArea.Border.IsAutoLineColor = False + chart.PlotArea.Border.LineColor = Color.Blue + chart.PlotArea.Border.LinePattern = OfficeChartLinePattern.DashDot + chart.PlotArea.Border.LineWeight = OfficeChartLineWeight.Wide + chart.PlotArea.Border.Transparency = 0.6 + 'Set the plot area’s fill type, color + chart.PlotArea.Fill.FillType = OfficeFillType.SolidColor + chart.PlotArea.Fill.ForeColor = Color.LightPink + 'Set the plot area shadow presence + chart.PlotArea.Shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalTopLeft + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets the walls of the chart. Read-only. + + The 3D charts, stacked charts and clustered charts only can have walls. + + + + Gets the side wall of the chart. Read-only. + + The following code illustrates how to specify side wall formatting. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the excel file as stream + Stream excelStream = File.OpenRead("Excel_Template.xlsx"); + //Create and Append chart to the paragraph with excel stream as parameter + WChart chart = paragraph.AppendChart(excelStream, 1, "B2:C6", 470, 300); + //Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered_3D; + chart.ChartTitle = "Purchase Details"; + chart.ChartTitleArea.FontName = "Calibri"; + chart.ChartTitleArea.Size = 14; + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None; + //Set name to chart series + chart.Series[0].Name = "Sum of Purchases"; + chart.Series[1].Name = "Sum of Future Expenses"; + chart.PrimaryCategoryAxis.Title = "Products"; + chart.PrimaryValueAxis.Title = "In Dollars"; + //Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom; + //Set roatation and elevation values + chart.Rotation = 20; + chart.Elevation = 15; + //Set side wall properties + chart.SideWall.Fill.FillType = OfficeFillType.SolidColor; + chart.SideWall.Fill.ForeColor = Color.White; + chart.SideWall.Fill.BackColor = Color.White; + chart.SideWall.Border.LineColor = System.Drawing.Color.Beige; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the excel file as stream + Dim excelStream As Stream = File.OpenRead("Excel_Template.xlsx") + 'Create and Append chart to the paragraph with excel stream as parameter + Dim chart As WChart = paragraph.AppendChart(excelStream, 1, "B2:C6", 470, 300) + 'Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered_3D + chart.ChartTitle = "Purchase Details" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None + 'Set name to chart series + chart.Series(0).Name = "Sum of Purchases" + chart.Series(1).Name = "Sum of Future Expenses" + chart.PrimaryCategoryAxis.Title = "Products" + chart.PrimaryValueAxis.Title = "In Dollars" + 'Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom + 'Set rotation and elevation values + chart.Rotation = 20 + chart.Elevation = 15 + 'Set side wall properties + chart.SideWall.Fill.FillType = OfficeFillType.SolidColor + chart.SideWall.Fill.ForeColor = Color.White + chart.SideWall.Fill.BackColor = Color.White + chart.SideWall.Border.LineColor = System.Drawing.Color.Beige + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + The 3D charts, stacked charts and clustered charts only can have side walls. + + + + Gets the back wall of the chart. Read-only. + + The following code illustrates how to specify back wall formatting. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the excel file as stream + Stream excelStream = File.OpenRead("Excel_Template.xlsx"); + //Create and Append chart to the paragraph with excel stream as parameter + WChart chart = paragraph.AppendChart(excelStream, 1, "B2:C6", 470, 300); + //Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered_3D; + chart.ChartTitle = "Purchase Details"; + chart.ChartTitleArea.FontName = "Calibri"; + chart.ChartTitleArea.Size = 14; + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None; + //Set name to chart series + chart.Series[0].Name = "Sum of Purchases"; + chart.Series[1].Name = "Sum of Future Expenses"; + chart.PrimaryCategoryAxis.Title = "Products"; + chart.PrimaryValueAxis.Title = "In Dollars"; + //Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom; + //Set roatation and elevation values + chart.Rotation = 20; + chart.Elevation = 15; + //Set the Backwall fill option. + chart.BackWall.Fill.FillType = OfficeFillType.Gradient; + //Set the Texture Type. + chart.BackWall.Fill.GradientColorType = OfficeGradientColor.TwoColor; + chart.BackWall.Fill.GradientStyle = OfficeGradientStyle.Diagonl_Down; + chart.BackWall.Fill.ForeColor = Color.WhiteSmoke; + chart.BackWall.Fill.BackColor = Color.LightBlue; + //Set the Border Linecolor. + chart.BackWall.Border.LineColor = System.Drawing.Color.Wheat; + //Set the Picture Type. + chart.BackWall.PictureUnit = OfficeChartPictureType.stretch; + //Set the Backwall thickness. + chart.BackWall.Thickness = 10; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the excel file as stream + Dim excelStream As Stream = File.OpenRead("Excel_Template.xlsx") + 'Create and Append chart to the paragraph with excel stream as parameter + Dim chart As WChart = paragraph.AppendChart(excelStream, 1, "B2:C6", 470, 300) + 'Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered_3D + chart.ChartTitle = "Purchase Details" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None + 'Set name to chart series + chart.Series(0).Name = "Sum of Purchases" + chart.Series(1).Name = "Sum of Future Expenses" + chart.PrimaryCategoryAxis.Title = "Products" + chart.PrimaryValueAxis.Title = "In Dollars" + 'Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom + 'Set rotation and elevation values + chart.Rotation = 20 + chart.Elevation = 15 + 'Set the Backwall fill option. + chart.BackWall.Fill.FillType = OfficeFillType.Gradient + 'Set the Texture Type. + chart.BackWall.Fill.GradientColorType = OfficeGradientColor.TwoColor + chart.BackWall.Fill.GradientStyle = OfficeGradientStyle.Diagonl_Down + chart.BackWall.Fill.ForeColor = Color.WhiteSmoke + chart.BackWall.Fill.BackColor = Color.LightBlue + 'Set the Border Linecolor. + chart.BackWall.Border.LineColor = System.Drawing.Color.Wheat + 'Set the Picture Type. + chart.BackWall.PictureUnit = OfficeChartPictureType.stretch + 'Set the Backwall thickness. + chart.BackWall.Thickness = 10 + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + The 3D charts, stacked charts and clustered charts only can have back walls. + + + + Gets the floor of the chart. Read-only. + + The 3D charts, stacked charts and clustered charts only can have floor. + + + + Gets the data table of the chart. Read-only. + + The IOfficeChartDataTable instance that specifies the data table of chart. + + + + Gets or sets value indicating whether the chart has a data table. + + True if the chart has data table; otherwise, false. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the excel file as stream + Stream excelStream = File.OpenRead("Excel_Template.xlsx"); + //Create and Append chart to the paragraph with excel stream as parameter + WChart chart = paragraph.AppendChart(excelStream, 1, "B2:C6", 470, 300); + //Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered; + chart.ChartTitle = "Purchase Details"; + chart.ChartTitleArea.FontName = "Calibri"; + chart.ChartTitleArea.Size = 14; + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None; + //Set name to chart series + chart.Series[0].Name = "Sum of Purchases"; + chart.Series[1].Name = "Sum of Future Expenses"; + //Display data table + chart.HasDataTable = true; + chart.PrimaryCategoryAxis.Title = "Products"; + chart.PrimaryValueAxis.Title = "In Dollars"; + //Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom; + //Save the document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the excel file as stream + Dim excelStream As Stream = File.OpenRead("Excel_Template.xlsx") + 'Create and Append chart to the paragraph with excel stream as parameter + Dim chart As WChart = paragraph.AppendChart(excelStream, 1, "B2:C6", 470, 300) + 'Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered + chart.ChartTitle = "Purchase Details" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None + 'Set name to chart series + chart.Series(0).Name = "Sum of Purchases" + chart.Series(1).Name = "Sum of Future Expenses" + chart.PrimaryCategoryAxis.Title = "Products" + chart.PrimaryValueAxis.Title = "In Dollars" + 'Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom + 'Display data table + chart.HasDataTable = True + 'Save the document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Gets the chart legend. Read-only. + + The following code illustrates how to apply the formatting for legend. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + WParagraph paragraph = document.LastParagraph; + //Get the chart entity + WChart chart = paragraph.ChildEntities[0] as WChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Left; + //Set the layout inclusion + chart.Legend.IncludeInLayout = true; + //Set the legend border format - color, pattern, weight + chart.Legend.FrameFormat.Border.AutoFormat = false; + chart.Legend.FrameFormat.Border.IsAutoLineColor = false; + chart.Legend.FrameFormat.Border.LineColor = Color.Blue; + chart.Legend.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot; + chart.Legend.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Wide; + //Set the legend's text area formatting - font name, weight, color, size + chart.Legend.TextArea.Bold = true; + chart.Legend.TextArea.Color = OfficeKnownColors.Bright_green; + chart.Legend.TextArea.FontName = "Times New Roman"; + chart.Legend.TextArea.Size = 20; + chart.Legend.TextArea.Strikethrough = true; + //Modify the legend entry + chart.Legend.LegendEntries[0].IsDeleted = true; + //Modify the legend layout - height, left, top, width + chart.Legend.Layout.Height = 50; + chart.Legend.Layout.HeightMode = LayoutModes.factor; + chart.Legend.Layout.Left = 10; + chart.Legend.Layout.LeftMode = LayoutModes.factor; + chart.Legend.Layout.Top = 30; + chart.Legend.Layout.TopMode = LayoutModes.factor; + chart.Legend.Layout.Width = 100; + chart.Legend.Layout.WidthMode = LayoutModes.factor; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + Dim paragraph As WParagraph = document.LastParagraph + 'Get the chart entity + Dim chart As WChart = TryCast(paragraph.ChildEntities(0), WChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Left + 'Set the layout inclusion + chart.Legend.IncludeInLayout = True + 'Set the legend border format - color, pattern, weight + chart.Legend.FrameFormat.Border.AutoFormat = False + chart.Legend.FrameFormat.Border.IsAutoLineColor = False + chart.Legend.FrameFormat.Border.LineColor = Color.Blue + chart.Legend.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot + chart.Legend.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Wide + 'Set the legend's text area formatting - font name, weight, color, size + chart.Legend.TextArea.Bold = True + chart.Legend.TextArea.Color = OfficeKnownColors.Bright_green + chart.Legend.TextArea.FontName = "Times New Roman" + chart.Legend.TextArea.Size = 20 + chart.Legend.TextArea.Strikethrough = True + 'Modify the legend entry + chart.Legend.LegendEntries(0).IsDeleted = True + 'Modify the legend layout - height, left, top, width + chart.Legend.Layout.Height = 50 + chart.Legend.Layout.HeightMode = LayoutModes.factor + chart.Legend.Layout.Left = 10 + chart.Legend.Layout.LeftMode = LayoutModes.factor + chart.Legend.Layout.Top = 30 + chart.Legend.Layout.TopMode = LayoutModes.factor + chart.Legend.Layout.Width = 100 + chart.Legend.Layout.WidthMode = LayoutModes.factor + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets value indicating whether the chart has a legend. + + True if the chart has legend; otherwise, false. + + + + Gets or sets the rotation value for x-axis of the 3-D chart, measured in degrees. + + The integer that specifies the value for rotation. + The following code illustrates how to rotation for 3D chart. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add section to the document + IWSection sec = document.AddSection(); + //Add paragraph to the section + IWParagraph paragraph = sec.AddParagraph(); + //Load the excel file as stream + Stream excelStream = File.OpenRead("Excel_Template.xlsx"); + //Create and Append chart to the paragraph with excel stream as parameter + WChart chart = paragraph.AppendChart(excelStream, 1, "B2:C6", 470, 300); + //Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered_3D; + chart.ChartTitle = "Purchase Details"; + chart.ChartTitleArea.FontName = "Calibri"; + chart.ChartTitleArea.Size = 14; + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None; + //Set name to chart series + chart.Series[0].Name = "Sum of Purchases"; + chart.Series[1].Name = "Sum of Future Expenses"; + chart.PrimaryCategoryAxis.Title = "Products"; + chart.PrimaryValueAxis.Title = "In Dollars"; + //Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom; + //Set roatation and elevation values + chart.Rotation = 20; + chart.Elevation = 15; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add section to the document + Dim sec As IWSection = document.AddSection() + 'Add paragraph to the section + Dim paragraph As IWParagraph = sec.AddParagraph() + 'Load the excel file as stream + Dim excelStream As Stream = File.OpenRead("Excel_Template.xlsx") + 'Create and Append chart to the paragraph with excel stream as parameter + Dim chart As WChart = paragraph.AppendChart(excelStream, 1, "B2:C6", 470, 300) + 'Set chart type and title + chart.ChartType = OfficeChartType.Column_Clustered_3D + chart.ChartTitle = "Purchase Details" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + chart.ChartArea.Border.LinePattern = OfficeChartLinePattern.None + 'Set name to chart series + chart.Series(0).Name = "Sum of Purchases" + chart.Series(1).Name = "Sum of Future Expenses" + chart.PrimaryCategoryAxis.Title = "Products" + chart.PrimaryValueAxis.Title = "In Dollars" + 'Set position of legend + chart.Legend.Position = OfficeLegendPosition.Bottom + 'Set rotation and elevation values + chart.Rotation = 20 + chart.Elevation = 15 + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Gets or sets the rotation value for y-axis of the 3-D chart, measured in degrees. + + The integer that specifies the value for elevation. + + + + + Gets or sets the perspective value for the 3-D chart, measured in degrees. + + + + + Gets or sets the height of a 3-D chart as a percentage of the chart width(between 5 and 500 percent). + + + + + Gets or sets the depth of a 3-D chart as a percentage of the chart width(between 20 and 2000 percent). + + + + + Gets or sets the distance between the data series in a 3-D chart, as a percentage of the marker width. + + + + + Gets or sets value indicating whether the chart axes are at right angles. + + True if the chart axis are at right angles; otherwise, false. + + + + Gets or sets a value indicating whether to scale a 3-D chart size. + + True if to scale the 3-D chart; otherwise, false. + + + + Gets or sets a value indicating whether the chart has plot area. + + True if the chart has plot area; otherwise, false. + + + + Gets or sets a value indicating how that blank cells are plotted on a chart. + + The OfficeChartPlotEmpty member that specifies how to plot empty cells. + + + + Gets or sets a value indicating whether to plot only the visible cells of the data table. + + True if to plot only visible cells; false if both visible and hidden cells are plotted. + + + + Gets the collection of IOfficeChartCategories of the chart. Read-only. + + + + + Gets or sets the series name filter option for the chart. + + The OfficeSeriesNameLevel member that specifies the filter option. + + + + Gets or sets the category name filter option for the chart. + + The OfficeCategoriesLabelLevel member that specifies the filter option. + + + + Gets the chart data. Read-only. + + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + + Represents a comment in the Word document. + + + + + Represents the text body of comment. + + + + + + Represents the formatting options for the comment. + + + + + + Represents the comment range start of the comment + + + + + Represents the comment range end of the comment + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Creates a duplicate copy of the entity. + + + An reference to the newly created instance. + + + + Removes the items in the comment. + + + + + Removes the items between. + + The first item. + The last item. + + + + Replace the contents of the comment with the specified text. + + The string that specifies the text to replace. + + + + Replaces the commented items with specified TextBodyPart. + + The text body part. + + + + Adds the self. + + + + + Attach the comment items into the CommentsCollection + + + + + + + Clones the relations. + + + + + Generate and set new para id to the comment + + Destination document + Comment + + + + + Closes this instance. + + + + + Clones the relations. + + The doc. + + + + Adds the paragraph item to the commented items. + + The paragraph item. + + + + Initialize the XDLS holder. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Creates the layout info. + + + + + + Inserts the commented item. + + The paragraph. + The index. + The item to insert. + + + + Finds the comment start. + + The index. + The start id. + The item collection. + + + + + Checks the text body on the existing of WComment objects. + + The item. + + + + + Checks the paragraph on the existing of WComment objects. + + The paragraph. + + + + + Checks the table on the existing of WComment objects. + + The table. + + + + + Removes the first item. + + The first item. + The last item. + + + + Fills the commented items from TextBodyPart. + + + + + Fills the commented items from the paragraph. + + The paragraph. + + + + Fills the commented item from the table. + + The table. + + + + Modifies the text. + + The text. + + + + + Sets the ParentParaId of the comment + + The List of paraid of all comments + The parentparaid of the comment + + + + Gets the ancestor comment + + Ancestor Comment + + + + + + Gets the child elements of the comment. Read-only. + + The collection of child elements. + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + + Gets the text body of the comment. Read-only. + + The instance that represents the text body. + + + + Gets the format options for the comment. + + The instance that represents format options of comment. + + + + Gets the collection of items in the paragraph of the comment. + + The paragraph items collection of the comment. + + + + Gets a value indicating whether to append commented items to the document . + + true if append items; otherwise, false. + + + + + + + + + Gets or Sets the ParentParaId of the comment + + + + + Returns the parent comment for the specific comment. Read-only + + The parent of the specific . + + Returns null for top-level comments. + + + + Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + Get the Ancestor comment + WComment ancestorComment = document.Comments[1].Ancestor; + Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance + Dim document As WordDocument = New WordDocument("Template.docx") + 'Get the Ancestor comment + Dim ancestorComment As WComment = document.Comments(1).Ancestor + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Specifies whether the Comment is detached (For both cases either cloned or removed from collection) from the Comments collection. + + + + + Gets a value indicating whether the comment is resolved or not. The default value is false. + + + True if the comment is resolved; otherwise, false. + + This property is only applicable for DOCX format documents. + + + // Load an existing Word document into DocIO instance + using (WordDocument document = new WordDocument("Template.docx")) + { + // Checks whether the comment is resolved or not + bool done = document.Comments[0].Done; + // Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + } + + + 'Load an existing Word document into DocIO instance + Dim document As WordDocument = New WordDocument("Template.docx") + 'Checks whether the comment is resolved or not + Dim done As Boolean = document.Comments(0).Done + 'Save and Close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Represents comment start marker + + + + + Id of the comment current mark refers to + + + + + + + + + + Represents the owner comment of the comment mark + + + + + Initializes a new instance of the class. + + The document. + The comment id. + + + + Initializes a new instance of the class. + + The document. + The comment id. + + + + Clones itself. + + + Returns cloned object. + + + + + + + + + + + + + + + + + Gets or sets the id of the comment this mark refers to. + + The comment id. + + + + Gets the type of the entity. + + The of the current item. + + + + Gets or sets the type of the CommentMark. + + The type. + + + + Get/Set if the Comment Range end is preserved after the TableCell mark + + + + + Represents the comment extended in Word Document + + + + + Represents the last paragraph id of comment + + + + + Represents the last paragraph id of the comment to which the associated comment is reply + + + + + Represents whether comment is resolved or not + + + + + Gets or sets the last paragraph id of the associated comment + + + + + Gets or sets the last paragraph id of the comment to which the associated comment is reply. + + + + + Gets or sets the value indicating that whether comment is resolved or not. + + + + + Summary description for WDropDownFormField. + + + + + + + + + + Initializes a new instance of the class. + + + + + + + + + + + + Closes this instance. + + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Registers child objects in XDSL holder. + + + + + + + + + + + Initializing LayoutInfo value to null + + + + + Gets the Drop down field text for Word comparison. + + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets/sets selected drop down index. + + + + + Gets drop down items. + + + + + + + + + + + + + + + Represents an embeded field. + + + + + + + + + + + Registers child objects in XDSL holder. + + + + + Reads object data from xml attributes. + + The object. + + + + Writes object data as xml attributes. + + The object. + + + + Clone values of all fields of current embedded field + + + new WEmbedField, containing the same info as in current + + + + + Gets the type of the entity. + + The of the current item. + + + + + + + + + + + + + + Represents form control field. + + + + + + + + + + Initializes a new instance of the class. + + + + + + Clone values of all fields of current embedded field + + + + new WEmbedField, containing the same info as in current + + + + + Clones the relations + + Document + Owner of the entity + + + + Closes this instance. + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets or sets the storage location. + + The storage pic location. + + + + Gets the OLE object. + + The OLE object. + + + + Represents the field mark in the document. + + + + + + + + + + Initializes a new instance of the class. + + The doc. + + + + Initializes a new instance of the class. + + The field mark. + The doc. + + + + Initializes a new instance of the class. + + The doc. + The type. + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Registers child objects in XDSL holder. + + + + + + + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets character format of the field mark. + + + + + Gets or sets type of field mark. + + + + + Gets or sets the parent field. + + + The parent field. + + + + + Represents a document footnote or endnote. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + The doc. + + + + + + + + + + + Adds the self. + + + + + Creates the layout info. + + + + + + Clones the specified paragraph. + + + Returns cloned object. + + + + Clones the relations. + + The doc. + + + + "Listener" for state change. + + + + + + Closes this instance. + + + + + Initialize the XDLS holder. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + + + + + + + Updates the custom marker. + + The destination marker. + + + + + + + + + + Clearing the previous + + + + + Getting the CustomMarker string + + + + + Compare CharacterFormat + + + + + Checks the character style. + + + + + Updates the footnote marker. + + + + + Ensures the footnote/endnote marker. + + + + + Appends the footnote symbol. + + + + + Generates the symbol. + + The symbol code. + + + + + Replaces the selection. + + The symbol. + The paragraph. + + + + Ensures the footnote/endnote style. + + + + + Updates the change flag. + + + + + Replaces the marker. + + The selection. + The replace text. + + + + Appends the marker. + + The marker. + The destination paragraph. + + + + Generates the text. + + + + + + Measures self size. + + + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets / sets footnote type: footnote or endnote + + + + + Gets the value indicating if the footnote is auto numbered + + + + + Gets the text body of the footnote. + + The text body. + + + + Gets the marker character format + + + + + Gets or sets the marker symbol code. + + The symbol code. + + + + Gets or sets the name of the marker symbol font. + + The name of the symbol font. + + + + Gets or sets the custom footnote marker. + + The custom marker. + + + + + + + + + indicate whether the endnote instance layouted or not. + + + + + The class specifies the Layout Footnote information. + + + + + + + + + + + + + + + + + + + + Holds the height of the footnote + + + + + Initializes a new instance of the class. + + The child layout direction. + + + + Get Footnote ID based on number format + + + + + + + + Get Base Entity. + + The entity. + + + + + Get/Set Footnote/Endnote TextBody height + + + + + Get/Set Endnote TextBody height + + + + + Get/Set Footnote/Endnote ID. + + + + + Get/Set the TextRange + + + + + Represents the IF field in the document. + + + The following code example demonstrates how to add an If field in Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + WordDocument document = new WordDocument(); + IWSection section = document.AddSection(); + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("If field which uses string of characters in expression"); + paragraph = section.AddParagraph(); + //Create the new instance of IF field + WIfField field = paragraph.AppendField("If", FieldType.FieldIf) as WIfField; + //Specify the expression, true and false statement in field code + field.FieldCode = "IF \"True\" = \"True\" \"The given statement is Correct\" \"The given statement is Wrong\""; + paragraph = section.AddParagraph(); + paragraph.AppendText("If field which uses numbers in expression"); + paragraph = section.AddParagraph(); + //Create the new instance of IF field + field = paragraph.AppendField("If", FieldType.FieldIf) as WIfField; + //Specify the expression, true and false statement in field code + field.FieldCode = "IF 100 >= 1000 \"The given statement is Correct\" \"The given statement is Wrong\""; + //Update the document fields + document.UpdateDocumentFields(); + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + Dim document As New WordDocument() + Dim section As IWSection = document.AddSection() + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("If field which uses string of characters in expression") + paragraph = section.AddParagraph() + 'Create the new instance of IF field + Dim field As WIfField = TryCast(paragraph.AppendField("If", FieldType.FieldIf), WIfField) + 'Specify the expression, true and false statement in field code + field.FieldCode = "IF ""True"" = ""True"" ""The given statement is Correct"" ""The given statement is Wrong""" + paragraph = section.AddParagraph() + paragraph.AppendText("If field which uses numbers in expression") + paragraph = section.AddParagraph() + 'Create the new instance of IF field + field = TryCast(paragraph.AppendField("If", FieldType.FieldIf), WIfField) + 'Specify the expression, true and false statement in field code + field.FieldCode = "IF 100 >= 1000 ""The given statement is Correct"" ""The given statement is Wrong""" + 'Update the document fields + document.UpdateDocumentFields() + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Updates if field. + + + + + When AutoNum field is inside the IF field Result part, then skip the update of field result and also + remove the previous result with Field separator. + + The FieldMark. + + + + Check wheather the if field contains any AutoNum field in the result part. + + The FieldResult + returns True if If Field have AutoNum field itself otherwise return false. + + + + Gets the text in the entity + + The entity. + Entity text + + + + Gets the Field Result as String + + List of entity. + Field Result as string + + + + Updates the field result entities between FieldSeparator and FieldEnd. + + The result. + + + + Checks whether all the item in field result is TextRange + + + + + + + Removes the text range from result except first textrange + + + + + + After update the SET field inside the IF field, removed from the field result collection + + + + + + Initializes the layout information of text body item. + + The entity. + + + + Updates the field result entities between FieldSeparator and FieldEnd. + + List of field result entities. + + + + Merges the field separator and field end paragraph. + + + + + Moves the Field end paragraph items to Field result last paragraph. + + The para. + + + + Parse the Field range to get expression and Results + + expression text + + + + Gets the updated cloned field Range + + List of cloned Entity + + + + Gets the cloned Field entiy + + The entity. + The entity list. + + + + Gets the cloned paragraph item + + The entity. + The entity list. + + + + Splits Entity + + The entity. + The remaining text. + + + + Reads the expression from range + + The entity. + Reference to readTrueText flag. + Reference to expressionFound flag + + + + Checks the text reached end of expression. + + The text.Text after the expression remains in the text if expression found + "true" if the text reached end of expression otherwise false + + + + Check whether the text need to aplit or not + + + + True if the text need to split else returns false + + + + Checks the text contains operator or not. + + The text.Text after the operator remains in the text if operator found + "true" if the text conatins operator otherwise false + + + + Gets the index of operator. + + The text after the double quote remains in the text if double quote found. + Returns the index of the operator. + + + + Reads the True result entity + + The text. + The entity. + Reference to readTrueText flag. + Reference to expressionFound flag + + + + Reads the False result entity + + The entity. + + + + Checks whether the last item is not a textrange, but other renderable item` + + Field result + True, if the last item is not textrange, but other renderable item else False + + + + Removes the unwanted text/entity in the Result + + The field result. + + + + Check whether the paragraph has paragraph mark as a child entity + + Paragraph added in field result + False, if the last item of the paragraph is paragraph mark; else true + + + + Removes the ParagraphMark from field range + + The field result + + + + Removes the empty text and paragraph + + + + + + Trim Double Quotes + + + + + Remove the FieldTextStart character and FieldTextEnd character in the text range. + + + + + + + + Remove the FieldTextStart character and FieldTextEnd character in the text range. + + + + + + + + Trims the double quotesin text range. + + The text range. + if set to true [is start]. + if set to true [is end]. + + + + Get Index of Double quote character + + + + + + + Checks if field. + + The para. + The text. + if set to true [is if field result]. + + + + Checks if field end. + + The para. + if set to true [is if field result]. + + + + + + + + + + Updates field code + + + + + + Checks the expression strings. + + + + + Parses the field value. + + + + + Updates the expression string. + + + + + Updates the merge fields. + + + + + Clones itself. + + + Returns cloned object. + + + + Closes this instance. + + + + + Gets the Expression1 of IF field. + + The expression1. + + + + Gets the Expression2 of IF field. + + The expression1. + + + + Gets the TrueText field. + + The true text field. + + + + + + + + + Gets the merge fields. + + The merge fields. + + + + Class represents pseudo merge field inside IF field + + + + + + + + + + Initializes a new instance of the class. + + The field text. + + + + Gets the name. + + The name. + + + + Gets or sets the value. + + The value. + + + + Gets a value indicating whether fit mail merge. + + if it fits the mail merge, set to true. + + + + Represents a mathMl element in a word document. + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Creates a duplicate copy of the entity. + + + A reference to the newly created object. + + + + Clears the object. + + + + + Changes the math element to display position + + + + + Gets a WMath instance as drawing image by using Word to PDF layouting engine. + + Returns a PNG format image byte array. + As Word to Image conversion not supported in Portable platform, this method won't works in Portable. + Once we provided Word to Image conversion support, we can provide support for GetAsImage API too. + Note - We need to change only rendering(Drawig to Image) logics. Layouting will works in Portable too. + + + + Changes the math element to inline with text. + + + + + Removes the previous break + + + + + Inserts an empty text range + + + + + Removes the break following math element + + + + + Applies base format for the paragraph items inside Mathematical equation + + + + + Iterates into officemath. + + + + + + Iterates into each function to get their run element + + Represents a function to iterate + + + + Checks whether the math element is inline or display type. + + + + + Checks whether the item after math is break + + + + + Check whether item before math is break + + + + + Creates layout information for + + + + + Initializing LayoutInfo to null + + + + + + + Initializing LayoutInfo to null + + + + + Initializing LayoutInfo to null + + + + + Measure the width and height of WMath + + Represent the + Return the size of WMath + + + + Compare two math along with the formatting + + The math to be compared + True if the math is same, else false. + + + + Compare the properties of source OfficeMathParagraph with destination OfficeMathParagraph + + The OfficeMathParagraph to be compared + True, if all the properties matches, else false + + + + Compare the properties of source OfficeMathLimit with destination OfficeMathLimit + + The OfficeMathLimit to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathBox with destination OfficeMathBox + + The OfficeMathBox to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathBar with destination OfficeMathBar + + The OfficeMathBar to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathRightScript with destination OfficeMathRightScript + + The OfficeMathRightScript to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathPhantom with destination OfficeMathPhantom + + The OfficeMathPhantom to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathAccent with destination OfficeMathAccent + + The OfficeMathAccent to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathScript with destination OfficeMathScript + + The OfficeMathScript to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathRadical with destination OfficeMathRadical + + The OfficeMathRadical to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathNArray with destination OfficeMathNArray + + The OfficeMathNArray to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathMatrix with destination OfficeMathMatrix + + The OfficeMathMatrix to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathsBorderBox with destination OfficeMathsBorderBox + + The OfficeMathsBorderBox to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathMatrix with destination OfficeMathMatrix + + The OfficeMathMatrix to be compared + True, if all the properties matches, else false + + + Compare the properties of source OfficeMathEquationArray with destination OfficeMathEquationArray + + The OfficeMathEquationArray to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathFraction with destination OfficeMathFraction + + The OfficeMathFraction to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathFunction with destination OfficeMathFunction + + The OfficeMathFunction to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathLeftScript with destination OfficeMathLeftScript + + The OfficeMathLeftScript to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathGroupCharacter with destination OfficeMathGroupCharacter + + The OfficeMathGroupCharacter to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathDelimiter with destination OfficeMathDelimiter + + The OfficeMathDelimiter to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathLimit with destination OfficeMathLimit + + The OfficeMathLimit to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathLimit with destination OfficeMathLimit + + The OfficeMathLimit to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMathFormat with destination OfficeMathFormat + + The OfficeMathLimit to be compared + True, if all the properties matches, else false + + + + + Compare the properties of source OfficeMath with destination OfficeMath + + The OfficeMath to be compared + True, if all the properties matches, else false + + + + Compare the properties of source OfficeMathMatrixColumn with destination OfficeMathMatrixColumn + + The OfficeMathMatrixColumn to be compared + True, if all the properties matches, else false + + + + Compare the properties of source OfficeMathMatrixRow with destination OfficeMathMatrixRow + + The OfficeMathMatrixRow to be compared + True, if all the properties matches, else false + + + + Compare the properties of source OfficeMathBreak with destination OfficeMathBreak + + The picture to be compared + True if the picture is same, else false. + + + + Gets the math text for Word comparison + + + + + + Gets the properties text for Word comparison + + + + + + + Gets the MathLeftScript text for Word comparison + + + + + + Gets the MathGroupCharacter text for Word comparison + + + + + + Gets the MathRightScript text for Word comparison + + + + + + Gets the MathRightScript text for Word comparison + + + + + + Gets the OfficeMath text for Word comparison + + + + + + Gets the MathPhantom text for Word comparison + + + + + + Gets the MathFraction text for Word comparison + + + + + + Gets the MathFunction text for Word comparison + + + + + + Gets the MathEquationArray text for Word comparison + + + + + + Gets the MathMatrix text for Word comparison + + + + + + Gets the MathDelimiter text for Word comparison + + + + + + Gets the MathAccent text for Word comparison + + + + + + Gets the MathScript text for Word comparison + + + + + + Gets the MathRadical text for Word comparison + + + + + + Gets the office mathmatrix column text for Word comparison + + + + + + Gets the office mathmatrix Row text for Word comparison + + + + + + Gets the MathBar text for Word comparison + + + + + + Gets the MathNArray text for Word comparison + + + + + + Gets the MathLimit text for Word comparison + + + + + + Gets the OfficeMathsBorderBox text for Word comparison + + + + + + Gets the MathBox text for Word comparison + + + + + + Gets the office mathbreak text for Word comparison + + + + + + Gets the Office mathParagraph text for Word comparison + + + + + + Gets or sets the officemathpara that can be used to format a top level mathml element. + + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + + + + + + + Represents the mail merge field in the document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The collection of text ranges which form field value + + + + + Initializes a new instance of the class with specified instance. + + The word document instance. + + + + Clones itself. + + + Returns cloned object. + + + + Clones the relations. + + The doc. + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + + + + + + Get Field Values - Parse for Field name and field switches + + + + + + updates field code + + + + + + Applies the base format. + + + + + Closes this instance. + + + + + Update field marks when its a cloned field and it field mark refers the other field + + + + + Parses the name of the field. + + + + + + Parses the name of the field. + + Name of the field. + + + + Parse Field Name using regular expression + + field name + + + + Parses field name having group ":" and backslash "\" expression + + field name + + + + Serialize the merge field codes. + + + + + + Gets the text format. + + The format. + + + + + Clears the string from other characters. + + The value. + + + + + Updates field value and format string (merge formats) by parsing through field code + + + + + + Parse switches (Text format, Number format and Date format) + + merge format + + + + Updates field Value by removing parsed switches using format index collection + + field value + format index + + + + + Updates format Index and Field value + + Field Value + Format Index (list) + Merge Switch + + + + + Updates Switches index in Field Codes by removing the extra characters ('\\') present in field codes. + + Field value + + + + + Upates the merge field result. + + + + + Gets the type of the entity. + + The of the current item. + + + + Gets or sets mail merge field name. + + + + + Gets or sets the text that is displayed before the merge field. + + + + + Gets or sets the text that is displayed after the merge field. + + + + + Gets the prefix of merge field. Read-only. + + + + + Gets the number format of the merge field. Read-only. + + + + + Gets the date format of the merge field. Read-only. + + + + + Gets the result text items in the merge field. Read-only. + + The text item collection that represents the merge field result value. + + + + Represents the picture in the Word document. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("This paragraph has picture. "); + //Append new picture to the paragraph + IWPicture picture = paragraph.AppendPicture(Image.FromFile("Image.png")); + //Set width and height for the paragraph + picture.Width = 150; + picture.Height = 100; + //Set text wrapping style – When the wrapping style is inline the images will not be absolutely positioned. It will be added next to the textrange. + picture.TextWrappingStyle = TextWrappingStyle.Square; + picture.TextWrappingType = TextWrappingType.Largest; + //Set horizontal and vertical origin + picture.HorizontalOrigin = HorizontalOrigin.Page; + picture.VerticalOrigin = VerticalOrigin.Paragraph; + //Set horizontal and vertical position for the picture + picture.HorizontalPosition = 200; + picture.VerticalPosition = 150; + //Set horizontal and vertical alignments + picture.HorizontalAlignment = ShapeHorizontalAlignment.Center; + picture.VerticalAlignment = ShapeVerticalAlignment.Bottom; + //Set name, title, alternate text. + picture.Title = "PictureTitle"; + picture.Name = "PictureName"; + picture.IsBelowText = true; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("This paragraph has picture. ") + 'Append new picture to the paragraph + Dim picture As IWPicture = paragraph.AppendPicture(Image.FromFile("Image.png")) + 'Set width and height for the paragraph + picture.Width = 150 + picture.Height = 100 + 'Set text wrapping style – When the wrapping style is inline the images will not be absolutely positioned. It will be added next to the textrange. + picture.TextWrappingStyle = TextWrappingStyle.Square + picture.TextWrappingType = TextWrappingType.Largest + 'Set horizontal and vertical origin + picture.HorizontalOrigin = HorizontalOrigin.Page + picture.VerticalOrigin = VerticalOrigin.Paragraph + 'Set horizontal and vertical position for the picture + picture.HorizontalPosition = 200 + picture.VerticalPosition = 150 + 'Set horizontal and vertical alignments + picture.HorizontalAlignment = ShapeHorizontalAlignment.Center + picture.VerticalAlignment = ShapeVerticalAlignment.Bottom + 'Set name, title, alternate text. + picture.Title = "PictureTitle" + picture.Name = "PictureName" + picture.IsBelowText = True + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Size of the picture. + + + + + in percent + + + + + in percent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DistanceBottom Returns or sets the distance (in points) between the document text and the bottom edge of the text-free area surrounding the specified shape. Read/write Single. + + + + + DistanceLeft Returns or sets the distance (in points) between the document text and the left edge of the text-free area surrounding the specified shape. Read/write Single. + + + + + DistanceRight Returns or sets the distance (in points) between the document text and the right edge of the text-free area surrounding the specified shape. Read/write Single. + + + + + DistanceTop Returns or sets the distance (in points) between the document text and the top edge of the text-free area surrounding the specified shape. Read/write Single. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Holds additional docx picture props + + + + + Holds additional docx picture props for visual shapes + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Loads the image from the specified byte array. + + The byte array that specifies the image as bytes. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Get the image and convert to byte array + Image image = Image.FromFile("Image.png"); + MemoryStream imageStream = new MemoryStream(); + image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png); + byte[] imageBytes = imageStream.ToArray(); + //Initialize new picture + WPicture picture = new WPicture(document); + //Load image from the byte array + picture.LoadImage(imageBytes); + //Set width and height + picture.Height = 100; + picture.Width = 150; + //Add picture to the paragraph + paragraph.Items.Add(picture); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Get the image and convert to byte array + Dim image__1 As Image = Image.FromFile("Image.png") + Dim imageStream As New MemoryStream() + image__1.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png) + Dim imageBytes As Byte() = imageStream.ToArray() + 'Initialize new picture + Dim picture As New WPicture(document) + 'Load image from the byte array + picture.LoadImage(imageBytes) + 'Set width and height + picture.Height = 100 + picture.Width = 150 + 'Add picture to the paragraph + paragraph.Items.Add(picture) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Loads the SVG image from the specified byte array. + + The byte array that specifies the SVG image as bytes. + The byte array that specifies the image as bytes. + Thrown when is null + Thrown when is not a *svg format + + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Get the SVG image as byte array. + byte[] imageBytes = File.ReadAllBytes("Image.png"); + //Get the SVG image as byte array. + byte[] svgData = File.ReadAllBytes("Image.svg"); + //Initialize new picture + WPicture picture = new WPicture(document); + //Load both fallback and SVG image from the byte array + picture.LoadImage(svgData, imageBytes); + //Set width and height + picture.Height = 100; + picture.Width = 150; + //Add picture to the paragraph + paragraph.Items.Add(picture); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Get the image byte array + Dim imageBytes As Byte() = File.ReadAllBytes("Image.png") + 'Get the SVG image as byte array. + Dim svgData As Byte() = File.ReadAllBytes("Image.svg") + 'Initialize new picture + Dim picture As New WPicture(document) + 'Load both fallback and SVG image from the byte array + picture.LoadImage(svgData, imageBytes) + 'Set width and height + picture.Height = 100 + picture.Width = 150 + 'Add picture to the paragraph + paragraph.Items.Add(picture) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Check whether the given SVG image data is valid or not. + + + + + + Loads the image from the specified instance. + + The instance. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin platforms. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Initialize new picture + WPicture picture = new WPicture(document); + //Load image from the file + picture.LoadImage(Image.FromFile("Image.png")); + //Set width and height + picture.Height = 100; + picture.Width = 150; + //Add picture to the paragraph + paragraph.Items.Add(picture); + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Initialize new picture + Dim picture As New WPicture(document) + 'Load image from the file + picture.LoadImage(Image.FromFile("Image.png")) + 'Set width and height + picture.Height = 100 + picture.Width = 150 + 'Add picture to the paragraph + paragraph.Items.Add(picture) + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Update Blip ImageRecord + + + + + Adds caption for the current picture with specified name, caption format and caption position. + + The string that specifies the name. + The member that specifies the format for caption numbering. + The member that specifies the position of caption. + The paragraph instance with the specified caption. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("This paragraph has picture. "); + //Append new picture to the paragraph + IWPicture picture = paragraph.AppendPicture(Image.FromFile("Image.png")); + //Set width and height for the paragraph + picture.Width = 150; + picture.Height = 100; + //Set caption for picture + picture.AddCaption("Figure 1.1", CaptionNumberingFormat.Number, CaptionPosition.AboveImage); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("This paragraph has picture. ") + 'Append new picture to the paragraph + Dim picture As IWPicture = paragraph.AppendPicture(Image.FromFile("Image.png")) + 'Set width and height for the paragraph + picture.Width = 150 + picture.Height = 100 + 'Set caption for picture + picture.AddCaption("Figure 1.1", CaptionNumberingFormat.Number, CaptionPosition.AboveImage) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Adds the self. + + + + + Creates a duplicate copy of the entity. + + + An reference to the newly created instance. + + + + + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as inside xml element. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + The value indicating the presence of xml content. + + + + Registers child objects in XDSL holder. + + + + + + + + + + + Compare two pictures along with the formatting + + The picture to be compared + True if the picture is same, else false. + + + + Gets the picture text for Word comparison + + + + + + Gets the properties text for Word comparison + + + + + + + Retrieves a dictionary containing mappings between brightness levels and their corresponding value ranges. + + A dictionary where keys represent brightness levels and values are lists of float ranges. + + + + Retrieves a dictionary containing mappings between contrast levels and their corresponding value ranges. + + A dictionary where keys represent contrast levels and values are lists of float ranges. + + + + Sets the width scale, specific for parsers. + + The width scale. + + + + Sets the height scale, specific for parsers. + + The height scale. + + + + Sets the TextWrappingStyle,specific for parsers. + + TextWrapStyle + + + + Detaches from owner. + + + + + Remove the image from document's escher collection. + + + + + Added picture into document floating items + + + + + To identify current picture previous sibling's previous sibling is OleObject + + trueif the current picture previous sibling's previous sibling is OleObject;Otherwisefalse + + + + Loads the image. + + The image bytes. + if it specifies a metafile, set to true. + + + + Loads the image. + + The image record. + + + + Check the TextWrapping style + + + + + Gets the image for partial trust mode. + + The image bytes. + + Argument is not image byte array + + + + Converts the size for partial trust mode. + + The image. + + image + + + + Gets the Default image. + + image + + + + Gets the image. + + The image bytes. + + + + + Gets the specified resource file as stream. + + The resource file name + Stream of the specified resource file + + + + Retrieves the contents of the specified enhanced-format metafile and copies them into a buffer. + + A handle to the enhanced metafile. + The size, in bytes, of the buffer to receive the data. + A pointer to a buffer that receives the metafile data. The buffer must be sufficiently large to contain the data. + If lpbBuffer is NULL, the function returns the size necessary to hold the data. + If the function succeeds and the buffer pointer is NULL, the return value is the size of the enhanced metafile, in bytes. + If the function succeeds and the buffer pointer is a valid pointer, the return value is the number of bytes copied to the buffer. + If the function fails, the return value is zero. + + The does not invalidate the enhanced-metafile handle. + The application must call the function to delete the handle when it is no longer needed. + + + + Deletes an enhanced-format metafile or an enhanced-format metafile handle. + + A handle to an enhanced metafile. + If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. + + + + + + + + + + Converts the .tiff format to .png. Tiff format is not supported by Word 2000. + + The image. + + + + Resets the data. + + + + + Initializing LayoutInfo value to null + + + + + + + + + + + + Creates layout information. + + + + + + Converts size of the image to point units. + + Image object. + Size of the image int points. + + + + Checks the pic size for partial trust mode. + + The image. + + + + Checks the size of the picture. + + + + + it hold the picture rectangle value + + + + + Gets a value indicating whether this instance has borders. + + + true if this instance has borders; otherwise, false. + + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + + Gets or sets the picture height in points + + The float that specifies the height. + + + + Gets or sets the picture rotation in degree. + + The float that specifies the rotation value of the picture. + A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. + + The following code example demonstrates how to gets or sets the rotation value of picture in degree. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new text to the paragraph + IWParagraph paragraph = section.AddParagraph(); + //Gets the image and convert to byte array + Image image = Image.FromFile("Image.png"); + MemoryStream imageStream = new MemoryStream(); + image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png); + byte[] imageBytes = imageStream.ToArray(); + //Initializes new picture + WPicture picture = new WPicture(document); + //Loads an image from the byte array + picture.LoadImage(imageBytes); + //Sets height and width for the image + picture.Height = 100; + picture.Width = 150; + //Sets picture rotation in degree + picture.Rotation = 90; + //Adds image to the paragraph + paragraph.Items.Add(picture); + //Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the document + document.Close(); + + + 'Creates a New Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new text to the paragraph + Dim paragraph As IWParagraph = section.AddParagraph + 'Gets the image and convert to byte array + Dim image As Image = Image.FromFile("Image.png") + Dim imageStream As MemoryStream = New MemoryStream + image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png) + Dim imageBytes() As Byte = imageStream.ToArray + 'Initializes new picture + Dim picture As WPicture = New WPicture(document) + 'Loads an image from the byte array + picture.LoadImage(imageBytes) + 'Sets height and width for the image + picture.Height = 100 + picture.Width = 150 + 'Sets picture rotation in degree + picture.Rotation = 90 + 'Adds image to the paragraph + paragraph.Items.Add(picture) + 'Saves the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the document + document.Close() + + + + + + Gets or sets the picture width in points. + + The float that specifies the width. + + + + Gets or sets the picture height scale factor in percent. + + The float that specifies the height scale factor. + + + + Gets or sets the picture width scale factor in percent. + + The float that specifies the width scale factor. + + + + Gets or sets a value indicating whether the pictute has Lock aspect ratio. The default is false. + + + true if this instance has lock aspect ratio; otherwise, false. + + + + + Gets the image for partial trust mode. + + + The image for partial trust mode. + + + + + Gets the instance that represents the picture. Read-only. + + The instance. + This property is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + Gets the image as byte array. Read-only. + + The array that represents image bytes. + + + + Gets the SVG image as byte array. Read-only. + + The array that represents SVG image bytes. + + + + Gets the image record. + + The image record. + + + + Get/Set Shapeposition + + + + + Gets or sets the horizontal origin of the picture. + + The member that specifies the horizontal origin. + + + + Gets or sets the vertical origin of the picture. + + The member that specifies the vertical origin. + + + + Gets or sets absolute horizontal position of the picture in points. + + The float that specifies the horizontal position. + + The horizontal position is relative to the . + + + + + Gets or sets absolute vertical position of the picture in points. + + The float that specifies the vertical position. + + The vertical position is relative to the . + + + + + DistanceBottom Returns or sets the distance (in points) between the document text and the bottom edge of the text-free area surrounding the specified shape. Read/write Single. + + + + + DistanceLeft Returns or sets the distance (in points) between the document text and the left edge of the text-free area surrounding the specified shape. Read/write Single. + + + + + DistanceRight Returns or sets the distance (in points) between the document text and the right edge of the text-free area surrounding the specified shape. Read/write Single. + + + + + DistanceTop Returns or sets the distance (in points) between the document text and the top edge of the text-free area surrounding the specified shape. Read/write Single. + + + + + Gets or sets the text wrapping style of the picture. + + The member that specifies the text wrapping style. + + + + Gets or sets the text wrapping type of the picture. + + The member that specifies the text wrapping type. + + + + Gets or sets the horizontal alignment of the picture. + + The member that specifies the horizontal alignment. + + If the alignment is set as None, then the picture is explicitly positioned using position properties. + Otherwise it is positioned according to the alignment specified. The position of the object is relative to . + + + + + Gets or sets the vertical alignment of the picture. + + + If the alignment is set as None, then the picture is explicitly positioned using position properties. + Otherwise it is positioned according to the alignment specified. The position of the object is relative to . + + + + + Gets or sets a value indicating whether the picture is below the text. + + True if the picture is below text; otherwise, false. + + + + Gets the character format(font properties) of the picture. Read-only. + + + + + + + + + + Gets or Sets picture hRef string + + + + + + + + + + + + + + + Gets/sets the size of picture object. + + + + + Gets a value indicating whether this instance is metafile. + + + if this instance is metafile, set to true. + + + + + Gets the additional docx properties. + + The docx props. + + + + Gets the additional docx visual shape properties. + + The docx props. + + + + Gets the Signature Line elements of docx. + + The docx props. + + + + Gets or sets the alternate text for the picture. + + The string that represents the alternate text. + + + + Gets or sets the name of the picture. + + The string that represents the name. + + + + Gets or sets the chromakey color (picture transparency). + + + + + Gets or sets the picture title. + + The string that represents the title. + + + + Embedded text body + + + + + Gets or sets a value indicating whether this instance is shape. + + + if this instance is shape, set to true. + + + + + Gets or sets the index of the order. + + The index of the order. + + + + Returns the boolean value that represents whether a picture in a table is displayed inside or outside the table. + + + + + Gets or sets a value indicating whether [allow overlap]. + + + true if [allow overlap]; otherwise, false. + + + + + Gets or set the SVG external image link. + + + + + Gets or sets the wrap polygon. + + + The wrap polygon. + + + + + Gets or sets a value indicating whether the picture is visible. + + + True if the picture is visible; otherwise, false. + + + + + Gets or sets a value indicate whether current wrapping bounds points added to the list or not. + + + true if this instance is wrapping bounds added; otherwise, false. + + + + + Gets or sets fill format. + + + + + Gets or sets a Horizontal flipping of Picture. + + + true indicates that a picture has been flipped horizontally; otherwise, false. + + This property returns True if the specified picture is flipped around the horizontal axis, and False if not. + + The following code example demonstrates how to gets or sets the horizontal flip to picture. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new text to the paragraph + IWParagraph paragraph = section.AddParagraph(); + //Gets the image and convert to byte array + Image image = Image.FromFile("Image.png"); + MemoryStream imageStream = new MemoryStream(); + image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png); + byte[] imageBytes = imageStream.ToArray(); + //Initializes new picture + WPicture picture = new WPicture(document); + //Loads an image from the byte array + picture.LoadImage(imageBytes); + //Sets height and width for the image + picture.Height = 100; + picture.Width = 150; + //Sets horizontal flip to the picture + picture.FlipHorizontal = true; + //Adds image to the paragraph + paragraph.Items.Add(picture); + //Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the document + document.Close(); + + + 'Creates a New Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new text to the paragraph + Dim paragraph As IWParagraph = section.AddParagraph + 'Gets the image and convert to byte array + Dim image As Image = Image.FromFile("Image.png") + Dim imageStream As MemoryStream = New MemoryStream + image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png) + Dim imageBytes() As Byte = imageStream.ToArray + 'Initializes new picture + Dim picture As WPicture = New WPicture(document) + 'Loads an image from the byte array + picture.LoadImage(imageBytes) + 'Sets height and width for the image + picture.Height = 100 + picture.Width = 150 + 'Sets horizontal flip to the picture + picture.FlipHorizontal = True + 'Adds image to the paragraph + paragraph.Items.Add(picture) + 'Saves the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the document + document.Close() + + + + + + Gets or sets a Vertical flipping of Picture. + + + true indicates that a picture has been flipped vertically; otherwise, false. + + This property returns True if the specified picture is flipped around the vertical axis, and False if not. + + The following code example demonstrates how to gets or sets the vertical flip to picture. + + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new text to the paragraph + IWParagraph paragraph = section.AddParagraph(); + //Gets the image and convert to byte array + Image image = Image.FromFile("Image.png"); + MemoryStream imageStream = new MemoryStream(); + image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png); + byte[] imageBytes = imageStream.ToArray(); + //Initializes new picture + WPicture picture = new WPicture(document); + //Loads an image from the byte array + picture.LoadImage(imageBytes); + //Sets height and width for the image + picture.Height = 100; + picture.Width = 150; + //Sets vertical flip to the picture + picture.FlipVertical = true; + //Adds image to the paragraph + paragraph.Items.Add(picture); + //Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the document + document.Close(); + + + 'Creates a New Word document + Dim document As WordDocument = New WordDocument + 'Adds new section to the document + Dim section As IWSection = document.AddSection + 'Adds new text to the paragraph + Dim paragraph As IWParagraph = section.AddParagraph + 'Gets the image and convert to byte array + Dim image As Image = Image.FromFile("Image.png") + Dim imageStream As MemoryStream = New MemoryStream + image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Png) + Dim imageBytes() As Byte = imageStream.ToArray + 'Initializes new picture + Dim picture As WPicture = New WPicture(document) + 'Loads an image from the byte array + picture.LoadImage(imageBytes) + 'Sets height and width for the image + picture.Height = 100 + picture.Width = 150 + 'Sets vertical flip to the picture + picture.FlipVertical = True + 'Adds image to the paragraph + paragraph.Items.Add(picture) + 'Saves the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the document + document.Close() + + + + + + Gets or sets the value indicate whether the image is redEX image or not,if the image is redX image then serializing the embed tag in the WPicture is skipped. + + + + + Represents the sequence field in the Word document. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument("Bookmarks.docx"); + //Add new paragraph to the section + WParagraph paragraph = document.Sections[0].AddParagraph() as WParagraph; + //Append sequence field to the paragraph + WSeqField field = (WSeqField)paragraph.AppendField("Sequence field", FieldType.FieldSequence); + //Set the bookmark name as caption and number format + field.CaptionName = "Northwind"; + field.NumberFormat = CaptionNumberingFormat.Roman; + //Save and close the document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument("Bookmarks.docx") + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(document.Sections(0).AddParagraph(), WParagraph) + 'Append sequence field to the paragraph + Dim field As WSeqField = DirectCast(paragraph.AppendField("Sequence field", FieldType.FieldSequence), WSeqField) + 'Set the bookmark name as caption and number format + field.CaptionName = "Northwind" + field.NumberFormat = CaptionNumberingFormat.Roman + 'Save and close the document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + + + + + + Get the caption name. + + + + + updates field code + + + + + + Updates field value and format string (sequence formats) by parsing through field code + + + + + + Updates Switches index in Field Codes by removing the extra characters ('\\') present in field codes. + + Field value + + + + + Updates format Index and Field value + + Field Value + Format Index (list) + Sequence Switch + + + + + Updates field Value by removing parsed switches using format index collection + + field value + format index + + + + + Parse switches (Formatting String, Number format) + + + + + + Get Field Values - Parse for Field name and field switches + + + + + + Clears the string from other characters. + + The value. + + + + + Add new values to Boolean switches(\n,\c,\h) + + + + + + + Add new values to Integer switches(\r,\s) + + + + + + + + Removes the Switch before apply new switch + + + + + + + Removes the oldvalue before apply new value + + + + + + + + Removes the Switch String before apply new switch + + + + + + + Converts the switches to string. + + The string that specifies the switches. + + + + Update field marks when its a cloned field and it field mark refers the other field + + + + + Updates the Sequence field result. + + + + + Gets the type of the entity. Read-only + + The of the current item. + + + + Gets the formatting string of the sequence field. Read-only. + + The string that specifies the formatting text. + + + + Gets or sets the type of caption numbering. + + The member that specifies the format for caption numbering. + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Add new paragraph to the section + WParagraph paragraph = document.Sections[0].AddParagraph() as WParagraph; + //Append sequence field to the paragraph + WSeqField field = (WSeqField)paragraph.AppendField("Sequence field", FieldType.FieldSequence); + //Set the NumberFormat of the SeqField. + field.NumberFormat = CaptionNumberingFormat.Number; + //Updates the document fields + document.UpdateDocumentFields(); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(document.Sections(0).AddParagraph(), WParagraph) + 'Append sequence field to the paragraph + Dim field As WSeqField = CType(paragraph.AppendField("Sequence field", FieldType.FieldSequence), WSeqField) + 'Set the NumberFormat of the SeqField. + field.NumberFormat = CaptionNumberingFormat.Number + 'Updates the document fields + document.UpdateDocumentFields() + 'Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets caption name. + + The string that specifies the caption name. + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Add new paragraph to the section + WParagraph paragraph = document.Sections[0].AddParagraph() as WParagraph; + //Append sequence field to the paragraph + WSeqField field = (WSeqField)paragraph.AppendField("Sequence field", FieldType.FieldSequence); + //Set the CaptionName of the SeqField. + field.CaptionName = "Test"; + //Updates the document fields + document.UpdateDocumentFields(); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(document.Sections(0).AddParagraph(), WParagraph) + 'Append sequence field to the paragraph + Dim field As WSeqField = CType(paragraph.AppendField("Sequence field", FieldType.FieldSequence), WSeqField) + 'Set the CaptionName of the SeqField. + field.CaptionName = "Test"; + //Updates the document fields + document.UpdateDocumentFields() + 'Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets a bookmark name that refers to an item elsewhere in the document rather than in the current location. + + The string that specifies the bookmark name. + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Add new paragraph to the section + WParagraph paragraph = document.Sections[0].AddParagraph() as WParagraph; + //Append sequence field to the paragraph + WSeqField field = (WSeqField)paragraph.AppendField("Sequence field", FieldType.FieldSequence); + //Set the BookmarkName of the SeqField. + field.BookmarkName = "Bookmark1"; + //Updates the document fields + document.UpdateDocumentFields(); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(document.Sections(0).AddParagraph(), WParagraph) + 'Append sequence field to the paragraph + Dim field As WSeqField = CType(paragraph.AppendField("Sequence field", FieldType.FieldSequence), WSeqField) + 'Set the BookmarkName of the SeqField. + field.BookmarkName = "Bookmark1" + 'Updates the document fields + document.UpdateDocumentFields() + 'Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets whether to insert the next sequence number for the specified item. Default value is true. + + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Add new paragraph to the section + WParagraph paragraph = document.Sections[0].AddParagraph() as WParagraph; + //Append sequence field to the paragraph + WSeqField field = (WSeqField)paragraph.AppendField("Sequence field", FieldType.FieldSequence); + //Set the InsertNextNumber of the SeqField. + field.InsertNextNumber = true; + //Updates the document fields + document.UpdateDocumentFields(); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + Load an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(document.Sections(0).AddParagraph(), WParagraph) + 'Append sequence field to the paragraph + Dim field As WSeqField = CType(paragraph.AppendField("Sequence field", FieldType.FieldSequence), WSeqField) + 'Set the InsertNextNumber of the SeqField. + field.InsertNextNumber = True + 'Updates the document fields + document.UpdateDocumentFields() + 'Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets whether to repeats the closest preceding sequence number. Default value is false. + + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Add new paragraph to the section + WParagraph paragraph = document.Sections[0].AddParagraph() as WParagraph; + //Append sequence field to the paragraph + WSeqField field = (WSeqField)paragraph.AppendField("Sequence field", FieldType.FieldSequence); + //Set the RepeatNearestNumber of the SeqField. + field.RepeatNearestNumber = true; + //Updates the document fields + document.UpdateDocumentFields(); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(document.Sections(0).AddParagraph(), WParagraph) + 'Append sequence field to the paragraph + Dim field As WSeqField = CType(paragraph.AppendField("Sequence field", FieldType.FieldSequence), WSeqField) + 'Set the RepeatNearestNumber of the SeqField. + field.RepeatNearestNumber = True + 'Updates the document fields + document.UpdateDocumentFields() + 'Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets whether to hides the field result unless a general-formatting-switch is also present. Default value is false. + + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Add new paragraph to the section + WParagraph paragraph = document.Sections[0].AddParagraph() as WParagraph; + //Append sequence field to the paragraph + WSeqField field = (WSeqField)paragraph.AppendField("Sequence field", FieldType.FieldSequence); + //Set the HideResult of the SeqField. + field.HideResult = true; + //Updates the document fields + document.UpdateDocumentFields(); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + Load an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + //Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(document.Sections(0).AddParagraph(), WParagraph) + //Append sequence field to the paragraph + Dim field As WSeqField = CType(paragraph.AppendField("Sequence field", FieldType.FieldSequence), WSeqField) + //Set the HideResult of the SeqField. + field.HideResult = True + //Updates the document fields + document.UpdateDocumentFields() + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets an integer number to reset the sequence number to. Returns -1 if the number is absent. + + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Add new paragraph to the section + WParagraph paragraph = document.Sections[0].AddParagraph() as WParagraph; + //Append sequence field to the paragraph + WSeqField field = (WSeqField)paragraph.AppendField("Sequence field", FieldType.FieldSequence); + //Set the ResetNumber of the SeqField. + field.ResetNumber = 7; + //Updates the document fields + document.UpdateDocumentFields(); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + Load an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + //Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(document.Sections(0).AddParagraph(), WParagraph) + //Append sequence field to the paragraph + Dim field As WSeqField = CType(paragraph.AppendField("Sequence field", FieldType.FieldSequence), WSeqField) + //Set the ResetNumber of the SeqField. + field.ResetNumber = 7 + //Updates the document fields + document.UpdateDocumentFields() + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets or sets an integer number representing a heading level to reset the sequence number to. Returns -1 if the number is absent. + + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Add new paragraph to the section + WParagraph paragraph = document.Sections[0].AddParagraph() as WParagraph; + //Append sequence field to the paragraph + WSeqField field = (WSeqField)paragraph.AppendField("Sequence field", FieldType.FieldSequence); + //Set the ResetHeadingLevel of the SeqField. + field.ResetHeadingLevel = 1; + //Updates the document fields + document.UpdateDocumentFields(); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + Load an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + //Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(document.Sections(0).AddParagraph(), WParagraph) + //Append sequence field to the paragraph + Dim field As WSeqField = CType(paragraph.AppendField("Sequence field", FieldType.FieldSequence), WSeqField) + //Set the ResetHeadingLevel of the SeqField. + field.ResetHeadingLevel = 1; + //Updates the document fields + document.UpdateDocumentFields() + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Represents a symbol in the Word document. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Example of adding symbols to the paragraph: "); + //Insert symbol with character code 100 + WSymbol symbol = paragraph.AppendSymbol(100); + symbol.FontName = "Windings"; + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Example of adding symbols to the paragraph: ") + 'Insert symbol with character code 100 + Dim symbol As WSymbol = paragraph.AppendSymbol(100) + symbol.FontName = "Windings" + 'Save and close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + Initialize a new instance of the class with the specified + instance. + + The instance. + + + + Creates layout information. + + + + + + Creates a duplicate copy of the entity. + + + The reference to the newly created object. + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + Gets the size of the symbol for lay outing. + + + + + + + Get Symbol font + + + + + + Initializing LayoutInfo value to null + + + + + Gets the Symbol text for Word comparison + + + + + + Gets the properties text for Word comparison + + + + + + Compares the current Symbol with another Symbol of another document. + + + + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + + Gets the character format for the symbol. Read-only. + + + + + Gets or sets font name for the symbol. + + + + + Gets or sets symbol's character code. + + + + + Get/set character code extension. + + + + + Get the character code value + + + + + Represents the textbox in the Word document. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Append new textbox to the paragraph + IWTextBox textbox = paragraph.AppendTextBox(150, 75); + //Add new text to the textbox body + IWParagraph textboxParagraph = textbox.TextBoxBody.AddParagraph(); + textboxParagraph.AppendText("Text inside text box"); + textboxParagraph = textbox.TextBoxBody.AddParagraph(); + //Add new picture to textbox body + IWPicture picture = textboxParagraph.AppendPicture(Image.FromFile(@"Image.png")); + picture.Height = 75; + picture.Width = 50; + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Append new textbox to the paragraph + Dim textbox As IWTextBox = paragraph.AppendTextBox(150, 75) + 'Add new text to the textbox body + Dim textboxParagraph As IWParagraph = textbox.TextBoxBody.AddParagraph() + textboxParagraph.AppendText("Text inside text box") + textboxParagraph = textbox.TextBoxBody.AddParagraph() + 'Add new picture to textbox body + Dim picture As IWPicture = textboxParagraph.AppendPicture(Image.FromFile("Image.png")) + picture.Height = 75 + picture.Width = 50 + 'Save and close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + + + + + + Initialize a new instance of the class with the specified + instance. + + The instance. + + + + Adds the self. + + + + + Executes when the entity is attached to the owner document. + + + + + Clones the relations. + + The doc. + + + + + Creates a duplicate copy of the entity. + + + A reference to the newly created object. + + + + Creates layout information. + + + + + + Checks whether text box's line width need to consider for text box client area calcualtion + + + + + Calculate the textbox bounds based on the Line Width and Margin + + The bounds + Text box format + + + + Detaches from owner. + + + + + Gets the next text body item. + + + + + + Closes this instance. + + + + + Sets the text body. + + The text body. + + + + Gets as table. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets the horizontal alignment. + + The shape align. + + + + + Gets the border style. + + The line style. + + + + + Initializes the default values for TextBox in VML structure. + + + + + Applies the specified character format to the WTextbox. + + The character format to be applied. + + + + Compares the current textbox with another textbox of another document. + + + + + + + Gets the text box text for Word comparison + + + + + + Gets the properties text for Word comparison + + + + + + + Gets the properties that needs to be ignored for Word comparison + + + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as xml attributes. + + + The object. + + + + + + + + + + + Initializing LayoutInfo value to null + + + + + Gets the Textbox object as Image + + + + + + Gets or sets the name of the text box. + + + The string that represents the name. + + + + + Gets or sets a value indicating whether this is visible. + + + True if visible; otherwise, false. + + + + + Gets the child elements of the text box. Read-only. + + The collection of child elements. + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + + Gets or sets Text content layouting bounds for textbox + + + + + Determine whether the textbox as shape + + + + + Gets or sets the text box format. + + + + + Gets the text body of the text box. Read-only. + + + + + + + + + + Gets the character format. + + The character format. + + + + Gets or sets the shape.Added to preserve the choice item porperties of rectangular shape + + + The shape. + + + + + Represents the text form field in the Word document. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + WParagraph paragraph = section.AddParagraph() as WParagraph; + paragraph.AppendText("General Information"); + section.AddParagraph(); + paragraph = section.AddParagraph() as WParagraph; + IWTextRange text = paragraph.AppendText("Name\t"); + text.CharacterFormat.Bold = true; + //Append Text form field + WTextFormField textfield = paragraph.AppendTextFormField(null); + //Set type of Text form field + textfield.Type = TextFormFieldType.RegularText; + textfield.CharacterFormat.FontName = "Calibri"; + textfield.CalculateOnExit = true; + section.AddParagraph(); + paragraph = section.AddParagraph() as WParagraph; + text = paragraph.AppendText("Date of Birth\t"); + text.CharacterFormat.Bold = true; + //Append Text form field + textfield = paragraph.AppendTextFormField("Date field", DateTime.Now.ToString("MM/DD/YY")); + textfield.StringFormat = "MM/DD/YY"; + //Set Text form field type + textfield.Type = TextFormFieldType.DateText; + textfield.CalculateOnExit = true; + //Save the Word document + document.Save("Textfield.docx", FormatType.Docx); + //Close the document + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + paragraph.AppendText("General Information") + section.AddParagraph() + paragraph = TryCast(section.AddParagraph(), WParagraph) + Dim text As IWTextRange = paragraph.AppendText("Name" & vbTab) + text.CharacterFormat.Bold = True + 'Append Text form field + Dim textfield As WTextFormField = paragraph.AppendTextFormField(Nothing) + 'Set type of Text form field + textfield.Type = TextFormFieldType.RegularText + textfield.CharacterFormat.FontName = "Calibri" + textfield.CalculateOnExit = True + section.AddParagraph() + paragraph = TryCast(section.AddParagraph(), WParagraph) + text = paragraph.AppendText("Date of Birth" & vbTab) + text.CharacterFormat.Bold = True + 'Append Text form field + textfield = paragraph.AppendTextFormField("Date field", DateTime.Now.ToString("MM/DD/YY")) + textfield.StringFormat = "MM/DD/YY" + 'Set Text form field type + textfield.Type = TextFormFieldType.DateText + textfield.CalculateOnExit = True + 'Save the Word document + document.Save("Textfield.docx", FormatType.Docx) + 'Close the document + document.Close() + End Sub + + + + + + Default text of form field. + + + + + + + + + + Initializes a new instance of the class. + + + + + + Closes this instance. + + + + + Creates a duplicate copy of the entity. + + + The reference to the newly created object. + + + + Gets the first text range. + + + + + + Gets the text range. + + + + + + Updates the text for text body item. + + The entity. + + + + + Updates the text for table. + + The entity. + + + + + Updates the text for paragraph item. + + The entity. + + + + + Sets the text range. + + The text range. + + + + Removes the previous text. + + + + + Removes the text body item. + + The entity. + + + + Inserts the paragraph items. + + The paragraph. + + + + Removes the paragraph item. + + The entity. + + + + Appends the date field. + + Type of the field. + + + + Sets the type of the text form field. + + Type of the text form field. + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Registers child objects in XDSL holder. + + + + + + Gets the text form field text for Word comparison + + + + + + Creates layout information. + + + + + + Initializing LayoutInfo value to null + + + + + Gets the type of the entity. Read-only. + + The of the current item. + + + + Gets or sets text form field type. + + The member that specifies the type of text form field. + + + + Gets or sets the string text format (text, date/time, number) directly. + + The string that specifies the text format. + + + + Gets or sets the default text for text form field. + + The string that specifies the default text. + + + + Gets or sets the maximum text length of the text form field. + + The integer that specifies the maximum length of the text. + + + + Gets or sets the form field text range. + + The instance that specifies the form field text. + + + + Gets or sets the text of text form field. + + The string that specifies the text. + + + + The CHPX converter. + + + + + CHPs to format. + + The reader. + The format. + + + + SPRMSs to property. + + The style. + The character format. + + + + Checks whether the byte array length is proper to read value from startIndex + + The sprm byte array + The start index + True if startIndex value is proper to read byte array else False + + + + Get Byte Value + + + + + + + Updates the Font information sprms by property keys order + + + + + + + + + Updates the font information sprms + + + + + + + + + + Closes this instance. + + + + + Summary description for class ParagraphPropertiesConverter + + + + + + + + + + + + updates the border properties from destination to source + + + + + + + + + + + + + + + + + + + + + Apply Direct formatting after applying style + + + + + + + Copies the border information + + + + + + + Imports the tabs. + + The tab collection. + The destination. + + + + Imports the shading. + + The source. + The destination. + + + + Imports the borders. + + The borders. + The destination. + + + + Summary description for class SectionPropertiesConverter + + + + + Exports formatting from SectionProperties to ISection's PageSettings + + Source properties + Destination. + Prase All. + + + + Import the section properties from section sprms. + + + + + + + + + Update the page orientation to portrait if the corresponding sprm is not found. + + + + + + + Imports formatting from WParagraphFormat to SectionProperties + + + + + Imports section properties for Oldpropertyhash. + + + + + + + Import the section properties (formattosprms). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Converts the Sprms to Row/Cell format PropertyHash + + Word reader + Current table row format + + + + + + + + + + + + + + Apply the border style for the inputed border, using its line and color information. + + Represents a border to set style./> + Represents a value which consider as enumeration value of border style. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Updates the table cell defintion + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Exports the borders. + + The source borders. + The destination borders. + + + + + + + + + + + + Converts the cell format property hash into sprms + + Property hash key + Corresponding value + Single property modifier array + Cell's format + is old format + Current cell index + TCGRF + + + + Updates the each cell shading information + + Property hash collection + Current cell index + To denotes this is row format or not + + + + + + + + + + + Set border information for cell. + + Represents the borders of particular cell. + Represents the index of the cell, in a row. + Represents a cell format of particular cell. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Determines whether the specified BRC is empty. + + The BRC. + + If the specified BRC is empty, set to true. + + + + + Imports the paddings. + + The destination. + The source. + + + + Exports the paddings. + + The source. + The destination. + + + + Updates the paddings value as Zero when the Paddings releated sprm not in the PAPX sprm list + + + + + + Property convertor for textboxes + + + + + Export properties from TextBoxProps to TextBoxFormat. + + TextBoxProps item. + TextBoxFormat item. + + + + Import properties from TetxBoxFormat to TextBoxProps. + + The TXBX format. + The TXBX props. + + + + Exports data from textbox container to the specified WTextboxFormat object. + + The textbox container. + The fspa. + The textbox format. + The skip position origins. + + + + Imports data from WTextboxFormat to FileShapeAddress. + + The fspa. + The textbox format. + + + + Exports the shape position. + + The textbox container. + The textbox format. + + + + Exports the internal margin. + + The textbox container. + The textbox format. + + + + Summary description for class ListPropertiesConverter + + + + + Export paragraphs's list data to ListStyle + + WListFormat item + Current reader + + + + Export paragraphs's list data to ListStyle + + Index of the format. + Index of the level. + WListFormat item + Current reader + + + + Updates the new list format information + + Current reader + Current list format + + + + Update list format for invalid list Id + + The list format + List id + Level Index + + + + Updates the type of the list style. + + The list style. + + + + Updates the name of the list style. + + The list style. + + + + Import ListStyle to ListData. + + Source ListStyle + Destination ListData + Stylesheet + + + + Exports the list format. + + The list format. + The reader. + The list id. + The list data. + Index of the level. + + + + Exports the new list format. + + The list format. + The reader. + + + + Exports the list style to the document. + + The list format. + The reader. + The id. + The list data. + + + + + Export ListLevels to ListLevelCollection. + + + + + + + + Convert DocIO listlevel to DLS listlevel. + + + + + + + + + Import data from DLS ListLevel format to + DocIO ListLevel format. + + Source DLS ListLevel + Destination DocIO ListLevel + Stylesheet + Stylesheet + + + + Create list level character offsets + + + + + + + + + + + + + + + + + + + + + + Does current list uses base style? + + + + + + + Export list format overrides. + + + + + Exports the list override. + + The source lfo. + The list override style. + The reader. + The doc. + + + + + + + + + + + + Summary description for class FormFieldPropertiesConverter + + + + + Reads the form field properties. + + The form field. + The FRM field. + + + + Writes the form field properties. + + The FRM field. + The form field. + + + + Gets the text format. + + The form field format. + + + + + Gets the string text format. + + The form field. + + + + + Gets the number format. + + The form field format. + + + + + Gets the string number format. + + The number format. + + + + + Gets the default number values. + + The number format. + + + + + Formats the text. + + The text format. + The text. + + + + + Formats the number text. + + The format. + The number format. + The input data. + + + + + Convert input value to a formatted string . + + The format. + Input value. + + + + + Summary description for XmlParagraphItem. + + + + + Gets or sets to indicate whether ParagraphItemCollection for Math element. + + + + + Initializes a new instance of the class. + + The XML node. + The word document. + + + + Sets the character format. + + The character format. + + + + Clones itself. + + Returns cloned object. + + + + + + + + + Clones the relations. + + The doc. + + + + Attaches to paragraph. + + The paragraph. + The item pos. + + + + Detaches itself + + + + + Updates the XML parts. + + The destination. + + + + Updates the XML part container. + + The SRC package. + The SRC container. + The dest container. + The parts. + The index. + + + + + Closes this instance. + + + + + Gets the image relations. + + The image relations. + + + + Gets the relations. + + The relations. + + + + Gets the data node. + + The data node. + + + + Gets the character format. + + The character format. + + + + Gets or sets the ZorderIndex + + + + + Gets the type of the entity. + + The of the current item. + + + + Represents a flag whether image relations are directly for main document or nested reference for other items. + + + + + + + + + + + + + + + + + + + + + + Get Curved Connector path + + + formulaColl.Add("x2","*/ w adj1 100000"); + formulaColl.Add("x1","+/ l x2 2"); + formulaColl.Add("x3","+/ r x2 2"); + formulaColl.Add("y3","*/ h 3 4"); + + + + + + This method is used to get the Curved connector 2 path. + + + + + + This method is used to call the Get Curved Connector 4 path. + + + + + + This method is used to get the curved connector5 path. + + + + + + Get Bent Connector path + + + formulaColl.Add("x1","*/ w adj1 100000"); + + + + + + This method is used to get the bend connector 2 path. + + + + + + This method is used to get the bend connector 4 path. + + + + + + This method is used to get the bend connector 5 path. + + + + + + Gets Rounded Rectangle Path + + + + + + Gets Snip Single Corner Rectangle Path + + + + + + Gets Snip Same Side Corner Rectangle Path + + + + + + Gets Snip Diagonal Corner Rectangle Path + + + + + + Gets Snip And Round Single Corner Rectangle Path + + + + + + Gets Round Single Corner Rectangle Path + + + + + + Gets Round Same Side Corner Rectangle Path + + + + + + Gets Round Diagonal Corner Rectangle Path + + + + + + Get Triangle path + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets the right arrow path. + + + + + + Gets the left arrow path. + + + + + + Gets down arrow path. + + + + + + Gets the left right arrow path. + + + + + + Gets the curved right arrow path. + + + + + + Gets the curved left arrow path. + + + + + + Gets the curved up arrow path. + + + + + + Gets the curved down arrow path. + + + + + + Gets up down arrow path. + + + + + + Gets the quad arrow path. + + + + + + Gets the left right up arrow path. + + + + + + Gets the bent arrow path. + + + + + + Gets the U trun arrow path. + + + + + + Gets the left up arrow path. + + + + + + Gets the bent up arrow path. + + + + + + Gets the striped right arrow path. + + + + + + Gets the notched right arrow path. + + + + + + Gets the pentagon path. + + + + + + Gets the chevron path. + + + + + + Gets the right arrow callout path. + + + + + + Gets down arrow callout path. + + + + + + Gets the left arrow callout path. + + + + + + Gets up arrow callout path. + + + + + + Gets the left right arrow callout path. + + + + + + Gets the quad arrow callout path. + + + + + + Gets the circular arrow path. + + + + + + Gets the math plus path. + + + + + + Gets the math minus path. + + + + + + Gets the math multiply path. + + + + + + Gets the math division path. + + + + + + Gets the math equal path. + + + + + + Gets the math not equal path. + + + + + + Gets the flow chart alternate process path. + + + + + + Gets the flow chart predefined process path. + + + + + + Gets the flow chart internal storage path. + + + + + + Gets the flow chart document path. + + + + + + Gets the flow chart multi document path. + + + + + + Gets the flow chart terminator path. + + + + + + Gets the flow chart preparation path. + + + + + + Gets the flow chart manual input path. + + + + + + Gets the flow chart manual operation path. + + + + + + Gets the flow chart connector path. + + + + + + Gets the flow chart off page connector path. + + + + + + Gets the flow chart card path. + + + + + + Gets the flow chart punched tape path. + + + + + + Gets the flow chart summing junction path. + + + + + + Gets the flow chart or path. + + + + + + Gets the flow chart collate path. + + + + + + Gets the flow chart sort path. + + + + + + Gets the flow chart extract path. + + + + + + Gets the flow chart merge path. + + + + + + Gets the flow chart online storage path. + + + + + + Gets the flow chart delay path. + + + + + + Gets the flow chart sequential access storage path. + + + + + + Gets the flow chart magnetic disk path. + + + + + + Gets the flow chart direct access storage path. + + + + + + Gets the flow chart display path. + + + + + + Gets the rectangular callout path. + + + + + + Gets the rounded rectangular callout path. + + + + + + Gets the oval callout path. + + + + + + Gets the cloud callout path. + + + + + + Gets the line callout1 path. + + + + + + Gets the line callout2 path. + + + + + + Gets the line callout3 path. + + + + + + Gets the line callout1 accent bar path. + + + + + + Gets the line callout2 accent bar path. + + + + + + Gets the line callout3 accent bar path. + + + + + + Gets the line callout1 no border path. + + + + + + Gets the line callout2 no border path. + + + + + + Gets the line callout3 no border path. + + + + + + Gets the line callout1 border and accent bar path. + + + + + + Gets the line callout2 border and accent bar path. + + + + + + Gets the line callout3 border and accent bar path. + + + + + + Gets the VML custom shape path path. + + + + + + Gets a custom shape (DrawingML) GraphicPath. + + Represent a bounds of custom shape. + Represent a GraphicPath/PdfPath object. + Represent a custom shape object. + Returns a GraphicPath/PdfPath with custom shape drawing points. + + + + Gets a geometry path of Path2D. + + Represent a GraphicPath. + Represent a input path elements. + Represent a width of Path. + Represent a height of Path. + Represent a bounds of Path. + + + + Gets a X value of Path. + + Represent a width of Path. + Represent a X value. + Represent a bounds of Path. + Returns a X value. + + + + Gets a Y value of Path. + + Represent a height of Path. + Represent a Y value. + Represent a bounds of Path. + Returns a Y value. + + + + Convert the path element of custom shape + + Represent a path element to convert. + Represent a converted path elements. + Represent a formula collection. + Represent a path object. + Represent formula with its values. + + + + Gets a new GraphicsPath object. + + Returns a new GraphicsPath object. + + + + + + + + + + + + + + + + + + + Get Path adjust value + + + + + + + Parse Shape Formula + + + + + + + Gets Formula Values + + + + + + + + + Gets Operand Values + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets the next free area. + + The rectangle of allowed area. + The isContinuousSection. + True if area allowed, else False + + + + Pushes the LayoutedWidget to external holder. + + The LayoutedWidget. + + + + Handles the splitted widget. + + The splitted widget container. + The current state of layout context. + The LayoutedWidget. + The isLayoutedWidgetNeedToPushed. + True for continue layout process, False - for stopping + + + + Handle the LayoutedWidget to external holder. + + The LayoutedWidget. + + + + Specifies whether the footnote need to be restart for each page + + + + + Specifies whether the endnote need to be restart for each section + + + + + Specifies the footnote count in each columns + + + + + Specifies the Endnote count in each columns + + + + + Height used in current page + + + + + Page Client height + + + + + Total height layouted by the section + + + + + Fixed height for the continuous section + + + + + Current page top + + + + + Current section index + + + + + + Line count for the section. + + + + + Paragraph first three lines height. + + + + + Holds the height of the first line of the first paragraph in the column. + + + + + Holds the height of the line which exceeds the section fixed height. + + + + + Foot note height. + + + + + Is first page of the document. + + + + + Is new page created for current section + + + + + Need to create new page + + + + + Is Continuous Section Layouted + + + + + Is Continuous Section Layouted at once or not. + + + + + Line height of the section + + + + + Column height of the section + + + + + Column has break items like (Page break or Column break) + + + + + Previous columns width + + + + + Footnote ID when the footnote restart with each page + + + + + Footnote ID when the footnote restart with each section + + + + + Footnote id for the numbering + + + + + Endnote id for the numbering + + + + + Specifies whether azure compatiblity method has been invoked + + + + + Specifies whether azure compatible with Metafile creation + + + + + Initializes a new instance of the class. + + + + + Layouts the specified doc. + + The doc. + The cg. + + + + + Reset the info of the layouted footnote and endnotes. + + Footnote collection. + Endnote collection + + + + Add the line number widget to each line of the section. + + + + + + Layout the line number + + + + + + + + Updates the X position of the line number based on intersecting floating items. + + + + + + + Gets the first inline item X position from a line widget. + + + + + + + Calculate the maximum accent of the text. + + + + + + + Returns the page setup of current section. + + + + + + + Intialize the Graphics instance. + + + + + Get font for line numbering from document styles. + + + + + + + Initializing LayoutInfo value to null + + + + + Closes this instance. + + + + + Draws to image. + + Start index of the page. + The no of pages. + Type of the image. + The stream. + + This method is used specifically for Image conversion. + + + + Draw the image and return Stream + + Start index of the page. + The no of pages. + Type of the image. + The stream. + + This method is used specifically for Image conversion. + + + + Draws to image. + + Start index of the page. + The no of pages. + Type of the image. + + This method is used specifically for PDF conversion, using intermediate EMF approach. + + + + Layouts the pages. + + + + + + Converts the Shape/GroupShape/TextBox/Math object as Image. + + + + + Draws the Shape/GroupShape/TextBox/Math into an image. + + + + + Converts an Image into PNG format byte array. + + + + + Creates an image with specified size. + + + + + + + + + + Recreate the layoutInfo for the last line widgets. + + + + + Resets the floating entity properties. + + + + + Resets the not added floating entity property. + + + + + Creates the new section in the current page. + + + + + Checks the section break. + + + + + + Checks whether all the rows in the last table on the previous page's column have "Keep with Next". + + + + + + Checks whether all the rows in the table has keep with next. + + layouted widget + + + + + Handles the page break. + + + + + + + + + + + Determines whether a header and footer relayout is necessary, specifically for Word 2013 compatibility mode. + + True if a relayout is required, false otherwise. + + + + Retrieves the header/footer height specifically for compatibility with Word 2013. + + The calculated header/footer height for Word 2013 compatibility. + + This method assumes a specific header/footer height calculation based on Word 2013 behavior. + + + + + Retrieves the type of a header or footer widget. + + + + + Shift the floating items based on the vertical alignment relative to Margin. + + + + + + + + + + + + + + + + + Gets the header footer. + + The section. + The header footer. + + + + + + + + + + Gets the TOC entry page numbers. + + The doc. + + + + + Gets the last layouted paragraph. + + + + + + Updates page fields. + + The doc. + + + + + Determine to check whether Azure compatible with EMF creation + + + + + + Creates the image. + + + + + + Creates the image. + + The width. + The height. + Type of the image. + The stream. + + + + + Determines whether the layouted widget is TOC paragraph. + + The widget. + + true if the specified widget is TOC paragraph; otherwise, false. + + + + + Layouter_s the leaf layout after. + + The sender. + The lt widget. + + + + Gets the next area. + + The area. + The isContinuousSection. + + + + + Checks to create new page based on dynamic table. + + Flag, denotes whether now layouting dynamic relayout process + + + + Calculates the height of intersected items with the floating item. + + Represents a Layouted section + Represents a intersected item. + Represents whether the intersecting item intersected with the floating item or not. + Retruns height of all the intersected items. + + + + Checks whether interesecting item is intersected with floating item. + + Represents a interesecting item. + Represents a floating item. + + + + + Get Section Client Area + + + + + + Checks the first item in the paragraph is inline item or not. + + + Returns true, if the first item is inline ; otherwise returns false. + + + + Determines whether the first item is break items in the specified paragraph. + + The paragraph. + + + + + Gets column client area. + + + + + + Clear Fields on new page. + + + + + Get Required Height for Continuous Section. + + + + + Get the floating item height. + + Floating Item collection. + Return the Floating item height. + + + + Get first line height of the section + + + + + + Check whether the current section have multiple columns with equal column width + + + + + + Checks Next Section BreakType. + + The isContinuousSection. + + + + + + + + + + + + Finds the intersect point and removlt widget. + + + + + Check whether current widget is floating item or not. + + + + + + + + + + + + + + + + Checks whether to continue layouting with next section. + + If true; Then continue layouting with the next section. If false; Then continue with current section + + + + Resets properties related to continuous section layout. + + + + + Resets the IsNotFitted boolean in the Paragraph layout info. + + Layouted widget + + + + Handle Column Break and Page Break in the Continuous section. + + If true; Then push all the layouted widgets. If false; Then not push the layouted widgets + + + + Update Section Height. + + + + + Handle Layouted Widget. + + + + + + Get Lines Height. + + + + + + Gets the maximum height of the first line in the first row of a table. + + The LayoutedWidget representing the table. + The maximum height of the first line across all cells in the first row. + + + + Gets the height of the first line in a table cell, considering nested tables and block content controls. + + The LayoutedWidget representing the table cell. + The maximum height of the first line in the cell, or 0 if not found. + + + + Recursively calculates the maximum height of the first line encountered in a layout widget and its children. + + The LayoutedWidget to analyze. + + The maximum height of the first line found in the widget or its children. + Returns 0 if no suitable line is found. + + + + + + Recursively searches for the last paragraph widget in the LayoutedWidget hierarchy. + + The LayoutedWidget to search through. + The last LayoutedWidget representing a paragraph, or null if not found. + + + + Get Column index which have minimum column width + + + + + + Get Column index which have maximum column width + + + + + + + + + + + + + + + + + + + Push Footnote layouted widgets into current page + + + + + + + Push Endnote layouted widgets. + + + + + + + + + + + + + + + + + + + + Specifies whether azure compatible with Metafile creation + + + + + Gets the DrawingContext + + + + + Gets and set IsFirstLayouting + + + + + Gets and set IsUpdatingTOC + + + + + Gets or sets a value indicating whether this instance is layouting header footer. + + + true if this instance is layouting header footer; otherwise, false. + + + + + Gets the bookmark hyperlinks. + + + + + Gets the bookmarks. + + + + + Decides whether to force fit the widgets during layouting process. + While creating new page this property will be enabled. + + + + + Decides whether multi column with continue section content layouting. + + + + + Gets or sets a value indicating whether to preserve the ole equation as bitmap in Word to PDF conversion. + + + + + Gets pages collection + + + + + Gets the Last TOC Entry entity + + + + + Gets or sets value indicates whether to export Word document heading as PDF bookmarks. + + + + + Gets the current page. + + The current page. + + + + Gets the current section. + + The current section. + + + + Gets the current page client height. + + + + + Gets the current column. + + The current column. + + + + Gets the result. + + The result. + + + + Gets a value indicating whether this instance is even page. + + + true if this instance is even page; otherwise, false. + + + + + Gets or sets a value indicating whether create image using transparancy or not + + + + + Holds the widgets height which is removed from column by Keepwithnext behavior. This is used only for multi column with continous section break. + + + + + Gets or sets the TOC link style instance. + + The TOC link styles instance + + + + Gets or sets the floating items. + + + The floating items. + + + + + Gets the floating items. + + + The floating items. + + + + + Gets or sets the layoutted Equation field switches. + + + The equation field. + + + + + Gets or sets the maintainlt widget. + + + The maintainlt widget. + + + + + Gets or sets the inter secting point. + + + The inter secting point. + + + + + Gets the TOC entry page numbers. + + The TOC entry page numbers. + + + + Indicates whether a header and footer of a specific type needs relayout within the current page. + + A dictionary with keys representing header/footer types and values indicating relayout necessity (true or false). + + The dictionary is initialized or reset when the current section changes. + + + + + It is hold the total number of pages in the section. + + + + + Gets or sets a value indicating whether to use TC fields. + + true if use TC fields; otherwise, false. + + + + + + + + + Initializes a new instance of the class. + + The dl. + if set to true [b footer]. + + + + Gets the next area. + + The area. + The isContinuousSection. + + + + + Modifies the area of a header or footer widget. + + The current header or footer widget container. + The original area of the widget. + The modified area of the widget, potentially with adjusted height. + + + + Pushes the LayoutedWidget to external holder. + + The LayoutedWidget. + + + + Handles the splitted widget. + + The splitted widget container. + The current state of layout context. + The LayoutedWidget. + isLayoutedWidgetNeedToPushed + + True for continue layout process, False - for stopping + + + + + Handles the LayoutedWidget to external holder. + + The LayoutedWidget. + + + + Represents a hyperlink annotation with a URL, display screenTip, and area in the document. + + + + + Initializes a new instance of the class + + The url + The screenTip + Bounds area + + + + Gets or sets the Bounds. + + The Bounds. + + + + Gets or sets the Uri. + + The Uri. + + + + Gets or sets the screenTip. + + The screenTip. + + + + Represents the class which acts as an drawing context. + + + + + The default script factor for sub/super script. + + + + + The default factor values to fit the DinOffc font text into the corresponding font grid. + /// + + + + The default font size. + + + + + The default minimum font size for picture bullet. + + + + + The default scale factor for picture bullet. + + + + + Drawing Graphics. + + + + + Holds the list of hyperlinks and its corrsponding bounds. + + + + + Used to skip a text highlighter between the comment ranges. + + + + + Auto tag index + + + + + Skips the bookmark add for all the textrange of paragraph. + + + + + We have hold the underline style properties and bounds to draw a line. + using this dictionary, we have draw the line after the text drawn. + + + + + We have hold the Strike-Through properties and bounds to draw a line. + using this dictionary, we have draw the line after the text drawn. + + + + + Initializes a new instance of the PDFDrawingContext class. + + + + + Initializes a new instance of the PDFDrawingContext class. + + The graphics. + The page unit. + The page unit. + The page unit. + + + + Draws the Overlapping shape widgets. + Currently handled only for Docx format documents + + + + + Paragraph has a color which is mismatched from the next sibling paragraph color + + + + + Draws the paragraph. + + The paragraph. + The lt widget. + + + + Draws the text box. + + The text box. + The lt widget. + + + + We have handle for rotated childshapes. + + clipbounds value + return the clipbounds value + + + + Draw Bar Tab Stop of the paragraph + + + + + + + Get bounds to draw a paragraph back ground color and texture styles + + + + + + + + + + + Check whether Paragraph Containing list has break. + + ltWidget + + + + + Get the base entity + + + + + + + Get the text top position + + Represent the text + Represent the font + Represent the size + Return the Text drawing y position + + + + Decides whether, we should update the tab position or not. + + The widget. + Index of the entity. + + + + Updates the tab position. + + The widget. + The client area. + + + + Updates the decimal tab position. + + The lt widget. + The client area. + + + + Updates the decimal tab position in cell. + + The lt widget. + The client area. + + + + Determine whether is Decimal Tab Start + + + + + + + + + + + + Get Width To Shift the xposition of childwidget + + + + + + + + + + Get the paragraph format for current tab + + The Paragraph + Paragrph format + + + + Get Column Width + + The Paragraph + + + + + Get Left width of the Decimal seperator + + + + + + + + + Get Left width of the Decimal seperator + + The lt widget. + The decimal tab start. + The decimal tab end. + + + + + Get Index of Decimal Separator + Index denotes the TextRange which have a decimal separator + + + + + + + + + + + + Get Index of Decimal Separator + Index denotes the TextRange which have a decimal separator + + The lt widget. + The decimal tab start. + The decimal tab end. + Width of the left. + The decimal separator. + if set to true [is separator]. + + + + + Determine whether is Decimal Separator + + + + + + + + + Get Owner paragraph of the LayoutedWidget + + + + + + + Gets the tab end index. + Index denotes the item, previous of next subsequent tab. + + The lt widget. + The start index. + + + + + Get the current list size. + + + + + + + + + Draws the list. + + Paragraph + Layouted Widget + List Format + + + + Draws the list tab leader. + + The paragraph. + The paragraph info. + Width of the list. + The x position. + The y position. + + + + Gets the tab leader. + + The paragraph info. + + + + + Gets the ascet value for Equation field. + + Equation field + + + + + Check whether the current lines contains the equation field and it + contains the height of the corresponding line. + + + + + + + Determines whether the paragraph is empty + + paragraph + returns true if paragraph is empty + + + + Calculate a line points for the WCommentMark. + + + + + + + Draw the WCommentMark. + + + + + Draw AbsoluteTab + + + + + + + Update AbsoluteTab leader + + + + + + + + Draws the Footnote separator + + The TXT range. + The lt widget. + + + + Draws the text range. + + The TXT range. + The lt widget. + The text. + + + + Trim the space characters in the text. + + + + + + Check whether the widget is in field result or not. + + Hyper link field + Widget. + If the widget is in field result, return True;else false. + + + + Update Target position to the bookmark hyperlink + + + + + + + Create Bookmark reference link + + + + + + + Determine whether the tab stop is preserved after the text range in the current line + + + + + + + Update Tab Width. + + + + + Fill with dots for tab leader + + Font + Current layouted widget + Character format of layouted widget + String format + text + + + + Fill with sigle for tab leader + + Font + Current layouted widget + Character format of layouted widget + String format + text + + + + Fill with hyphens for tab leader + + Font + Current layouted widget + Character format of layouted widget + String format + text + + + + Fills with space + + + + + + + + + Draws the Symbol + + + + + + + Draws the image. + + The image. + The bounds. + + + + Creates color matrix. + + brightness + contrast + saturation + + + + Convert the image to specified color using ImageAttributes. + + Original Image + ImageAttributes used to change the color. + Return the recolored image. + + + + Decides whether table is preserved inside text box or not. + + Table cell + Indicates whether to check textbox only. + + + + + Gets the bounding box of the rectangular bounds after rotation. + + Bounds + Degree of rotation + Bounding box of the rectangular bounds + + + + Calculates the minX, minY, maxX and maxY of the rotated bounds. + + + Bounding box of a rectangular bounds + + + + Gets the rotation transformation matrix + + Bounds of the picture + Rotation angle + Transformation matrix + + + + Get matrix values of skia's matrix. + + SKia's matrix to get values from. + Image matrix. + + + + Converts the ole object into bitmap when the image and object is of WMF and equation type respectively. + + + + + + + + Draw the InlineShapePicture + + + + + + + + + Create the Pen to draw the picture border + + + + + + + Get the color for the picture border + + + + + + + Get the line cap for picture border + + + + + + + Get LineJoin for picture border + + + + + + + Get the Dash and line style for the picture shape + + + + + + + + + Get the dash and line style for picture border + + + + + + + + Get the Dash style for the border + + + + + + + + Set the CropImageBounds if the image offset is negative + + + + + + + + + Gets the position to crop the image + + + + + + + Draws the equation field swtiches. + + + + + Draws an Array EQ switch using their properties. + + Represents a script type + A layouted array EQ switch. + Represents a charFormat for array switch. + Represents a for array EQ switch. + + + + Draws a radical switch and the radical symbol as a graphic path. + + Represents a script type. + A layouted radical EQ switch. + Represents a charFormat for radical switch elements. + + + + Enable the EnableComplexScript if the CharacterFormat.ComplexScript property is true. + + Current widget character format. + + + + Determines the destination points for drawing an original image within a parallelogram. + + Represents the bounds where the image will be drawn. + Represents the size of the image. + Represents the width of the left border of the image + Represents the width of the top border of the image + + + + Align the layouted equation field switch based on the current y position. + + Layouted EQ field switches + x position of layouted equation field switch + Y position of layouted equation field switch + + + + Shift the eqaution field's x, y position based on the given x,y value. + + Layouted EQ field switches + x position of layouted equation field switch + Y position of layouted equation field switch + + + + Generates the error text for the equation field. + + Represents a equation field to generate. + Represents a which set for equation field. + Represents a X position of equation field. + Represents a Y position of equation field. + + + + Shift the equation field's y position based on the given y value. + + Layouted EQ field switches + Y position of layouted equation field switch + + + + Gets the top most Y position of layouted EQ fields. + + Layouted EQ field + Minimum value of y position + + + + + Draws the string. + + Represents a script type. + The text. + The char format. + The para format. + The bounds. + The clipwidth. + The layouted widget. + + + + Rotate a Graphics based on Shape Rotation. + + Specified the rotation angle. + Specifies whether text needs to vertically flip. + Specifies whether text needs to horizontally flip. + Specifies whether the text need to rotate. + Specifies the text wrapping style. + Indicates whether the text need to scale or not. + Indicates whether the line rotate transform is applied or not. + Specifies the modified rotation angle. + + + + Check that previous or next sibling is tab in that line paragraph + + CharacterFormat + textBounds + LayoutedWidget + isSameLine + + + + Calculate the Text Bounds + + + + + + + + + + Add the line to the Dictionary collection + + + + + + + + + + + + Check that can we extend the previous Underline to the next text. + + Previous boundsRight + Current boundsX + Current CharacterFormat + Previous CharacterFormat + + + + + Compare the two float values. + + Value 1 + value 2 + Round off value + + + + + Check that text having underline or strike through. + + TextRange + Charformat + + + + + + Check that the Inline content control having the text range. + + + Return true, if the InlineContentControl have text range; Else false. + + + + Checks whether the current widget is tab + + + + + + + Get the text box widget of current widget. + + + + + + + Reverse the string + + + + + + Draws the small cap string. + + scriptType + characterRangeType. + The text. + The character format. + The bounds. + The font. + The format. + The text brush. + if set to true [is character spacing]. + + + + Determine whether the text is need to clip when the text range y position is greater than the owner row bottom position + + + + + + Determine whether the text is need to clip when the text range x position is beyond the cell bounds or crossing the cell bounds + + + + + + Gets the index of the column. + + The section. + The section bounds. + + + + + Get Y position to clip paragraph items + + + + + + + + Get Default font to render non east characters + + + + + + + + + Draw String based on CharacterSpacing + + Script Type + Character Range Type + Font style of current Layouted widget + Text brush + Layouted widget bounds + Text + string format + character Format + + + + Transform the graphics rendering positions based on rotation angle + + Current ltWidget + set to true when the widget need to scale + set to true when the widget rotate transform is applied + Translation points + Rotation angle + OwnerParagraph + + + + Update the X and Y position + + X posiiton + Y position + Owner entity + Layouted Widget + Update the X and Y position when document has different page setup. + + + + Gets the height of the layouted text box content. + + The lt widget. + + + + + Get Width to shift vertical text + + + + + + + + + Get Bounds to clip the text + + + + + + + + + Update clip bounds based on vertical cell + + + + + + + + Update clipping bounds based on owner clipping + + + + + + + + Get Height of the cell with text direction as vertical + + + + + + + Draw Chinese Text + + + + + + + + + + + + + Checks whether the text is valid. (applicable for Arial text) + + + + + + Draw Unicode Text + + + + + + + + + + + + + Draw unicode string + + + + + + + + + + + + + Determines whether the owner paragraph is empty + + text + + true if owner paragraph is empty, set to true. + + + + + Rotate and scale the graphics transform matrix + + Layoted widget bounds + Clip bounds + Scaling factor value + Translation points + Rotation angle + + + + Scale the graphics transform matrix. + + Scaling factor value + Translation points + Rotation angle + + + + Draws the paragraph borders. + + the paragraph + The paragraph format. + The lt widget. + isParagraphMarkIsHidden + + + + Draws the paragraph borders + + Collection of borders, contains the each border rendering order + Border bounds + Current paragraph borders + Previous paragraph borders + Paragraph + Layouted widget + + + + Draws the horizontal border. + + The border rendering order. + The bounds. + The borders. + The border. + if set to true [is multi line left border]. + if set to true [is multi line right border]. + if set to true [is multi line horizontal border]. + Width of the between border line. + Width of the left border line. + Width of the right border line. + Paragraph + Layouted widget + + + + Draws the left border. + + The border rendering order. + The bounds. + The borders. + The border. + The previous border. + if set to true [is multi line top border]. + if set to true [is multi line bottom border]. + if set to true [is multi line left border]. + if set to true [is multi line horizontal border]. + Width of the left border line. + Width of the top border line. + Width of the between border line. + Width of the bottom border line. + Paragraph + Layouted widget + + + + Draws the right border. + + The border rendering order. + The bounds. + The borders. + The border. + The previous border. + if set to true [is multi line top border]. + if set to true [is multi line horizontal border]. + if set to true [is multi line right border]. + if set to true [is multi line bottom border]. + Width of the right border line. + Width of the top border line. + Width of the between border line. + Width of the bottom border line. + Paragraph + Layouted widget + + + + Draws the top border. + + The border rendering order. + The bounds. + The borders. + The border. + if set to true [is multi line top border]. + Width of the top border line. + Width of the left border line. + Width of the right border line. + + + + Draws the bottom border. + + The border rendering order. + The bounds. + The borders. + The border. + if set to true [is multi line bottom border]. + Width of the left border line. + Width of the bottom border line. + Width of the right border line. + Paragraph + Layouted widget + + + + If paragraph inside Text box or shape have bottom border and that paragraph is the last element of textbox means + Microsoft word will preserve the bottom border at the top of the bottom margin of text box or shape by subtracting the internal bottom margin spacing and the text box or shape line width. + + + The spacing between the paragraph bottom border and textbox's or shape's bottom border + + + + Sort the borders based on brightness + + Border rendering order list + Horizontal border + Either left border/right border + Current paragraph borders + To ensure wether we need to remove left or right border + + + + Adds the next paragraph bounds. + + The layouted widget. + The bounds. + + + + + Draw the revision bars in the specified color and width + + Start point of the revision bar + End point of the revision bar + Color of the revision bar + Width of the revision bar + + + + Draws the border. + + The border. + The start. + The end. + + + + Draws the border. + + The border. + The start. + The end. + + + + Draws the border. + + The border. + The start. + The end. + + + + Draws the table. + + The table. + The lt widget. + + + + Draws the table row. + + The row. + The lt widget. + + + + Draws the table cell. + + The cell. + The lt widget. + + + + Fill the Cell Color + + The Layouted widget + + + + Checks the TextBox for Background picture. + + + + + + + Draws the texture style. + + + + + + + + + Gets the fore color. + + + + + + + + + Gets the color value. + + The fore color value. + The back color value. + The percent. + isForeColorEmpty + isBackColorEmpty + + + + + Fill Texture within the bounds + + Texture Style + Fore Color + Back Color + Bounds + + + + Draws the cell borders. + + The cell. + The lt widget. + The previous cells top border width + + + + Draws the multi line left border. + + The cell layout information. + The left border. + The start. + The end. + if set to true [is first row]. + if set to true [is last row]. + if set to true [is first cell]. + if set to true [is last cell]. + + + + Draws the double line left border. + + The cell layout information. + The left border. + The start. + The end. + if set to true [is first row]. + if set to true [is last row]. + if set to true [is first cell]. + if set to true [is last cell]. + + + + Draws the multi line right border. + + The cell layout information. + The right border. + The start. + The end. + if set to true [is first row]. + if set to true [is last row]. + if set to true [is first cell]. + if set to true [is last cell]. + + + + Draws the right double line border. + + The cell layout information. + The right border. + The start. + The end. + if set to true [is first row]. + if set to true [is last row]. + if set to true [is first cell]. + if set to true [is last cell]. + + + + Draws the multi line bottom border. + + The cell layout information. + The start. + The end. + isBiDiTable + + + + Draws the double line bottom border. + + The cell layout information. + The start. + The end. + isBiDiTable + + + + Draws the multi line top border. + + The cell layout information. + The top border. + The start. + The end. + if set to true [is start]. + if set to true [is end]. + + + + Draws the top double line border. + + The cell layout information. + The top border. + The start. + The end. + if set to true [is start]. + if set to true [is end]. + + + + Determines whether the specified border is multiline border + + Type of the border. + + + + + Determines whether [is multi line paragraph border] [the specified border type]. + + Type of the border. + + + + + Gets the border line array. + + Type of the border. + Width of the line. + + + + + To identify whether current border is double line border or triple line border + + Current border which is need to be check + Trueid the current border type is double border + + + + Draws the multi line left border. + + The left border. + The start. + The end. + if set to true [is top border same]. + if set to true [is between border same]. + if set to true [is bottom border same]. + + + + Draws the double line left border. + + The left border. + The start. + The end. + if set to true [is top border same]. + if set to true [is between border same]. + if set to true [is bottom border same]. + + + + Draws the triple line left border. + + The left border. + The start. + The end. + if set to true [is top border same]. + if set to true [is between border same]. + if set to true [is bottom border same]. + + + + Draws the multi line right border. + + The right border. + The start. + The end. + if set to true [is top border same]. + if set to true [is between border same]. + if set to true [is bottom border same]. + + + + Draws the double line right border. + + The right border. + The start. + The end. + if set to true [is top border same]. + if set to true [is between border same]. + if set to true [is bottom border same]. + + + + Draws the triple line right border. + + The right border. + The start. + The end. + if set to true [is top border same]. + if set to true [is between border same]. + if set to true [is bottom border same]. + + + + Draws the multi line top border. + + The top border. + The start. + The end. + if set to true [is left border same]. + if set to true [is right border same]. + + + + Draws the double line top border. + + The top border. + The start. + The end. + if set to true [is left border same]. + if set to true [is right border same]. + + + + Draws the triple line top border. + + The top border. + The start. + The end. + if set to true [is left border same]. + if set to true [is right border same]. + + + + Draws the multi line bottom border. + + The bottom border. + The start. + The end. + if set to true [is left border same]. + if set to true [is right border same]. + + + + Draws the double line bottom border. + + The bottom border. + The start. + The end. + if set to true [is left border same]. + if set to true [is right border same]. + + + + Draw the double line for the text. + + charFormat + borderType + lineWidth + start point + end point + + + + Draws the triple line bottom border. + + The bottom border. + The start. + The end. + if set to true [is left border same]. + if set to true [is right border same]. + + + + Draws the multi line between border. + + The between border. + The start. + The end. + if set to true [is left border same]. + if set to true [is right border same]. + The left border. + The right border. + if set to true [is overlap left]. + if set to true [is overlap right]. + + + + Draws the double line between border. + + The between border. + The start. + The end. + if set to true [is left border same]. + if set to true [is right border same]. + The left border. + The right border. + if set to true [is overlap left]. + if set to true [is overlap right]. + + + + Draws the triple line between border. + + The between border. + The start. + The end. + if set to true [is left border same]. + if set to true [is right border same]. + The left border. + The right border. + if set to true [is overlap left]. + if set to true [is overlap right]. + + + + Gets the adjacent border line width + + Left or right border line array + true if we passing left border line array; otherwise false + + + + + Draws the color of the background. + + Color of the bg. + The width. + The height. + + + + Draws the back ground image. + + The image. + The page setup. + + + + Draws the Watermark + + Watermark + Page setup + Bounds + + + + Imlementation of Draw method of page. + + Currentl drawing page + autoTagsCount + + + + Retrieves the list of previous line comment start marks and clears the current marks. + + + + + Draws balloons for the track changes. + + Pen to draw the balloon outline + Track changes balloon rect + + + + Draws Markup triangles. + + Position to draw the triangle. + Revision Color + + + + Checks the current watermark is empty watermark or not. + + + + + + Checks the HeaderFooter Paragraph and Table Weather WaterMark has to draw first + + + + + + Checks the paragraph weather watermark in Paragraph + + + + + + + + Checks the paragraph weather watermark in Table + + + + + + + + Checks which One has to draw first watermark or picture,shape,textbox + + + + + + + + + Draw the splitWidgetContainer to PDF document or Image. + + Currentl split widget container + Layouted widget + + + + Align the child widgets. + + The layouted widget. + The paragraph. + + + + Imlementation of Draw method of IWidget interface . + + + + + + + Draw widget to graphics. + + + + + Draws the specified dc. + + + + + + + Check whether the widget is need to drwa or not + + + + + + + Draw the page border + + Page number + + + + + Imlementation of Draw method of BookMark interface . + + + + + + + Decides whether Clipping is necessary or not. + + + + + + + Get text highlight color + + + + + + + Check whether the paragrah contains Text range + + + + + + + Imlementation of Draw method of LayoutedWidget interface . + + The Layouted widget. + Is need to initialize layout info + + + + Iterate every child elements of the table and add the floating items into the OverLappedShapeWidgets collection + + Table layouted widget + + + + Iterate the child elements of the paragraph + + Paragraph layouted widget + + + + Checks whether the child widget is floating item and add into the collection + + Child layouted widget + + + + Get space width at end of the line widget. + + + + + Checks whether the paragraph line is RTL. + + + + + + + Checks whether the paragraph line has text bidi. + + + + + + + Check that Line item are drawn. + + LayoutedWidget + Return true, if line items are drawn. + + + + Draw the Line Based in the collection. + + Contains the underline values + Contains the strike through values + + + + Transform the graphics based on the rotation and scaling. + + The character format. + Indicates whether the line need to scale or not. + Indicates whether the line rotate transform is applied or not. + Indicates whether the line need to set clip or not. + Line widget. + + + + Gets the rotation values from the textbox, shapes(ChildShapes/GroupShapes). + + Specified the rotation angle. + Specifies whether it is vertical flip. + Specifies whether it is horizontally flip. + Specifies whether the text need to rotate. + Specifies the text wrapping style. + Specifies the current textrange. + + + + Checks whether the underline width is need to change or not. + + + + + Draw the underline style. + + + + + + + Draw a wavy line using curved points + + represents the character properties of the text + represents the bounds of the text + represents the font of the text + returns the GraphicsPath object to draw the wavy line + + + + + Create the Pen to draw the Line for Underline and Strike through. + + charFormat + lineWidth + Return the Pen to draw the line. + + + + Checks whether clip bounds need to remove from container. + + + + + + + Increase the bounds with the table paddings. + + + + + + + Updates the clip bounds based on its owner clip bounds. + + + + + + + + Sets clipping for the particular region. + + + + + + Resets Graphics Transform positions. + + + + + Scale the graphics with input X and Y scaling values. + + Specify the scaling factor of X. + Specify the scaling factor of Y. + + + + Get the bounds based on the frame content. + + + + + + + Draw the paragraph + + + + + + + Draw a Comment highlighter for the line. + + Represents a layouted widget of line. + Represents a WordDocument. + + + + Gets a KeyValuePair for the specified key from specified collection. + + Represents a input key to find. + Represents a KVP colection. + Returns a KeyValuePair for the specified key from specified collection. + + + + Check whether a KeyValuePair is available in specified collection for the specified key. + + Represents a input key to find. + Represents a KVP colection. + Returns a true, if KeyValuePair available in specified collection; Otherwise false. + + + + Draw a comment highlighter. + + + + + + + Gets maximum height widget of line. + + Represent a layouted widget of line. + Returns a LayoutedWidget, which has maximum height in line. + + + + Check whether any of line for current paragraph intersect with floating items. + + Current widget + Whether this is line or line container + + + + + Draw the back ground colour for current line. + + Current paragraph + Current line widget + + + + Find the Back ground color rendering bounds. + + + + + + + + Check whether line preserved left or right or between floating items. + + + + + + + + + + Get the current child widget total bounds. + + + + + + + Draw the split table widget + + + + + + + Draw method for BlockContentControl + + + + + + + Draw method for InlineContentControl + + + + + + + Draw WCommentMark + + + + + + + Draw AbsoluteTab + + + + + + + Draw chart as image + + + + + + + Draws chart + + + + + + + Draw the Check box. + + + + + + + Draw the Drop Down Form Field. + + + + + + + Draw the Fields. + + + + + + + Draw Ole Object. + + + + + + + Draw the Picture. + + + + + + + Draw the symbol. + + + + + + + Draw the table. + + + + + + + Gets the frames first item. + + + + + + + + + Draw the table cell. + + + + + + + Draw the table row. + + + + + + + Draw the textbox. + + + + + + + Draw the text form field. + + + + + + + Imlementation of Draw method of LayoutedWidget interface + + + + + + + Draw the shape to PDF document or Image. + + Current shape entity + Current shale layouted widget + + + + Draw the shape to PDF document or Image. + + Current shape entity + Current shale layouted widget + + + + Draw the splitStringWidget + + SplitStringWidget + Layouted split string widget + + + + Draw the text ranges. + + + + + + + Draw widget to graphics. + + + + + + + + Draw widget to graphics. + + + + + Get Cell Widget + + + + + + + Gets the owner widget of the paragraph + + + + + + + Get owner widget of the cell + + + + + + + Determines whether the layouted widget is Overlapping Widget + + The lt widget. + + true if the layouted widget is Overlapping shape widget; otherwise, false. + + + + + Update the positions of text watermark. + + TextWatermark + + + + + + + Draw the text watermark. + + + + + + + + Convert the Watermark text as Bitmap Image. + + + + + + + + Change the given color brightness + + + + + + + + Draw border for the page + + Page setup object + Header bounds + Footer bounds + Page bounds + + + + + Gets the bounds to draw left border + + Page setup object + Header bounds + Footer bounds + Page bounds + + + + + Gets the bounds to draw right border + + Page setup object + Header bounds + Footer bounds + Page bounds + + + + + Gets the bounds to draw bottom border + + Page setup object + Header bounds + Footer bounds + Page bounds + + + + + Gets the bounds to draw top border + + Page setup object + Header bounds + Footer bounds + Page bounds + + + + + Gets the font size for Text Watermark + + Text Watermark + + + + Adjust the brightness and contrast of the picture. + + Represents a image that we need to gets a graphics. + The image. + Represents image Attributes + if set to true [is picture watermark]. + + + + + Draws the Picture Watermark + + Picture Watermark + Bounds + Page Setup + + + + Draws the check box. + + The checkbox. + The lt widget. + + + + Draw picture fill + + Imagebytes + Shapes path + Layouted widget bounds + + + + Apply transparency for image + + Represents image Attributes + Represents image transparency + + + + Draw child shape + + + + + + + + + + + + + + Rotate the shape based on Flip positions + + + + + + + + + + + + + + + + + + + + + + Measures the image. + + The image. + + + + + Measures the picture bullet size + + Picture + Font + The size of picture bullet + + + + Measures the string. + + The text. + The font. + The format. + + + + + Measures the string. + + The text. + The font. + The format. + The character format. + isMeasureFromTabList + + + + + Gets the exact bounds of a string without an line spacing and top/bottom spacing values of font. + + Specify the input string. + Specify the font to measure. + + + + + Measures the string. + + The text. + The font. + The format. + The character format. + if set to true [is measure from tab list]. + if set to true [is measure from small cap string]. + + + + + Get the factor. + + Represents a font name. + + + + Calculates the font size for subscript and superscript font. + + Represets a normal font to change as subscript and superscript size. + Returns font size of subscript and superscript for corresponding inputed font. + + + + Get the Exceeded line height of the Arial unicode MS font. + + The font. + isAscent. + + + + + Measures the string. + + The text. + The font. + The default font + The format. + The Character format + + + + + Measures the small cap string. + + The text. + The size. + The font. + The format. + The character format. + + + + Draw Unicode Text + + + + + + + + + + + + + + + + + + Gets the ascent + + The Font. + + + + + Gets the descent + + The Font. + + + + + Translate the specified matrix with offsetX and offsetY + + Represent the matrix to translate + Represent the offsetX + Represent the offsetY + Represent the MatrixOrder to traslate + + + + Multiply the specified matrix with target matrix + + Represent the matrix to translate + Represent the target matrix + Represent the MatrixOrder to traslate + + + + Rotate the specified matrix with specified angle. + + + Represent the angle to rotate the matrix + Represent the center point to rotate a matrix + Represent the MatrixOrder to traslate + + + + Gets a new GraphicsPath object. + + Returns a new GraphicsPath object. + + + + Gets a new Bitmap object with specified width and height. + + Represents a width of Bitmap. + Represents a height of Bitmap. + Returns a new Bitmap object with specified width and height. + + + + Gets a Graphics of with specified image. + + Represents a image that we need to gets a graphics. + Returns a Graphics of with specified image. + + + + Draw a unicode text with specified font properties. + + Represents a text. + Represents a font. + Represents a brush. + Represents a bounds. + Represents a StringFormat. + + + + Gets a image to be drawn. + + Represents a input image. + Returns a image to be drawn. + + + + Gets a image to be drawn. + + Represents a input image bytes. + Returns a image to be drawn. + + + + Create a Image from specified image stream. + + Represent a image stream. + Returns a Image from specified image stream. + + + + Gets a new HatchBrush object with specified HatchStyle and color. + + Represents a HatchStyle of HatchBrush. + Represents a fore color of HatchBrush. + Represents a back color of HatchBrush. + Returns a new HatchBrush object with specified HatchStyle and color. + + + + Gets a new Pen object with specified color. + + Represents a color of Pen. + Returns a new Pen object with specified color. + + + + Gets a new Pen object with specified color and width. + + Represents a color of Pen. + Represents a width of Pen. + Returns a new Pen object with specified color and width. + + + + Gets a new SolidBrush object with specified color. + + Represents a color of SolidBrush. + Returns a new SolidBrush object with specified color. + + + + Gets a new ColorMatrix object. + + Returns new ColorMatrix object. + + + + Gets a new ColorMatrix object with specified color matrix. + + Represents a color of matrix. + Returns new ColorMatrix object with specified color matrix. + + + + Gets a new ImageAttributes object. + + Returns a new ImageAttributes object. + + + + Draws the arrow head. + + The shape. + The pen. + The bounds. + if set to true [is arrow head exist]. + The path. + The line points1. + + + + Draws the arrow head. + + The shape. + The pen. + The bounds. + if set to true [is arrow head exist]. + The path. + The line points1. + + + + Draws the open end arrow head. + + The shape. + The pen. + The bounds. + The line points. + The end point. + if set to true [is arrow head exist]. + The path. + + + + Draws the close end arrow head. + + The shape. + The pen. + The bounds. + The line points. + The end point. + if set to true [is arrow head exist]. + The path. + + + + Draws the stealth end arrow head. + + The shape. + The pen. + The bounds. + The line points. + The end point. + if set to true [is arrow head exist]. + The path. + + + + Draws the close end arrow head. + + The shape. + The pen. + The bounds. + The line points. + The end point. + if set to true [is arrow head exist]. + The path. + + + + Draws the stealth end arrow head. + + The shape. + The pen. + The bounds. + The line points. + The end point. + if set to true [is arrow head exist]. + The path. + + + + Draws the open begin arrow head. + + The shape. + The pen. + The bounds. + The line points. + The end point. + if set to true [is arrow head exist]. + The path. + + + + Draws the open begin arrow head. + + The shape. + The pen. + The bounds. + The line points. + The end point. + if set to true [is arrow head exist]. + The path. + + + + Draws the close begin arrow head. + + The shape. + The pen. + The bounds. + The line points. + The end point. + if set to true [is arrow head exist]. + The path. + + + + Draws the close begin arrow head. + + The shape. + The pen. + The bounds. + The line points. + The end point. + if set to true [is arrow head exist]. + The path. + + + + Draws the stealth begin arrow head. + + The shape. + The pen. + The bounds. + The line points. + The end point. + if set to true [is arrow head exist]. + The path. + + + + Draws the stealth begin arrow head. + + The shape. + The pen. + The bounds. + The line points. + The end point. + if set to true [is arrow head exist]. + The path. + + + + Adds the close arrow head points. + + The points. + The pen. + + + + Adds the stealth arrow head points. + + The points. + The pen. + + + + Adds the open arrow head points. + + The points. + The path. + + + + Gets the open arrow default values. + + The lineFormat. + Width of the line. + Length of the arrow. + The arrow angle. + The adjust value. + if set to true [is from begin arrow]. + + + + Gets the close arrow default values. + + The shape lineFormat. + Width of the line. + Length of the arrow. + The arrow angle. + The adjust value. + if set to true [is from begin arrow]. + + + + Gets the length of the arrow head. + + + + + + Gets the close narrow arrow default values. + + Length of the arrow head. + Width of the line. + Length of the arrow. + The arrow angle. + The adjust value. + + + + Gets the close medium arrow default values. + + Length of the arrow head. + Width of the line. + Length of the arrow. + The arrow angle. + The adjust value. + + + + Gets the close wide arrow default values. + + Length of the arrow head. + Width of the line. + Length of the arrow. + The arrow angle. + The adjust value. + + + + Gets the open narrow arrow default values. + + Length of the arrow head. + Width of the line. + Length of the arrow. + The arrow angle. + The adjust value. + + + + Gets the open medium arrow default values. + + Length of the arrow head. + Width of the line. + Length of the arrow. + The arrow angle. + The adjust value. + + + + Gets the open wide arrow default values. + + Length of the arrow head. + Width of the line. + Length of the arrow. + The arrow angle. + The adjust value. + + + + Finds the angle to left and right head point. + + + + + The point1. + The point2. + + + + + + Finds the angle to left and right head point. + + The shape. + The point1. + The point2. + + + + + + Finds the arrow head angle radians. + + The point1. + The point2. + if set to true [is from separate orientation]. + + + + + Finds the base line end point. + + + + + + The line points. + The adjust value. + + + + + + Gets the end point. + + if set to true [is from begin arrow]. + The degree. + The length. + The adjust value. + The line points. + The x. + The y. + + + + Finds the angle radians. + + The line points. + if set to true [is from bottom to top]. + + + + + Finds the end cap arrow head points. + + The shape. + The pen. + The bounds. + The line points. + if set to true [is from open arrow]. + + + + + + Finds the end cap arrow head points. + + The shape. + The pen. + The bounds. + The line points. + if set to true [is from open arrow]. + + + + + + Finds the left right head points. + + + + + The line points. + The points. + The arrow angle. + Length of the arrow. + if set to true [is from begin arrow]. + + + + Construcs the baset line. + + if set to true [is from begin arrow]. + The points. + The line points. + + + + + + Gets the arrow default values. + + The line Format. + The pen. + Length of the arrow. + The arrow angle. + The adjust value. + + if set to true [is from begin arrow]. + + + + Radians to degree. + + The angle. + + + + + Degree2s the radian. + + A. + + + + + Gets the end point. + + The angle. + The length. + The start_x. + The start_y. + The end_x. + The end_y. + + + + Gets the line points based on flip. + + + + The bounds. + + + + + Determines whether the text range is soft hyphen and that need to be drawn. + + The lt widget. + + + + + Gets the string format. + + The char format. + + + + + Gets the brush. + + The color. + + + + + Gets the color of the text. + + The char format. + + + + + Get the RevisionColor + + Revision color + + + + + Get the RevisionColor + + Revision color + Is revision type insert type + + + + + Get the RevisionColor + + Revision color + Is revision type insert type + + + + + Get the RevisionColor to fill a comment balloon. + + Revision color + Is revision type insert type + + + + + Updates the alternate font for the font not installed in the system. + + The char format. + Name of the font. + The font. + + + + Checks the owner paragraph of the textrange is a TOC + + Text Range + + + + + Determins whether the paragraph is TOC. + + + + + + + Determines the the paragraph contians hyperlink field. + + + + + + + To check the current text range is present inside the HyperLink. + + + + + + + Check whether current text range is present inside the hyperlink field. + + + + + + + + Gets the font. + + + The char format. + + + + + + Updates the font name and size based on the Bidi property. + + + Character format of the current text range. + Font applied to the current text. + Font size applied to the current text. + Font style applied to the current text. + Returns current text range Bidi font. + + + + Gets the string alignment. + + The para format. + + + + + Gets the pen. + + The border. + + + + + + Gets the pen. + + Type of the border. + Width of the border line. + Color of the border. + + + + + Gets the pen. + + Type of the underline. + Width of the underline. + Color of the underline. + + + + + Scales the image. + + The image. + The width. + The height. + + + + + Adds link to the bookmark. + + The bounds. + The bookmark name. + The target is nothing. + + + + Creates bookmark hyperlink and add into list. + + + + + + + + Adds the hyper link to collection. + + The hyperlink. + The bounds. + + + + Adds the hyper link to collection. + + The picture. + The bounds. + + + + Updates the target bounds and page number for current bookmark. + + Bookmark hyperlink. + Bookmark hyperlink value. + + + + Updates the TOC level. + + The paragraph. + The bookmark. + + + + Updates Result index + + text + the measurer + res index + bSplitByChar + bIsInCell + offset + Client Width + + + res Index + + + + Determine whether the character is CJK leading character + A line of text cannot end with any leading characters, which are listed below + + + + + + + Determine whether the character is Begin CJK character + A line of text cannot begin with any following characters + + + + + + + Determine whether the character is CJK overflow character + Overflow characters are allowed to render in the same line when it doesn't have required client width to fit the character + + + + + + + + + + + + + + Get previous text range + + + + + + Get cell Width + + The paragraph item + + + + + Concatenates the font name, style, font size and Unicode text and returns the key for PDFFontCollection. + + Font object to extract font name, font size and font style from. + check whether it's unicode or not. + Key for the PdfFontCollection dictionary to store and retreive the created PdfFont. + + + + Determines whether the text is unicode + + text + + true if text is unicode, set to true. + + + + + Gets length of WORD. + NOTE: + - WORD: text run that finished by last space letter + (sample: "text " or " "; wrong sample: " text" or "text text" ) + EXCLUSION: + - If text working part have zero symbols return (-1) + - If text working part don't consist SPACE letters return legth of + text working part + + + Index of word first letter + Length of found word + + + + Closes this instance. + + + + + Draws the behind shape widgets. + + + + + Get Order index of the floating item + + + + + + Get the line width of the picture border for Inline picture shape + + + + + + + Get the line width of the picture border + + + + + + + + + + + + Gets or sets a value that indicates whether to regenerate the nested EMF images present in the Word document during PDF conversion. Default value isfalse. + + True if it is necessary to regenerate the nested EMF images present in the Word document during PDF conversion; otherwise false. + + + + Get the Current Bookmark name + + + + + Gets or sets the value indicates whether to export Word document heading as PDF bookmarks. + + + + + Decides whether, we should enable PdfMetafile.ComplexScript property for current page. + + + + + Gets or sets the custom font collection. + + + + + Gets or sets the custom font name collection. + + fontName + + + + Gets a Fallback font collection of Word document. + + + + + Gets or set the embedded fonts. + + + + + Gets or sets the graphics. + + The graphics. + + + + Gets the bitmap graphics. + + The graphics. + + + + Gets the hyperlinks. + + The hyperlinks. + + + + Gets the bookmark hyperlinks list. + + + + + Gets the bookmarks. + + + + + Gets the overlapping shape widgets. + + The overlapping shape widgets. + + + + Gets the font metric. + + + The font metric. + + + + + Gets the string formt. + + + The string formt. + + + + + Gets or sets a value indicating whether to embed fonts to converted PDF in Word to PDF conversion. + + + + + Gets or sets a value indicating whether to preserve the ole equation as bitmap in Word to PDF conversion. + + + + + Gets or sets a value indicating whether to embed the complete font information in the resultant PDF document. + + + + + Gets or sets a value indicates whether the converted PDF document is tagged or not. + + Remarks: Set this property as true, to preserve the accessible structure tags from Word document to the converted PDF. Using this property Word documents can be converted to PDF with 508 compliance. + Setting this property as true will automatically enable EnableFastRendering property. + + + + + + + + + + + + + + + + + Gets the vertical border + + + + + Gets / sets the horizontal border + + + + + Initializes a new instance of the class. + + Name of the bookmark. + The page number. + The bounds. + + + + Gets or sets the bookmarkStyle. + + The bookmarkStyle. + + + + Gets or sets the bounds. + + The bounds. + + + + Gets or sets the page number. + + The page number. + + + + Gets or sets the name of the bookmark. + + The name of the bookmark. + + + + Sort the border rendering order based on its color brightness order + + + + + Represents the class which drawing a Math Equations. + + + + + Creates a class instance to render the WMath entity. + + Represent the + + + + Draw the WMath instance. + + Represent the WMath instance to draw + Represent the layouted widget of WMath instance + + + + Draw the IOfficeMath instance. + + Represent the layouted widget of OfficeMath instance + + + + Draw the delimiter character with required stretching. + + Specify the delimiter widget. + Specify the required height to stretch. + Specify the character format. + + + + Draw the Line used in MathML. + + Represent the layouted widget of a line. + + + + Draw the layouted string widget. + + Represent the string widget + Represent the characterFormat + Represent the scalingFactor + + + + Dispose a MathRenderer object. + + + + + Gets a class object for drawing. + + + + + Represents a page. + + + + + Initializes a new instance of the class. + + The section. + The i number. + + + + Initializing LayoutInfo value to null + + + + + + + + + + + + + + + + + Gets the header area. + + + + + + Gets the footer area. + + + + + + Updates the gutter value of inside (left for odd page and right for even page) margin. + + + + + + + Change the Left and Right margin. + + + + + + + Gets the column area. + + The column. + Width of the prev. + + + + + Gets the column area. + + Index of the column. + Width of the prev columns. + + + + + Gets the section area. + + The column. + Width of the prev. + + + + + Gets the section area. + + Index of the column. + Width of the prev columns. + isNextSection. + + + + + Collection of lay outed widget. + + The page widgets. + + + + Gets the page document sections. + + + + + Gets the back ground images of the page. + + + + + Gets the document back ground color. + + + + + Collection of Footnote lay outed widget. + + The Footnote widgets. + + + + Collection of Endnote layouted widget. + + The Endnote widgets. + + + + Gets the collection of the trackchanges markups + + + + + Gets the Collection of BehindWidgets in the page + + + + + Collection for section id's of End note Widgets. + + The Section's ID's. + + + + Collection for section id's of Foot note Widgets. + + The Section's ID's. + + + + Gets page Setup info. + + + + + Gets page number. + + + + + Get the number of Behind widgets in header + + + + + Get the number of Behind widgets in footer + + + + + Need to swap left right margin values, when mirror margin property enabled + And the current page is even page. + + + + + Represents a collection of pages + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + Gets the pages. + + The pages. + + + + Initializes a new instance of the class. + + + + + Gets or sets the rendered image. + + The rendered image. + + + + Gets or sets the hyperlinks. + + The hyperlinks. + + + + Represents a interface class to get fallback fonts during Direct PDF conversion. + + + + + Summary description for DataReaderEnumerator. + + + + + Represents the Rows Enumerator. + + + + + Resets the row index. + + + + + Returns a value indicating whether the end of row is reached. + + True if it is end of row, otherwise false + + + + Returns the cell value for a specified column name. + + The string represents the column name. + The element at the specified cell. + + + + Gets the column names of the table. + + The string array that has the column names of the table. + + + + Gets the total rows count. + + The integer that represents the total number of rows. + + + + Gets the current row index. + + The integer that represents the index of the current row. + + + + Gets the table name. + + The string that represents the name of the table. + + + + Gets a value indicating whether the end of the row is reached. + + True if it is the end of the row, otherwise false. + + + + Gets a value indicating whether the current row is last row. + + True if its last row, otherwise, false. + + + + Initializes a new instance of the class. + + The data reader. + + + + Resets the row index. + + + + + Returns a Boolean indicating whether the end of row is reached. + + True if it is end of row, otherwise false + + + + Returns the cell value for a specified column name. + + The string represents the column name. + The element at the specified cell. + + + + Closes this instance. + + + + + Gets the current row index. + + The integer that represents the index of the current row. + + + + Gets the total rows count. + + The integer that represents the total number of rows. + + + + Gets the table name. + + The string that represents the name of the table. + + + + Gets a value indicating whether the end of the row is reached. + + True if it is the end of the row, otherwise false. + + + + Gets a value indicating whether the current row is last row. + + True if its last row, otherwise, false. + + + + + + + + + Gets the column names of the table. + + The string array that has the column names of the table. + + + + Summary description for DataTableEnumerator. + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + The table. + + + + Initializes a new instance of the class. + + The row. + + + + Resets the row index. + + + + + Returns a Boolean indicating whether the end of row is reached. + + True if it is end of row, otherwise false + + + + Returns the cell value for a specified column name. + + The string represents the column name. + The element at the specified cell. + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + The table. + + + + Read the column names from mail merge data table of type IDictionary<string,object> ie collection of ExpandoObject + + + + + Read the column names of data table using data rows. + + The table + + + + + + + + + + + + + + Gets the current row index. + + The integer that represents the index of the current row. + + + + Gets the total rows count. + + The integer that represents the total number of rows. + + + + Gets the table name. + + The string that represents the name of the table. + + + + Gets a value indicating whether the end of the row is reached. + + True if it is the end of the row, otherwise false. + + + + Gets a value indicating whether the current row is last row. + + True if its last row, otherwise, false. + + + + + + + + + Gets the column names of the table. + + The string array that has the column names of the table. + + + + Summary description for DataViewEnumerator. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Resets the row index. + + + + + Returns a Boolean indicating whether the end of row is reached. + + True if it is end of row, otherwise false + + + + Returns the cell value for a specified column name. + + The string represents the column name. + The element at the specified cell. + + + + Closes this instance. + + + + + + + + + + Gets the current row index. + + The integer that represents the index of the current row. + + + + Gets the total rows count. + + The integer that represents the total number of rows. + + + + Gets the table name. + + The string that represents the name of the table. + + + + Gets a value indicating whether the end of the row is reached. + + True if it is the end of the row, otherwise false. + + + + Gets a value indicating whether the current row is last row. + + True if its last row, otherwise, false. + + + + + + + + + Gets the column names of the table. + + The string array that has the column names of the table. + + + + Represents the mail merge functionality in the Word document. + + + + + Fields used for nested mail merge. + + + + + Initializes a new instance of the class. + + The document. + + + + Performs the mail merge operation using an array of field names with its values as data source. + + The array of merge field names. + The array of merge field values. + + + + Performs the mail merge operation using a IEnumerable as data source. + + IEnumerable data source that contains the mail merge field names with corresponding values. + + + + Performs the mail merge operation for a specified region. + + The MailMergeDataTable contains the data source for performing mail merge operation. + + + + Performs the mail merge operation using a DataRow as data source. + + The DataRow contains the data for performing mail merge operation. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + Performs the mail merge operation using a DataTable as data source. + + The DataTable contains the data for performing mail merge operation. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + Performs the mail merge operation using a DataView as data source. + + The DataView contains the data for performing mail merge operation. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + Performs the mail merge operation using a OleDbDataReader as data source. + + The OleDbDataReader contains the data for performing mail merge operation. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + Performs the mail merge operation using a IDataReader as data source. + + The IDataReader contains the data for performing mail merge operation. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + Performs the mail merge operation for a specified region using DataTable as data source. + + The DataTable contains the data for performing mail merge operation. + + ExecuteGroup mail merge functionality performs the replacements of merge fields, in which field names match the table column names with the ///corresponding values of table cell. These replacements are performed for every row contained in the table of the specified region. + The region where the mail merge operations are to be performed must be marked by two MergeFields with the following names: + + TableStart:TableName: For the entry point of the region. + TableEnd:TableName: For the end point of the region. + + For Example, You have to insert three MergeFields in the document with the following field names: + + TableStart:Geography: Marks the beginning of mail merge region. + FieldNames: Will be replaced by values from the table. + TableEnd:Geography: Marks the end of mail merge region. + + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + + Performs the mail merge operation for a specified region using DataView as data source. + + The DataView contains the data for performing mail merge operation. + + ExecuteGroup mail merge functionality performs the replacements of merge fields, in which field names match the table column names with the ///corresponding values of table cell. These replacements are performed for every row contained in the table of the specified region. + The region where the mail merge operations are to be performed must be marked by two MergeFields with the following names: + + TableStart:TableName: For the entry point of the region. + TableEnd:TableName: For the end point of the region. + + For Example, You have to insert three MergeFields in the document with the following field names: + + TableStart:Geography: Marks the beginning of mail merge region. + FieldNames: Will be replaced by values from the table. + TableEnd:Geography: Marks the end of mail merge region. + + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + + Performs the mail merge operation for a specified region using IDataReader as data source. + + The IDataReader contains the data for performing mail merge operation. + + ExecuteGroup mail merge functionality performs the replacements of merge fields, in which field names match the table column names with the ///corresponding values of table cell. These replacements are performed for every row contained in the table of the specified region. + The region where the mail merge operations are to be performed must be marked by two MergeFields with the following names: + + TableStart:TableName: For the entry point of the region. + TableEnd:TableName: For the end point of the region. + + For Example, You have to insert three MergeFields in the document with the following field names: + + TableStart:Geography: Marks the beginning of mail merge region. + FieldNames: Will be replaced by values from the table. + TableEnd:Geography: Marks the end of mail merge region. + + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + + Performs the nested mail merge operation for a specified region using DataBase as data source. + + The DbConnection represents the database connection which contains data for mail merge. + The array of commands contains the sql queries to get the data from DB. + + Nested mail merge for a region works when the group start and end is BeginGroup and EndGroup respectively. + Nested mail merge for a table works when the group start and end is TableStart and TableEnd respectively. + The commands list to retrieve the DataTable from the data source must be in the same order of Group which is preserved in the input WordDocument. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + + Performs the nested mail merge operation for a specified region using DataBase as data source. + + The DbConnection represents the database connection which contains data for mail merge. + The array of commands contains the sql queries to get the data from DB. + Set to true to indicate the is a SQLConnection; otherwise, false. + + Nested mail merge for a region works when the group start and end is BeginGroup and EndGroup respectively. + Nested mail merge for a table works when the group start and end is TableStart and TableEnd respectively. + The commands list to retrieve the DataTable from the data source must be in the same order of Group which is preserved in the input WordDocument. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + + Performs the nested mail merge operation for a specified region using DataSet as data source. + + The DataSet contains data for mail merge. + The array of commands contains the queries to get the data from dataset. + + Nested mail merge for a region works when the group start and end is BeginGroup and EndGroup respectively. + Nested mail merge for a table works when the group start and end is TableStart and TableEnd respectively. + The commands list to retrieve the DataTable from the data source must be in the same order of Group which is preserved in the input WordDocument. + This method is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamarin platforms. + + + + + Performs the nested mail merge operation for a specified region using the MailMergeDataTable as data source. + + The MailMergeDataTable contains the data source for performing mail merge operation. + + + + Performs the nested mail merge operation for a specified region using the MailMergeDataSet as data source. + + The MailMergeDataSet contains the data source for performing mail merge operation. + Commands list + + + + Returns a collection of merge field names found in the document. + + The string array which contains the name of all the merge fields name in the document. + + + + Gets a collections of merge field names in the specified group. + + A String that represents the name of the group. + The string array which contains the name of all the merge fields name in the specified group. + + + + Gets a collections of the merge field group names in the document. + + The string array which contains the name of all the merge fields group names in the document. + + + + Gets the merge field names. + + The fields array. + Name of the group. + + + + Closes this instance. + + + + + Called when group found by GroupSelector. + + + + + Check the count of the matching records + + Rows + + + + + Remove items between Empty Group + + The group selector + + + + Remove items between Empty group present in Text body. + + The group selector + + + + Removes items present between empty group present in Table. + + The group selector + + + + Removes GoBack bookmark from selected group + + + + + + Removes items present in Group after Table Start field + + The group selector + Table + Start index + Start para index + Start cell index + End cell index + Start row index + End row index + + + + Removes Items present in group at table end + + The group selector + Table + End index + End para index + Start cell index + End cell index + Start row index + End row index + + + + Remove items between empty group present in table cell. + + The group selector + + + + Removes items from start index to end index. + + Entity + Start index + End index + + + + Called when body group found. + + The rows enum. + + + + Insert page break to start next record of group in new page + + + + + + Removes the bookmark from the TextbodyPart + + + + + + Delete bookmarks + + + + + + Called when row group found. + + The rows enum. + + + + + + + + + + + + + + + + + Executes the group for selection. + + The text body. + The item start. + The item end. + The p item start. + The p item end. + The rows enum. + + + + Checks wheather the Group end need to remove or not when the BeforeClearGroup event is triggered. + + + True, When Group start is not present in the collection,then remove the Group end + False, When Group start is present in the collection, then no need to remove the group end + + + + Updates the FieldEnd index of EndGroup + + + + + + + + + Get Table object if the given entity is available within the table + + + + + + + Executes the group for row selection. + + The table. + Start index of the row. + The count. + The rows enum. + The number of rows that took part in mail merge + + + + Executes the nested group. + + Name of the table. + + + + Gets the enumerator for nested mail merge. + + Name of the table. + + + + + Updates the enum. + + Name of the table. + The rows enum. + + + + Gets the data table. + + Name of the table. + The commands. + + + + + Gets the data table. + + Name of the table. + The commands. + + + + + Gets the command. + + Name of the table. + The commands. + + + + + Updates the variable part of the command. + + The command. + + + + + Checks the table nested groups. + + The start row. + The end row. + The table. + + + + Finds the table groups. + + The start row. + The end row. + The table. + The founded nested group name. + + + + Gets the data table using connent. + + Name of the table. + + + + + Gets the data table using data set. + + Name of the table. + + + + + Sends MergeField event. + + + The field. + The value. + The rows enum. + + + + + + + + + + Triggers the before clear field event + + + + + + + + send arugments to BeforeClearGroup event + + + + + + + + Gets the owner group of the current unmerged field + + Table name of the Current RowEnumerator + + + + + + + + + + + Check the next matching record + + Rows enumerator + A boolean value indicating the next matching record + + + + + + + + + + + Executes for text body. + + The body items. + The rows enum. + + + + Executes for text body item. + + The body items. + The rows enum. + + + + Executes for paragraph. + + The paragraph. + The rows enum. + + + + Checks whether all the paragraphs in the table cell has RemoveEmpty property. + + + + + + + Executes for paragraph items. + + The paragraph. + The rows enum. + The Paragraph item. + The indicate whether the paragraph item collection changed or not. + + + + Executes for table. + + The table. + The rows enum. + + + + Converts to text. + + The field. + The text. + + + + Updates the field value. + + The field. + The rows enum. + + + + Trigger the Befor clear field event + + + + + + + + + Updates the merge field result as text range. + + The merge field. + The value. + The rows enum. + Index of the value. + + + + Ensures double quotes for result text when merge field is nested within an IF field. + + IF field + Megre field + true if previous items has double quote, else false. + + + + Checks double quotes count within specified range of the paragraph. + + Paragraph + Start index + End index + Double quotes count + + + + Check whether the field owner paragraph is detached from document. + + + + + + + Removes the field from its owner paragraph + + The field. + + + + Insert text range in the place of merge field with result value + + The merge field. + + + + Gets the field value. + + The field. + The rows enum. + + + + + Gets the field value. + + Name of the field. + The rows enum. + + + + + Updates if field value. + + The field. + The rows enum. + + + + + + + + + + + + Updates the merged picture. + + The field. + The paragraph. + The instance containing the event data. + + + + + + + + + + Copies all document sections to clipboard. + + + + + + Appends copied sections to end of document. + + + + + + Gets the bitmap. + + The data. + + + + + Gets the field names for paragraph. + + The fields array. + The paragraph. + Name of the group. + + + + Gets the field names from paragraph item. + + The fields array. + Paragraph item + Name of the group. + + + + Iterate StructureDocumentTagBlock items to get the fields name. + + The fields array. + StructureDocumentTagBlocklockContent + Name of the group. + + + + Determines whether [is start prefix] [the specified field]. + + The field. + + true if it specifies a begining of the group field, set to true. + + + + + Determines whether [is end group] [the specified field]. + + The field. + + If it is a end of the group, set to true. + + + + + Checks the selection. + + The rows enum. + + + + + Hides the fields. + + The sections. + + + + Hides the fields. + + The row. + + + + Removes the empty merge fields in body items. + + The selection. + + + + Hides the fields. + + The body items. + + + + Hides the fields. + + The paragraph. + + + + Hides the field. + + The field. + + + + Gets the name of the mapped column name. + + Name of the merge field. + + + + + Removes the spell checking. + + + + + Gets or sets a value indicating whether to remove empty mail merge fields from a document. The default is true. + + Set true to remove empty mail merge fields from a document; otherwise, false. + + + + Gets or sets a value that indicates whether to start a new page for each group of records. The default value is false. + + + Set True to start a new page for each group of records during mail merge execution; otherwise, false. + + This property is valid for group mail merge and also that the corresponding group start and group end should be present in the text body of the Word document. + This property is not valid when the group start, and group end are present in the table, headers and footers. + + + + //Load the template Word document. + WordDocument document = new WordDocument("Template.docx"); + //Data source. + DataSet ds = new DataSet(); + ds.Tables.Add(); + //Define the columns + ds.Tables[0].TableName = "Employee"; + ds.Tables[0].Columns.Add("NAME"); + ds.Tables[0].Columns.Add("DESC"); + //Set the values. + DataRow row; + row = ds.Tables["Employee"].NewRow(); + row["NAME"] = "AAA"; + row["DESC"] = null; + ds.Tables["Employee"].Rows.Add(row); + row = ds.Tables["Employee"].NewRow(); + row["NAME"] = "BBB"; + row["DESC"] = ""; + ds.Tables["Employee"].Rows.Add(row); + row = ds.Tables["Employee"].NewRow(); + row["NAME"] = "CCC"; + row["DESC"] = "ccc"; + ds.Tables["Employee"].Rows.Add(row); + //Enable a flag to start a new page for each group of records. + document.MailMerge.StartAtNewPage= true; + //Execute mail merge. + document.MailMerge.ExecuteGroup(ds.Tables["Employee"]); + //Save the Word document. + document.Save("Result.docx", FormatType.Docx); + //Close the Word document. + document.Close(); + + + 'Load the template Word document. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Data source. + Dim ds As DataSet = New DataSet + ds.Tables.Add + 'Define the columns. + ds.Tables(0).TableName = "Employee" + ds.Tables(0).Columns.Add("NAME") + ds.Tables(0).Columns.Add("DESC") + 'Set values. + Dim row As DataRow + row = ds.Tables("Employee").NewRow + row("NAME") = "AAA" + row("DESC") = Nothing + ds.Tables("Employee").Rows.Add(row) + row = ds.Tables("Employee").NewRow + row("NAME") = "BBB" + row("DESC") = "" + ds.Tables("Employee").Rows.Add(row) + row = ds.Tables("Employee").NewRow + row("NAME") = "CCC" + row("DESC") = "ccc" + ds.Tables("Employee").Rows.Add(row) + 'Enable a flag to start a new page for each group of records. + document.MailMerge.StartAtNewPage= true + 'Execute mail merge. + document.MailMerge.ExecuteGroup(ds.Tables("Employee")) + 'Save the Word document. + document.Save("Result.docx", FormatType.Docx) + 'Close the Word document. + document.Close + + + + + + Gets the document. + + + The document. + + + + Gets or sets a value indicating whether to remove paragraphs which contain empty merge fields. + + + Set to True to remove empty paragraphs; otherwise, false. + + + + + Gets or sets a value indicating whether to remove groups which contain empty merge fields. + + + Set to True to remove empty groups; otherwise, false. + + + + + Gets or sets a value indicating whether to insert a new row for every group in a table while performing mail merge. + Default value is false. + + + Set True to insert a new row for every group in a table; otherwise, false. + + This property is valid only if the group start and group end fields present in the table row with single cell. (i.e., rows containing single cell) + + + //Opens the template document. + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Set "InsertAsNew" as true to insert a new row for every group when group start and end present in the same table cell. + document.MailMerge.InsertAsNewRow = true; + //Performs the mail merge. + document.MailMerge.ExecuteGroup(DataTable); + //Saves and closes the WordDocument instance. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Opens the template document. + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Set "InsertAsNew" as true to insert a new row for every group when group start and end present in the same table cell. + document.MailMerge.InsertAsNewRow = True + 'Performs the mail merge. + document.MailMerge.ExecuteGroup(DataTable) + 'Saves and closes the WordDocument instance. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets the enumerators which are used during mailmerge. + + The nested enums. + + + + Gets the current data set for nested mail merge. + + The current data set. + + + + Gets the variable command regulat expression. + + The variable command regex. + + + + Gets the group selectors. + + The group selectors. + + + + Gets the collection of mapped fields. + + The mapped fields represent mapping between + fields names in the data source and mail merge fields in the document. The keys of + the collection are merge field names and the values are field names in the data source. + + + + + + + + + Gets the previous state of the clear fields. + + The previous state of the clear fields. + + + + Gets the MailMerge settings + + + The following code example demonstrates change the datasource path in the mail merge setting in the document. + + //Load an existing Word document into WordDocument instance. + WordDocument document = new WordDocument("Sample.docx", FormatType.Docx); + //Change the datasource property of the mail merge settings in the word document. + document.MailMerge.Settings.DataSource = "NewDataSource.txt"; + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + + + 'Load an existing Word document into WordDocument instance + Dim document As New WordDocument("Sample.docx", FormatType.Docx) + 'Change the datasource property of the mail merge settings in the word document + document.MailMerge.Settings.DataSource = "NewDataSource.txt" + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + + + + + + Occurs during mail merge when a text merge field is encountered in the document. + + + + + Occurs during mail merge when an image merge field is encountered in the document. + + + + + Occurs during mail merge when an unmerged field is encountered in the document. + + + + + Occurs during mail merge when an unmerged group is encountered in the document. + + + + + + + + + + The internal fields. + + + + + Initializes a new instance of the class. + + The on group found. + + + + Initialize the process. + + + + + Processes the groups. + + The body. + The rows enum. + + + + Processes the groups. + + The table. + The start row. + The end row. + The rows enumerator. + + + + Finds inside body items. + + The body items. + + + + Finds the group in the table. + + The table. + The start row. + The end row. + + + + Clears the selection. + + + + + Checks the item. + + The item. + + + + Starts the selection. + + + + + Check whether each data should populate to new row or not. + + Merge field owner textbody + + + + + Check whether current row contains single table cell. + + Owner table cell of merge field. + Owner table row of the merge field. + + + + + Ends the selection. + + + + + Updates end of row selection in case cell has vertical merge. + + The cell. + + + + Gets or sets a value indicating whether to insert a new row for every group in a table while performing mail merge. + Default value is false. + + + Set True to insert a new row for every group in a table; otherwise, false. + + This property is valid only if the group start and group end fields present in the table row with single cell. (i.e., rows containing single cell) + + + + Gets the group selection. + + The group selection. + + + + Gets the row selection. + + The row selection. + + + + Gets the begin group field. + + The begin group field. + + + + Gets or sets the end group field. + + The end group field. + + + + Gets or sets the index of the body item. + + The index of the body item. + + + + Gets a value indicating whether group is found. + + + If group is found, set to true. + + + + + Gets the name of the group. + + The name of the group. + + + + + + + + + Gets the Name of Fields which is inside the group - Read-only + + + + + + + + + + + Represents a row selection. + + + + + Initializes a new instance of the class. + + The table. + Start index of the row. + End index of the row. + + + + Validates the indexes. + + + + + Represents the method that handles MergeField event + + + + + Represents the method that handles MergeImageField event + + + + + Represents the method that handles BeforeClearField event + + + + + Represents the method that handles BeforeClearGroupField Event + + + + + + Represents the document. + + + + + Represents the current merge field. + + + + + Represents the Group name. + + + + + Represents the field value. + + + + + Represents the current Row index. + + + + + Represents the clear Field. + + + + + Represnts the row enumerator + + + + + Initialize the new instance of class for the specified document + with table name, row index, field and its value. + + IWordDcoument instance + The groupName of table + The row index of the table + The current Merge Field + The current Row enumerator + The current Field value + + + + Gets the document instance - read only + + + + + Gets the merge field Name. Read-only. + + The string that specifies the merge field name. + + + + Gets or sets the merge field value. + + An that specifies the field value. + + + + Gets the owner group name of the merge field. + + + + + Gets a Boolean value whether the merge field has mapped field in data source or not. + + True, if the merge field has mapped field in data source. Otherwise false. + + + + Gets the row index. Read-only. + + The integer that specifies the row index. + + + + Gets or sets a Boolean value whether the unmerged merge field can be clear or not. + + True, Remove the unmerged fields, otherwise False + + + + Gets the current merge field. Read-only. + + + + + Represents the MergeField event that occurs during mail merge operation. + + + + + Represents the document. + + + + + Represents the Merge field. + + + + + Represents the Field Value + + + + + Represents the Row Index. + + + + + Represents the Table Name + + + + + Represents the group name + + + + + Represents the Text Range + + + + + Initializes a new instance of class for the specified document + with table name, row index, field and its value. + + The instance. + The name of the table to perform merge. + The row index in the table. + The instance. + An that specifies field value. + + + + Initializes a new instance of class for the specified document + with table name, row index, field and its value. + + The instance. + The name of the table to perform merge. + The row index in the table. + The instance. + An that specifies field value. + The owner group name of the merge field + + + + Gets the document instance. Read-only. + + The object. + + + + Gets the merge field Name. Read-only. + + The string that specifies the merge field name. + + + + Gets the merge field value. Read-only. + + An that specifies the field value. + + + + Gets the table name. Read-only. + + The string that specifies the table name. + + + + Gets the owner group name of the merge field. + + + + + Gets the row index. Read-only. + + The integer that specifies the row index. + + + + Gets the character format of the field. Read-only. + + The instance that specifies the character format. + + + + Gets or sets the field value. + + The string that specifies the field value. + + + + Gets the current merge field. Read-only. + + The current instance. + + + + Gets the TextRange. Read-only + + + + + Represents the MergeImageField event that occurs during Mail merge. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents the Picture. + + + + + Initializes a new instance of class for the specified Word document with + table name, row index, field instance and the image. + + The instance. + The name of the table to perform merge. + The row index in the table. + The instance. + The instance. + + + + Initializes a new instance of class for the specified Word document with + table name, row index, field instance and the image. + + The instance. + The name of the table to perform merge. + The row index in the table. + The instance. + An that specifies image. + + + + + + + + + + + + + + + + Gets a value indicating whether to use text. Read-only. + + True if to use the text; otherwise, false. + + + + Gets or sets the image file name. + + The string that specifies the image file name. + + + + Gets or sets the image stream. + + The that represents the image stream. + + + + Gets or sets the image. + + that specifies the image. + + + + Gets or sets a value indicating whether this is skip. + + True if skip; otherwise, false. + + + + Gets the Current Picture. Read-only + + + + + + Represents the document. + + + + + Represents the current merge field. + + + + + Represents the Group name. + + + + + Represents the clear Field. + + + + + Represnts the Field Has Mapped In DataSource + + + + + Represents the Fields Name + + + + + Represents the Alternate value for unmerged fields + + + + + Initialize the new instance of class for the specified document + with table name, row index, field and its value. + + IWordDcoument instance + The groupName of table + The current Merge Field + Is field mapped in Data source + The Current Field Vlue + + + + Gets the document instance - read only + + + + + Gets the owner group name of the merge field - read only. + + + + + Gets a Boolean value whether the merge field has mapped field in data source or not. + + True, if the merge field has mapped field in data source. Otherwise false. + + + + Gets or sets a Boolean value whether the unmerged groups can be clear or not. + + True, Remove the unmerged fields, otherwise False + + + + Gets the Fields Name inside the unmerged group + + + + + Performs the mail merge operation for a specified region using the IEnumerable as data source. + + + + + Represents the entries of entity class. + + + + + Specifies the current entity. + + + + + Specifies the index value. + + + + + Initializes a new instance of class with the specified entity. + + The object. + + + + Fetches the entries element. + + True if contains entry; otherwise, false. + + + + Represents the data sets to perform mail merge operation. + + + + + Create new instance of . + + + + + Appends a new mail merge data set object to collection. + + MailMergeDataTable + + + + Removes all the mail merge dataset objects from the collection. + + + + + Gets MailMergeDataTable with necessary table name + + MailMergeDataTable + Name of table + + + + + Remove MailMergeDataTable with necessary table name + + Name of table + + + + Gets list of data set objects. Read-only. + + + + + Represents the data tables to perform mail merge operation. + + + + + + + + + + + + + + + Create new instance of class. + + A string that represents the group Name. + A collection of source data used as data source for mail merge operation. + + + + Create new instance of object + + Group Name + Sourse data Dictionary + + + + + + Commands of formulation of new tablet + Return new instance of MailMergeDataTable from the chosen rows of current MailMergeDataTable + + + + Gets a group name. Read-only. + + + + + Gets a source data. Read-only. + + A collection of data used as data source for mail merge operation. + + + + Represents the mail merge exception. + + + + + Default exception message. + + + + + Default constructor. + + + + + Initializes a new instance of the class with specified exception. + + The inner exception. + + + + Initializes a new instance of the class with specified exception message. + + A String that represents exception message. + + + + Initializes a new instance of the class with specified exception and message. + + A String that represents exception message. + The inner exception. + + + + Represents the mail merge settings + + + + + Checks whether the Key present in the collection or not. + + + + + + + Sets the property key + + + + + Disposes the instances used. + + + + + Removes the mail merge settings. + + + Removes the mail merge settings, to convert a Word mail merge main document to a normal Word document. + Hence the Microsoft Word application won't prompt to mail merge while opening this document. + + + The following code example demonstrates removes the mail merge setting in the document. + + //Load an existing Word document into WordDocument instance. + WordDocument document = new WordDocument("Sample.docx", FormatType.Docx); + //Removes the mail merge settings in the word document. + if (document.MailMerge.Settings.HasData) + document.MailMerge.Settings.RemoveData(); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + + + 'Load an existing Word document into WordDocument instance + Dim document As New WordDocument("Sample.docx", FormatType.Docx) + 'Removes the mail merge settings in the word document. + If document.MailMerge.Settings.HasData Then + document.MailMerge.Settings.RemoveData() + End If + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + + + + + + Gets or Sets the record currently displayed in merged document. + + + + + Gets or Sets the column containing E-mail address. + + + + + Gets or Sets mail merge error reporting setting. + + + + + Gets or sets the data source connection string. + + + + + Gets or sets the data source file path. + + + The following code example demonstrates change the datasource path in the mail merge setting in the document. + + //Load an existing Word document into WordDocument instance. + WordDocument document = new WordDocument("Sample.docx", FormatType.Docx); + //Change the datasource property of the mail merge settings in the word document. + document.MailMerge.Settings.DataSource = "NewDataSource.txt"; + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + + + 'Load an existing Word document into WordDocument instance + Dim document As New WordDocument("Sample.docx", FormatType.Docx) + 'Change the datasource property of the mail merge settings in the word document + document.MailMerge.Settings.DataSource = "NewDataSource.txt" + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + + + + + + Gets or sets the data source type. + + + + + Gets or sets the merged document destination. + + + + + Gets or sets the remove blank lines from merged documents. + + + + + Gets or sets the header definition file path. + + + + + Gets or sets the query contains link to external query file. + + + + + Gets or sets the merged document to E-Mail attachment. + + + + + Gets or sets the merged E-mail or Fax subject line. + + + + + Gets or sets the source document type. + + + + + Gets or sets the query for data source records to merge. + + + + + Gets or sets the view merged data within document. + + + + + Gets or sets the office data source object settings. + + + + + Gets or sets the properties collection + + + + + Gets a value indicating whether the document has mail merge settings or not. + + True, if the document has mail merge settings. Otherwise false. + + The following code example demonstrates whether the document has mail merge settings or not. + + //Load an existing Word document into WordDocument instance. + WordDocument document = new WordDocument("Sample.docx", FormatType.Docx); + //Removes the mail merge settings in the word document. + if (document.MailMerge.Settings.HasData) + document.MailMerge.Settings.RemoveData(); + //Saves the specified document + document.Save("Sample.docx", FormatType.Docx); + //Close the WordDocument instance + document.Close(); + + + 'Load an existing Word document into WordDocument instance + Dim document As New WordDocument("Sample.docx", FormatType.Docx) + 'Removes the mail merge settings in the word document. + If document.MailMerge.Settings.HasData Then + document.MailMerge.Settings.RemoveData() + End If + 'Saves the specified document + document.Save("Sample.docx", FormatType.Docx) + 'Close the WordDocument instance + document.Close() + + + + + + Represents a revision (tracked change) in a Word document. + + + + + Accepts the specified tracked change. The revision marks are removed, and the changes are incorporated into the document. + + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Get the revision from the revision collection and accepts. + document.Revisions[0].Accept(); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Get the revision from the revision collection and accepts. + document.Revisions(0).Accept() + 'Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Clear the dependent moving revision + + + + + + + Gets the revision by given name. + + + + + Remove the revision from the entity and remove the entity from the revision + If the revision has child revision, add the items in the main revision + + Entity to be removed from the revision + The revision to be removed from the entity and the document + + + + If we accept the delete revision or reject the insert revision, remove this item from all the + corresponding revisions. + + + + + + + + If we accept the delete revision or reject the insert revision, remove this item from all the + corresponding revisions. + + + + + + + + Accepts or rejects changes tracked from the moment of last change acceptance. + + The paragraph item. + if it accepts changes, set to true. + + + + Make changes for the format. + + + + + + + Make changes for the section format. + + + + + + + Make changes in properties hash. + + + + + + + Make changes for character format. + + + + + + + Make changes for the break character format. + + + + + + + Make changes for paragraph format. + + + + + + + Make changes for the table. + + + + + + + Make changes for the particular row. + + + + + + + Make changes for the table cell. + + + + + + + Removes the changed item. + + The item. + if it accepts the changes, set to true. + + + + + Checks whether the paragraph item need to remove while accept or reject changes + + Current Revision + boolean to ensure accept or reject changes + + + + + Move currentSection items to nextSection. + + Current Section + + + + Checks the whether item's content has to be moved to next paragraph. + + The item. + if it is accept the changes, set to true . + + + + + Moves item's content to the next paragraph. + + The item. + + + + Removes the changed formatting. + + The item. + + + + Remove the revision from the formatBase and remove the formatBase from the revision + If the revision has child revision, add the items in the main revision + + FormatBase to be removed from the revision + The revision to be removed from the formatBase and the document + + + + Moved the child revisions to document collection and process + the dependent moving related revisions. + + + + + + + + Rejects the specified tracked change. The revision marks are removed, leaving the original text intact. + + + + //Load an existing Word document into DocIO instance. + WordDocument document = new WordDocument("Template.docx"); + //Get the revision from the revision collection and rejects. + document.Revisions[0].Reject(); + //Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Load an existing Word document into DocIO instance. + Dim document As WordDocument = New WordDocument("Template.docx") + 'Get the revision from the revision collection and rejects. + document.Revisions(0).Reject() + 'Save and Close the Word document. + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Removes the revision from the owner collection. + + + + + Clone the revision + + The cloned revision + + + + Initializes a new instance of the class with the + specified . + + The instance. + + + + Clears the object. + + + + + Gets the name of the user who made the specified tracked change. + + + + //Loads an existing Word document + WordDocument document = new WordDocument(@"Template.docx"); + //If the author of current revision is same as expected author name, then accept it + if (document.Revisions[0].Author == "Syncfusion") + document.Revisions[0].Accept(); + //Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Loads an existing Word document + Dim document As WordDocument = New WordDocument("Template.docx") + 'If the author of current revision is same as expected author name, then accept it + If document.Revisions(0).Author Is "Syncfusion" Then worddocument.Revisions(0).Accept() + 'Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets the date and time that the tracked change was made. + + + + //Loads an existing Word document + WordDocument document = new WordDocument(@"Template.docx"); + DateTime dateTime = DateTime.Parse("2020 - 05 - 28T20: 26:00"); + //If the date of current revision same as expected date, then accepts it + if (document.Revisions[0].Date == dateTime) + document.Revisions[0].Accept(); + //Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Loads an existing Word document + Dim document As WordDocument = New WordDocument("Template.docx") + Dim dateTime As Date = Date.Parse("2020 - 05 - 28T20: 26:00") + 'If the date of current revision same as expected date, then accepts it + If document.Revisions(0).[Date] Is dateTime Then wordDocument.Revisions(0).Accept() + 'Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets the range of the specified revision. + + This property will work for any revision type other than IsStyleDefinition. + + + + Gets the type of the track change revision. + + + + //Loads an existing Word document + WordDocument document = new WordDocument("Template.docx"); + //If the revision is insertion type of revision, then accept it + if (document.Revisions[0].RevisionType == RevisionType.Insertions) + document.Revisions[0].Accept(); + //Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + 'Loads an existing Word document + Dim document As WordDocument = New WordDocument("C:\Users\TamilselvanMuralisun\Desktop\style formatting.docx") + 'If the revision is insertion type of revision, then accept it + If document.Revisions(0).RevisionType Is RevisionType.Insertions Then word.Revisions(0).Accept() + 'Saves and closes the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Gets the name values of moveto or movefrom revisions types, for remaining tags it holds string.Empty value. + + + + + Gets the child revision which are not directly linked with main revision. + + + + + Gets the owner of the revision. + + The that specifies the owner. + + + + Get/Set if the moverange end is preserved after the Paragraph mark + + + + + Get/Set if the moverange end is preserved after the TableCell mark + + + + + Get/Set if the moverange end is preserved after the TableRow mark + + + + + Get/Set if the moverange end is preserved after the Table mark + + + + + Represents a block content control in the Word document. + + + + + Initializes a new instance of the class. + + The Word document. + By default, .RichText content control will be created + The following example illustrates how to initializes a new instance of the . + + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + BlockContentControl control = new BlockContentControl(document); + //Adds new paragraph to the section. + WParagraph paragraph = new WParagraph(control.Document); + //Adds new text to the content control. + paragraph.AppendText("Block content control"); + //Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph); + //Sets title of the block content control. + control.ContentControlProperties.Title = "Rich text content control"; + //Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + Dim control As New BlockContentControl(document) + 'Adds new paragraph to the section. + Dim paragraph As New WParagraph(control.Document) + 'Adds new text to the content control. + paragraph.AppendText("Block content control") + 'Adds paragraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph) + 'Sets title of the block content control. + control.ContentControlProperties.Title = "Rich text content control" + 'Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Initializes a new instance of the class. + + The Word document. + The content control type. + + + + Adds the self. + + + + + Creates a duplicate of the entity. + + + + + + Clones the relations. + + The doc. + + + + + Gets Next the text body item in the document. + + + + + + Determines whether is hidden paragraph mark is in last item of SDT content. + + The SDT blog. + The layoutinfo. + + + + + Determines whether the deletion revision paragraph mark is in last item of SDT content. + + The SDT blog. + The layoutinfo. + + + + + Check whether Block Content Control has paragraph or not + + Return true if Block Content Control has paragraph; otherwise false + + + + Gets the first paragraph of the SDTBlockContent. + + + + + + Gets the Last paragraph of the SDTBlockContent. + + + + + + Checks a value indicating whether this item was deleted from the document, + when "Track Changes" is or was set to "true". + + + + if this instance is delete revision, set to true. + + + + + Sets the changed Paragraph format for table. + + if it specifies the format to be changed, set to true. + + + + Sets the changed C format. + + if it specifies formatting, set to true. + + + + Sets the delete rev. + + if specifies delete revision, set to true. + + + + Sets the insert rev. + + if it specifies insert revision, set to true. + + + + Determines whether item has tracked changes. + + + if has tracked changes, set to true. + + + + + Replaces all entries of given regular expression with replace string. + + The used to find the text. + The string specifies the text to replace. + The integer that represents the count of the replacements made. + The following example illustrates how to replace the text based on the given regex pattern. + + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + BlockContentControl control = new BlockContentControl(document, ContentControlType.RichText); + //Adds new paragraph to the section. + WParagraph paragraph = new WParagraph(control.Document); + //Adds new text to the content control. + paragraph.AppendText(@"the security requirements are met, the CLR performs just in time (JIT) compilation to convert the IL code to native machine instructions."); + //Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph); + //Find the text based on regex. + TextSelection text = control.Find(new Regex("instructions")); + //Replaces all entries of given string with replace string. + control.Replace(new Regex(@"requirements"), text); + //Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + Dim control As New BlockContentControl(document, ContentControlType.RichText) + 'Adds new paragraph to the section. + Dim paragraph As New WParagraph(control.Document) + 'Adds new text to the content control. + paragraph.AppendText("the security requirements are met, the CLR performs just in time (JIT) compilation to convert the IL code to native machine instructions.") + 'Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph) + 'Find the text based on regex. + Dim text As TextSelection = control.Find(New Regex("instructions")) + 'Replaces all entries of given string with replace string. + control.Replace(New Regex("requirements"), text) + 'Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + + Replaces the regular expression with a text selection. + + The used to find the text. + The which specifies the text to replace. + The integer that represents the count of the replacements made. + The following example illustrates how to replace the text based on the given regex pattern. + + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + BlockContentControl control = new BlockContentControl(document, ContentControlType.RichText); + //Adds new paragraph to the section. + WParagraph paragraph = new WParagraph(control.Document); + //Adds new text to the content control. + paragraph.AppendText(@"the security requirements are met, the CLR performs just in time (JIT) compilation to convert the IL code to native machine instructions."); + //Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph); + //Find the text based on regex. + TextSelection text = control.Find(new Regex("instructions")); + //Replaces all entries of given string with replace string. + control.Replace(new Regex(@"requirements"), text); + //Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + Dim control As New BlockContentControl(document, ContentControlType.RichText) + 'Adds new paragraph to the section. + Dim paragraph As New WParagraph(control.Document) + 'Adds new text to the content control. + paragraph.AppendText("the security requirements are met, the CLR performs just in time (JIT) compilation to convert the IL code to native machine instructions.") + 'Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph) + 'Find the text based on regex. + Dim text As TextSelection = control.Find(New Regex("instructions")) + 'Replaces all entries of given string with replace string. + control.Replace(New Regex("requirements"), text) + 'Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Replaces all entries of given regular expression with TextRangesHolder. + + The pattern. + The text selection. + if it specifies save source formatting, set to true. + + The following example illustrates how to replace all entries of given regular expression with TextRangesHolder. + + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + BlockContentControl control = new BlockContentControl(document, ContentControlType.RichText); + //Adds new paragraph to the section. + WParagraph paragraph = new WParagraph(control.Document); + //Adds new text to the content control. + paragraph.AppendText(@"the security requirements are met, the CLR performs just in time (JIT) compilation to convert the IL code to native machine instructions."); + //Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph); + //Find the text based on regex. + TextSelection text = control.Find(new Regex("instructions")); + //Replaces all entries of given string with replace string. + control.Replace(new Regex(@"requirements"), text, true); + //Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + Dim control As New BlockContentControl(document, ContentControlType.RichText) + 'Adds new paragraph to the section. + Dim paragraph As New WParagraph(control.Document) + 'Adds new text to the content control. + paragraph.AppendText("the security requirements are met, the CLR performs just in time (JIT) compilation to convert the IL code to native machine instructions.") + 'Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph) + 'Find the text based on regex. + Dim text As TextSelection = control.Find(New Regex("instructions")) + 'Replaces all entries of given string with replace string. + control.Replace(New Regex("requirements"), text, true) + 'Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + + Replaces all entries of given string with TextRangesHolder, taking into + consideration caseSensitive and wholeWord options. + + The given. + The text selection. + if it specifies case sensitive, set to true . + if it specifies to search a whole word, set to true . + if it specifies save source formatting, set to true. + The integer that represents the count of the replacements made. + The following example illustrates how to replaces all entries of given string with TextRangesHolder, + taking into consideration caseSensitive and wholeWord options. + + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + BlockContentControl control = new BlockContentControl(document, ContentControlType.RichText); + //Adds new paragraph to the section. + WParagraph paragraph = new WParagraph(control.Document); + //Adds new text to the content control. + paragraph.AppendText(@"the security requirements are met, the CLR performs just in time (JIT) compilation to convert the IL code to native machine instructions."); + //Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph); + //Find the text based on regex. + TextSelection text = control.Find(new Regex("instructions")); + //Replaces all entries of given string with replace string. + control.Replace("requirements", text, false, true, true); + //Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + Dim control As New BlockContentControl(document, ContentControlType.RichText) + 'Adds new paragraph to the section. + Dim paragraph As New WParagraph(control.Document) + 'Adds new text to the content control. + paragraph.AppendText("the security requirements are met, the CLR performs just in time (JIT) compilation to convert the IL code to native machine instructions.") + 'Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph) + 'Find the text based on regex. + Dim text As TextSelection = control.Find(New Regex("instructions")) + 'Replaces all entries of given string with replace string. + control.Replace(New Regex("requirements"), text, false, true, true) + 'Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Replaces first entry of given string with replace string, taking into + consideration caseSensitive and wholeWord options. + + The string to replace + Replace string + Is case sensitive replace? + Search for whole word? + + + + + Replaces all entries of given regular expression with replace string. + + + + + + + Creates the layout information. + + + + + + Removes the character format changes. + + + + + Removes the paragraph/table format changes. + + + + + Accepts the changes for character format. + + + + + Accepts changes in paragraph/table format. + + + + + Defines whether format was changed. + + + + + + Checks a value indicating whether this item was inserted to the document, + when "Track Changes" is or was set to "true". + + + + if this instance was inserted, set to true. + + + + + Gets the first entry of given regex in the content control. + + The pattern. + Text selection with this pattern. + The following example illustrates how to find the text based on given regex pattern. + + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + BlockContentControl control = new BlockContentControl(document, ContentControlType.RichText); + //Adds new paragraph to the section. + WParagraph paragraph = new WParagraph(control.Document); + //Adds new text to the content control. + paragraph.AppendText(@"the security requirements are met, the CLR performs just in time (JIT) compilation to convert the IL code to native machine instructions."); + //Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph); + //Find the text based on regex. + TextSelection text = control.Find(new Regex("instructions")); + //Replaces all entries of given string with replace string. + control.Replace(new Regex(@"requirements"), text); + //Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + Dim control As New BlockContentControl(document, ContentControlType.RichText) + 'Adds new paragraph to the section. + Dim paragraph As New WParagraph(control.Document) + 'Adds new text to the content control. + paragraph.AppendText("the security requirements are met, the CLR performs just in time (JIT) compilation to convert the IL code to native machine instructions.") + 'Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph) + 'Find the text based on regex. + Dim text As TextSelection = control.Find(New Regex("instructions")) + 'Replaces all entries of given string with replace string. + control.Replace(New Regex("requirements"), text) + 'Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + + Accepts or rejects changes tracked from the moment of last change acceptance. + + if it accepts changes, set to true. + + + + Returns all entries of given regex. + + The pattern. + + + + + Closes the item. + + + + + Defines whether paragraph format is changed. + + + + + + Gets the string of the Block Content Control for word comparison + + + + + + Compare the block content control between original and revised document + + + + + + Compare block content control from original and revised textbody + + + + + + Compare the block content control + + + + + + + Apply delete revision for the whole block content control + + + + + Apply insert revision for the whole block content control + + + + + Gets or sets the mapped paragraph to the block content control + + + + + Gets the block control text body. Read-only. + + The following example illustrates how to get the text body of the content control. + + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + BlockContentControl control = new BlockContentControl(document, ContentControlType.RichText); + //Adds new paragraph to the section. + WParagraph paragraph = new WParagraph(control.Document); + //Adds new text to the content control. + paragraph.AppendText("Block content control"); + //Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph); + //Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + Dim control As New BlockContentControl(document, ContentControlType.RichText) + 'Adds new paragraph to the section. + Dim paragraph As New WParagraph(control.Document) + 'Adds new text to the content control. + paragraph.AppendText("Block content control") + 'Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph) + 'Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets the content control properties. Read-only. + + The object that specifies the content control properties. + The following example illustrates how to set the properties for content control. + + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + BlockContentControl control = new BlockContentControl(document, ContentControlType.RichText); + //Adds new paragraph to the section. + WParagraph paragraph = new WParagraph(control.Document); + //Adds new text to the content control. + paragraph.AppendText("Block content control"); + //Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph); + //Sets title of the block content control. + control.ContentControlProperties.Title = "Rich text content control"; + //Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + Dim control As New BlockContentControl(document, ContentControlType.RichText) + 'Adds new paragraph to the section. + Dim paragraph As New WParagraph(control.Document) + 'Adds new text to the content control. + paragraph.AppendText("Block content control") + 'Adds paragraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph) + 'Sets title of the block content control. + control.ContentControlProperties.Title = "Rich text content control" + 'Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets the content control child entities. + + The child entities of the + The following example illustrates how to get the child entities of the content control. + /// + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + BlockContentControl control = new BlockContentControl(document, ContentControlType.RichText); + //Adds new paragraph to the section. + WParagraph paragraph = new WParagraph(control.Document); + //Adds new text to the content control. + paragraph.AppendText("Block content control"); + //Adds pagagraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph); + //Sets title of the block content control. + control.ContentControlProperties.Title = "Rich text content control"; + //Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + Dim control As New BlockContentControl(document, ContentControlType.RichText) + 'Adds new paragraph to the section. + Dim paragraph As New WParagraph(control.Document) + 'Adds new text to the content control. + paragraph.AppendText("Block content control") + 'Adds paragraph into the Block content control. + control.TextBody.ChildEntities.Add(paragraph) + 'Sets title of the block content control. + control.ContentControlProperties.Title = "Rich text content control" + 'Adds content control into the document. + document.LastSection.Body.ChildEntities.Add(control) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets the last child in the Content control's textbody. + + + + + Gets the character format of the content control. Read-only. + + The object that specifies the character format. + + + + Gets the type of the entity. + + The of the current item. + + + + Get the string of the Block Content Control for word comparison + + + + + Gets count of child items. + + + + + Gets child item by index. + + + + + Gets the child items + + + + + Gets the child entity collection. + + + + + Represents a row content control in the Word document. + + + + + Initializes a new instance of . + + The Word document. + In Microsoft Word, .RichText only be inserted as a + The following example illustrates how to initializes a new instance of . + + WordDocument document = new WordDocument(); + //Adds new section to the document. + IWSection section = document.AddSection(); + //Adds new table to the section. + IWTable table = section.AddTable(); + //Adds new row to the table. + WTableRow tableRow = table.AddRow(); + //Adds new cell to the row. + WTableCell tableCell = tableRow.AddCell(); + tableCell.Width = 100; + //Adds new paragraph to the cell. + IWParagraph paragraph = tableCell.AddParagraph(); + //Adds new text to the paragraph. + paragraph.AppendText("Content Control"); + //Create the Row Content Control for the document. + RowContentControl control = new RowContentControl(document); + //Change the color value in Content Control properties. + control.ContentControlProperties.Color = System.Drawing.Color.Blue; + // Sets it to the row content control. + tableRow.ContentControl = control; + //Save the Word document. + document.Save("Sample.docx", FormatType.Docx); + //Close the document. + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document. + Dim section As IWSection = document.AddSection() + 'Adds new table to the section. + Dim table As IWTable = section.AddTable() + 'Adds new row to the table. + Dim tableRow As WTableRow = table.AddRow() + 'Adds new cell to the row. + Dim tableCell As WTableCell = tableRow.AddCell() + tableCell.Width = 100 + 'Adds new paragraph to the cell. + Dim paragraph As IWParagraph = tableCell.AddParagraph() + 'Adds new text to the paragraph. + paragraph.AppendText("Content Control") + 'Create the Row Content Control for the document. + Dim control As New RowContentControl(document) + 'Change the color value in Content Control properties. + control.ContentControlProperties.Color = System.Drawing.Color.Blue + ' Sets it to the row content control. + tableRow.ContentControl = control + 'Save the Word document. + document.Save("Sample.docx", FormatType.Docx) + 'Close the document. + document.Close() + + + + + + Closes this instance. + + + + + Gets the content control properties. Read-only. + + The object that specifies the content control properties. + The following example illustrates how to set the properties for content control. + + WordDocument document = new WordDocument(); + //Adds new section to the document. + IWSection section = document.AddSection(); + //Adds new table to the section. + IWTable table = section.AddTable(); + //Adds new row to the table. + WTableRow tableRow = table.AddRow(); + //Adds new cell to the row. + WTableCell tableCell = tableRow.AddCell(); + tableCell.Width = 100; + //Adds new paragraph to the cell. + IWParagraph paragraph = tableCell.AddParagraph(); + //Adds new text to the paragraph. + paragraph.AppendText("Content Control"); + //Create the Row Content Control for the document. + RowContentControl control = new RowContentControl(document); + //Change the color value in Content Control properties. + control.ContentControlProperties.Color = System.Drawing.Color.Blue; + // Sets it to the row content control. + tableRow.ContentControl = control; + //Save the Word document. + document.Save("Sample.docx", FormatType.Docx); + //Close the document. + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document. + Dim section As IWSection = document.AddSection() + 'Adds new table to the section. + Dim table As IWTable = section.AddTable() + 'Adds new row to the table. + Dim tableRow As WTableRow = table.AddRow() + 'Adds new cell to the row. + Dim tableCell As WTableCell = tableRow.AddCell() + tableCell.Width = 100 + 'Adds new paragraph to the cell. + Dim paragraph As IWParagraph = tableCell.AddParagraph() + 'Adds new text to the paragraph. + paragraph.AppendText("Content Control") + 'Create the Row Content Control for the document. + Dim control As New RowContentControl(document) + 'Change the color value in Content Control properties. + control.ContentControlProperties.Color = System.Drawing.Color.Blue + ' Sets it to the row content control. + tableRow.ContentControl = control + 'Save the Word document. + document.Save("Sample.docx", FormatType.Docx) + 'Close the document. + document.Close() + + + + + + Gets the character format of the content control. Read-only. + + The object that specifies the character format. + + + + Represents a cell content control in the Word document. + + + + + Closes this instance. + + + + + Gets the content control properties. Read-only. + + The object that specifies the content control properties. + The following example illustrates how to set the properties for content control. + + WordDocument document = new WordDocument(); + //Adds new section to the document. + IWSection section = document.AddSection(); + //Adds new table to the section. + IWTable table = section.AddTable(); + //Adds new row to the table. + WTableRow tableRow = table.AddRow(); + //Adds new cell to the row. + WTableCell tableCell = tableRow.AddCell(); + tableCell.Width = 100; + //Adds new paragraph to the cell. + IWParagraph paragraph = tableCell.AddParagraph(); + //Adds new text to the paragraph. + paragraph.AppendText("Content Control"); + //Create the Cell Content Control for the document. + CellContentControl control = new CellContentControl(document); + //Change the color value in Content Control properties. + control.ContentControlProperties.Color = System.Drawing.Color.Green; + //Set it to the row content control. + tableCell.ContentControl = control; + //Save the Word document. + document.Save("Sample.docx", FormatType.Docx); + //Close the document. + document.Close(); + + + Dim document As New WordDocument() + 'Adds new section to the document. + Dim section As IWSection = document.AddSection() + 'Adds new table to the section. + Dim table As IWTable = section.AddTable() + 'Adds new row to the table. + Dim tableRow As WTableRow = table.AddRow() + 'Adds new cell to the row. + Dim tableCell As WTableCell = tableRow.AddCell() + tableCell.Width = 100 + 'Adds new paragraph to the cell. + Dim paragraph As IWParagraph = tableCell.AddParagraph() + 'Adds new text to the paragraph. + paragraph.AppendText("Content Control") + 'Create the Cell Content Control for the document. + Dim control As New CellContentControl(document) + 'Change the color value in Content Control properties. + control.ContentControlProperties.Color = System.Drawing.Color.Green + ' Set it to the row content control. + tableCell.ContentControl = control + 'Save the Word document. + document.Save("Sample.docx", FormatType.Docx) + 'Close the document. + document.Close() + + + + + + Gets the character format of the content control. Read-only. + + The object that specifies the character format. + + + + Represents a inline content control in the Word document. + + + + + Initializes a new instance of the class. + + The doc. + + + + Initializes a new instance of the class. + + The Word document. + The content control type. + The following example illustrates how to initializes a new instance of the . + + //Create a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Adds new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText); + //Adds new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Rich Text Content Control"; + (paragraph.Items.LastItem as InlineContentControl).ParagraphItems.Add(textRange); + InlineContentControl richTextControl = paragraph.Items.LastItem as InlineContentControl; + richTextControl.ParagraphItems.Add(textRange); + // Sets Title property of the content control. + richTextControl.ContentControlProperties.Title = "Rich text content control"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Adds new rich text content control to the last paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText) + Dim textRange As New WTextRange(document) + textRange.Text = "Rich Text Content Control" + Dim richTextControl As InlineContentControl = section.LastParagraph.LastItem + richTextControl.ParagraphItems.Add(textRange) + 'Sets Title property of the content control. + richTextControl.ContentControlProperties.Title = "Rich text content control" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + + + + + + Determine whether InlineContentControl Items are hidden. + + + + + + Determine whether InlineContentControl Items are in deletion revision. + + + + + + Checks all item inside the content control are same revision or not. + + True, if all item inside the content control are same revision else false + + + + + + + + + + Adds the self. + + + + + Creates a duplicate of the entity. + + + + + + Clones the relations. + + The doc. + + + + Applies the base format. + + + + + Applies the base format for character format. + + + + + Closes this instance. + + + + + Gets the string of the Inline Content Control for word comparison + + + + + + Copies the items to. + + The para items. + + + + Gets or sets the mapped item to the inline content control + + + + + Gets the content control paragraphitems. Read-only. + + The of the current control. + The following example illustrates how to set the properties for content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Adds new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText); + //Adds new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Rich Text Content Control"; + (paragraph.Items.LastItem as InlineContentControl).ParagraphItems.Add(textRange); + InlineContentControl richTextControl = paragraph.Items.LastItem as InlineContentControl; + richTextControl.ParagraphItems.Add(textRange); + // Sets Title property of the content control. + richTextControl.ContentControlProperties.Title = "Rich text content control"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Adds new rich text content control to the last paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText) + Dim textRange As New WTextRange(document) + textRange.Text = "Rich Text Content Control" + Dim richTextControl As InlineContentControl = section.LastParagraph.LastItem + richTextControl.ParagraphItems.Add(textRange) + 'Sets Title property of the content control. + richTextControl.ContentControlProperties.Title = "Rich text content control" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets the content control properties. Read-only. + + The object that specifies the content control properties. + The following example illustrates how to set the properties for content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Adds new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText); + //Adds new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Rich Text Content Control"; + (paragraph.Items.LastItem as InlineContentControl).ParagraphItems.Add(textRange); + InlineContentControl richTextControl = paragraph.Items.LastItem as InlineContentControl; + richTextControl.ParagraphItems.Add(textRange); + // Sets Title property of the content control. + richTextControl.ContentControlProperties.Title = "Rich text content control"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Adds new rich text content control to the last paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText) + Dim textRange As New WTextRange(document) + textRange.Text = "Rich Text Content Control" + Dim richTextControl As InlineContentControl = section.LastParagraph.LastItem + richTextControl.ParagraphItems.Add(textRange) + 'Sets Title property of the content control. + richTextControl.ContentControlProperties.Title = "Rich text content control" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets the character format of the content control. Read-only. + + The object that specifies the character format. + + + + Gets the type of the entity. + + The of the current item. + + + + Gets the end pos from the last item of. + + If there is any item inside inline content control, returns end pos from its last item. + Else, returns their start pos as end pos. + + + + Gets or Sets whether the first nested para inside inline content control parsed or not + + + + + Get the string of the Inline Content Control for word comparison + + + + + Represents the collection of ContentControlListItem for drop-down and combo box content control. + + The following example illustrates how to apply various content control properties. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList); + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Drop down Content Control"; + InlineContentControl dropDownList = paragraph.Items.LastItem as InlineContentControl; + dropDownList.ParagraphItems.Add(textRange); + ContentControlListItem item = new ContentControlListItem(); + item.Value = "1"; + item.DisplayText = "Ice cream"; + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + item = new ContentControlListItem(); + item.Value = "2"; + item.DisplayText = "Cool drinks"; + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + dropDownList.ContentControlProperties.Tag = "Drop down"; + dropDownList.ContentControlProperties.Title = "Drop down list items"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList) + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Drop down Content Control" + Dim dropDownList As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + Dim item As New ContentControlListItem() + dropDownList.ParagraphItems.Add(textRange); + item.Value = "1" + item.DisplayText = "Ice cream" + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + item = New ContentControlListItem() + item.Value = "2" + item.DisplayText = "Cool drinks" + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + dropDownList.ContentControlProperties.Tag = "Drop down" + dropDownList.ContentControlProperties.Title = "Drop down list items" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Adds ContentControlListItem to the collection. + + ListItem to be added + The following code illustrates how to add ContentControlListItem to the collection. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList); + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Drop down Content Control"; + InlineContentControl dropDownList = paragraph.Items.LastItem as InlineContentControl; + dropDownList.ParagraphItems.Add(textRange); + ContentControlListItem item = new ContentControlListItem(); + item.Value = "1"; + item.DisplayText = "Ice cream"; + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + item = new ContentControlListItem(); + item.Value = "2"; + item.DisplayText = "Cool drinks"; + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + dropDownList.ContentControlProperties.Tag = "Drop down"; + dropDownList.ContentControlProperties.Title = "Drop down list items"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList) + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Drop down Content Control" + Dim dropDownList As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + dropDownList.ParagraphItems.Add(textRange) + Dim item As New ContentControlListItem() + item.Value = "1" + item.DisplayText = "Ice cream" + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + item = New ContentControlListItem() + item.Value = "2" + item.DisplayText = "Cool drinks" + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + dropDownList.ContentControlProperties.Tag = "Drop down" + dropDownList.ContentControlProperties.Title = "Drop down list items" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Inserts the ContentControlListItem at the specified index. + + Index in which ContentControlListItem to be inserted. + ContentControlListItem to be inserted + The following code illustrates how to insert ContentControlListItem to the collection + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + WSection section = document.AddSection() as WSection; + //Add new combo box content control + BlockContentControl block = section.Body.AddBlockContentControl(ContentControlType.ComboBox) as BlockContentControl; + block.TextBody.AddParagraph(); + block.TextBody.LastParagraph.AppendText("Block Content control"); + ContentControlListItem item1 = new ContentControlListItem(); + item1.DisplayText = "Animals"; + item1.Value = "Animals"; + ContentControlListItem item2 = new ContentControlListItem(); + item2.DisplayText = "Fruits"; + item2.Value = "Fruits"; + block.ContentControlProperties.ContentControlListItems.Add(item1); + //Insert specific item to collection using index + block.ContentControlProperties.ContentControlListItems.Insert(1, item2); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As WSection = TryCast(document.AddSection(), WSection) + 'Add new combo box content control + Dim block As BlockContentControl = TryCast(section.Body.AddBlockContentControl(ContentControlType.ComboBox), BlockContentControl) + block.TextBody.AddParagraph(); + block.TextBody.LastParagraph.AppendText("Block Content control") + Dim item1 As New ContentControlListItem() + item1.DisplayText = "Animals" + item1.Value = "Animals" + Dim item2 As New ContentControlListItem() + item2.DisplayText = "Fruits" + item2.Value = "Fruits" + block.ContentControlProperties.ContentControlListItems.Add(item1) + 'Insert specific item to collection using index + block.ContentControlProperties.ContentControlListItems.Insert(1, item2) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Removes the specified ContentControlListItems from the collection. + + ContentControlListItem to be removed. + The following code illustrates how to remove the specified from the collection. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + WSection section = document.AddSection() as WSection; + //Add new combo box content control + BlockContentControl block = section.Body.AddBlockContentControl(ContentControlType.ComboBox) as BlockContentControl; + block.TextBody.AddParagraph(); + block.TextBody.LastParagraph.AppendText("Block Content control"); + ContentControlListItem item1 = new ContentControlListItem(); + item1.DisplayText = "Animals"; + item1.Value = "Animals"; + ContentControlListItem item2 = new ContentControlListItem(); + item2.DisplayText = "Fruits"; + item2.Value = "Fruits"; + block.ContentControlProperties.ContentControlListItems.Add(item1); + block.ContentControlProperties.ContentControlListItems.Add(item2); + //Remove specific item from collection + block.ContentControlProperties.ContentControlListItems.Remove(item1); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As WSection = TryCast(document.AddSection(), WSection) + 'Add new combo box content control + Dim block As BlockContentControl = TryCast(section.Body.AddBlockContentControl(ContentControlType.ComboBox), BlockContentControl) + block.TextBody.AddParagraph() + block.TextBody.LastParagraph.AppendText("Block Content control") + Dim item1 As New ContentControlListItem() + item1.DisplayText = "Animals" + item1.Value = "Animals" + Dim item2 As New ContentControlListItem() + item2.DisplayText = "Fruits" + item2.Value = "Fruits" + block.ContentControlProperties.ContentControlListItems.Add(item1) + block.ContentControlProperties.ContentControlListItems.Add(item2) + 'Remove specific item from collection + block.ContentControlProperties.ContentControlListItems.Remove(item1) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Removes ContentControlListItems from the collection at specified collection. + + ContentControlListItem's index to be removed. + The following code illustrates how to remove ContentControlListItem from the collection at specified index. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + WSection section = document.AddSection() as WSection; + //Add new combo box content control + BlockContentControl block = section.Body.AddBlockContentControl(ContentControlType.ComboBox) as BlockContentControl; + block.TextBody.AddParagraph(); + block.TextBody.LastParagraph.AppendText("Block Content control"); + ContentControlListItem item1 = new ContentControlListItem(); + item1.DisplayText = "Animals"; + item1.Value = "Animals"; + ContentControlListItem item2 = new ContentControlListItem(); + item2.DisplayText = "Fruits"; + item2.Value = "Fruits"; + block.ContentControlProperties.ContentControlListItems.Add(item1); + block.ContentControlProperties.ContentControlListItems.Add(item2); + //Remove specific item from collection + block.ContentControlProperties.ContentControlListItems.RemoveAt(0); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As WSection = TryCast(document.AddSection(), WSection) + 'Add new combo box content control + Dim block As BlockContentControl = TryCast(section.Body.AddBlockContentControl(ContentControlType.ComboBox), BlockContentControl) + block.TextBody.AddParagraph() + block.TextBody.LastParagraph.AppendText("Block Content control"); + Dim item1 As New ContentControlListItem() + item1.DisplayText = "Animals" + item1.Value = "Animals" + Dim item2 As New ContentControlListItem() + item2.DisplayText = "Fruits" + item2.Value = "Fruits" + block.ContentControlProperties.ContentControlListItems.Add(item1) + block.ContentControlProperties.ContentControlListItems.Add(item2) + 'Remove specific item from collection + block.ContentControlProperties.ContentControlListItems.RemoveAt(0) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Returns ContentControlListItems as a collection. + + + An object that can be used to iterate through the collection. + + + + + Closes this instance. + + + + + Creates a duplicate of the entity. + + + + + + Gets the last value + + + + + �Gets the list items of the drop-down list or combo-box content control.. + + The following code illustrates how to get from collection based on specified index. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + WSection section = document.AddSection() as WSection; + //Add new combo box content control + BlockContentControl block = section.Body.AddBlockContentControl(ContentControlType.ComboBox) as BlockContentControl; + block.TextBody.AddParagraph(); + block.TextBody.LastParagraph.AppendText("Block Content control"); + ContentControlListItem item1 = new ContentControlListItem(); + item1.DisplayText = "Animals"; + item1.Value = "Animals"; + ContentControlListItem item2 = new ContentControlListItem(); + block.ContentControlProperties.ContentControlListItems.Add(item1); + //Insert specific item to collection using index + block.ContentControlProperties.ContentControlListItems.Insert(1, item2); + //Get the ContentControlListItem from the collection + block.ContentControlProperties.ContentControlListItems[1].DisplayText = "Fruits"; + block.ContentControlProperties.ContentControlListItems[1].Value = "Fruits"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As WSection = TryCast(document.AddSection(), WSection) + 'Add new combo box content control + Dim block As BlockContentControl = TryCast(section.Body.AddBlockContentControl(ContentControlType.ComboBox), BlockContentControl) + block.TextBody.AddParagraph() + block.TextBody.LastParagraph.AppendText("Block Content control") + Dim item1 As New ContentControlListItem() + item1.DisplayText = "Animals" + item1.Value = "Animals" + Dim item2 As New ContentControlListItem() + block.ContentControlProperties.ContentControlListItems.Add(item1) + 'Insert specific item to collection using index + block.ContentControlProperties.ContentControlListItems.Insert(1, item2); + 'Get the ContentControlListItem from the collection + block.ContentControlProperties.ContentControlListItems(1).DisplayText = "Fruits" + block.ContentControlProperties.ContentControlListItems(1).Value = "Fruits" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + �Returns the count of ContentControlListItem's collection. + + The following code illustrates how to get the count of in the collection. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + WSection section = document.AddSection() as WSection; + //Add new combo box content control + BlockContentControl block = section.Body.AddBlockContentControl(ContentControlType.ComboBox) as BlockContentControl; + block.TextBody.AddParagraph(); + block.TextBody.LastParagraph.AppendText("Block Content control"); + ContentControlListItem item1 = new ContentControlListItem(); + item1.DisplayText = "Animals"; + item1.Value = "Animals"; + ContentControlListItem item2 = new ContentControlListItem(); + item2.DisplayText = "Fruits"; + item2.Value = "Fruits"; + block.ContentControlProperties.ContentControlListItems.Add(item1); + block.ContentControlProperties.ContentControlListItems.Add(item2); + //Get the count of content control list items + int count = block.ContentControlProperties.ContentControlListItems.Count; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As WSection = TryCast(document.AddSection(), WSection) + 'Add new combo box content control + Dim block As BlockContentControl = TryCast(section.Body.AddBlockContentControl(ContentControlType.ComboBox), BlockContentControl) + block.TextBody.AddParagraph() + block.TextBody.LastParagraph.AppendText("Block Content control") + Dim item1 As New ContentControlListItem() + item1.DisplayText = "Animals" + item1.Value = "Animals" + Dim item2 As New ContentControlListItem() + item2.DisplayText = "Fruits" + item2.Value = "Fruits" + block.ContentControlProperties.ContentControlListItems.Add(item1) + block.ContentControlProperties.ContentControlListItems.Add(item2) + 'Get the count of content control list items + Dim count As Integer = block.ContentControlProperties.ContentControlListItems.Count + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Represents the list item in a drop-down list content control or in a combo box content control. + + The following example illustrates how to create and manipulate list item in a drop-down list content control or in a combo box content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList); + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Drop down Content Control"; + InlineContentControl dropDownList = paragraph.Items.LastItem as InlineContentControl; + dropDownList.ParagraphItems.Add(textRange); + ContentControlListItem item = new ContentControlListItem(); + item.Value = "1"; + item.DisplayText = "Ice cream"; + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + item = new ContentControlListItem(); + item.Value = "2"; + item.DisplayText = "Cool drinks"; + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + dropDownList.ContentControlProperties.Tag = "Drop down"; + dropDownList.ContentControlProperties.Title = "Drop down list items"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList) + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Drop down Content Control" + Dim dropDownList As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + Dim item As New ContentControlListItem() + dropDownList.ParagraphItems.Add(textRange) + item.Value = "1" + item.DisplayText = "Ice cream" + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + item = New ContentControlListItem() + item.Value = "2" + item.DisplayText = "Cool drinks" + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + dropDownList.ContentControlProperties.Tag = "Drop down" + dropDownList.ContentControlProperties.Title = "Drop down list items" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets/Sets the text to be displayed as list item. + + The following code illustrates how to access DisplayText property of the list item. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList); + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Drop down Content Control"; + InlineContentControl dropDownList = paragraph.Items.LastItem as InlineContentControl; + //richTextControl.ParagraphItems.Add(textRange); + ContentControlListItem item = new ContentControlListItem(); + item.Value = "1"; + item.DisplayText = "Ice cream"; + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + item = new ContentControlListItem(); + item.Value = "2"; + item.DisplayText = "Cool drinks"; + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + dropDownList.ContentControlProperties.Tag = "Drop down"; + dropDownList.ContentControlProperties.Title = "Drop down list items"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList) + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Drop down Content Control" + Dim dropDownList As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + 'richTextControl.ParagraphItems.Add(textRange); + Dim item As New ContentControlListItem() + item.Value = "1" + item.DisplayText = "Ice cream" + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + item = New ContentControlListItem() + item.Value = "2" + item.DisplayText = "Cool drinks" + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + dropDownList.ContentControlProperties.Tag = "Drop down" + dropDownList.ContentControlProperties.Title = "Drop down list items" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets/Sets the value of the list item. + + The following code illustrates how to set the value of the list item. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList); + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Drop down Content Control"; + InlineContentControl dropDownList = paragraph.Items.LastItem as InlineContentControl; + ContentControlListItem item = new ContentControlListItem(); + item.Value = "1"; + item.DisplayText = "Ice cream"; + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + item = new ContentControlListItem(); + item.Value = "2"; + item.DisplayText = "Cool drinks"; + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + dropDownList.ContentControlProperties.Tag = "Drop down"; + dropDownList.ContentControlProperties.Title = "Drop down list items"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList) + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Drop down Content Control" + Dim dropDownList As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + Dim item As New ContentControlListItem() + item.Value = "1" + item.DisplayText = "Ice cream" + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + item = New ContentControlListItem() + item.Value = "2" + item.DisplayText = "Cool drinks" + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + dropDownList.ContentControlProperties.Tag = "Drop down" + dropDownList.ContentControlProperties.Title = "Drop down list items" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Represents the formatting options of the content control in the Word document. + + The following example illustrates how to apply various content control properties. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText); + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Rich Text Content Control"; + (paragraph.Items.LastItem as InlineContentControl).ParagraphItems.Add(textRange); + InlineContentControl richTextControl = paragraph.Items.LastItem as InlineContentControl; + richTextControl.ParagraphItems.Add(textRange); + richTextControl.ContentControlProperties.Appearance = ContentControlAppearance.Tags; + richTextControl.ContentControlProperties.Color = Color.Gray; + richTextControl.ContentControlProperties.LockContentControl = true; + richTextControl.ContentControlProperties.Tag = "RichText"; + richTextControl.ContentControlProperties.Title = "Rich text content control"; + //Add new text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Text); + //Add new text to the content control + WTextRange textRange1 = new WTextRange(document); + textRange1.Text = "Text Content Control"; + (paragraph.Items.LastItem as InlineContentControl).ParagraphItems.Add(textRange1); + InlineContentControl textControl = paragraph.Items.LastItem as InlineContentControl; + textControl.ParagraphItems.Add(textRange1); + textControl.ContentControlProperties.Appearance = ContentControlAppearance.Tags; + textControl.ContentControlProperties.Color = Color.Gray; + textControl.ContentControlProperties.LockContentControl = true; + textControl.ContentControlProperties.LockContents = true; + textControl.ContentControlProperties.Multiline = true; + textControl.ContentControlProperties.Tag = "Text"; + textControl.ContentControlProperties.Title = "Text content control"; + //Add new date content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Date); + //Add new text to the content control + WTextRange textRange2 = new WTextRange(document); + textRange2.Text = "Date Content Control"; + (paragraph.Items.LastItem as InlineContentControl).ParagraphItems.Add(textRange2); + InlineContentControl dateControl = paragraph.Items.LastItem as InlineContentControl; + dateControl.ParagraphItems.Add(textRange2); + dateControl.ContentControlProperties.Appearance = ContentControlAppearance.Tags; + dateControl.ContentControlProperties.DateCalendarType = CalendarType.GregorianArabic; + dateControl.ContentControlProperties.DateDisplayFormat = "dd yy MMMM"; + dateControl.ContentControlProperties.DateDisplayLocale = LocaleIDs.en_US; + dateControl.ContentControlProperties.DateStorageFormat = ContentControlDateStorageFormat.DateStorageDate; + dateControl.ContentControlProperties.Tag = "Date control"; + dateControl.ContentControlProperties.Title = "Date content control"; + //Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList); + //Add new text to the content control + WTextRange textRange3 = new WTextRange(document); + textRange3.Text = "Drop down Content Control"; + InlineContentControl dropDownList = paragraph.Items.LastItem as InlineContentControl; + //richTextControl.ParagraphItems.Add(textRange); + ContentControlListItem item = new ContentControlListItem(); + item.Value = "1"; + item.DisplayText = "Ice cream"; + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + item = new ContentControlListItem(); + item.Value = "2"; + item.DisplayText = "Cool drinks"; + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + dropDownList.ContentControlProperties.Tag = "Drop down"; + dropDownList.ContentControlProperties.Title = "Drop down list items"; + //Add new picture content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Picture); + Image image = Image.FromFile("Image.png"); + IWPicture picture = new WPicture(document); + picture.LoadImage(image); + picture.Height = 100; + picture.Width = 100; + InlineContentControl pictureControl = paragraph.Items.LastItem as InlineContentControl; + pictureControl.ParagraphItems.Add(picture); + pictureControl.ContentControlProperties.Tag = "Picture control"; + pictureControl.ContentControlProperties.Title = "picture control"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText) + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Rich Text Content Control" + TryCast(paragraph.Items.LastItem, InlineContentControl).ParagraphItems.Add(textRange) + Dim richTextControl As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + richTextControl.ParagraphItems.Add(textRange) + richTextControl.ContentControlProperties.Appearance = ContentControlAppearance.Tags + richTextControl.ContentControlProperties.Color = Color.Gray + richTextControl.ContentControlProperties.LockContentControl = True + richTextControl.ContentControlProperties.Tag = "RichText" + richTextControl.ContentControlProperties.Title = "Rich text content control" + 'Add new text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Text) + 'Add new text to the content control + Dim textRange1 As New WTextRange(document) + textRange1.Text = "Text Content Control" + TryCast(paragraph.Items.LastItem, InlineContentControl).ParagraphItems.Add(textRange1) + Dim textControl As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + textControl.ParagraphItems.Add(textRange1) + textControl.ContentControlProperties.Appearance = ContentControlAppearance.Tags + textControl.ContentControlProperties.Color = Color.Gray + textControl.ContentControlProperties.LockContentControl = True + textControl.ContentControlProperties.LockContents = True + textControl.ContentControlProperties.Multiline = True + textControl.ContentControlProperties.Tag = "Text" + textControl.ContentControlProperties.Title = "Text content control" + 'Add new date content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.[Date]) + 'Add new text to the content control + Dim textRange2 As New WTextRange(document) + textRange2.Text = "Date Content Control" + TryCast(paragraph.Items.LastItem, InlineContentControl).ParagraphItems.Add(textRange2) + Dim dateControl As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + dateControl.ParagraphItems.Add(textRange2) + dateControl.ContentControlProperties.Appearance = ContentControlAppearance.Tags + dateControl.ContentControlProperties.DateCalendarType = CalendarType.GregorianArabic + dateControl.ContentControlProperties.DateDisplayFormat = "dd yy MMMM" + dateControl.ContentControlProperties.DateDisplayLocale = LocaleIDs.en_US + dateControl.ContentControlProperties.DateStorageFormat = ContentControlDateStorageFormat.DateStorageDate + dateControl.ContentControlProperties.Tag = "Date control" + dateControl.ContentControlProperties.Title = "Date content control" + 'Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList) + 'Add new text to the content control + Dim textRange3 As New WTextRange(document) + textRange3.Text = "Drop down Content Control" + Dim dropDownList As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + 'richTextControl.ParagraphItems.Add(textRange); + Dim item As New ContentControlListItem() + item.Value = "1" + item.DisplayText = "Ice cream" + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + item = New ContentControlListItem() + item.Value = "2" + item.DisplayText = "Cool drinks" + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + dropDownList.ContentControlProperties.Tag = "Drop down" + dropDownList.ContentControlProperties.Title = "Drop down list items" + 'Add new picture content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Picture) + Dim image As Image = image.FromFile("Image.png") + Dim picture As IWPicture = New WPicture(document) + picture.LoadImage(image) + picture.Height = 100 + picture.Width = 100 + Dim pictureControl As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + pictureControl.ParagraphItems.Add(picture) + pictureControl.ContentControlProperties.Tag = "Picture control" + pictureControl.ContentControlProperties.Title = "picture control" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Creates a duplicate of the entity. + + + + + + Clones the relations. + + The doc. + + + + Sets the owner for content control properties. + + The owner content control. + + + + Closes this instance. + + + + + Get the string value of the content control properties. + + + + + + Compare the properties of content control + + + + + + + + + Gets or sets a value indicating the identification for the content control + + + + + Gets or sets a value indicating the format in which dates are displayed in Date picker content control. + + The following example illustrates how to set date display format for the Date picker content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new date picker content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Date); + InlineContentControl datePicker = paragraph.Items.LastItem as InlineContentControl; + WTextRange textRange = new WTextRange(document); + //Sets today's date to display. + textRange.Text = DateTime.Now.ToShortDateString(); + datePicker.ParagraphItems.Add(textRange); + //Sets format for date to display. + datePicker.ContentControlProperties.DateDisplayFormat = "M/d/yyyy"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new date picker content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.[Date]) + Dim datePicker As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + Dim textRange As New WTextRange(document) + 'Sets today's date to display. + textRange.Text = DateTime.Now.ToShortDateString() + datePicker.ParagraphItems.Add(textRange) + datePicker.ContentControlProperties.DateDisplayFormat = "M/d/yyyy" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets or sets a value indicating the language format for the date displayed in a Date picker content control. + + The following example illustrates how to set date display locale for the Date picker content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new date picker content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Date); + InlineContentControl datePicker = paragraph.Items.LastItem as InlineContentControl; + WTextRange textRange = new WTextRange(document); + //Sets today's date to display. + textRange.Text = DateTime.Now.ToShortDateString(); + datePicker.ParagraphItems.Add(textRange); + //Sets the language format for the date. + datePicker.ContentControlProperties.DateDisplayLocale = LocaleIDs.en_US; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new date picker content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.[Date]) + Dim datePicker As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + Dim textRange As New WTextRange(document) + 'Sets today's date to display. + textRange.Text = DateTime.Now.ToShortDateString() + datePicker.ParagraphItems.Add(textRange) + 'Sets the language format for the date. + datePicker.ContentControlProperties.DateDisplayLocale = LocaleIDs.en_US + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets or sets a value indicating the full date of the date content control + + + + + Gets or sets a value indicating docpart of placeholder + + + + + Gets or sets a value indicating the storage and retrieval of dates when a date content control is bound to the XML data storage. + + The following example illustrates how to set format for date display locale for the Date picker content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new date picker content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Date); + InlineContentControl datePicker = paragraph.Items.LastItem as InlineContentControl; + WTextRange textRange = new WTextRange(document); + //Sets today's date to display. + textRange.Text = DateTime.Now.ToShortDateString(); + datePicker.ParagraphItems.Add(textRange); + //Sets the storage and retrieval format for the date. + datePicker.ContentControlProperties.DateStorageFormat = ContentControlDateStorageFormat.DateStorageDate; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new date picker content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.[Date]) + Dim datePicker As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + Dim textRange As New WTextRange(document) + 'Sets today's date to display. + textRange.Text = DateTime.Now.ToShortDateString() + datePicker.ParagraphItems.Add(textRange) + 'Sets the storage and retrieval format for the date. + datePicker.ContentControlProperties.DateStorageFormat = ContentControlDateStorageFormat.DateStorageDate; + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets or sets a value indicating the calendar type for a Date picker content control. + + The following example illustrates how to set calendar type for the Date picker content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new date picker content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Date); + InlineContentControl datePicker = paragraph.Items.LastItem as InlineContentControl; + WTextRange textRange = new WTextRange(document); + //Sets today's date to display. + textRange.Text = DateTime.Now.ToShortDateString(); + datePicker.ParagraphItems.Add(textRange); + //Sets calendar type for the date picker control. + datePicker.ContentControlProperties.DateCalendarType = CalendarType.Gregorian; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new date picker content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.[Date]) + Dim datePicker As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + Dim textRange As New WTextRange(document) + 'Sets today's date to display. + textRange.Text = DateTime.Now.ToShortDateString() + datePicker.ParagraphItems.Add(textRange) + 'Sets calendar type for the date picker control. + datePicker.ContentControlProperties.DateCalendarType = CalendarType.Gregorian + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets or sets the current state of the Check box content control. + + + true if check box current state is checked; otherwise, false. + + + + + Gets or sets a value indicating whether the user can delete a content control from the active Word document + + + true if the control cannot be deleted; otherwise, false. + + The following example illustrates how to lock the content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText); + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Rich Text Content Control"; + (paragraph.Items.LastItem as InlineContentControl).ParagraphItems.Add(textRange); + InlineContentControl richTextControl = paragraph.Items.LastItem as InlineContentControl; + richTextControl.ParagraphItems.Add(textRange); + // Enables content control lock. + richTextControl.ContentControlProperties.LockContentControl = true; + //Add new text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Text); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText) + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Rich Text Content Control" + TryCast(paragraph.Items.LastItem, InlineContentControl).ParagraphItems.Add(textRange) + Dim richTextControl As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + richTextControl.ParagraphItems.Add(textRange) + 'Enables content control lock. + richTextControl.ContentControlProperties.LockContentControl = True + 'Add new text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Text) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets or sets a value indicating whether the user can edit the contents of a content control. + + + true if the content of the control cannot be deleted; otherwise, false. + + The following example illustrates how to set Temporary property of the content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new rich text content control to the paragraph. + paragraph.AppendInlineContentControl(ContentControlType.RichText); + InlineContentControl richTextControl = paragraph.Items.LastItem as InlineContentControl; + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Rich Text Content Control"; + richTextControl.ParagraphItems.Add(textRange); + //Protects the content control. + richTextControl.ContentControlProperties.LockContents = true; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new rich text content control to the paragraph. + paragraph.AppendInlineContentControl(ContentControlType.RichText) + Dim richTextControl As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Rich Text Content Control" + richTextControl.ParagraphItems.Add(textRange) + 'Protects the content control. + richTextControl.ContentControlProperties.LockContents = True + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets or sets a value indicating whether a text content control allows multiple lines of text. + This property is applicable only for Plain text content control. + + + true if the control allows multiple lines of text; otherwise, false. + + The following example illustrates how to set Multiline property of Plain text content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new plain text content control to the paragraph. + paragraph.AppendInlineContentControl(ContentControlType.Text); + InlineContentControl plainTextControl = paragraph.Items.LastItem as InlineContentControl; + //Enables multiline for plain text control. + plainTextControl.ContentControlProperties.Multiline = true; + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Plain Text Content Control"; + plainTextControl.ParagraphItems.Add(textRange); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new plain text content control to the paragraph. + paragraph.AppendInlineContentControl(ContentControlType.Text) + Dim plainTextControl As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + 'Enables multiline for plain text control. + plainTextControl.ContentControlProperties.Multiline = True + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Plain Text Content Control" + plainTextControl.ParagraphItems.Add(textRange) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets or sets a value indicating the appearance of the content control. The default value is .BoundingBox. + + The following example illustrates how to change the appearance of content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText); + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Rich Text Content Control"; + (paragraph.Items.LastItem as InlineContentControl).ParagraphItems.Add(textRange); + InlineContentControl richTextControl = paragraph.Items.LastItem as InlineContentControl; + richTextControl.ParagraphItems.Add(textRange); + //Sets Tag appearance for the content control. + richTextControl.ContentControlProperties.Appearance = ContentControlAppearance.Tags; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText) + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Rich Text Content Control" + TryCast(paragraph.Items.LastItem, InlineContentControl).ParagraphItems.Add(textRange) + Dim richTextControl As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + richTextControl.ParagraphItems.Add(textRange) + 'Sets Tag appearance for the content control. + richTextControl.ContentControlProperties.Appearance = ContentControlAppearance.Tags + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + Use BoundingBox type to display the contents of content control within a box. + Use Tags type to display the contents of content control within tags. + Use Hidden type to display the contents of content control without any box or tags. + + + + + Gets or sets a value indicating the color of the content control. + + The following example illustrates how to change the color of content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText); + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Rich Text Content Control"; + (paragraph.Items.LastItem as InlineContentControl).ParagraphItems.Add(textRange); + InlineContentControl richTextControl = paragraph.Items.LastItem as InlineContentControl; + richTextControl.ParagraphItems.Add(textRange); + // Sets the Color property of content control. + richTextControl.ContentControlProperties.Color = Color.Blue; + //Add new text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Text); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText) + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Rich Text Content Control" + TryCast(paragraph.Items.LastItem, InlineContentControl).ParagraphItems.Add(textRange) + Dim richTextControl As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + richTextControl.ParagraphItems.Add(textRange) + 'Sets the Color property of content control. + richTextControl.ContentControlProperties.Color = Color.Blue + 'Add new text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Text) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets or sets a value indicating the title of the content control + + The following example illustrates how to set the title property for the content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText); + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Rich Text Content Control"; + (paragraph.Items.LastItem as InlineContentControl).ParagraphItems.Add(textRange); + InlineContentControl richTextControl = paragraph.Items.LastItem as InlineContentControl; + richTextControl.ParagraphItems.Add(textRange); + // Sets Title property of the content control. + richTextControl.ContentControlProperties.Title = "Rich text content control"; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText) + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Rich Text Content Control" + TryCast(paragraph.Items.LastItem, InlineContentControl).ParagraphItems.Add(textRange) + Dim richTextControl As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + richTextControl.ParagraphItems.Add(textRange) + 'Sets Title property of the content control. + richTextControl.ContentControlProperties.Title = "Rich text content control" + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets or sets a value indicating the content control has bibliograph + + + + + Gets or sets a value indicating whether the content control has reference + + + + + Gets or sets the value indicating that the content control can be unlocked + + + + + Gets or sets values indicating the items in a drop-down list content control or in a combo box content control + + The following example illustrates how to set the ContentControlListItems for Combo-box and Drop-down content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList); + InlineContentControl dropDownList = paragraph.Items.LastItem as InlineContentControl; + //Set default option in drop down list. + WTextRange textRange = new WTextRange(document); + textRange.Text = "Choose an item"; + dropDownList.ParagraphItems.Add(textRange); + //Add item into drop down list. + ContentControlListItem item = new ContentControlListItem(); + item.Value = "1"; + item.DisplayText = "DocIO"; + //Add item into collection of drop down list items. + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + //Add item into drop down list. + item = new ContentControlListItem(); + item.Value = "2"; + item.DisplayText = "PDF"; + //Add item into collection of drop down list items. + dropDownList.ContentControlProperties.ContentControlListItems.Add(item); + //Add combo box control. + IInlineContentControl comboboxControl = paragraph.AppendInlineContentControl(ContentControlType.ComboBox); + //Set default option in Combo box. + textRange = new WTextRange(document); + textRange.Text = "Choose an item"; + comboboxControl.ParagraphItems.Add(textRange); + //Add item into combo box list. + item = new ContentControlListItem(); + item.Value = "1"; + item.DisplayText = "Windows"; + //Add item into collection of combo box list items. + comboboxControl.ContentControlProperties.ContentControlListItems.Add(item); + //Add another item into combo box list. + item = new ContentControlListItem(); + item.Value = "2"; + item.DisplayText = "Xamarin"; + //Add item into collection of combo box list items. + comboboxControl.ContentControlProperties.ContentControlListItems.Add(item); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new drop down list content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.DropDownList) + Dim dropDownList As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + 'Set default option in drop down list. + Dim textRange As New WTextRange(document) + textRange.Text = "Choose an item" + dropDownList.ParagraphItems.Add(textRange) + 'Add item into drop down list. + Dim item As New ContentControlListItem() + item.Value = "1" + item.DisplayText = "DocIO" + 'Add item into collection of drop down list items. + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + 'Add item into drop down list. + item = New ContentControlListItem() + item.Value = "2" + item.DisplayText = "PDF" + 'Add item into collection of drop down list items. + dropDownList.ContentControlProperties.ContentControlListItems.Add(item) + 'Add combo box control. + Dim comboboxControl As IInlineContentControl = paragraph.AppendInlineContentControl(ContentControlType.ComboBox) + 'Set default option in Combo box. + textRange = New WTextRange(document) + textRange.Text = "Choose an item" + comboboxControl.ParagraphItems.Add(textRange) + 'Add item into combo box list. + item = New ContentControlListItem() + item.Value = "1" + item.DisplayText = "Windows" + 'Add item into collection of combo box list items. + comboboxControl.ContentControlProperties.ContentControlListItems.Add(item) + 'Add another item into combo box list. + item = New ContentControlListItem() + item.Value = "2" + item.DisplayText = "Xamarin" + 'Add item into collection of combo box list items. + comboboxControl.ContentControlProperties.ContentControlListItems.Add(item) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + + Gets or sets the document part list to the content control + + + + + Gets or sets the document part object to the content control + + + + + Gets the type of the content control. + + The following example illustrates how to get type of content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + paragraph.AppendText("Plain Text"); + //Add new plain text content control to the paragraph. + paragraph.AppendInlineContentControl(ContentControlType.Text); + InlineContentControl inlineContentControl = paragraph.Items.LastItem as InlineContentControl; + //Gets the type of content control. + ContentControlType controlType = inlineContentControl.ContentControlProperties.Type; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + paragraph.AppendText("Plain Text") + 'Add new plain text content control to the paragraph. + paragraph.AppendInlineContentControl(ContentControlType.Text) + Dim inlineContentControl As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + 'Gets the type of content control. + Dim controlType As ContentControlType = inlineContentControl.ContentControlProperties.Type + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets or sets the appearance of the content control + + + + + Gets character format of the content control + + + + + Gets a value indicating whether the placeholder text for the content control is displayed or not. + + + + + Gets or sets a value indicating the tab index of the content control + + + + + Gets or sets a value to identify the content control + + The following example illustrates how to set the tag property for the content control. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText); + //Add new text to the content control + WTextRange textRange = new WTextRange(document); + textRange.Text = "Rich Text Content Control"; + (paragraph.Items.LastItem as InlineContentControl).ParagraphItems.Add(textRange); + InlineContentControl richTextControl = paragraph.Items.LastItem as InlineContentControl; + richTextControl.ParagraphItems.Add(textRange); + // Sets Tag property of the content control. + richTextControl.ContentControlProperties.Tag = "RichText"; + //Add new text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Text); + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new rich text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.RichText) + 'Add new text to the content control + Dim textRange As New WTextRange(document) + textRange.Text = "Rich Text Content Control" + TryCast(paragraph.Items.LastItem, InlineContentControl).ParagraphItems.Add(textRange) + Dim richTextControl As InlineContentControl = TryCast(paragraph.Items.LastItem, InlineContentControl) + richTextControl.ParagraphItems.Add(textRange) + 'Sets Tag property of the content control. + richTextControl.ContentControlProperties.Tag = "RichText" + 'Add new text content control to the paragraph + paragraph.AppendInlineContentControl(ContentControlType.Text) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Gets or sets a value indicating whether to remove a content control from the Word document when the user edits the contents of the control + + + + + Gets or sets a content repeating type value to the content control + + + + + Property to maintain values of content control properties from existing document. + + + + + Represents a checked state or unchecked state in the checkbox content control. + + The following example illustrates how to apply checkbox state properties. + + //Create a new Word document + WordDocument document = new WordDocument(); + //Add one section and one paragraph to the document + document.EnsureMinimal(); + //Get the last paragraph. + WParagraph paragraph = document.LastParagraph; + //Add text to the paragraph + paragraph.AppendText("A new text is added to the paragraph. "); + //Append checkbox content control to the paragraph + InlineContentControl checkBox = paragraph.AppendInlineContentControl(ContentControlType.CheckBox) as InlineContentControl; + //Get checked state of checkbox + CheckBoxState checkBoxCheckedState = checkBox.ContentControlProperties.CheckedState; + //Set font for checked state value + checkBoxCheckedState.Font = "Calibri"; + //Set symbol for checked state value + checkBoxCheckedState.Value = "C"; + //Get unchecked state of checkbox + CheckBoxState checkBoxUncheckedState = checkBox.ContentControlProperties.UncheckedState; + //Set font for unchecked state value + checkBoxUncheckedState.Font = "Calibri"; + //Set symbol for unchecked state value + checkBoxUncheckedState.Value = "U"; + //Set the state for checkbox + checkBox.ContentControlProperties.IsChecked = true; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + 'Create a new Word document + Dim document As WordDocument = New WordDocument + 'Add one section and one paragraph to the document + document.EnsureMinimal + 'Get the last paragraph. + Dim paragraph As WParagraph = document.LastParagraph + 'Add text to the paragraph + paragraph.AppendText("A new text is added to the paragraph. ") + 'Append checkbox content control to the paragraph + Dim checkBox As InlineContentControl = CType(paragraph.AppendInlineContentControl(ContentControlType.CheckBox), InlineContentControl) + 'Get checked state of checkbox + Dim checkBoxCheckedState As CheckBoxState = checkBox.ContentControlProperties.CheckedState + 'Set font for checked state value + checkBoxCheckedState.Font = "Calibri" + 'Set symbol for checked state value + checkBoxCheckedState.Value = "C" + 'Get unchecked state of checkbox + Dim checkBoxUncheckedState As CheckBoxState = checkBox.ContentControlProperties.UncheckedState + 'Set font for unchecked state value + checkBoxUncheckedState.Font = "Calibri" + 'Set symbol for unchecked state value + checkBoxUncheckedState.Value = "U" + 'Set the state for checkbox + checkBox.ContentControlProperties.IsChecked = true + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close + + + + + + Compare the properties of content control + + + + + + + Gets or sets a font name for the checked state or unchecked state of the checkbox content control. + + + + + Gets or sets a value represents symbol for the checked state or unchecked state of the checkbox content control. + + + + + Represents the data binding for Content controls. + + + + + + Deletes the XML mapping from the parent content control. + + + + + + Replace the XML value with replacementText + + The document + The inlne content control + The inline content control + The text need to modify or not + To ensure whether the value for content control gets from custom xml or not + To ensure whether the value for content control gets by processing root element + To ensure whether the value for content control gets by processing core property + To ensure whether mapped custom xml has value + + + + + Replace the XML value with replacementText + + The document + The block content control + The root element of block content control + The text need to modify or not + To ensure whether the value for content control gets by processing root element + To ensure whether the value for content control gets by processing core property + To ensure whether mapped custom xml has value + + + + + Get the XmlNamespaceManager using the prefix mapping or xml document. + + Current XML document + Content control prefix mapping value + Returns, the XmlNamespaceManager + + + + Add the namespace to the XmlNamespaceManager by processing each node. + + Node to process + The XmlNameSpaceManager + Index value for namespace + + + + Checks whether the namespace uri exists in the namespace manager + + The XmlNamespaceManager + URI value + True, if the namespacemanager has uri value else false. + + + + Gets the list path + + + + + Sets the resultant builtin property value to the content control + + + + + Gets the index from the node path + + + + + Update the XML value with replacementText + + + + + + + + Update the XML value with replacementText + + + + + + + + Replace the XML value with replacementText + + The document + The inline content control + The documeny custom XML container + The mapped XML part in custom xml + The replacement text + + + + Replace the XML value with replacementText + + The document + The block content control + The documeny custom XML container + The mapped XML part in custom xml + The replacement text + + + + + Save the text replaced document and replace the custom XML stream + + + + + + + + Returns a Boolean that represents whether the content control in the document is mapped to an XML node in the document�s XML data. Read-only. + + + + + �Returns a string that represents the prefix mappings used to evaluate the XPath for the current XML mapping. Read-only. + + + + + + Gets or sets a value indicating the color of the content control + + + + + Returns a object that represents the custom XML part to which the content control in the document maps. + + + + + Returns a object that represents the custom XML node in the data store to which the content control in the document maps. + + + + + Returns a Boolean that represents whether the mapped content is WordML format or not. + + You can map WordML format or simple text, if data binding of content control supports WordML ("w:14:databinding" or "w:15:databinding" in file level). + If true, then mapped content is WordML and preserved as text body item. + If false, then mapped contents in not WordML and it is normal string or other + In future, if changing this API behavior need to ensure Document Editor side cases also. + + + + Returns a Boolean that represents whether the mapped content control supports WordML format to map or not. + + You can map WordML format or simple text, if data binding of content control supports WordML ("w:14:databinding" or "w:15:databinding" in file level). + If true, then content control preserves WordML content as text body item. + If false, then content control preserves WordML content as normal string. + + + + Represents the custom XML part in the Word document. + + + + + Initializes the Custom XML Part. + + A Word document. + + + + + Loads the from the given XML file path. + + Specifies XML file path. + The following code illustrates how to load XML file to CustomXMLPart. + + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add new XmlPart to the section + CustomXMLPart xmlPart = new CustomXMLPart(document); + //Load the xml code. + xmlPart.Load(@"F:\XmlFile.xml"); + //Add new content control to the paragraph. + InlineContentControl control = paragraph.AppendInlineContentControl(ContentControlType.Text) as InlineContentControl; + control.ContentControlProperties.XmlMapping.SetMapping("/books/book/author", "", xmlPart); + //Select the single node. + CustomXMLNode node = xmlPart.SelectSingleNode(control.ContentControlProperties.XmlMapping.XPath); + //Append text to second paragraph. + control = paragraph.AppendInlineContentControl(ContentControlType.Text) as InlineContentControl; + //Save the Word document + document.Save("Sample.docx", FormatType.Docx); + //Close the document + document.Close(); + + + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add new XmlPart to the section + Dim xmlPart As New CustomXMLPart(document) + 'Load the xml code. + xmlPart.Load(@"F:\XmlFile.xml"); + 'Append text to second paragraph. + control = TryCast(paragraph.AppendInlineContentControl(ContentControlType.Text), InlineContentControl) + 'Save the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Close the document + document.Close() + + + + + + Loads the from the XML string. + + Specifies XML stream. + + + + Adds a new node to the CustomXMLPart under the mentioned parent node. + + Represents the node under which this node should be added. If adding an attribute, the parameter denotes the element that the attribute should be added to. + Represents the base name of the node to be added. + Specifies the type of node to append. + Used to set the value of the appended node for those nodes that allow text. + + + + + + Represents the custom XML node in the custom XML part. + + + + + Deletes the current node from the tree (including all of its children, if any exist). + + The following code illustrates how to delete from its parent. + + + + Selects a single node from a collection matching an XPath expression. + + Xpath of to be selected. + Returns the node from a collection matching an XPath expression. + The following code illustrates how to select single node from based on XPath + + + + + + Removes the specified child node (and its subtree) from the main tree. + + to be removed. + The following code illustrates how to remove child nodes of the + + + + + + + + + + + Gets the parent element node of the current node.Read-only. + + + + + Represents the appearance of the content control. + + + + + Represents BoundingBox appearance. + + + + + Represents Tags appearance. + + + + + �Represents Hidden appearance. + + + + + Represents the date storage format for the selected date in Date Picker content control. + + + + + Represents the date as a date storage format. + + + + + Represents the date and time as a date storage format. + + + + + Represents the Text as a date storage format. + + + + + Specifies the type of content control. + + + + + Specifies a rich-text content control + + + + + Specifies a text content control + + + + + Specifies a picture content control + + + + + Specifies a combo box content control + + + + + Specifies a drop-down list content control + + + + + Specifies a building block gallery content control + + + + + Specifies a date content control + + + + + Specifies a group content control + + + + + Specifies a checkbox content control + + + + + Specifies a repeating section content control + + + + + Represents the calendar type of Date picker content control. + + + + + Represents the Gregorian calendar + + + + + Represents the GregorianArabic calendar + + + + + Represents the GregorianMiddleEastFrench calendar + + + + + Represents the GregorianEnglish calendar + + + + + Represents the GregorianTransliteratedEnglish calendar + + + + + Represents the GregorianTransliteratedFrench calendar + + + + + Represents the Hebrew calendar + + + + + Represents the Hijri calendar + + + + + Represents the Japan calendar + + + + + Represents the Korean calendar + + + + + Represents the Taiwan calendar + + + + + Represents the Thai calendar + + + + + Represents the Saka calendar + + + + + + + + + + Represent a style of paragraph items. + + + + + Initializes a new instance of the class. + + The object. + + + + Clones the , creating duplicate style. + + The object. + + + + Gets the base style. + + + + + Gets the type of the style. + + The specifies the type of the style. + + + + Represents a conditional style of table. + + + + + Initializes a new instance of the ConditionalFormattingStyle class. + + The conditionCode. + The doc. + + + + Clones the , creating duplicate style. + + The object. + + + + Clones itself. + + Returns cloned object. + + + + Closes this instance. + + + + + Gets paragraph format. + + + + + + Gets cell properties. + + + + + + Gets row properties. + + + + + + Gets table properties. + + + + + + Gets conditional formatting code. + + + + + + Gets the type of the style. + + The member that specifies the type of the style. + + + + Represents a collection of . + + + + + + + + + + + + + Gets the at the specified index. + + + + + + Represents a list style in the Word document. + + + The following code example demonstrates how to + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Create a new list numbered list style + ListStyle listStyle = new ListStyle(document, ListType.Numbered); + //Set the name for the new list style + listStyle.Name = "UserdefinedList"; + WListLevel levelOne = listStyle.Levels[0]; + //Define the follow character, prefix, suffix, start index for level 0 + levelOne.FollowCharacter = FollowCharacterType.Tab; + levelOne.NumberPrefix = "("; + levelOne.NumberSufix = ")"; + levelOne.PatternType = ListPatternType.LowRoman; + levelOne.StartAt = 1; + levelOne.TabSpaceAfter = 5; + levelOne.NumberAlignment = ListNumberAlignment.Center; + document.ListStyles.Add(listStyle); + //Add new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Add text to the paragraph + paragraph.AppendText("The list of pets available:"); + //Add other paragraphs and apply the created new list style + paragraph = section.AddParagraph(); + //Apply default numbered list style + paragraph.ListFormat.ApplyStyle("UserdefinedList"); + paragraph.AppendText("Dog"); + paragraph = section.AddParagraph(); + + paragraph.ListFormat.ApplyStyle("UserdefinedList"); + paragraph.AppendText("Cat"); + //Continue last defined list + paragraph.ListFormat.ContinueListNumbering(); + paragraph = section.AddParagraph(); + + paragraph.ListFormat.ApplyStyle("UserdefinedList"); + paragraph.AppendText("Hamsters"); + paragraph.ListFormat.ContinueListNumbering(); + + paragraph.ListFormat.ApplyStyle("UserdefinedList"); + paragraph.AppendText("Turtles"); + paragraph.ListFormat.ContinueListNumbering(); + paragraph = section.AddParagraph(); + + paragraph.ListFormat.ApplyStyle("UserdefinedList"); + paragraph.AppendText("Guinea Pigs"); + paragraph.ListFormat.ContinueListNumbering(); + paragraph = section.AddParagraph(); + + paragraph.ListFormat.ApplyStyle("UserdefinedList"); + paragraph.AppendText("Ferrets"); + paragraph.ListFormat.ContinueListNumbering(); + paragraph = section.AddParagraph(); + + paragraph.ListFormat.ApplyStyle("UserdefinedList"); + paragraph.AppendText("Fish"); + paragraph.ListFormat.ContinueListNumbering(); + + //Save and close the Word document + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Create a new list numbered list style + Dim listStyle As New ListStyle(document, ListType.Numbered) + 'Set the name for the new list style + listStyle.Name = "UserdefinedList" + Dim levelOne As WListLevel = listStyle.Levels(0) + 'Define the follow character, prefix, suffix, start index for level 0 + levelOne.FollowCharacter = FollowCharacterType.Tab + levelOne.NumberPrefix = "(" + levelOne.NumberSufix = ")" + levelOne.PatternType = ListPatternType.LowRoman + levelOne.StartAt = 1 + levelOne.TabSpaceAfter = 5 + levelOne.NumberAlignment = ListNumberAlignment.Center + document.ListStyles.Add(listStyle) + 'Add new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Add text to the paragraph + paragraph.AppendText("The list of pets available:") + 'Add other paragraphs and apply the created new list style + paragraph = section.AddParagraph() + 'Apply default numbered list style + paragraph.ListFormat.ApplyStyle("UserdefinedList") + paragraph.AppendText("Dog") + paragraph = section.AddParagraph() + + paragraph.ListFormat.ApplyStyle("UserdefinedList") + paragraph.AppendText("Cat") + 'Continue last defined list + paragraph.ListFormat.ContinueListNumbering() + paragraph = section.AddParagraph() + + paragraph.ListFormat.ApplyStyle("UserdefinedList") + paragraph.AppendText("Hamsters") + paragraph.ListFormat.ContinueListNumbering() + paragraph = section.AddParagraph() + + paragraph.ListFormat.ApplyStyle("UserdefinedList") + paragraph.AppendText("Turtles") + paragraph.ListFormat.ContinueListNumbering() + paragraph = section.AddParagraph() + + paragraph.ListFormat.ApplyStyle("UserdefinedList") + paragraph.AppendText("Guinea Pigs") + paragraph.ListFormat.ContinueListNumbering() + paragraph = section.AddParagraph() + + paragraph.ListFormat.ApplyStyle("UserdefinedList") + paragraph.AppendText("Ferrets") + paragraph.ListFormat.ContinueListNumbering() + paragraph = section.AddParagraph() + + paragraph.ListFormat.ApplyStyle("UserdefinedList") + paragraph.AppendText("Fish") + paragraph.ListFormat.ContinueListNumbering() + + 'Save and close the Word document + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + + + + + + List bullets type + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with the specified + instance and the . + + The object. + The type of the list. + + + + Initializes a new instance of the class. + + The doc. + Type of the list. + if it specifies one level list, set to true. + + + + Initializes a new instance of the class. + + The doc. + + + + Creates a new empty list style for the specified document, with the list type and single level option. + + The object. + The for the new list style. + The boolean value specifying whether this list should have only one level. + The newly created instance. + + + + Creates a duplicate copy of this object. + + The reference of the newly created object. + + + + Closes this instance. + + + + + Creates a duplicate copy of this instance. + + + The reference of the new instance. + + + + Registers child objects in XDSL holder. + + + + + + Writes object data as xml attributes. + + + The object. + + + + Reads object data from xml attributes. + + + The object. + + + + + + + + + Returns the with the specified level number. + + The integer that specifies the level number. + The instance at the specified level number. + The level number cannot be less than zero. + When the specified level number is greater than the number of levels in the list, + then the last level in the list will be returned. + + + + + + + + + + + Clones the relations. + + The doc. + + + + + Remove the style from m_uniqueNameCollection in document ListStyles. + + True if style removed from m_uniqueNameCollection in document ListStyles else false + + + + Update the m_uniqueNameCollection based on style new name. + + + + + Compares list style with current list style. + + The list style. + + + + Check whether the genreated list ID or name already contains or not. + + Destination document list styles + Current list ID + Current list name + + + + + Sets new unique name for list style. + + + + + + Sets the new unique list id for the List style. + + + + + Gets or sets the unique id for the list style. + + + + + Gets or sets the value for styleLink attribute of abstractNum definitions. + + + + + Gets or sets the name for the list style. + + The string that represents the style name. + + + + Gets or sets the list type. + + The member that specifies the list type. + + + + Gets the collection of the levels in the list. Read-only. + + The collection of list levels. + + + + Gets the type of the list style. Read-only. + + The member that specifies the type of the style. + + + + Gets or sets a value indicating whether this list style is hybrid multilevel/simple. + + + if this instance is hybrid multilevel, set to true. + + + + + Gets or sets a value indicating whether the list style is simple. + + if this instance is simple, set to true. + + + + Gets or sets a value indicating whether this instance is built in style. + + + if this instance is built in style, set to true. + + + + + Gets or Sets the base list style identifier. + + The base list style id. + + + + Represents a list level. + + + + + List numbering strings + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Used to maintain the list level text. + + + + + + + + + + + + + + + + + Create level layout data + + + + + + + + Gets list symbol for specified item index + + + + + + + Gets list symbol for specified item index + + + + + + + Clones this instance. + + + + + + Create default bullet level. + + + + + + + + + Create default numbered level. + + + + + Clones itself. + + + Returns cloned object. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + Compares List Level + + + + + Removes the GUID appended with the style name + + The found style name + + + + Checks the number prefix and suffix. + + The prefix or suffix of level. + + + + + Reads object data from xml attributes. + + + The object. + + + + Writes object data as xml attributes. + + + The object. + + + + Serialize paragraph and character properties. + + + + + + Gets or sets a constant that represents the alignment for the list level of the list template. + + + + + Gets or sets the starting number for the specified list level. + + + + + Gets or or sets the character inserted after the number for the specified list level. + + + + + Gets or sets the position (in points) for the second line of wrapping text for the specified list level. + + + + + Gets or sets the string inserted before the number for the specified list level. + + + + + Gets or sets the string inserted after the number for the specified list level. + + + + + Gets or sets the string inserted after the number for the specified list level. + + + The following code snippet illustrates how to set the suffix after the number for the specified list level. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Creates a new Word document + WordDocument document = new WordDocument(); + //Adds new section to the document + IWSection section = document.AddSection(); + //Adds new list style to the document + ListStyle listStyle = document.AddListStyle(ListType.Numbered, "UserDefinedList"); + WListLevel levelOne = listStyle.Levels[0]; + //Defines the follow character, prefix, suffix, start index for level 0 + levelOne.FollowCharacter = FollowCharacterType.Tab; + levelOne.NumberPrefix = "("; + levelOne.NumberSuffix = ")"; + //Adds new paragraph to the section + IWParagraph paragraph = section.AddParagraph(); + //Adds text to the paragraph + paragraph.AppendText("User defined list - Level 0"); + //Applies default numbered list style + paragraph.ListFormat.ApplyStyle("UserDefinedList"); + //Saves the Word document + document.Save("Sample.docx", FormatType.Docx); + //Closes the document + document.Close(); + } + + + Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) + 'Creates a new Word document + Dim document As New WordDocument() + 'Adds new section to the document + Dim section As IWSection = document.AddSection() + 'Adds new list style to the document + Dim listStyle As ListStyle = document.AddListStyle(ListType.Numbered, "UserDefinedList") + Dim levelOne As WListLevel = listStyle.Levels(0) + 'Defines the follow character, prefix, suffix, start index for level 0 + levelOne.FollowCharacter = FollowCharacterType.Tab + levelOne.NumberPrefix = "(" + levelOne.NumberSuffix = ")" + 'Adds new paragraph to the section + Dim paragraph As IWParagraph = section.AddParagraph() + 'Adds text to the paragraph + paragraph.AppendText("User defined list - Level 0") + 'Applies default numbered list style + paragraph.ListFormat.ApplyStyle("UserDefinedList") + 'Saves the Word document + document.Save("Sample.docx", FormatType.Docx) + 'Closes the document + document.Close() + End Sub + + + + + + Gets or sets bullet character pattern for the specified list level. + + + + + Gets or sets a constant that represents the list pattern type for the specified list level. + + + + + Gets or sets a value indicating whether to restart the level's number sequence based on higher (more significant) levels in the list. + + True then restart the level's number sequence based on higher (more significant) levels in the list; otherwise, false. + + + + Gets the character formats of list symbol for the specified list level. + + + + + Gets or sets the paragraph format of the specified list level. + + + + + Gets the owner list style. + + + The owner list style. + + + + Gets previous list. + + + + + + Gets or sets a constant that represents the type of character following the number text for the specified list. + + + + + Gets or sets a value indicating whether to turns all inherited numbers to ArabaicNumberFormat property. The default is false. + + True then the level turns all inherited numbers to arabic; otherwise, false. + + + + Gets or sets the position (in points) of the number or bullet for the specified list level. + + + + + Gets or sets a value indicating whether to include previous levels for generated number. The default is false. + + True number generated will include previous levels; otherwise, false. + + + + Gets or sets a value indicating whether to use Word6 compatibility mode. The default is false. + + /// True to use Word6 compatibility mode; otherwise, false. + + + + Get/set level space value for Word6 compatibility mode. + + + + + Get/set level indent value for Word6 compatibility mode. + + + + + Gets or sets the name of the paragraph style. + + The name of the paragraph style. + + + + Gets or sets a value indicating whether level has level text in list level formatting string. + + if it has no level text, set to true. + + + + Gets the number of the level. + + The index of the level. + + + + Gets or sets a value indicating whether this instance has pic bullet. + + + + + Gets or sets the pic bullet id. + + The pic bullet id. + + + + + + + + + Gets or sets the level text (lvlText) of current list level. + As per the specification, level text(lvlText) is an string literal. + If string contains % symbol and level index matched with string (%1 is match for level 0), + then it will be incremented in list paragraphs. That means considered as list number. + If level text and index mismatched then Micrsoft Word will display level text as string in paragraph. + This scenario has more worst case combination behaviors. + Now we handled only the case level text value is greater than level index, if it contains % symbol + we reduce it's next number by one in Doc to PDF module as per Microsoft Word behavior. + TODO: Need to analyze all worst cases and handle the same in all required modules. + + + + + Represents a style of Numbering + + + + + Initializes a new instance of the class. + + The doc. + + + + Clones the , creating duplicate style. + + The object. + + + + Clones itself. + + Returns cloned object. + + + + Closes this instance. + + + + + Registers child objects in XDSL holder. + + + + + Compares the properties of current style with the specified one for document comparison + + + + + + + Gets paragraph format. + + + + + + Gets a base style of paragraph. + + + + + Gets the type of the style. + + The member that specifies the type of the style. + + + + Gets format of the list for the paragraph. + + + + + Gets or sets the index of the list. + + The index of the list. + + + + Gets or sets the list level. + + The list level. + + + + Represents a style of paragraph. + + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Create a new Word document + WordDocument document = new WordDocument(); + //Add new section to the document + IWSection section = document.AddSection(); + //Creates Paragraph styles. + WParagraphStyle style = document.AddParagraphStyle("Heading 1") as WParagraphStyle; + //Applies the base style. + style.ApplyBaseStyle("Normal"); + //Applies character formats. + style.CharacterFormat.FontName = "Calibri Light"; + style.CharacterFormat.FontSize = 16f; + style.CharacterFormat.TextColor = System.Drawing.Color.FromArgb(46, 116, 181); + //Applies paragraph formats. + style.ParagraphFormat.BeforeSpacing = 12; + style.ParagraphFormat.AfterSpacing = 0; + style.ParagraphFormat.Keep = true; + style.ParagraphFormat.KeepFollow = true; + style.ParagraphFormat.OutlineLevel = OutlineLevel.Level1; + //Add new paragraph + WParagraph paragraph = section.AddParagraph() as WParagraph; + //Apply style + paragraph.ApplyStyle("Heading 1"); + paragraph.AppendText("Applying paragraph style"); + //Save and close the Word document + document.Save("Sample1.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Create a new Word document + Dim document As New WordDocument() + 'Add new section to the document + Dim section As IWSection = document.AddSection() + 'Creates Paragraph styles. + Dim style As WParagraphStyle = TryCast(document.AddParagraphStyle("Heading 1"), WParagraphStyle) + 'Applies the base style. + style.ApplyBaseStyle("Normal") + 'Applies character formats. + style.CharacterFormat.FontName = "Calibri Light" + style.CharacterFormat.FontSize = 16.0F + style.CharacterFormat.TextColor = System.Drawing.Color.FromArgb(46, 116, 181) + 'Applies paragraph formats. + style.ParagraphFormat.BeforeSpacing = 12 + style.ParagraphFormat.AfterSpacing = 0 + style.ParagraphFormat.Keep = True + style.ParagraphFormat.KeepFollow = True + style.ParagraphFormat.OutlineLevel = OutlineLevel.Level1 + 'Add new paragraph + Dim paragraph As WParagraph = TryCast(section.AddParagraph(), WParagraph) + 'Apply style + paragraph.ApplyStyle("Heading 1") + paragraph.AppendText("Applying paragraph style") + 'Save and close the Word document + document.Save("Sample1.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Member that specifies the paragraph format. + + + + + + Member that specifies the list format. + + + + + + Initializes a new instance of the class with the specified + instance. + + The instance. + + + + Applies the base style for the current paragraph style. + + The name of the style to be applied. + + + + Creates a duplicate copy of the style. + + The reference to the newly created object. + + + + Compares the properties of current paragraph style with specified style. + + + + + Applies base style for current style. + + The base style + + + + + Gets the list format associated with the paragraph style. + If the current style or any of its base styles has a list format with a ListType other than NoList + or if it has an empty list, the list format is returned. + + + The object representing the list format associated with the paragraph style, + or null if no list format is found in the current style or any of its base styles. + + + + + Retrieves the list level number associated with the paragraph style. + Traverses the paragraph style hierarchy, starting from the current style, to find the first style + that has a list level number defined, and returns the list level number along with the corresponding style. + + + When this method returns, contains the object representing the style + that has the list level number defined, if found; otherwise, it will be set to null. + + + The list level number associated with the paragraph style, + or 0 if no list level number is found in the current style or any of its base styles. + + + + + Creates a duplicate copy of the entity. + + + An reference to the newly created object. + + + + Closes this instance. + + + + + Compares the properties of current style with the specified one for document comparison + + + + + + + Add the default format to the character and paragraph format in original document + + + + + + + + Registers child objects in XDSL holder. + + + + + + Gets the formatting of paragraph. Read-only. + + The instance that specifies the paragraph format. + + + + Gets the base style of the paragraph. Read-only. + + The instance that specifies the base style. + + + + Gets the type of the style. Read-only. + + The member that specifies the type of the style. + + + + Gets the format of the list for the paragraph. Read-only. + + The instance that specifies the list format. + + + + Gets or sets the index of the list. + + The index of the list. + + + + Gets or sets the list level. + + The list level. + + + + Represents a style of . + + + + + Initializes a new instance of the WTableStyle class. + + The doc. + + + + Create conditional formatting style for current style. + + + + + + + Apply base style for current style. + + The string that specifies the style name. + + + + Applies the base style for the current table style. + + The member that specifies the built-in table style. + + + using (WordDocument document = new WordDocument()) + { + document.EnsureMinimal(); + WTable table = document.LastSection.AddTable() as WTable; + table.ResetCells(3, 2); + table[0, 0].AddParagraph().AppendText("Hi"); + table[0, 1].AddParagraph().AppendText("Hi"); + //Adds a new custom table style + WTableStyle tableStyle = document.AddTableStyle("CustomStyle1") as WTableStyle; + //Applies conditional formatting for first row + ConditionalFormattingStyle firstRowStyle = tableStyle.ConditionalFormattingStyles.Add(ConditionalFormattingType.FirstRow); + firstRowStyle.CharacterFormat.Bold = true; + firstRowStyle.CharacterFormat.TextColor = Color.FromArgb(255, 255, 255, 255); + firstRowStyle.CellProperties.BackColor = Color.Blue; + //Applies conditional formatting for first column + ConditionalFormattingStyle firstColumnStyle = tableStyle.ConditionalFormattingStyles.Add(ConditionalFormattingType.FirstColumn); + firstColumnStyle.CharacterFormat.Bold = true; + //Applies conditional formatting for odd row + ConditionalFormattingStyle oddRowBandingStyle = tableStyle.ConditionalFormattingStyles.Add(ConditionalFormattingType.OddRowBanding); + oddRowBandingStyle.CellProperties.BackColor = Color.Red; + //Apply built in table style as base style for CustomStyle2 + tableStyle.ApplyBaseStyle(BuiltinTableStyle.TableContemporary); + //Applies the custom table style to the table + table.ApplyStyle("CustomStyle1"); + //Saves and closes the document instance + document.Save("TableStyle.docx", FormatType.Docx); + } + + + Dim document As WordDocument = New WordDocument() + document.EnsureMinimal() + Dim table As WTable = TryCast(document.LastSection.AddTable(), WTable) + table.ResetCells(3, 2) + table(0, 0).AddParagraph().AppendText("Hi") + table(0, 1).AddParagraph().AppendText("Hi") + 'Adds a new custom table style + Dim tableStyle As WTableStyle = TryCast(document.AddTableStyle("CustomStyle1"), WTableStyle) + 'Applies conditional formatting for first row + Dim firstRowStyle As ConditionalFormattingStyle = tableStyle.ConditionalFormattingStyles.Add(ConditionalFormattingType.FirstRow) + firstRowStyle.CharacterFormat.Bold = True + firstRowStyle.CharacterFormat.TextColor = Color.FromArgb(255, 255, 255, 255) + firstRowStyle.CellProperties.BackColor = Color.Blue + 'Applies conditional formatting for first column + Dim firstColumnStyle As ConditionalFormattingStyle = tableStyle.ConditionalFormattingStyles.Add(ConditionalFormattingType.FirstColumn) + firstColumnStyle.CharacterFormat.Bold = True + 'Applies conditional formatting for odd row + Dim oddRowBandingStyle As ConditionalFormattingStyle = tableStyle.ConditionalFormattingStyles.Add(ConditionalFormattingType.OddRowBanding) + oddRowBandingStyle.CellProperties.BackColor = Color.Red + 'Apply built in table style as base style for CustomStyle2 + tableStyle.ApplyBaseStyle(BuiltinTableStyle.TableContemporary) + 'Applies the custom table style to the table + table.ApplyStyle("CustomStyle1") + 'Saves and closes the document instance + document.Save("TableStyle.docx", FormatType.Docx) + document.Close() + + + + + + Checks the normal style. + + + + + Creates a duplicate copy of the style. + + The reference to the newly created style. + + + + Applies base style for current style. + + The base style + + + + + Creates a duplicate copy of the entity. + + + An object that can be casted as . + + + + Closes this instance. + + + + + To compare the table sytle of this object with another object. + + + + + Gets the paragraph format. + + The object. + + + + Gets the list format. + + + + + Gets cell properties. + + + + + + Gets row properties. + + + + + + Gets table properties. + + + + + + Gets base style of the current style. + + + + + Gets the type of the style. + + The member that specifies the type of the style. + + + + Gets conditional formatting styles collection of the table style. + + + + + Represents the part of the text body items. + + + + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind"); + //Get the bookmark content as a text body part. + TextBodyPart part = bookmarkNavigator.GetBookmarkContent(); + //Convert the textbody part as a separate Word document. + WordDocument new_document = part.GetAsWordDocument(); + //Save and close the document + new_document.Save("Sample.docx", FormatType.Docx); + document.Close(); + + + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind") + 'Get the bookmark content as a text body part. + Dim part As TextBodyPart = bookmarkNavigator.GetBookmarkContent() + 'Convert the textbody part as a separate Word document. + Dim new_document As WordDocument = part.GetAsWordDocument() + 'Save and close the document + new_document.Save("Sample.docx", FormatType.Docx) + document.Close() + + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the + specified . + + The instance. + + + + Initializes a new instance of the class with the specified + . + + The instance. + + + + Initializes a new instance of the class with the specified + . + + The instance. + + + + Clears the text body items. + + + + + Copies the text from the specified + and adds the text as new paragraph in the document. + + The to copy the text. + + + + Copies the text from the specified + and adds the text to the current . + + Find the field + + + + Copies the text from the specified + and adds the text to the current . + + The to copy the text. + + + + Copies the specified and + adds it to the current . + + The to copy the contents. + True if to clone and add the item; otherwise, false. + + + + Copies the specified and adds the item in a new paragraph + to the current . + + The to be copied. + True if to clone and add the item; otherwise, false. + + + + Returns the content of the text body part as a new Word document. + + The newly created instance. + + + + Clears all the contents of the text body part. + + + + + Copies the specified text body. + + The text body. + if it is to clone, set to true. + + + + Pastes the at the index next to it. + + The which is to be pasted. + + + + Pastes the after specified paragraph item index. + + The to be pasted. + + + + Pastes at specified at the specified index. + + The to be pasted. + The zero-based index to paste the text body. + + + + Pastes at specified position with character formatting. + + >The text body. + Index of the item. + Index of the p item. + Replace character format + if it specifies to apply the format, set to true. + + + + Pastes at specified position. + + The text body. + Index of the item. + Index of the p item. + + + //Open the template document + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Create the bookmark navigator instance to access the bookmark + BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); + //Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind"); + //Get the bookmark content as a text body part. + TextBodyPart part = bookmarkNavigator.GetBookmarkContent(); + //Paste the content as first item in the second paragraph. + part.PasteAt(document.Sections[0].Body, 1, 0); + //Save and close the document + document.Save("Result.docx", FormatType.Docx); + document.Close(); + + + 'Open the template document + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Create the bookmark navigator instance to access the bookmark + Dim bookmarkNavigator As New BookmarksNavigator(document) + 'Move the virtual cursor to the before the end location of the bookmark "Northwind" + bookmarkNavigator.MoveToBookmark("Northwind") + 'Get the bookmark content as a text body part. + Dim part As TextBodyPart = bookmarkNavigator.GetBookmarkContent() + 'Paste the content as first item in the second paragraph. + part.PasteAt(document.Sections(0).Body, 1, 0) + 'Save and close the document + document.Save("Result.docx", FormatType.Docx) + document.Close() + + + + + + Pastes at end of textbody. + + The text body. + + + + Pastes at specified position. + + The text body. + Index of the item. + Index of the p item. + Set to true when performing bookmark replace functionality + + + + Paste the contents inside an inline content control. + + Represents an where to paste. + Index of in to paste the content. + + + + Paste the in + + Represents a which is destination to paste the contents. + Represents a to copy all its content and paste into the + + + + Paste the items from into an + + Represents an which is destination to paste. + Represents a which is source to copy its items + + + + Paste items from content control as normal text in the text type inline content control. + + Represents an to paste the items. + Represents to copy the items. + + + + Paste paragraph items from table into inline content control. + + to paste the text ranges from table. + to copy all its paragraph items. + + + + Paste a text range in inline content control and update the formattings. + + as desination to paste text range. + to paste. + + + + Copies the paragraph items. + + The source paragraph. + The dest paragraph. + + + + Splits the paragraph. + + The paragraph. + Index of the next paragraph item. + The paragraph to insert. + + + + Validates the args. + + + + + Splits the paragraph. + + The TRG first paragraph. + The SRC last paragraph. + + + + + Updates fromatting from source to destination. + + + + + + + + Ensures the text body. + + The doc. + + + + Applies the source format. + + The paragraph. + + + + Applies the source format. + + The Table. + + + + Gets the bookmark content in between various section/cell in the Word document + + Current bookmark start + Current bookamrk end + + + + Gets the owner section index + + The entity + + + + + Gets the bookmark content inside table after paragraph in same/multiple section. + + Bookmark start owner paragraph + Bookmark end owner paragraph + Current bookamark start + Current bookmark end + + + + Gets the bookmark content inside paragraph after table in single/multiple section + + Bookmark start owner paragraph + Bookmark end owner paragraph + Current bookmark start + Curretn bookmark end + + + + Gets the bookmark content inside table in single/multiple section + + Bookmark start owner paragraph + Bookmark end owner paragraph + Current bookmark start + Current bookmark end + Bookmark end cell is null,if bookmark end entity placed inside table next paragraph means set bookmark end cell + + + + Adds the textbody item from the cell, when bookmark end is at the nested table of same cell. + + Represents a + Represents a of + Represents an index of contains + Represents a of + + + + Copy the textbody items + + Start textbody index + End textbody index + The textbody + + + + Gets the bookmark content inside paragraph in single/multiple section. + + Bookmark start owner paragraph + Bookmark end owner paragraph + Current bookmark start + Current bookmark end + + + + Inserts the bookmark start textbody items into single text body + + Bookmark start owner paragraph owner index + Bookmark end owner paragraph owner index + Bookmark start owner textbody + Bookmark start next item index + Bookmark end previous item index + When bookmark start and end in paragraph set to true + When bookmark start owner section and bookmark end owner section index same, set to true + + + + Inserts the bookmark end owner textbody item into single textbody + + Bookmark end owner paragraph index + Bookmark end previous item index + Bookmark end owner text body + When true ,if the bookmark end entity is first item of it's owner paragraph + + + + To check the bookmark end entity is first item of it's owner paragraph + + Bookmark end owner paragraph + Current bookmark end + Bookmark end previous item index + + + + + Insert the in between section bodyitem into single textbody + + Bookmarkstart owner next section index + Bookmark end owner section index + Owner document + + + + Gets the collection text body items. Read-only. + + The instance. + + + + Represents a collections of sections. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the WordDocumentPart class and loads the content of the Word document to this instance + + The Word document to load into this + + + + Loads the content of the Word document to this instance. + + The document to load into the current word document part. + WordDocumentPart contains the copy of sections from the documents. When you modify the content of the WordDocumentPart, it does not affect the objects inside the document. + + + + Gets the content of document part as new Word document. + + The contains the content of this + + + + Closes all the contents of the document part. + + + + + Get the bookmark content in beween different text body + + Current bookmark start + Current bookmark end + + + + Gets the owner section + + Entity + + + + + Get the bookmark content in between paragraph after table + + Bookmark start owner paragraph + Bookmark end owner paragraph + Current bookmark start + Current bookmark end + + + + Get bookmark content in between table after paragraph in same/different section + + Bookmark start owner paragraph + Bookmark end owner paragraph + Current bookmark start + Current bookmark end + + + + Get the bookamrk content in between same/multiple table + + Bookmark start owner paragraph + Bookmark end owner paragraph + Current bookmark start + Current bookmark end + Bookmark end cell is null,if bookmark end entity placed inside table next paragraph means set bookmark end cell + //The previous sibling of bookmarkendparagraph is WTable,then get the bookmarkendcell from previous sibling of bookmarkend paragraph and get the last cell of the Table. + + + + Copy textbody items + + Textbodyitem start index + Textbodyitem end index + The textbody + The section + + + + Get the bookmark content inbetween same/different section paragraph. + + Bookmark start owner paragraph + Bookmark end owner paragraph + Current bookmark start + Current bookmark end + + + + If the bookmark content inside different section, combine bookmark end owner section to Sections collection + + Bookmark end owner paragraph index + Bookmark end previous item index + Bookmark end owner text body + When true ,if the bookmark end entity is first item of it's owner paragraph + + + + Insert the in between sections to section collection + + Bookmark start's next section index + Bookmark end section index + Owner document + + + + If the bookmark content inside different section, combine bookmark start owner section to Sections collection + + BookmarkStart owner paragraph index + Bookmark end owner paragraph index + Bookmark start owner textbody + Bookmark start next item index + Bookmark end previous item index + If the bookmark content preserved in single section set to true + + + + To check the bookmark end entity is first item of it's owner paragraph + + Bookmark end owner paragraph + Current bookmark end + Bookmark end previous item index + + + + + Gets the sections in the Word document part. Read-only. + + + + + Provides the functionalities to convert the Word document as text file. + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Returns the text contents of the specified as string. + + The instance. + The string that represents the text contents of the Word document. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open a new Word document + WordDocument document = new WordDocument("Template.docx"); + //Initialize a new instance of TextConverter class + TextConverter converter = new TextConverter(); + //Get the text contents from the template document + string text = converter.GetText(document); + //Create new Word document + WordDocument textDocument = new WordDocument(); + textDocument.EnsureMinimal(); + //Add the text to the newly created document + textDocument.LastParagraph.AppendText(text); + //Save and close the document. + textDocument.Save("Sample.txt", FormatType.Txt); + document.Close(); + textDocument.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open a new Word document + Dim document As New WordDocument("Template.docx") + 'Initialize a new instance of TextConverter class + Dim converter As New TextConverter() + 'Get the text contents from the template document + Dim text As String = converter.GetText(document) + 'Create new Word document + Dim textDocument As New WordDocument() + textDocument.EnsureMinimal() + 'Add the text to the newly created document + textDocument.LastParagraph.AppendText(text) + 'Save and close the document. + textDocument.Save("Sample.txt", FormatType.Txt) + document.Close() + textDocument.Close() + End Sub + + + + + + Writes the specified text contents as text file(.txt format). + + The instance to write the text file. + The to be converted as text file. + + + + Reads the text file and convert it to the specified . + + The instance to read the text file. + The instance to represent the text file. + + The following code example demonstrates how to write the text file content to Word document. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + FileStream fs = new FileStream("Result.txt", FileMode.Open, FileAccess.Read); + StreamReader reader = new StreamReader(fs); + reader.BaseStream.Position = 0; + //Create the new TextConverter + TextConverter txtConverter = new TextConverter(); + //Write the text file to document + txtConverter.Read(reader, document); + reader.Dispose(); + fs.Dispose(); + //Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + Dim fs As New FileStream("Result.txt", FileMode.Open, FileAccess.Read) + Dim reader As New StreamReader(fs) + reader.BaseStream.Position = 0 + 'Create the new TextConverter + Dim txtConverter As New TextConverter() + 'Write the text file to document + txtConverter.Read(reader, document) + reader.Dispose() + fs.Dispose() + 'Save and close the Word document instance + document.Save("Sample.docx", FormatType.Docx) + document.Close() + End Sub + + + + + + Reads the specified text. + + The text. + The document. + + + + + + + + + + Writes the specified header and footer body contents. + + + The instance. + + + + Writes the specified document content to the text file. + + + The instance content to write into text file. + + + + Writes the specified content to the text file. + + + The instance to write into the text file. + True if it is the last paragraph; otherwise, false. + + + + Writes the specified text content to the text file. + + + The instance to write into the text file. + + + + Writes the end of the section. + + + The instance. + True if it is the last section; otherwise, false. + + + + Writes the text contents to the text file. + + + The string that specifies the text to write into the text file. + + The following code example demonstrates how to write the document content to text file. + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Load an existing Word document into DocIO instance + WordDocument document = new WordDocument("Template.docx"); + FileStream fs = new FileStream("Result.txt", FileMode.OpenOrCreate, FileAccess.ReadWrite); + StreamWriter writer = new StreamWriter(fs); + //Create the new TextConverter + TextConverter txtConverter = new TextConverter(); + //Write the document to text file + txtConverter.Write(writer, document); + writer.Flush(); + writer.Dispose(); + fs.Dispose(); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Load an existing Word document into DocIO instance + Dim document As New WordDocument("Template.docx") + Dim fs As New FileStream("Result.txt", FileMode.OpenOrCreate, FileAccess.ReadWrite) + Dim writer As New StreamWriter(fs) + 'Create the new TextConverter + Dim txtConverter As New TextConverter() + 'Write the document to text file + txtConverter.Write(writer, document) + writer.Flush() + writer.Dispose() + fs.Dispose() + document.Close() + End Sub + + + + + + Writes the list to the text file. + + + The instance to get the list format. + + + + Writes new line in the text file. + + + + + + Updates the last paragraph. + + The document. + + + + Writes the content of the document to the text file. + + + + + Returns the footers referred by the current section + + Current section + Current section index + returns the footer referred by the current section by comparing the current and preceeding section + + + + Returns the header referred by the current section + + Current section + Current section index + returns the header referred by the current section by comparing the current and preceeding section + + + + Check if stream is utf8 encoded. + Notice: stream is read completely in memory! + + Stream to read from. + True if the whole stream is utf8 encoded. + + + + Determines whether the specified stream has extended ASCII character. + + The stream. + + true if the specified stream has extended ASCII character; otherwise, false. + + + + + Represents the IWarning and can be used to notify the warnings occurred in Word document to PDF conversion. + + + + + Shows the warning messages that describes the unsupported elements found while converting the specified Word document to PDF. + + The warnings. + + + + Represents the WarningInfo and it contains the Warning type and its description for the unsupported elements in Word document to PDF conversion. + + + + + The m_description of the warning + + + + + The m_warning type + + + + + Initializes a new instance of the class. + + The description. + Type of the warning. + + + + Gets the description about specified warning + + + The description. + + + + + Gets the warning type + + + The type of the warning. + + + + + Represents the page margins of the Word document. + + + + + storage of Left margin + + + + + storage of Right margin + + + + + storage of Top margin + + + + + storage of Bottom margin + + + + + Initializes a new instance of class. + + + + + Initializes a new instance of class with the specified left, top, right and bottom margin values in points. + + The value for left margin in points. + The value for top margin in points. + The value for right margin in points. + The value for bottom margin in points. + + + + Gets or sets the value of all the four on one call measured in points. + + The integer that specifies the margin values in points. + + + + Gets or sets the left margin value in points. + + The integer that specifies the left margin value in points. + + + + Gets or sets the right margin value in points. + + The integer that specifies the right margin value in points. + + + + Gets or sets the top margin value in points. + + The integer that specifies the right margin value in points. + + + + Gets or sets the bottom margin value in points. + + The integer that specifies the bottom margin value in points. + + + + Allow to check is all settings has the same value or not + + + + + Represents the page margins of the Word document. + + + + + Initialize the keys for the properties. + + + + + Initializes a new instance of class. + + + + + Initializes a new instance of class with the specified left, top, right and bottom margin values in points. + + The value for left margin in points. + The value for top margin in points. + The value for right margin in points. + The value for bottom margin in points. + + + + Creates a duplicate copy of the instance. + + The reference of the newly created instance. + + + + Returns the default values. + + + The integer that specifies the key. + An object that specifies the default value. + + + + Sets the margin values in oldpropertyhash. + + The value for left margin in points. + The value for top margin in points. + The value for right margin in points. + The value for bottom margin in points. + The value for gutter margin in points. + + + + Gets the property value. + + The property key. + The value. + + + + sets the property value. + + The prop key. + + + + + Compares the current section properties with another section properties + + The paragraph format + + + + Gets or sets the value of all the four on one call measured in points. + + The float that specifies the margin values in points. + + + + Gets or sets the left margin value in points. + + The float that specifies the left margin value in points. + + + + Gets or sets the right margin value in points. + + The float that specifies the right margin value in points. + + + + Gets or sets the top margin value in points. + + The float that specifies the top margin value in points. + + + + Gets or sets the bottom margin value in points. + + The float that specifies the bottom margin value in points. + + + + Allow to check is all settings has the same value or not + + + + + Gets/sets section gutter. + + + + + Represents the information about page size. + + + + + Specifies A3 format page size. + + The structure that represent the size of the page. + + + + Specifies A4 format page size. + + The structure that represent the size of the page. + + + + Specifies A5 format page size. + + The structure that represent the size of the page. + + + + Specifies A6 format page size. + + The structure that represent the size of the page. + + + + Specifies B4 format page size. + + The structure that represent the size of the page. + + + + Specifies B5 format page size. + + The structure that represent the size of the page. + + + + Specifies B5 format. page size. + + The structure that represent the size of the page. + + + + Specifies Letter format page size. + + The structure that represent the size of the page. + + + + Specifies HalfLetter format page size. + + The structure that represent the size of the page. + + + + Specifies 11x17 format page size. + + The structure that represent the size of the page. + + + + Specifies EnvelopeDL format page size. + + The structure that represent the size of the page. + + + + Specifies Quarto format page size. + + The structure that represent the size of the page. + + + + Specifies Statement format page size. + + The structure that represent the size of the page. + + + + Specifies Ledger format page size. + + The structure that represent the size of the page. + + + + Specifies Tabloid format page size. + + The structure that represent the size of the page. + + + + Specifies Note format page size. + + The structure that represent the size of the page. + + + + Specifies Legal format page size. + + The structure that represent the size of the page. + + + + Specifies Flsa format page size. + + The structure that represent the size of the page. + + + + Specifies Executive format page size. + + The structure that represent the size of the page. + + + + Private constructor. + + + + + Provides functions for unit conversions. + + + + + Converts centimeter to points. + + The float that represents the value in centimeter. + The float that specifies the value in points. + + + + Converts inch to points. + + The float that represents the value in inch. + The float that specifies the value in points. + + + + Converts pixel to points. + + The float that represents the value in pixel. + The float that specifies the value in points. + + + + Summary description for WordMLtoDocIOConverter. + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Converts the specified word as ml. + + The path to word ML. + + + + + Corrects the XML. + + + + + Modifies the paragraph. + + + + + Modifies the bookmark. + + The bookmark. + + + + Modifies the picture. + + The picture. + + + + Initialize the namespace manager. + + + + + Gets the XSLT reader. + + + + + + Reads the binary element. + + The node. + + + + + Reads the image. + + The node. + if it is meta file, set to true. + + + + + + + + + + + + + + + + + + + + Gets or sets the name. + + The name. + + + + Gets or sets the ID. + + The ID. + + + + + + + + + + + + + + Adds an object to the end of the . + + The to be added to the end of the . The value can be . + + The index at which the has + been added. + + + The is read-only. + -or- + The has a fixed size. + + + + + Adds the bookmark. + + The name. + + + + + Gets the with the specified name. + + + + + + Summary description for IXDLSAttributeWriter. + + + + + Writes the value. + + The name. + The value. + + + + Writes the value. + + The name. + The value. + + + + Writes the value. + + The name. + The value. + + + + Writes the value. + + The name. + The value. + + + + Writes the value. + + The name. + The value. + + + + Writes the value. + + The name. + if it specifies value, set to true. + + + + Writes color as string to XML. + + Name of attribute. + Color structure. + + + + Writes DateTime as string to XML. + + Name of attribute. + Color structure. + + + + Summary description for IXDLSAttributeReader. + + + + + Determines whether the current node has attribute with specified name. + + The name. + + if has attribute with specified name, set to true. + + + + + Reads the string. + + The name. + + + + + Reads the int. + + The name. + + + + + Reads the short. + + The name. + + + + + Reads the float. + + The name. + + + + + Reads the boolean. + + The name. + + + + + Reads the byte. + + The name. + + + + + Reads the enum. + + The name. + Type of the enum. + + + + + Reads color from XML. + + Name of attribute. + + + + + Reads the date time. + + The s. + + + + + Summary description for IXDLSContentWriter. + + + + + Writes the child binary element. + + The name. + The value. + + + + Writes the child string element. + + The name. + The value. + + + + Writes the child element. + + The name. + The value. + + + + Writes the child ref element. + + The name. + The ref to element. + + + + Gets the inner writer. + + The inner writer. + + + + Summary description for IXDLSContentReader. + + + + + Gets the attribute value. + + The name. + + + + + Parses the type of the element. + + Type of the enum. + Type of the element. + + + + + Reads the child element. + + The value. + + + + + Reads the child element. + + The type. + + + + + Reads the content of the child string. + + + + + + Reads the child binary element. + + + + + + Gets the name of the tag. + + The name of the tag. + + + + Gets the type of the node. + + The type of the node. + + + + Gets the inner reader. + + The inner reader. + + + + Gets the attribute reader. + + The attribute reader. + + + + Summary description for IXDLSFactory. + + + + + Creates the specified reader. + + The reader. + + + + + Utility class. Holds string names of the properties, used for serialization. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + Name of the property. + + + + + This constructor is bever used. + + + + + Constants used in DLS for serialization to XML format + + + + + Document tag names + + + + + The styles tag + + + + + The list styles tag + + + + + Section tag names + + + + + The page setup tag + + + + + The page setup first page attribute + + + + + The page setup difference odd even pages attribute + + + + + The columns tag + + + + + The column tag + + + + + The paragraphs tag + + + + + The headers footers tag + + + + + The text body tag + + + + + The toc field tag + + + + + Section attribute names + + + + + Style tag names + + + + + The character format tag + + + + + The paragraph format tag + + + + + The table format tag + + + + + The cell format tag + + + + + The list format tag + + + + + The style base tag + + + + + The shape format tag + + + + + List tag and attribute names + + + + + The list levels tag + + + + + The list level internal data tag + + + + + The list level preference pattern attribute + + + + + The list level suf pattern attribute + + + + + The list level bullet pattern attribute + + + + + The list level indent attribute + + + + + The list level previous pattern attribute + + + + + The list level pattern type attribute + + + + + The list level start at attribute + + + + + The list level number align attribute + + + + + The list level follow character attribute + + + + + The list level is legal attribute + + + + + The list level no restart number + + + + + List style attributes names + + + + + The list format level number attribute + + + + + The list format style name attribute + + + + + Style attribute names + + + + + The style base name attribute + + + + + Pen attribute names + + + + + The pen brush attribute + + + + + PageSettings attribute names + + + + + The page settings page width attribute + + + + + The page settings alignment attribute + + + + + The page settings footer distance attribute + + + + + The page settings header distance attribute + + + + + The page settings orientation attribute + + + + + The page settings bottom margin attribute + + + + + The page settings top margin attribute + + + + + The page settings left margin attribute + + + + + The page settings right margin attribute + + + + + The page settings spacing before columns attribute + + + + + HeadersFooters attribute names + + + + + The odd header tag + + + + + The even footer tag + + + + + The odd footer tag + + + + + The first page header tag + + + + + The first page footer tag + + + + + Tables tag names + + + + + The columns item tag + + + + + The cell item tag + + + + + The cells item tag + + + + + The row item tag + + + + + The rows item tag + + + + + Tables attribute names + + + + + The table horizontal alignment attribute + + + + + The table vertical merge attribute + + + + + The table horizontal merge attribute + + + + + The table width attribute + + + + + The table cell width attribute + + + + + The table cell shading color attribute + + + + + The table row heigth attribute + + + + + The table row header attribute + + + + + The table row heigh type attribute + + + + + The table left indent attribute + + + + + The table cell paddings attribute + + + + + The cell spacing + + + + + The left offset + + + + + The cell text wrap attribute + + + + + The cell same paddings as table attribute + + + + + The table cell texture attribute + + + + + The table cell fore color attribute + + + + + The table cell fit text attribute + + + + + The table cell text dir attribute + + + + + Paragraph tag names + + + + + The items tag + + + + + The item tag + + + + + The item type paragraph value + + + + + The item type table value + + + + + ParagraphFormat attribute names + + + + + The paragraph horizontal alignment attribute + + + + + The paragraph vertical alignment attribute + + + + + The paragraph left indent attribute + + + + + The paragraph right indent attribute + + + + + The paragraph first line indent attribute + + + + + The paragraph keep attribute + + + + + The paragraph before spacing attribute + + + + + The paragraph after spacing attribute + + + + + The paragraph keep follow attribute + + + + + The paragraph widow control attribute + + + + + The paragraph page break before attribute + + + + + The paragraph page break after attribute + + + + + The paragraph column break after attribute + + + + + The paragraph back color attribute + + + + + The paragraph bidi attribute + + + + + Tab attribute name + + + + + The tab justification attribute + + + + + The tab leader attribute + + + + + The tab tag + + + + + The automatic tab width attribute + + + + + The tab delete attribute + + + + + Shape tag names + + + + + Column attribute names + + + + + The column spacing attribute + + + + + Image tag names + + + + + Image attribute names + + + + + Width scale attributes. + + + + + Name of the property. + + + + + Image quality attributes names. + + + + + The picture contrast attribute + + + + + The picture color attribute + + + + + The crop from left + + + + + The crop from right + + + + + The crop from top + + + + + The crop from bottom + + + + + TextRange tag name + + + + + TextRange child tag names + + + + + Type tag + + + + + Paddings tag names + + + + + The padding top tag + + + + + The padding left tag + + + + + The padding right tag + + + + + Borders tag names + + + + + The border top tag + + + + + The border left tag + + + + + The border right tag + + + + + The border horizontal tag + + + + + The border vertical tag + + + + + The borders item tag + + + + + Borders attribute names + + + + + The border width attribute + + + + + The border type attribute + + + + + The border space attribute + + + + + The border shadow attribute + + + + + CharacterFormat attribute names + + + + + The text font name attribute + + + + + The text font size attribute + + + + + The text bold attribute + + + + + The text italic attribute + + + + + The text strike attribute + + + + + The text double strike attribute + + + + + The text underline attribute + + + + + The text sub super script attribute + + + + + The text line spacing attribute + + + + + The text position attribute + + + + + The text background color attribute + + + + + The text line break attribute + + + + + TextBox tag name + + + + + TextBoxFormat attribute names + + + + + The shape height attribute + + + + + The shape line style attribute + + + + + The shape text wrapping style attribute + + + + + The shape fill color attribute + + + + + The shape line color attribute + + + + + TextBoxes tag + + + + + The text boxes tag + + + + + Bookmark attributes name + + + + + The bookmark + + + + + The cell group bookmark attribute + + + + + Hyperlink attribute names + + + + + The URI + + + + + The hyperlink type + + + + + The hyperlink + + + + + Picture formatting tag. + + + + + Break atrribute names. + + + + + The protection type attribute + + + + + The shade form data attribute + + + + + The macros tag + + + + + The escher containers tag + + + + + The escher data conatiners tag + + + + + The macro commands tag + + + + + DOP internal data + + + + + The DOP dxa hot z attribute + + + + + The DOP consec attribute + + + + + The DOP internal data + + + + + Standard font names + + + + + The standard far east font + + + + + The standard non far east font + + + + + Merge field attribute names. + + + + + The field converted attribute + + + + + The merge field text before attribute + + + + + The merge field text after attribute + + + + + The merge field number format attribute + + + + + The merge field date format attribute + + + + + The merge field prefix attribute + + + + + The field upper case attribute + + + + + The field lower case attribute + + + + + The field title case attribute + + + + + The field first capital attribute + + + + + The field is local attribute + + + + + The field type attribute + + + + + The field name attribute + + + + + The field value attribute + + + + + The field mark type attribute + + + + + The field formatting attribute + + + + + Attribute name for embedded object storage name containing + + + + + FormField attribute names. + + + + + The form field maximum length attribute + + + + + The form field CheckBox size attribute + + + + + The form field CheckBox size type + + + + + The form field title attribute + + + + + The form field definition text attribute + + + + + The form field default CheckBox value attribute + + + + + The form field default drop down value attribute + + + + + The form field text format attribute + + + + + The form field string text format attribute + + + + + The form field help attribute + + + + + The form field tooltip attribute + + + + + The form field macro on start attribute + + + + + The form field macro on end attribute + + + + + The form field is special attribute + + + + + The form field text type attribute + + + + + FormField attribute names. + + + + + The form field drop down item text attribute + + + + + Document properties tag names. + + + + + The custom properties tag + + + + + The property tag + + + + + The character styles tag + + + + + The text character style name + + + + + The list overrides tag + + + + + Styles attributes. + + + + + Document properties attribute names. + + + + + The properties manager attribute + + + + + The properties category attribute + + + + + The properties bytes count attribute + + + + + The properties lines count attribute + + + + + The properties paragraph count attribute + + + + + The properties slide count attribute + + + + + The properties note count attribute + + + + + The properties hidden count attribute + + + + + The properties author attribute + + + + + The properties application name attribute + + + + + The properties title attribute + + + + + The properties subject attribute + + + + + The properties keywords attribute + + + + + The properties comments attribute + + + + + The properties template attribute + + + + + The properties last author attribute + + + + + The properties revision number attribute + + + + + The properties edit time attribute + + + + + The properties last printed attribute + + + + + The properties create date attribute + + + + + The properties last save date attribute + + + + + The properties page count attribute + + + + + The properties word count attribute + + + + + The properties character count attribute + + + + + The properties thumbnail attribute + + + + + The properties document security attribute + + + + + Property attribute names. + + + + + The properties name attribute + + + + + The properties value attribute + + + + + Attributes for ListFormatting. + + + + + The list format use base style attribute + + + + + The list format lfo style name attribute + + + + + The list format hybrid attribute + + + + + The list format simple attribute + + + + + The list level legacy attribute + + + + + The list level legacy space attribute + + + + + The list level legacy indent attribute + + + + + The level override tag + + + + + The level override start at attribute + + + + + The level override format attribute + + + + + The level override start attribute + + + + + The level override reserved1 attribute + + + + + The level override reserved2 attribute + + + + + The level override reserved3 attribute + + + + + The override list levels tag + + + + + The override list level tag + + + + + The override list style tag + + + + + The override list style name attribute + + + + + The override list res1 attribute + + + + + The override list res2 attribute + + + + + The override list unused1 attribute + + + + + The override list unused2 attribute + + + + + Table`s attributes names. + + + + + The table is break across pages attribute + + + + + The table bidi attribute + + + + + Internal Data. + + + + + ShapeObject tags. + + + + + The shape blip tag + + + + + The shape fbse tag + + + + + The picture descriptor tag + + + + + ShapeObjject attribute names + + + + + The shape object OLE cont identifier + + + + + WCharacterFormat attribute names. + + + + + The text emboss attribute + + + + + The text engrave attribute + + + + + The text hidden attribute + + + + + The text hidden complex attribute + + + + + The text d strike complex attribute + + + + + The text small caps complex attribute + + + + + The text strike complex attribute + + + + + The text all caps attribute + + + + + The text small caps attribute + + + + + The text bidi attribute + + + + + The text bold bidi attribute + + + + + The text italic bidi attribute + + + + + The text font size bidi attribute + + + + + The text font name bidi attribute + + + + + The text font name ASCII attribute + + + + + The text font name far east attribute + + + + + The text font name non far east attribute + + + + + The text highlight color key + + + + + The text italic complex key + + + + + The text shadow complex attribute + + + + + The text bold complex key + + + + + The text rg lid0 attribute + + + + + The text rg lid1 attribute + + + + + The text rg lid3 attribute + + + + + The text rg lid3 2 attribute + + + + + The text lid attribute + + + + + The text lid bi attribute + + + + + The text no proof attribute + + + + + The text idct hint attribute + + + + + The text all caps complex key + + + + + The text texture attribute + + + + + The text fore color attribute + + + + + The text out line attribute + + + + + The text emboss complex + + + + + The text engrave complex + + + + + WCharacterFormat tag names. + + + + + ParagraphFormat attribute names. + + + + + The paragraph line spacing rule attribute + + + + + ViewSetup tag names. + + + + + ViewSetup attribute names. + + + + + The view setup zoom type attribute + + + + + The view setup view type attribute + + + + + WPageSetup attribute names. + + + + + The page setup line number distance attribute + + + + + The page setup line number mode attribute + + + + + The page setup line number start value attribute + + + + + The page setup border apply attribute + + + + + The page setup border offset from attribute + + + + + The page setup border is in front attribute + + + + + The page setup column equal attribute + + + + + Attributes names for characters. + + + + + The symbol character code ext attribute + + + + + Textbox tag name + + + + + Shape attribute names + + + + + The shape vert origin attribute + + + + + The shape horiz position attribute + + + + + The shape vert position attribute + + + + + The shape line width attribute + + + + + The shape line dashing attribute + + + + + The shape wrapping type attribute + + + + + The shape wrapping style attribute + + + + + The shape wrapping mode attribute + + + + + The shape is below text attribute + + + + + The shape no line attribute + + + + + The shape no fill attribute + + + + + The shape horiz align attribute + + + + + The shape vert align attribute + + + + + The shape front order attribute + + + + + The shape ident attribute + + + + + The shape text box count attribute + + + + + The shape is header attribute + + + + + Comment tags. + + + + + The comment format tag + + + + + The comment format user initials attribute + + + + + The comment format user attribute + + + + + The comment bookmark start attribute + + + + + The comment bookmark end attribute + + + + + The comment tag BKMK attribute + + + + + Footnote tags. + + + + + The footnote marker cp tag + + + + + The footnote is automatic numbered attribute + + + + + The footnote custom marker attribute + + + + + The footnote type attribute + + + + + The footnote symbol code attribute + + + + + The footnote symbol font name attribute + + + + + The initial footnote number attribute + + + + + The footnote position attribute + + + + + The restart index for footnotes attribute + + + + + The endnote number format attribute + + + + + The footnote number format attribute + + + + + The restart index for endnote attribute + + + + + The endnote position attribute + + + + + The initial endnote number attribute + + + + + Watermark. + + + + + The watermark type attribute + + + + + The watermark text attribute + + + + + The watermark text font name attribute + + + + + The watermark text font size attribute + + + + + The watermark text font color attribute + + + + + The watermark text layout attribute + + + + + The watermark text semitrans attribute + + + + + The watermark shape height attribute + + + + + The watermark shape width attribute + + + + + The watermark picture washout attribute + + + + + The watermark picture scale attribute + + + + + The watermark picture is meta attribute + + + + + The watermark picture pib attribute + + + + + Background effects. + + + + + The background gradient tag + + + + + The background type attribute + + + + + The back image is meta attribute + + + + + The background color attribute + + + + + The background back color attribute + + + + + The background gradient style + + + + + The background gradient variant + + + + + Embedded object storage tags + + + + + The embed object is ole2 attribute + + + + + The object pool tag + + + + + Grammar and spelling data tags + + + + + The spelling data tag + + + + + Summary description for XDLSCustomRW. + + + + + + + + + + Initializes a new instance of the class. + + + + + Writes the specified writer. + + The writer. + Name of the tag. + The value. + + + + + Reads the specified reader. + + The reader. + The type. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for DLSXmlHolder. + + + + + Initializes a new instance of the class. + + + + + Adds the element. + + Name of the tag. + The value. + + + + Adds the ref element. + + Name of the tag. + The value. + + + + Writes the holder. + + The writer. + + + + Reads the holder. + + The reader. + + + + + After the deserialization. + + The owner. + + + + Before the serialization. + + + + + + + + + + + + + + + Gets or sets the ID. + + The ID. + + + + Gets or sets a value indicating whether this is cleared. + + if it cleared, set to true. + + + + Gets or sets a value indicating whether [enable ID]. + + If it is enable ID, set to true. + + + + Gets or sets a value indicating whether [skip me]. + + If it specifies to skip, set to true. + + + + Summary description for XDLSReader. + + + + + + + + + + Initializes a new instance of the class. + + The reader. + + + + Deserializes the specified value. + + The value. + + + + Determines whether the current node has attribute with specified name. + + The name. + + if has attribute with specified name, set to true. + + + + + Reads the string. + + The name. + + + + + Reads the int. + + The name. + + + + + Reads the short. + + The name. + + + + + Reads the double. + + The name. + + + + + Reads the float. + + The name. + + + + + Reads the boolean. + + The name. + + + + + Reads the byte. + + The name. + + + + + Reads the enum. + + The name. + Type of the enum. + + + + + Reads color from XML. + + Name of attribute. + Color structure. + + + + Gets the hexadecimal color. + + The color. + + + + + Reads color from XML. + + Name of attribute. + Color structure. + + + + Gets the attribute value. + + The name. + + + + + Parses the type of the element. + + Type of the enum. + Type of the element. + + + + + Reads the child element. + + The value. + + + + + Reads the child element. + + The type. + + + + + Reads the content of the child string. + + + + + + Reads binary value. + + + + + + Reads the image. + + + + + + Reads the image. + + if it is a metafile, set to true. + + + + + + + + + + + + + + + + + Gets the name of the tag. + + The name of the tag. + + + + Gets the type of the node. + + The type of the node. + + + + Gets the inner reader. + + The inner reader. + + + + Gets the attribute reader. + + The attribute reader. + + + + Summary description for DLSXmlWriter. + + + + + Symbol, used during color saving to XML. + + + + + format for color convertion to string. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Writes the value. + + The name. + The value. + + + + Writes the value. + + The name. + The value. + + + + Writes the value. + + The name. + The value. + + + + Writes the value. + + The name. + The value. + + + + Writes the value. + + The name. + The value. + + + + Writes the value. + + The name. + if it is specifies value, set to true. + + + + Writes color as string to XML. + + Name of attribute. + Color structure. + + + + Writes DateTime as string to XML. + + Name of attribute. + Color structure. + + + + Writes the child string element. + + The name. + The value. + + + + Writes binary value. + + The name. + The value. + + + + Writes the child element. + + The name. + The value. + + + + Writes the child ref element. + + The name. + The ref to element. + + + + Writes the image. + + The image. + + + + + + + + + + + + + + + + + + + + + + Gets the inner writer. + + The inner writer. + + + + Specifies the type of a DLS entity. + + + + + Main Word document. + + + + + Section in the Word document. + + + + + Text body in the Word document. + + + + + Header and Footer in the Word document + + + + + Paragraph in the Word document + + + + + AlternateChunk in the Word document + + + + + Block Content control in the Word document + + + + + Structure Document Tag Inline in the Word document + + + + + Structure Document Tag Row in the Word document + + + + + Structure Document Tag Cell in the Word document + + + + + Structure Document Tag in the Word document + + + + + Structure Document Tag Inline in the Word document + + + + + Structure Document Tag Row in the Word document + + + + + Structure Document Tag Cell in the Word document + + + + + Structure Document Tag Block Content in the Word document + + + + + Structure Document Tag Inline Content in the Word document + + + + + Structure Document Tag Row Content in the Word document + + + + + Structure Document Tag Cell Content in the Word document + + + + + Table in the Word document + + + + + Table row in the Word document + + + + + Table Cell in the Word document + + + + + Text run in the Word document + + + + + Picture in the Word document + + + + + Field in the Word document + + + + + Field mark in the Word document + + + + + Merge field in the Word document + + + + + Sequence Field Tag in the Word document + + + + + Embeded in the Word document + + + + + Control field in the Word document + + + + + Text form field in the Word document + + + + + Drop down form field in the Word document + + + + + Check box in the Word document + + + + + Bookmark start in the Word document + + + + + Bookmark end in the Word document + + + + + Shape in the Word document + + + + + Comment in the Word document + + + + + Footnote in the Word document + + + + + TextBox in the Word document + + + + + Break in the Word document + + + + + Symbol in the Word document + + + + + Table of content in the Word document + + + + + Xml Paragraph Item in the Word document + + + + + Undefiened element + + + + + Chart in the Word document + + This enum is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin platforms. + + + + Comment mark in the Word document + + + + + Comment End in the Word document + + + + + OLE Object in the Word document + + + + + Absolute Tab in the Word document + + + + + Auto shape in the Word document + + + + + Editable range start in the Word document + + + + + Editable range end in the Word document + + + + + Group shape in the Word document + + + + + Child shape in the Word document + + + + + Child group shape in the Word document + + + + + Mathematical equation in the Word document + + + + + Specifies type of the Header or Footer. + + + + + Header for even numbered pages. + + + + + Header for odd numbered pages. + + + + + Footer for even numbered pages. + + + + + Footer for odd numbered pages. + + + + + Header for the first page of the section. + + + + + Footer for the first page of the section. + + + + + Specifies type of the Shape. + + + + + Specifies text shape. + + + + + Specifies rectangle shape. + + + + + Specifies image shape. + + + + + Specifies arc shape. + + + + + Specifies ellipse shape. + + + + + Specifies line shape. + + + + + Specifies path shape. + + + + + Specifies bezier shape. + + + + + Specifies pie shape. + + + + + Specifies polygon shape. + + + + + Specifies type of the style. + + + + + Paragraph style. + + + + + Character style. + + + + + Table style. + + + + + Numbering style. + + + + + Other kind of style. + + + + + Specifies type of the paragraph item. + + + + + Text. + + + + + Picture. + + + + + Field. + + + + + Field mark. + + + + + Merge field. + + + + + Form field. + + + + + Check box. + + + + + Text form field. + + + + + Drop down form field. + + + + + Sequence field. + + + + + Embedded field. + + + + + Control field. + + + + + Start of bookmark. + + + + + End of bookmark. + + + + + Shape object. + + + + + Inline shape object. + + + + + Comment. + + + + + Footnote. + + + + + Textbox. + + + + + Break. + + + + + Symbol. + + + + + Table of contents. + + + + + Chart. + + This enum is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamarin platforms. + + + + OLE object. + + + + + Inline Content Control. + + + + + Mathematical equation + + + + + Specifies orientation of the page. + + + + + Portrait page orientation. + + + + + Landscape page orientation. + + + + + Specifies multiple pages property. + + + + + Normal in multiple pages. + + + + + Mirror Margin in multiple pages. + + + + + Two pages per sheets in multiple pages. + + + + + Book Fold in multiple pages. + + + + + Reverse Book Fold in multiple pages. + + + + + Specifies alignment of the text on a page. + + + + + Text is aligned at the top of the page. + + + + + Text is aligned at the middle of the page. + + + + + Text is spanned to fill the page. + + + + + Text is aligned at the bottom of the page. + + + + + Specifies type of the vertical alignment. + + + + + Specifies top alignment. + + + + + Specifies middle alignment. + + + + + Specifies bottom alignment. + + + + + Specifies type of the Text Shape Values. + + + + + Specifies No Text Shape. + + + + + Specifies Plain Text Shape. + + + + + SpecifiesStop Sign Text Shape. + + + + + Specifies Triangle Text Shape. + + + + + Specifies Inverted Triangle Text Shape. + + + + + Specifies Chevron Text Shape. + + + + + Specifies Inverted Chevron Text Shape. + + + + + Specifies Inside Ring Text Shape. + + + + + Specifies Outside Ring Text Shape. + + + + + Specifies Upward Arch Text Shape. + + + + + Specifies Downward Arch Text Shape. + + + + + Specifies Circle Text Shape. + + + + + Specifies Button Text Shape. + + + + + Specifies Upward Pour Arch Text Shape. + + + + + Specifies Downward Pour Arch Text Shape. + + + + + Specifies Circle Pour Text Shape. + + + + + Specifies Button Pour Text Shape. + + + + + Specifies Upward Curve Text Shape. + + + + + Specifies Downward Curve Text Shape. + + + + + Specifies Upward Can Text Shape. + + + + + Specifies Downward Can Text Shape. + + + + + Specifies Wave 1 Text Shape. + + + + + Specifies Wave 2 Text Shape. + + + + + Specifies Double Wave 1 Text Shape. + + + + + Specifies Wave 4 Text Shape. + + + + + Specifies Inflate Text Shape. + + + + + Specifies Deflate Text Shape. + + + + + Specifies Bottom Inflate Text Shape. + + + + + Specifies Bottom Deflate Text Shape. + + + + + Specifies Top Inflate Text Shape. + + + + + Specifies Top Deflate Text Shape. + + + + + Specifies Deflate-Inflate Text Shape. + + + + + Specifies Deflate-Inflate-Deflate Text Shape. + + + + + Specifies Right Fade Text Shape. + + + + + Specifies Left Fade Text Shape. + + + + + Specifies Upward Fade Text Shape. + + + + + Specifies Downward Fade Text Shape. + + + + + Specifies Upward Slant Text Shape. + + + + + Specifies Downward Slant Text Shape. + + + + + Specifies Upward Cascade Text Shape. + + + + + Specifies Downward Cascade Text Shape. + + + + + Specifies type of the Tile Filp Type. + + + + + Specifies No Plane + + + + + Specifies XY Plane + + + + + Specifies Y plane + + + + + Specifies X plane + + + + + Specifies type of the Fill Aspects. + + + + + Specifies Atleast. + + + + + Specifies Atmost. + + + + + Specifies Ignore. + + + + + Specifies type of the Blip Compression Type. + + + + + Specifies No compression mode. + + + + + Specifies Email mode + + + + + Specifies Print mode. + + + + + Specifies Screen mode. + + + + + Specifies High Quality Printing mode. + + + + + Specifies type of the horizontal alignment. + + + + + Specifies paragraph text is aligned to the left. + + + + + Specifies paragraph text is aligned to the center. + + + + + Specifies paragraph text is aligned to the right. + + + + + Specifies paragraph text is aligned to both left and right. + + + + + Specifies paragraph characters are distributed to fill the entire width of the paragraph. + + + + + Specifies paragraph uses medium-length Kashida, if the language is Arabic. In other languages, paragraph text is justified with a medium character compression ratio. + + + + + Specifies paragraph uses longer length Kashida, if the language is Arabic. In other languages, paragraph text is justified with a high character compression ratio. + + + + + Specifies paragraph uses small length Kashida, if the language is Arabic. In other languages, paragraph text is justified with a high character compression ratio. + + + + + Specifies paragraph text is justified with Thai distributed justification, if the language is Thai. In other languages, text is justified with a low character compression ratio. + + + + + Specifies type of the horizontal row alignment. + + + + + Specifies row alignment to the left. + + + + + Specifies row alignment to the center. + + + + + Specifies row alignment to the right. + + + + + Specifies style of the underline. + + This enum is not supported in MVC6 and Xamarin platforms. + + + + No underline. + + + + + A single line. default. + + + + + Underline individual words only. + + + + + A double line. + + + + + Dots. + + + + + + + + + + A single thick line. + + + + + Dashes. + + + + + Long dashes. + + + + + Alternating dots and dashes. + + + + + An alternating dot-dot-dash pattern. + + + + + A single wavy line. + + + + + Heavy dots. + + + + + Heavy dashes. + + + + + Long heavy dashes. + + + + + Alternating heavy dots and heavy dashes. + + + + + An alternating heavy dot-dot-dash pattern. + + + + + A heavy wavy line. + + + + + A double wavy line. + + + + + Specifies type of the sub and super script. + + + + + No sub- or superscript. + + + + + Specified superscript format. + + + + + Specified subscript format. + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the line style of the border. + + + + + No border. + + + + + A single solid line. + + + + + Thick solid lines. + + + + + Double solid lines. + + + + + Hairline border. + + + + + Dots. + + + + + A dash followed by a large gap. + + + + + A dash followed by a dot. + + + + + A dash followed by two dots. + + + + + Three solid thin lines. + + + + + An internal single thin solid line surrounded by a single thick solid line with a small gap between them. + + + + + An internal single thick solid line surrounded by a single thin solid line with a small gap between them. + + + + + An internal single thin solid line surrounded by a single thick solid line surrounded by a single thin solid line with a small gap between all lines. + + + + + An internal single thin solid line surrounded by a single thick solid line with a medium gap between them. + + + + + An internal single thick solid line surrounded by a single thin solid line with a medium gap between them. + + + + + An internal single thin solid line surrounded by a single thick solid line surrounded by a single thin solid line with a medium gap between all lines. + + + + + An internal single thin solid line surrounded by a single thick solid line with a large gap between them. + + + + + An internal single thick solid line surrounded by a single thin solid line with a large gap between them. + + + + + An internal single thin solid line surrounded by a single thick solid line surrounded by a single thin solid line with a large gap between all lines. + + + + + A single wavy solid line. + + + + + Double wavy solid lines. + + + + + A dash followed by a small gap. + + + + + A dash followed by a dot stroke, thus rendering a border similar to a barber pole. + + + + + The border appears to have a 3-D embossed look. + + + + + The border appears to have a 3-D engraved look. + + + + + The border appears to be outset. + + + + + The border appears to be inset. + + + + + Twisted Lines Art Border. + + + + + Cleared border. + + + + + Specifies the graphical page border settings + + + + + Specifies type of the section break code. + + + + + No break with the new section beginning on the next paragraph of the same page. + + + + + Column break with the new section beginning on the next column on the page. + + + + + Section break with the new section beginning on the next page. + + + + + Section break with the new section beginning on the next even-numbered page. + + + + + Section break with the new section beginning on the next odd-numbered page. + + + + + Specifies type of the link. + + + + + No links. + + + + + Links to another file. + + + + + Links to a web page. + + + + + Link to e-mail. + + + + + Bookmark link. + + + + + Specifies type of the list format. + + + + + Specifies numbered list. + + + + + Specifies bulleted list. + + + + + No numbering. + + + + + Specifies type of the list numbering format. + + + + + Arabic format. + + + + + Upper roman numbering format. + + + + + Lower roman numbering format. + + + + + Upper case letter numbering format. + + + + + Lower case letter numbering format. + + + + + Ordinal numbering format. + + + + + Number numbering format. + + + + + Ordinal text numbering format. + + + + + Leading zero numbering format. + + + + + Bullet numbering format. + + + + + Far east numbering format. + + + + + Special numbering format. + + + + + Specifies chinese counting thousand format. + + + + + Specifies Japanese counting format. + + + + + Specifies None numbering format. + + + + + Specifies the way of cell merging. + + + + + No merge. + + + + + Merge starts from this cell. + + + + + Merge is continued. + + + + + Specifies shape position + + + + + + + + + + + + + + + + + + + + Specifies the horizontal origin of the object. + + + + + Origin to margin. + + + + + Origin to page. + + + + + Origin to column. + + + + + Origin to character. + + + + + Origin to left margin. + + + + + Origin to right margin. + + + + + Origin to inner margin area. + + + + + Origin to outer margin area. + + + + + Specifies the vertical origin of the object. + + + + + Origin to margin. + + + + + Origin to page. + + + + + Origin to paragraph. + + + + + Origin to line. + + + + + Origin to top margin. + + + + + Origin to bottom margin. + + + + + Origin to inner margin area. + + + + + Origin to outer margin area. + + + + + Specifies the vertical origin of the object height. + + + + + Origin to margin. + + + + + Origin to page. + + + + + Origin to top margin. + + + + + Origin to bottom margin. + + + + + Origin to inner margin area. + + + + + Origin to outer margin area. + + + + + Specifies the horizontal origin of the object width + + + + + Origin to margin. + + + + + Origin to page. + + + + + Origin to left margin. + + + + + Origin to right margin. + + + + + Origin to inner margin area. + + + + + Origin to outer margin area. + + + + + Specifies the text box border line style. + + + + + A single solid line. + + + + + Double solid lines. + + + + + Thick line next to thin line. For horizontal lines, thick line is below thin line. For vertical lines, thick line is to the right of the thin line. + + + + + Thick line next to thin line. For horizontal lines, thick line is above thin line. For vertical lines, thick line is to the left of the thin line. + + + + + Three solid lines. + + + + + Specifies the text wrap style. + + + + + In line with text. + + + + + Top and bottom. + + + + + Wraps text around the shape. Line continuation is on the opposite side of the shape. + + + + + Places shape in front of text. + + + + + Tight. + + + + + Through. + + + + + Places shape behind text. + + + + + Specifies the text wrapping type. + + + + + Wrap text both sides. + + + + + Wrap text left side only. + + + + + Wrap text right side only. + + + + + Side that is farthest from the page margin. + + + + + Specifies the tab justification. + + + + + Left tab. + + + + + Centered tab. + + + + + Right tab. + + + + + Decimal tab. + + + + + Bar. + + + + + List. + + + + + Specifies the tab leader. + + + + + No leader. + + + + + Dotted leader. + + + + + Hyphenated leader. + + + + + Single line leader. + + + + + Heavy line leader. + + + + + Specifies the table row height type. + + + + + "At least" table row height type + + + + + " Exactly" table row height type + + + + + Specifies the list number alignment. + + + + + Left align. + + + + + Center align. + + + + + Right align. + + + + + Specifies the type of character following the list level number text for the paragraph. + + + + + List levels number or bullet is followed by tab. + + + + + List levels number or bullet is followed by space. + + + + + Follow character isn't used. + + + + + specifies the picture color. + + + + + Picture automatic color. + + + + + Picture gray-scale color. + + + + + Picture black and white color. + + + + + Picture washout color. + + + + + Specifies the type of separator to chapter pages. + + + + + A hyphen. + + + + + A period. + + + + + A colon. + + + + + An emphasized dash. + + + + + A standard dash. + + + + + Specifies the level of the heading. + + + + + No heading level. + + + + + Heading level 1. + + + + + Heading level 2. + + + + + Heading level 3. + + + + + Heading level 4. + + + + + Heading level 5. + + + + + Heading level 6. + + + + + Heading level 7. + + + + + Heading level 8. + + + + + Heading level 9. + + + + + Specifies the type of the break. + + + + + Page break type. + + + + + Column break type. + + + + + Line break type. + + + + + Text wrapping break type. + + + + + Specifies the watermark type. + + + + + No watermark. + + + + + Picture watermark. + + + + + Text watermark. + + + + + Specifies the watermark layout. + + + + + Diagonal watermark layout. + + + + + Horizontal watermark layout. + + + + + Specifies the type of the background. + + + + + No background fill effect. + + + + + Gradient fill effect. + + + + + Picture fill effect. + + + + + Texture fill effect. + + + + + Color fill effect. + + + + + Specifies the shading styles for Gradient background effect. + + + + + Horizontal shading style. + + + + + Vertical shading style. + + + + + Diagonal Up shading style. + + + + + Diagonal Down shading style. + + + + + From Corner shading style. + + + + + From Center shading style. + + + + + Speecifies the shading variants for background gradient. + + + + + Shading in the upper part. + + + + + Shading in the lower part. + + + + + Shading in upper and lower parts. + + + + + Shading in the middle. + + + + + Specifies the type of a form field. + + + + + Text form field. + + + + + Check box form field. + + + + + Drop-down form field. + + + + + Specifies the checkBox size type. + + + + + Auto check box size. + + + + + Exact check box size. + + + + + Specifies the format of the text. + + + + + No text formatting + + + + + Uppercase text formatting. + + + + + Lowercase text formatting. + + + + + First capital text formatting. + + + + + Title case text formatting. + + + + + Specifies the format of the number. + + + + + No formatting + + + + + Format with whole number. + + + + + Format with floating point number. + + + + + Whole number in percents. + + + + + Floating point number in percents. + + + + + Format which suits to "# ##0" Word format. + + + + + Format which suites to "# ##0,00" Word format. + + + + + Format which suites to "# ##0,00 $;(# ##0,00 $)" Word format. + + + + + Specifies the direction of text. + + + + + Text flows horizontally. default. + + + + + Text flows vertically and reads from top to bottom, right to left in order to read Far East Languages. + + + + + Text flows vertically and reads from bottom to top. + + + + + Text flows vertically and reads from top to bottom. + + + + + Text flows horizontally and reads from right to left in order to read Far East Languages. + + + + + Text flows vertically and reads from top to bottom, left to right. + + + + + Specifies the direction of text. + + + + + Text flows in left to right order. + + + + + Text flows in Top to bottom order. + + + + + Text flows in Top to bottom order and rotated. + + + + + Text flows in left to right order and rotated. + + + + + Text flows in right to left order. + + + + + Text flows in right to left order and rotated. + + + + + Specifies the type of field mark. + + + + + Field separator type + + + + + Field end type. + + + + + Specifies the built-in styles. + + + + + Normal style. + + + + + Heading level 1 style. + + + + + Heading level 2 style. + + + + + Heading level 3 style. + + + + + Heading level 4 style. + + + + + Heading level 5 style. + + + + + Heading level 6 style. + + + + + Heading level 7 style. + + + + + Heading level 8 style. + + + + + Heading level 9 style. + + + + + Index 1 style. + + + + + Index 2 style. + + + + + Index 3 style. + + + + + Index 4 style. + + + + + Index 5 style. + + + + + Index 6 style. + + + + + Index 7 style. + + + + + Index 8 style. + + + + + Index 9 style. + + + + + Table of content 1 style. + + + + + Table of content 2 style. + + + + + Table of content 3 style. + + + + + Table of content 4 style. + + + + + Table of content 5 style. + + + + + Table of content 6 style. + + + + + Table of content 7 style. + + + + + Table of content 8 style. + + + + + Table of content 9 style. + + + + + Normal indent style. + + + + + Footnote text style. + + + + + Comment text style. + + + + + Header style. + + + + + Footer style. + + + + + Index heading style. + + + + + Caption style. + + + + + Table of figures style. + + + + + Footnote reference style. + + + + + Comment reference style. + + + + + Line number style. + + + + + Page number style. + + + + + Endnote reference style. + + + + + Endnote text style. + + + + + Table of authorities style. + + + + + Macro text style. + + + + + TOA heading style. + + + + + List style. + + + + + List bullet style. + + + + + List number style. + + + + + List 2 style. + + + + + List 3 style. + + + + + List 4 style. + + + + + List 5 style. + + + + + List bullet 2 style. + + + + + List bullet 3 style. + + + + + List bullet 4 style. + + + + + List bullet 5 style. + + + + + List number 2 style. + + + + + List number 3 style. + + + + + List number 4 style. + + + + + List number 5 style. + + + + + Title style. + + + + + Closing style. + + + + + Signature style. + + + + + Default paragraph font style. + + + + + Body text stye. + + + + + Body text indent style. + + + + + List continue style. + + + + + List continue 2 style. + + + + + List continue 3 style. + + + + + List continue 4 style. + + + + + List continue 5 style. + + + + + Message header style. + + + + + Bub title style. + + + + + Salutation style. + + + + + Date style. + + + + + Body Text 1 style. + + + + + Body Text 2 style. + + + + + Note heading style. + + + + + Body text 2 style. + + + + + Body text 3 style. + + + + + Body text indent 2 style. + + + + + Body text indent 3 style. + + + + + Block text style. + + + + + Hyperlink style. + + + + + Followed hyperlink style. + + + + + Strong style. + + + + + Emphasis style. + + + + + Document map style. + + + + + Plain text style. + + + + + Email signature style. + + + + + Normal web style. + + + + + Html acronym style. + + + + + Html address style. + + + + + Html cite style. + + + + + Html code style. + + + + + Html definition style. + + + + + Html keyboard style. + + + + + Html pre-formatted style. + + + + + Html sample style. + + + + + Html type writer style. + + + + + Html variable style. + + + + + Comment subject style. + + + + + No list style. + + + + + Balloon text style. + + + + + User style. + + + + + No style. + + + + + Specifies the built-in list styles. + + + + + List bullet style. + + + + + List number style. + + + + + List bullet 2 style. + + + + + List bullet 3 style. + + + + + List bullet 4 style. + + + + + List bullet 5 style. + + + + + List number 2 style. + + + + + List number 3 style. + + + + + List number 4 style. + + + + + List number 5 style. + + + + + Specifies the built-in table styles. + + + + + Table normal style. + + + + + Table grid style. + + + + + Light shading style. + + + + + Light shading accent 1 style. + + + + + Light shading accent 2 style. + + + + + Light shading accent 3 style. + + + + + Light shading accent 4 style. + + + + + Light shading accent 5 style. + + + + + Light shading accent 6 style. + + + + + Light List style. + + + + + Light list accent 1 style. + + + + + Light list accent 2 style. + + + + + Light list accent 3 style. + + + + + Light list accent 4 style. + + + + + Light list accent 5 style. + + + + + Light list accent 6 style. + + + + + Light grid style. + + + + + Light grid accent 1 style. + + + + + Light grid accent 2 style. + + + + + Light grid accent 3 style. + + + + + Light grid accent 4 style. + + + + + Light grid accent 5 style. + + + + + Light grid accent 6 style. + + + + + Medium shading 1 style. + + + + + Medium shading 1 accent 1 style. + + + + + Medium shading 1 accent 2 style. + + + + + Medium shading 1 accent 3 style. + + + + + Medium shading 1 accent 4 style. + + + + + Medium shading 1 accent 5 style. + + + + + Medium shading 1 accent 6 style. + + + + + Medium shading 2 style. + + + + + Medium shading 2 accent 1 style. + + + + + Medium shading 2 accent 2 style. + + + + + Medium shading 2 accent 3 style. + + + + + Medium shading 2 accent 4 style. + + + + + Medium shading 2 accent 5 style. + + + + + Medium shading 2 accent 6 style. + + + + + Medium list 1 style. + + + + + Medium list 1 accent 1 style. + + + + + Medium list 1 accent 2 style. + + + + + Medium list 1 accent 3 style. + + + + + Medium list 1 accent 4 style. + + + + + Medium list 1 accent 5 style. + + + + + Medium list 1 accent 6 style. + + + + + Medium list 2 style. + + + + + Medium list 2 accent 1 style. + + + + + Medium list 2 accent 2 style. + + + + + Medium list 2 accent 3 style. + + + + + Medium list 2 accent 4 style. + + + + + Medium list 2 accent 5 style. + + + + + Medium list 2 accent 6 style. + + + + + Medium grid 1 style. + + + + + Medium grid 1 accent 1 style. + + + + + Medium grid 1 accent 2 style. + + + + + Medium grid 1 accent 3 style. + + + + + Medium grid 1 accent 4 style. + + + + + Medium grid 1 accent 5 style. + + + + + Medium grid 1 accent 6 style. + + + + + Medium grid 2 style. + + + + + Medium grid 2 accent 1 style. + + + + + Medium grid 2 accent 2 style. + + + + + Medium grid 2 accent 3 style. + + + + + Medium grid 2 accent 4 style. + + + + + Medium grid 2 accent 5 style. + + + + + Medium grid 2 accent 6 style. + + + + + Medium grid 3 style. + + + + + Medium grid 3 accent 1 style. + + + + + Medium grid 3 accent 2 style. + + + + + Medium grid 3 accent 3 style. + + + + + Medium grid 3 accent 4 style. + + + + + Medium grid 3 accent 5 style. + + + + + Medium grid 3 accent 6 style. + + + + + Dark list style. + + + + + Dark list accent 1 style. + + + + + Dark list accent 2 style. + + + + + Dark list accent 3 style. + + + + + Dark list accent 4 style. + + + + + Dark list accent 5 style. + + + + + Dark list accent 6 style. + + + + + Colorful shading style. + + + + + Colorful shading accent 1 style. + + + + + Colorful shading accent 2 style. + + + + + Colorful shading accent 3 style. + + + + + Colorful shading accent 4 style. + + + + + Colorful shading accent 5 style. + + + + + Colorful shading accent 6 style. + + + + + Colorful list style. + + + + + Colorful list accent 1 style. + + + + + Colorful list accent 2 style. + + + + + Colorful list accent 3 style. + + + + + Colorful list accent 4 style. + + + + + Colorful list accent 5 style. + + + + + Colorful list accent 6 style. + + + + + Colorful grid style. + + + + + Colorful grid accent 1 style. + + + + + Colorful grid accent 2 style. + + + + + Colorful grid accent 3 style. + + + + + Colorful grid accent 4 style. + + + + + Colorful grid accent 5 style. + + + + + Colorful grid accent 6 style. + + + + + Table 3 deffects 1 style. + + + + + Table 3 deffects 2 style. + + + + + Table 3 deffects 3 style. + + + + + Table classic 1 style. + + + + + Table classic 2 style. + + + + + Table classic 3 style. + + + + + Table classic 4 style. + + + + + Table colorful 1 style. + + + + + Table colorful 2 style. + + + + + Table colorful 3 style. + + + + + Table columns 1 style. + + + + + Table columns 2 style. + + + + + Table columns 3 style. + + + + + Table columns 4 style. + + + + + Table columns 5 style. + + + + + Table contemporary style. + + + + + Table elegant style. + + + + + Table grid 1 style. + + + + + Table grid 2 style. + + + + + Table grid 3 style. + + + + + Table grid 4 style. + + + + + Table grid 5 style. + + + + + Table grid 6 style. + + + + + Table grid 7 style. + + + + + Table grid 8 style. + + + + + Table list 1 style. + + + + + Table list 2 style. + + + + + Table list 3 style. + + + + + Table list 4 style. + + + + + Table list 5 style. + + + + + Table list 6 style. + + + + + Table list 7 style. + + + + + Table list 8 style. + + + + + Table professional style. + + + + + Table simple 1 style. + + + + + Table simple 2 style. + + + + + Table simple 3 style. + + + + + Table subtle 1 style. + + + + + Table subtle 2 style. + + + + + Table theme style. + + + + + Table web 1 style. + + + + + Table web 2 style. + + + + + Table web 3 style. + + + + + Defines conditional formatting styles type. + + + + + The first row + + + + + The last row + + + + + The odd row banding + + + + + The even row banding + + + + + The first column + + + + + The last column + + + + + The odd column banding + + + + + The even column banding + + + + + The first row last cell + + + + + The first row first cell + + + + + The last row last cell + + + + + The last row first cell + + + + + + + + + + Specifies the number style for a page. + + + + + Arabic. + + + + + Upper case roman. + + + + + Lower case roman. + + + + + Upper case letter. + + + + + Lower case letter. + + + + + Specifies the page number alignment. + + + + + Left alignment. + + + + + Center alignment. + + + + + Right alignment. + + + + + Inside alignment. + + + + + Outside alignment. + + + + + Specifies the horizontal frame anchor. + + + + + Specifies the vertical frame anchor. + + + + + Specifies the vertical frame position. + + + + + Specifies the XHTML validation type. + + + + + XHTML 1.0 validation. It does not allows the attributes inside the tag. + + + + + XHTML 1.1 validation. It allows several attributes within the tags. + + + + + No validation. It does not perform any schema validation, but the given HTML content should have proper open and close tags. + + + + + Specifies the type of grid pitch. + + + + + The no grid + + + + + The chars and line + + + + + The lines only + + + + + The snap to chars + + + + + Specifies the document creation version. + + + + + Document created using Word 97 + + + + + Document created using Word 2000 + + + + + Document created using Word 2002 + + + + + Document created using Word 2003 + + + + + Document created using Word 2007 + + + + + Specifies the type of comment mark. + + + + + Comment start mark type. + + + + + Comment end mark type + + + + + Specifies the type of the ole object field. + + + + + Ole object field type is EMBED. + + + + + Ole object field type is LINK. + + + + + Specifies the type of OLE object. + + + + + Type is not defined. + + + + + Adobe Acrobat Document. File has ".pdf" extension. + + + + + Bitmap Image. File has ".png" extension. + + + + + Media Clip. + + + + + Equation. + + + + + Graph Chart. + + + + + Excel 97-2003 Worksheet. File has ".xls" extension. + + + + + Excel Binary Worksheet. File has ".xlsb" extension. + + + + + Excel chart. File has ".xls" extension. + + + + + Excel Macro-Enabled Worksheet. File has ".xlsm" extension. + + + + + Excel Worksheet. File has ".xlsx" extension. + + + + + PowerPoint 97-2003 Presentation. File has ".ppt" extension. + + + + + PowerPoint 97-2003 Slide. File has ".sld" extension. + + + + + PowerPoint Macro-Enabled Presentation. File has ".pptm" extension. + + + + + PowerPoint Macro-Enabled Slide. File has ".sldm" extension. + + + + + PowerPoint Presentation. File has ".pptx" extension. + + + + + PowerPoint Slide. File has ".sldx" extension. + + + + + Word 97-2003 Document. File has ".doc" extension. + + + + + Word Document. File has ".docx" extension. + + + + + Word Macro-Enabled Document. File has ".docm" extension. + + + + + Visio Deawing. + + + + + MIDI Sequence. + + + + + OpenDocument Presentation. + + + + + OpenDocument Spreadsheet. + + + + + OpenDocument Text. + + + + + OpenOffice.org 1.1 Spreadsheet. + + + + + OpenOffice.org 1.1 Text. + + + + + Package. + + + + + Video Clip. + + + + + Wave Sound. + + + + + WordPad Document. + + + + + OpenOffice spreadsheet. + + + + + OpenOffice Text. + + + + + Specifies the type of the ole object update mode. + + + + + The object is updated when the object's application indicates there is new data available. + + + + + The object is updated when the user chooses to update it. + + + + + Specifies the image type. + + + + + Meta file. + + + + + Bitmap. + + + + + Specifies the Rtf table type. + + + + + Font table collection + + + + + List table collection + + + + + Color table collection + + + + + List override collection + + + + + Style sheet collection + + + + + No table collection + + + + + Specifies the Rtf token type. + + + + + Group start. + + + + + Group end. + + + + + Control word. + + + + + Text. + + + + + Table entry. + + + + + Unknown. + + + + + Specifies the type of the field character. + + + + + Field begin. + + + + + Field separator. + + + + + Field end. + + + + + Field unknown. + + + + + simple field. + + + + + Specifies the ligature type. + + + + + Does not apply any ligatures to the font. + + + + + Applies standard ligatures to the font. Standard ligatures are designed to enhance readability. Standard ligatures in Latin languages include "fi", "fl", and "ff", for example. + + + + + Applies contextual ligatures to the font. Contextual ligatures are often designed to enhance readability, but may also be solely ornamental. Contextual ligatures may also be contextual alternates. + + + + + Applies standard and contextual ligatures to the font. + + + + + Applies historical ligatures to the font. Historical ligatures are similar to standard ligatures in that they were originally intended to improve the readability of the font, but may look archaic to the modern reader. + + + + + Applies standard and historical ligatures to the font. + + + + + Applies contextual and historical ligatures to the font. + + + + + Applies standard, contextual, and historical ligatures to the font. + + + + + Applies discretional ligatures to the font. Discretional ligatures are most often designed to be ornamental at the discretion of the type developer. + + + + + Applies standard and discretional ligatures to the font. + + + + + Applies contextual and discretional ligatures to the font. + + + + + Applies standard, contextual and discretional ligatures to the font. + + + + + Applies historical and discretional ligatures to the font. + + + + + Applies standard historical and discretional ligatures to the font. + + + + + Applies contextual, historical, and discretional ligatures to a font. + + + + + Applies all types of ligatures to the font. + + + + + Specifies the number form type. + + + + + The default + + + + + The lining + + + + + The old style + + + + + Specifies the number spacing type. + + + + + The default + + + + + The proportional + + + + + The tabular + + + + + Specifies the stylistic set type. + + + + + The stylistic set default + + + + + The stylistic set01 + + + + + The stylistic set02 + + + + + The stylistic set03 + + + + + The stylistic set04 + + + + + The stylistic set05 + + + + + The stylistic set06 + + + + + The stylistic set07 + + + + + The stylistic set08 + + + + + The stylistic set09 + + + + + The stylistic set10 + + + + + The stylistic set11 + + + + + The stylistic set12 + + + + + The stylistic set13 + + + + + The stylistic set14 + + + + + The stylistic set15 + + + + + The stylistic set16 + + + + + The stylistic set17 + + + + + The stylistic set18 + + + + + The stylistic set19 + + + + + The stylistic set20 + + + + + Specifies the compatibility types. + + + + + Don't add automatic tab stop for hanging indent. + + + + + Don't add extra space for raised/lowered characters. + + + + + Print colors as black on noncolor printers. + + + + + Wrap trailing spaces to next line. + + + + + Don't balance columns for continuous section starts. + + + + + Treat \" as "" in mail merge data sources. + + + + + Suppress Space Before after a hard page or column break. + + + + + Suppress extra line spacing at top of page. + + + + + Combine table borders like Word 5.x for the Macintosh. + + + + + Truncate font height. + + + + + Show hard page or column breaks in frames. + + + + + Swap left and right borders on odd facing pages. + + + + + Convert backslash characters into yen signs. + + + + + Don't expand character spaces on the line ending Shift+Return. + + + + + Draw underline on trailing spaces. + + + + + Balance SBCS characters and DBCS characters. + + + + + Suppress extra line spacing at top of page like Word 5.x for the Macintosh. + + + + + Specifies whether line spacing emulates WordPerfect 5.x line spacing + + + + + Print body text before header/footer. + + + + + Don't add leading (extra space) between rows of text. + + + + + Add space for underline. + + + + + Use larger small caps like Word 5.x for the Macintosh. + + + + + Suppress extra line spacing like WordPerfect 5.x. + + + + + Truncate font height. + + + + + Substitute fonts based on font size. + + + + + Use printer metrics to lay out document. + + + + + Use Word 6.x/95 border rules. + + + + + Don't center "exact line height" lines. + + + + + Set the width of a space like WordPerfect 5.x. + + + + + Do full justification like WordPerfect 6.x for Windows. + + + + + Line wrap like Word 6.0. + + + + + Lay out autoshapes like Word 97. + + + + + Lay out footnotes like Word 6.x/95/97. + + + + + Don't use HTML paragraph auto spacing. + + + + + Adjust line height to grid height in the table. + + + + + Forget last tab alignment. + + + + + Specifies whether to emulate Word for Windows 95 full-width character spacing + + + + + Slign table rows independently. + + + + + Lay out tables with raw width. + + + + + Allow table rows to lay out apart. + + + + + Use Word 97 line breaking rules for Asian text. + + + + + Don't break wrapped tables across pages. + + + + + Don't snap text to grid inside table with inline objects. + + + + + Select entire field with first or last character. + + + + + Use line-breaking rules. + + + + + Don't allow hanging punctuation with character grid. + + + + + Don't use Asian rules for line breaks with character grid. + + + + + Use Word 2002 table style rules. + + + + + Allow tables to extend into margins. + + + + + Use the Normal style instead of the List Paragraph style for bulleted or + numbered lists. + + + + + Do not use hanging indent as tab stop for bullets and numbering. + + + + + Use Word 2003 hanging-punctuation rules in Asian langauges. + + + + + Allow space between paragraphs of the same style in a table. + + + + + Use Word 2003 indent rules for text next to wrapped objects. + + + + + Do not autofit tables next to wrapped objects. + + + + + Use Microsoft Office Word 2003 table autofit rules. + + + + + Underline the tab character between the number and the text in numbered lists. + + + + + Do not use proportional width for Korean characters. + + + + + Split apart page break and paragraph mark. + + + + + Specifies whether to not vertically align cells containing floating objects + + + + + Specifies whether to not break table rows around floating tables + + + + + Specifies whether to ignore vertical alignment in text boxes + + + + + Specifies whether to use ANSI kerning pairs from fonts instead of the Unicode kerning pair info + + + + + Specifies whether to use cached paragraph information for column balancing + + + + + specifies whether to apply the additional preceding rules when determining the font size and justification of text within tables. + + + + + specifies whether the preceding features are to be used when displaying the font. + + + + + specifies whether to swap indentation values when displaying paragraphs. + + + + + conditional formatting of table row headers does apply separately to multi-row table headers + + + + + Specifies the compatibility mode that uses when opening a document. + + + + + Features new to Word 2007 and later are disabled in this mode. + + + + + Features new to Word 2010 and later are disabled in this mode. + + + + + All Word 2010 features are enabled. + + + + + Default. All Word 2013 features are enabled. Also Word 2016 have similar features of Word 2013 and it doesn't have any difference. + + + + + Specifies the text effect for the revised text + + + + + Specifies that the revised text has no special effects + + + + + Applies bold for the revised text + + + + + Applies italic for the revised text + + + + + Applies underline style for the revised text + + + + + Applies strike through for the revised text + + + + + Specifies the track changes revision color. + + + + + Represents 2e97d3 for insert text, else 1b9cab color. + + + + + Represents 000000 color. + + + + + Represents 2e97d3 color. + + + + + Represents 84a35b color. + + + + + Represents 376e96 color. + + + + + Represents 881824 color. + + + + + Represents e09a2b color. + + + + + Represents a0a3a9 color. + + + + + Represents 50565e color. + + + + + Represents 2c6234 color. + + + + + Represents ce338f color. + + + + + Represents b5082e color. + + + + + Represents 1b9cab color. + + + + + Represents 3eafc2 color. + + + + + Represents 633277 color. + + + + + Represents ffffff color. + + + + + Represents fad272 color. + + + + + Represents 2e97d3 for insert text, else 1b9cab color. + + + + + Represents ff0000 color. + + + + + Represents 0000ff color. + + + + + Specifies the rendering options for document comments. + + + + + No document comments are rendered. + + + + + Renders document comments in balloons. + + + + + Specifies the track changes revision markup. + + + + + No revision + + + + + Insertion revision type + + + + + Deletion revision type + + + + + Formatting revision type + + + + + StyleDefinition revision type + + + + + MoveFrom revision type + + + + + MoveTo revision type + + + + + Revisions to preserve in track changes ballloons + + + + + Renders revisions in inline in the PDF. + + + + + Renders deleted markup balloon in PDF. + CaptionEscapeDirectionCaptionEscapeDirection + + + + Renders formatting markup balloon in PDF. + + + + + Specifies the Import options. + + + + + Imports the contents from the source document, applies the default style (Normal), and preserves all other formatting as direct formatting in order to preserve the contents as in source document. + + + + + Imports the contents of the source document to the destination document, and applies the formatting of surrounding content to the destination document. + + + + + Imports only the text from the source document to the destination document. + + + + + Imports the contents of the source document to the destination document, and applies the styles present in the destination document, or imports the source style to the destination document when there is no style with the same name in the destination document. + + + + + Imports the contents of the source document to the destination document, and continues the list numbering. + + + + + Imports the contents of the source document to the destination document, and restarts the list numbering. + + + + + Represents the node types of CustomXMLNode. + + + + + Represents Element node type. + + + + + Represents Attribute node type. + + + + + Represents Text node type. + + + + + Represents Document node type. + + + + + Specifies the warning type element names + + + + + Date and Time + + + + + Annotation reference + + + + + Comment + + + + + Current section number + + + + + Custom shape + + + + + Group shape + + + + + Line number + + + + + Mathematical text + + + + + OLE object + + + + + Page number + + + + + Shape + + + + + Print merge helper field + + + + + SmartArt diagram + + + + + Track changes + + + + + Text box + + + + + WordArt + + + + + Watermark + + + + + Specifies the types of emphasis marks which can be displayed for each non-space character. + + + + + No Emphasis Mark + + + + + Dot Emphasis Mark Above Characters + + + + + Comma Emphasis Mark Above Characters + + + + + Circle Emphasis Mark Above Characters + + + + + Dot Emphasis Mark Below Characters + + + + + Specifies the text rendering direction + + + + + Left to Right + + + + + Right to left + + + + + Document's AbsoluteTab Relation. + + + + + Relative to margin. + + + + + Relative to indent. + + + + + Document's AbsoluteTab Relation. + + + + + left alignment. + + + + + center alignment. + + + + + right alignment. + + + + + The none + + + + + The round + + + + + The square + + + + + The angle + + + + + The curly + + + + + Specifies the data type of external data source. + + + + + Specifies the possible results which may be generated when a mail merge is carried out on a document. + + + + + Specifies the possible types for a mail merge source document. + + + + + Specifies how Microsoft Word will report errors detected during mail merge. + + + + + Specifies the AutoFitType + + + + + Fit the contents respect to contents. + + + + + Fit the contents respect to window/pagewidth. + + + + + Fit the contents respect to fixed column width. + + + + + Specifies the printer paper tray. + + + + + The default bin + + + + + The only bin + + + + + The lower bin + + + + + The middle bin + + + + + The manual feed + + + + + The envelope feed + + + + + The manual envelope feed + + + + + The automatic sheet feed + + + + + The tractor feed + + + + + The small format bin + + + + + The large format bin + + + + + The large capacity bin + + + + + The paper cassette + + + + + The form source + + + + + + + + + + + + + + + Determines whether [is pattern empty] [the specified pattern]. + + The pattern. + + true if it is the specified pattern empty, set to true. + + + + + Strings to regex. + + The given. + if it is case sensitive, set to true. + if it is specified to search a whole word, set to true. + + + + + Gets the start index of the range. + + The paragraph. + The start. + The Text Range. + + + + + Ensures both and have same owner information. + + Starting text range of the text to find. + Ending text range of the text to find. + Returns true if start and end text ranges are from same owner, else returns false + Ensures the start and end text ranges are in same paragraph or same inline content control, + and also ensures there is no inline content control in between them. + + + + Get the start index of the range, inside inline content control. + + of that need to check. + Position value to find the text range. + Object to hold the found . + Returns start index and also that text range element, which has position value. + + + + + + + + + TextFinder variable. + + + + + Finds the text by specified pattern. + + The paragraph. + The pattern. + if it is only first match, set to true. + + + + + Finds the text by specified pattern. + + The paragraph. + The pattern. + if it is only first match, set to true. + + + + + Constructs a text representation of the provided paragraph with spaces added at specified positions + + + + + Finds the in items. + + The paragraph item collection to find inside the items. + The pattern. + if it is only first match, set to true. + The selections. + + + + Gets the text body of paragraph item. + + The item. + + + + + Finds the text by specified pattern in single-line mode. + + The text body. + The pattern. + + + + + Finds the text by specified pattern in single-line mode. + + The text body. + The pattern. + The start index. + The end index. + + + + + Finds the in items. + + The paragraph. + The pattern. + The start index. + The end index. + + + + + Finds the single-line text by pattern. + + The pattern. + + + + + Finds the text by specified pattern in table using single-line mode. + + The tables. + The pattern. + + + + + Forms the list of text selections. + + The paragraphs. + The match. + + + + + Close this instance. + + + + + Gets the instance of TextReplacer. + + The instance. + + + + + + + + + Class provides replacing method for the specified paragraph + + + + + TextReplacer variable. + + + + + Replaces the specified paragraph. + + The paragraph. + The pattern. + The replace. + + + + + Ensures whether start and end text range are from same owner. + + Represents a paragraph to find the text ranges. + Starting character position from matched text. + Ending character position from matched text. + Starting text range, to perform further operations. + Index of starting text range, to perform further operations. + + + + + Replaces the in items. + + A to perform replacement in its items. + The pattern. + The replacement. + + + + + Replaces the single line. + + The find text. + The replacement. + + + + Replaces the single=line selection with TextSelection. + + Single-line selection to replace. + The replacement. + + + + Replaces the single-line selection with TextBodypart. + + Single-line selection to replace. + The replacement. + + + + Removes the owner paragraph from selection in case paragraph is empty. + + The selection. + + + + Removes the internal items. + + A to remove internal items from the start index + + Start index of the range. + + + + + Corrects the next items. + + Item which position value is changed recently. + The start index. + The offset. + + + + Gets the instance of TextReplacer. + + The instance. + + + + The exception that is thrown when a layouting error occurs. + + + + + Default exception message. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The inner exc. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner exc. + + + + Initializes a new instance of the class. + + The object that holds the serialized object data. + The contextual information about the source or destination. + + + + The exception that is thrown when a layouting error occurs. + + + + + Default exception message. + + + + + Default constructor. + + + + + Initializes a new instance of the class. + + The inner exc. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner exc. + + + + Summary description for TableLayoutInfo. + + + + + Gets or sets the width. + + The width. + + + + Gets the height. + + The height. + + + + Gets or sets the width of the cells. + + The width of the cells. + + + + Gets the headers row count. + + The headers row count. + + + + Gets the is default cells. + + The is default cells. + + + + Gets or sets if the table is splitted + + + + + Gets the cell spacings. + + The cell spacings. + + + + Gets the cell paddings. + + The cell paddings. + + + + Class representing the layout area. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The area. + + + + Initializes a new instance of the class. + + The area. + The spacings. + + + + Cuts from left. + + The x. + + + + Cuts from left. + + The x. + + + + Updates the dynamic relayout bounds. + + The x. + The y. + if set to true [is need to update width]. + The width. + + + + Cuts from top. + + The y. + + + + Cuts from top. + + The y. + + + + Cuts from top. + + The y. + The footnote height. + Is skip to update the Y position. + + + + Cuts from top. + + + + + When second layouting occurs the clientactivearea has assigned a new value. + + + + + Updates the client area. + + + + + + + + + + Update Bounds based on Text Wrap + + + + + + + Updates the Width + + + + + + Updates the left position + + + + + + Gets the width. + + The width. + + + + Gets the height. + + The height. + + + + Gets or sets a value indicating whether [skips subtract when invalid parameter]. + + + true if [skips subtract when invalid parameter]; otherwise, false. + + + + + Gets the margins. + + The margins. + + + + Gets the paddings. + + The paddings. + + + + Gets the outer area. + + The outer area. + + + + Gets the client area. + + The client area. + + + + Gets the client active area. + + The client active area. + + + + Summary description for ILayoutedRange. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the footnote textbody height of the current line + + + + + Specifies the endnote textbody height of the current line + + + + + Specifies the any of floating item intersects in current line. + + + + + Specifies the document has track changes. + + + + + Specifies the text range has RTL text. + + + + + Initializes a new instance of the class. + + The widget. + + + + Initializes a new instance of the class. + + The widget. + + + + Initializes a new instance of the class. + + The widget. + The location. + + + + Get the footnote textbody height + + + + + + + Get the footnote textbody height + + + + + + + Retreive pagragraphs present in the cells. + + paragraph widget of cells + + + + Determines whether the given widget is Table widget or not. + + The widget. + + + + + Gets the frame clip bounds + + Current paragraph widget bounds + Current paragraph paragraph format + Paragrph layoutinfo + + + + + Checks the type of the widget. + + The widget. + + + + + Initializing LayoutInfo value to null + + + + + Initializing LayoutInfo value to null for textwrap elements + + + + + Initializes the layout information all. + + + + + + + + + + + + + + Shifts the location. + + The x offset. + The y offset. + + + + Determines whether the floating items need to be align or not. + + + + + + Determines whether the floatting item need to be align or not based on the compatibility mode. + + The compatibility mode. + if set to true [dont vert align cell with sp]. + if set to true [layout in cell]. + + + + + Shifts the location. + + The X offset + The y offset.s + Height of the footer. + Height of the page. + + + + Shifts the location. + + The x offset. + The y offset. + if set to true [is picture need to be shifted]. + Height of the footer. + Height of the page. + + + + Updates the text wrapping bounds for a layouted floating items. + + The layouted widget. + The document layouter containing the floating items. + + + + Retrieves the distance values for wrapping around a widget. + + The widget for which to retrieve distance values. + Reference to the distance from the left side. + Reference to the distance from the right side. + Reference to the distance from the top side. + Reference to the distance from the bottom side. + + + + The absolute table shifted based on bottom if absolute table bottom exceeded the page bottom. + + The widget + The x offset. + + + + The absolute table shifted based on bottom if absolute table bottom exceeded the page bottom. + + The widget + The x offset. + + + + Shifts the location of CommentsMarkUp. + + The x offset. + The y offset. + Collection of markups. + + + + Get the groupShape width before shrink + + + + + + + Get the groupShape width before shrink + + + + + + + Get the extension width and height of group shape + + + + + + + + + Get the base entity + + + + + + + Update Layouted Widget Bounds for the Nested Table + + + + Owner cell Width + Owner cell Height + + + + Get owner textbody bounds + + Returns owner textbody bounds + + + + Determine Whether the layouted Widget Bounds is need to be update or not. + + + + + + + Aligns the bottom. + + The g. + + + + Checks whether the paragraph is list paragraph. + + Return True,if the paragraph is list paragraph; Else false. + + + + Check we need to update the List Y Position. + + Return True,if the paragraph have child entities; Else false. + + + + Check whether the line contains picture + + + + + + Determines whether the paragraph has no valid items. + + + + + + Shifts the line child widgets based on top Ascent value + + Drawing context + Maximum Ascent + Top line space + Maximum height + Extra line ascent + Refers the inline floating item is inside the line when the paragraph line spcing rule is exactly + + + + Get the text ascent value for the math widget. + + Indicates the layouted MathWidget. + Drawing Context to get decent value. + + + + + Shifts the Y for the list value based on top Ascent value. + + Drawing context + Maximum Ascent + Top line space + Maximum height + Extra line ascent + + + + Shifts the Y position. + + Drawing context + Text ascent + Maximum ascent + Top line space + Maximum height + Exceeded line ascent + Extra line ascent + Character format + Layoute widget (shifts Y position based on layouted widget) + Size (shifts Y position based on List value) + + + + Detetmines whether the line contains the raised position. + + + + + Determines whether it is maximum height in line or not. + + Drawing context + Height + Returns true if height is maximum + + + + Determines whether the MathML item exist in line or not. + + Returns true if contains Math in a line. + + + + Gets the paragraph. + + The widget. + + + + + Calculates the max child widget. + + The g. + Height of the max. + The max ascent. + + + + Checks whether paragraph has only tabs. + + + + + + Gets field for current widget. + + + + + + Determines whether the field code paragraph height is need to skip or not. + + + + + + Determines whether [is inline floating item] [the specified item]. + + The item. + + + + + Aligns the Center + + The Custom graphics. + Width of the sub + is for center align + + + + Aligns the Right + + The Custom graphics. + Width of the sub + is for center align + + + + Aligns the Right + + The Custom graphics. + Width of the sub + + + + Consider valuable right positon in layputed widget collection for right alignment + + + + + + + Aligns the justify. + + The custom graphics. + Width of the sub. + + + + Check wether the next layouted widget's has renderable content whose width is greater than zero + + + + + + + + Get index of the tab from the current line + + + + + + Get the Text Range + + + + + + + Decides whether document is not Word 2013 compatible. + + + + + + Get Space Delta + + + + + + + + + + Updates the para first line horizontal positions. + + The paragraph information. + The widget. + The x. + The width. + + + + Determines whether it includes the specified widget in line height. + + The widget. + + + + + Determines whether it includes the specified text widget in line height. + + The widget. + + + + + Gets or sets the prev tab justification. + + The prev tab justification. + + + + Gets or sets the no. of spaces + + + + + True, if it is last line of the paragraph + + + + + Gets or Sets the SubWidth + + + + + Gets or sets the HorizontalAlignment + + + + + Gets or sets the Extra Wordspace, needs to be added while justifying + + + + + Gets or sets the text tag. + + The text tag. + + + + + + + + + + + + + + + + + + + Gets or sets Character Range Type in the widget + + + + + Gets or sets Owner Layouted Widget + + + + + + + Indicate the word which contains trimmed empty spaces charcters at end + + + + + It holdes the floating item bounds which are instersecting current line. + + + + + Represents the collection of layouted widget. + + + + + Represent the layouted widget of WMath instance. + + + + + Initializes a new instance of the class with the + specified instance. + + Represent the WMath instance + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Disposes the instances. + + + + + Shifts the X,Y position of LayoutedMathWidget. + + Represents the X position to Shift. + Represents the Y position to Shift. + Decides to update owner containder bounds or not. + + + + Shifts the X,Y position of LayoutedMathWidget. + + Represents the X position to Shift. + Represents the Y position to Shift. + + + + Gets the Ascent or center point of the layouted math widget. + + + + + + Gets the child elements of the LayoutedMathWidget. Read-only + + The layouted widget collection of WMath child elements. + + + + Represent the layouted widget of OfficeMath instance. + + + + + Initializes a new instance of the class with the + specified instance. + + Represent the IOfficeMath instance + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Disposes the instances. + + + + + Shifts the X,Y position of Layouted OfficeMath Widget. + + Represents the X position to Shift. + Represents the Y position to Shift. + Decides to update owner containder bounds or not. + + + + Shifts the X,Y position of Layouted OfficeMath Widget. + + Represents the X position to Shift. + Represents the Y position to Shift. + + + + Gets the vertical center point of a layouted office math widget. + + Represent the layouted office math widget to find. + Returns the vertical center point of an LayoutedOMathWidget. + + + + Gets the vertical center point of a layouted office math widget. + + Represent the layouted office math widget to find. + Represent the maximum height widget index in LayoutedOMathWidget collection. + Returns the vertical center point of an LayoutedOMathWidget. + + + + Gets the center point of a specified math function. + + Represent the layouted widget of an function to find the center point. + Returns the center point of an function. + + + + Gets the child elements of the LayoutedOMathWidget. Read-only + + The layouted widget collection of OfficeMath child elements. + + + + Gets or Sets the bounds of a LayoutedOMathWidget + + The rectangle bounds of LayoutedOMathWidget. + + + + Gets the widget (IOfficeMath Entity) of the corresponding LayoutedOMathWidget. Read-only + + The of the layouted widget. + + + + Gets or Sets the Owner layouted widget. + + + + + Represent the layouted widget of OfficeMathFunctionBase instance. + + + + + Represent the interface of LayoutedFuntionWidget instance. + + + + + Shift the corresponding layouted funtion widget's X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Gets the widget (IOfficeMathFunctionBase Entity) of the corresponding LayoutedFuntionWidget. Read-only + + The of the layouted widget. + + + + Gets or Sets the bounds of a LayoutedFuntionWidget + + The rectangle bounds of LayoutedFuntionWidget. + + + + Gets or Sets the Owner layouted widget. + + + + + Initializes a new instance of the class with the + specified instance. + + Represent the IOfficeMathFunctionBase instance + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Gets the widget (IOfficeMathFunctionBase Entity) of the corresponding LayoutedFuntionWidget. Read-only + + The of the layouted widget. + + + + Gets or Sets the bounds of a LayoutedFuntionWidget + + The rectangle bounds of LayoutedFuntionWidget. + + + + Gets or Sets the Owner layouted widget. + + + + + Represent the layouted widget of OfficeMathRunElement instance. + + + + + Initializes a new instance of the class with the + specified instance. + + Represent the IOfficeMathFunctionBase instance + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Gets the widget (IOfficeMathFunctionBase Entity) of the corresponding LayoutedFuntionWidget. Read-only + + The of the layouted widget. + + + + Gets or Sets the of corrsponding run element. + + The represents a layouted widget of a run element. + + + + Gets or Sets the Owner layouted widget. + + + + + Represent the layouted widget of OfficeMathFraction instance. + + + + + Initializes a new instance of the class with the + specified instance. + + Represent the IOfficeMathFunctionBase instance + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the layouted widget of a Numerator. + + + + + Represent the layouted widget of a Denominator. + + + + + Represent the layouted widget of a FractionLine. + + + + + Represent the layouted widget of OfficeMathDelimiter instance. + + + + + Initializes a new instance of the class with the + specified instance. + + Represent the IOfficeMathFunctionBase instance + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the layouted widget of a BeginCharacter. + + + + + Represent the layouted widget of a EndCharacter. + + + + + Represent the layouted widget of a Seperator. + + + + + Represent the layouted widget of a Equation. + + + + + Represent the layouted widget of OfficeMathDelimiter instance. + + + + + Initializes a new instance of the class with the + specified instance. + + Represent the IOfficeMathFunctionBase instance + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Gets/Sets whether to show the equation or not. + + + + + Represent the layouted widget of a Equation. + + + + + Represent the layouted widget of OfficeMathRadical instance. + + + + + Initializes a new instance of the class with the + specified instance. + + Represent the IOfficeMathFunctionBase instance + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the layouted widget of a Degree. + + + + + Represent the layouted widget of a Equation. + + + + + Represent the layouted widget of a RadicalLines. + + + + + Represent the layouted widget of OfficeMathLimit instance. + + + + + Initializes a new instance of the class with the + specified instance. + + + + + + Initializes a new instance of the class by cloning the + specified instance. + + + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the layouted widget of the Limit. + + + + + Represent the layouted widget of the Equation widget. + + + + + Represent the layouted widget of OfficeMathBox instance. + + + + + Initializes a new instance of the class with the + specified instance. + + + + + + Initializes a new instance of the class by cloning the + specified instance. + + + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the layouted widget of the Equation widget. + + + + + Represent the layouted widget of OfficeMathScript instance. + + + + + Initializes a new instance of the class with the + specified instance. + + Represent the IOfficeMathFunctionBase instance + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the layouted widget of a Superscript. + + + + + Represent the layouted widget of a Subscript. + + + + + Represent the layouted widget of a Equation. + + + + + Represent the layouted widget of OfficeMathNArray instance. + + + + + Initializes a new instance of the class with the + specified instance. + + Represent the IOfficeMathFunctionBase instance + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the layouted widget of a Superscript. + + + + + Represent the layouted widget of a Subscript. + + + + + Represent the layouted widget of a Equation. + + + + + Represent the layouted widget of a NArrayCharacter. + + + + + Represent the layouted widget of OfficeMathFunction instance. + + + + + Initializes a new instance of the class with the + specified instance. + + + + + + Initializes a new instance of the class by cloning the + specified instance. + + + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the layouted widget of the Function name widget. + + + + + Represent the layouted widget of the Equation widget. + + + + + Represent the scaling factor of the accent character. + + + + + Represent the layouted widget of OfficeMathFunction instance. + + + + + Initializes a new instance of the class with the + specified instance. + + + + + + Initializes a new instance of the class by cloning the + specified instance. + + + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the layouted widget of the Function name widget. + + + + + Represent the layouted widget of the Equation widget. + + + + + Represent the scaling factor of the accent character. + + + + + Represent the layouted widget of Line, thats used in MathML. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the bounds of a layouted string. + + + + + Represent the Text of a layouted string. + + + + + Represent the Font of a layouted string. + + + + + Represent whether current layouted string widget is stretchable or not. + + + + + Represent the layouted widget of OfficeMathFunction instance. + + + + + Initializes a new instance of the class with the + specified instance. + + + + + + Initializes a new instance of the class by cloning the + specified instance. + + + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the layouted widget of the Function name widget. + + + + + Represent the layouted widget of the Equation widget. + + + + + Represent the layouted widget of OfficeMathBorderBox instance. + + + + + Initializes a new instance of the class with the + specified instance. + + + + + + Initializes a new instance of the class by cloning the + specified instance. + + + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Gets or sets a value that represents a BorderPoints + + + + + Specifies a object that represents the base of the specified equation object. + + + + + Represent the layouted widget of OfficeMathEquationArray instance. + + + + + Initializes a new instance of the class with the + specified instance. + + Represent the IOfficeMathFunctionBase instance + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the layouted widget of a Equation. + + + + + Represent the layouted widget of OfficeMathBar instance. + + + + + Initializes a new instance of the class with the + specified instance. + + + + + + Initializes a new instance of the class by cloning the + specified instance. + + + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Gets or sets a value that represents a BorderPoints + + + + + Specifies a object that represents the base of the specified equation object. + + + + + Represent the layouted widget of OfficeMathMatrix instance. + + + + + Initializes a new instance of the class with the + specified instance. + + + + + + Initializes a new instance of the class by cloning the + specified instance. + + + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the layouted widget of Line, thats used in MathML. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class by cloning the + specified instance. + + Represent the source widget to get clone + + + + Shift the layouted widget X,Y positions. + + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Disposes the instances. + + + + + Represent the starting point of a layouted line. + + + + + Represent the ending point of a layouted line. + + + + + Represent the color of a layouted line. + + + + + Represent the width of a layouted line. + + + + + Represent whether to skip the line or not. + + + + + Class represents the layouter. + + + + + Represents an layouting operator. + + + + + Sends the event that current leaf widget lay outed complete. + + The widget. + + + + Gets or sets the custom graphics. + + The custom graphics. + + + + + + + + + Client LayoutArea + + + + + Page Top margin of the client area + + + + + + + + Holds the table of content + + + + + Layout specified widget container. + Method use ILayoutProcessHandler for control layout process + + The widget. + The handler. + The dc. + + + + Removes the layouted footnote widget from the page once dynamic relayout starts at the intersection points. + + + + + Remove split string widgets from the first paragraph of current page. + + ltwidget of current page. + Here, we removed the skipped widgets of LCLineContainer.ChangeChildsAlignment method. + + + + Layout a content in the track changes balloon. + + + + + Gets the balloon layoutted widget + + + + + + + + Gets the balloon y position. + + + + + + Adjust the balloon position for the multiple balloons in same line of track changes. + + + + + + check whether the current widget is need to be layout + + + + + + + + + Sends the event that current leaf widget lay outed complete. + + The widget. + + + + Resets the flags which are all used for word layouting funtionality + + + + + + + + Gets the left margin of section based on mirror margin property. + + + + + + + Gets the Right margin of section based on mirror margin property. + + + + + + + Gets the height of the header on the current page. + + + + + + Gets the current page right position value. + + Right Margin position value. + + + + + + + + + Gets or set the previous layouted widget + + + + + Gets or Sets the frame bounds. + + Holds the overall floating frame bounds and it will reset once frame bounds added to floatingItems collection + + + + Gets or sets that the value indicating whether currently layouting Vertical Merge Start cell or not. + + + + + Gets and set the IsNeedToRestartFootnote + + + + + Gets and set the m_canSplitbyCharacter + + + + + Gets and set the m_canSplitByTab + + + + + Gets and set the IsNeedToRestartEndnote + + + + + Gets and set the IsNeedToRestartFootnoteID + + + + + Gets and set the IsNeedToRestartEndnoteID + + + + + Gets the current page index + + + + + Get or Set the re-layout flag. + + + + + Determines whether current layout process is to fit Word 2013 Justification extra words. + + + + + Gets or sets a value indicating whether to relayout the table. + + true if relayout the table; otherwise, false. + + + + Gets the current page number + + + + + Holds the widgets height which is removed from column by Keepwithnext behavior. This is used only for multi column with continous section break. + + + + + Gets or sets the IsRowFitInSamePage. + + + + + Gets or sets the IsLayoutingHeaderRow. + + + + + Represent whether current layouting process is for TrackChanges or not. + + + + + Represent whether at least one item fitted in a line or not. + + + + + Gets or sets the field entity. + + The custom graphics. + + + + Gets or sets the custom graphics. + + The custom graphics. + + + + Get or set the Unknown field. + + + + + Gets the Client LayoutArea. + + The ClientLayoutArea. + + + + + Gets the frame layout area. + + The frame layout area. + + + + Gets the frame Height with Height type as Atleast + + The frame height + + + + A boolean denotes whether skip to consider bottom or not for Frame with atleast height. + For atleast frame height, if there is space available to consider bottom values along with content height means, then skip to consider bottom(spacing+ line width) after the alteast frame height. + + + + + Gets the IsLayoutingHeaderFooter. + + The IsLayoutingHeaderFooter. + + + + Gets the IsLayoutingHeader + + The IsLayoutingHeader + + + + Gets the First Item in the line + + + + + Checks whether currently we are layouting the table to find its height. + + + + + Check if currently layouting the footnote content + + + + + Get or set the wrapping difference. + + The widget container. + + + + Gets or sets the maximum right position of tab stop inter secting floatting items. + + + The maximum right position of tab stop inter secting floatting items. + + + + + Gets or sets the right position of tab stop interSect floatting items. + + + The right position of tab stop inter floatting items. + + + + + Gets the toc entry page numbers. + + + The toc entry page numbers. + + + + + Gets the TOC link styles instance + + The TOC link style instance + + + + Gets the hidden paragraphs in a document. + + Hidden paragraphs collection + + + + Get last TOC pargraph + + + + + Gets a value indicating whether updating Page fields. + + true if updating Page fields; otherwise, false. + + + + Gets or sets a value indicating whether footer area needs to adjust or not. + + true if updating Page fields; otherwise, false. + + + + Gets the Footnote widgets. + + + + + Gets the Footnote count. + + + + + Gets the line number widgets. + + + + + Gets the Endnote widgets. + + + + + Gets the TrackChangesMarkups widgets. + + + + + Gets the Endnote widgets. + + + + + Gets the number of behind widgets in header. + + + + + Gets the number of behind widgets in footer. + + + + + Gets the Endnote section index. + + + + + Gets the current section. + + + The current section. + + + + + Gets the page client height. + + + + + Gets the Footnote section index. + + + + + Get the Splitted Footnote widgets + + + + + Get or set the Splitted Endnote widgets + + + + + Get or set the Endnote instances + + + + + Gets the wrapping entity collection. + + + + + Get the floating item, when the wrapping style have InFrontOfText or Behind + + + + + Gets or sets the dynamic paragraph. + + + The dynamic paragraph. + + + + + Gets or sets the dynamic table. + + + The dynamic table. + + + + + Gets or sets the not fitted floating item. + + + The Not fitted floating item. + + + + + Gets the wrapping entity collection. + + + + + Gets the wrapping entity collection. + + + + + Gets the page end widget. + + + The page end widget. + + + + + Decides whether to force fit the widgets during layouting process. + While creating new page this property will be enabled. + + + + + Decides whether multi column with continue section content layouting. + + + + + Gets or sets the previous tab. + + The previous tab. + + + + Gets or sets the width of the previous tab. + + The width of the previous tab. + + + + Gets or sets a value indicating whether the tab preserved in-between the indent. + + true if tab preserved in-between the indent; otherwise, false. + + + + Gets or sets the table of content. + + + + + Gets or sets the current column index + + + + + Gets or sets the consecutive hyphenate line count. + + + + + Holds the current paragraph Original Y position. + This property value won't change when paragraph wrapped by floating item. + + + + + Determines whether two lines are layouted for paragraph with Widow/Orphan control. + + when the paragraph has Widow/OrphanControl and the footnote position for current section is bottom of the page, + this flag denotes whether minimum two lines of the paragraph are layouted. + + + + Determines whether the footnote's textbody is adjusted to fit two lines of corresponding paragraph. + + The corresponding paragraph of footnote has Widow/Orphan control and the footnote position is bottom of the page. + Then only adjust the footnote to fit two lines of paragraph + + + + It holds the current line's white space widths. + + + + + + + + + + It is used to find the deleted and formatted text along with its coordinates while track changes is on. + + + + + Gets the balloon value for the markup type. + + + + + + + Display balloon value for the formatted text. + + + + + + + + + Display balloon value for removed existing character format in track changes. + + + s + + + + + + Get the display name based on the locale. + + + + + + + Returns formatting text for the text style applied in shadding. + + + + + + + Generate formatting text for shading formattings in track changes. + + + + + + + + + Returns a color name equivalent to Word 2013 behavior for the formatting changes. + + + + + + + Generate balloon value for the paragraph formattings in track changes. + + + + + + + + Mehtod to get formatted paragraph alignment string + + + + + + + Generate balloon value for the removed paragraph formattings from existing in track changes. + + + + + + + + Generate formatting text for paragraph texture style formatting in track changes + + + + + + + + + Generate formatting text for paragraph background color formatting in track changes + + + + + + + + + Generate formatting text for paragraph fore color formatting in track changes + + + + + + + + + Returns a balloon vaue for formattings in borders in track changes. + + paragraph format to get modified properties values from + + + + + Returns a balloon vaue for formattings in paragraph spacing in track changes. + + new property hash to check whether keys are present + paragraph format to get modified properties values from + + + + + Returns a balloon vaue for formattings in frame in track changes. + + + + + + + + Returns balloon value for formattings in Frame wrapping. + + + + + + + Returns the balloon value for formattings in Frame Y position. + + + + + + + Returns the balloon value for formatting in Frame X position. + + + + + + + Returns balloon value for indents formattings in paragraph. + + + + + + + + Get the balloon value for the tab alignments. + + + + + + + Displays balloon value for list format changes in paragraph. + + + + + + + + Returns the balloon value for list pattern formattings. + + + + + + + Appends the textrange in deletions balloon. + + + + + + + Concat string values in the dictionary to a single string value. + + dictionary that contains string values + single string value + + + + Gets a WordDocument object. + + + + + Represents a Y position of Track Chaneges Ballon. + + + + + Get or Set the Markup Type + + + + + + Get or Set the text from the revision. + + + + + + Get or Set the position of the track changes markups + + + + + + LayoutWidget for balloon + + + + + Holds the empty space value + + + + + Checks whether the track changes markup position is aligned or not. + + + + + It is used to find the comment text along with its coordinates while CommentDisplayMode is ShowInBalloons. + + + + + Gets the balloon value for the comments. + + Returns the balloon value for the comments. + + + + Appends a paragraph into Comments balloon. + + + + + Apply the Comments properties to Comments Body. + + + + + Gets a Comment of the MarkUp. + + + + + Gets a Comment ID of the MarkUp. + + + + + Gets or Sets a extra spacing (Line/After/Before spacing) of line. + + + + + Class to hold the floating items. + + + + + Sorts the specified floating items. + + The floating items. + The sort list based on. + + + + Check whether Y position intersect or not + + + + + + + + Sorts the same y position floating items based on x position. + + The floating items. + The sort list based on. + + + + Sorts the intersected y position floating items based on x position. + + The floating items. + The sort list based on. + + + + Updates the wrap collection index after sorting. + + The floating items. + Current sort item index + Index in which the floating item to be inserted + + + + Sorts the X position floating items based on Y position. + + + + + + Check whether Y position intersect or not + + + + + + + + + Determines whether the sorted item need to be changed or not. + + The sort list based on. + The first item. + The secon item. + + + + + Get the floating item bounds,which preserved left side of current floating item. + + + + + + + + Get the list of floating item, which preserved left side of current floating item. + + + + + + + + Get the floating item which has minimum bottom. + + + + + + + Get or Set the wrapping bounds. + + + + + + Get or Set the wrapping element instances. + + While considering the Frame object as floating item, first entity of frame is maintained in this property. + And remaining items are maintained in FrameEntities property. + + + + + + Gets or Sets the frame entities. + + Contains frame entites, if current floating item is frame; Otherwise null. + + + + Gets wrapping style. + + + + + + Gets wrapping type + + + + + + + + Gets the boolean value that represents whether a floating entity in a table is displayed inside or outside the table. + + + + + Gets or sets the index of the wrap collection. + + + The index of the wrap collection. + + + + + Gets or sets a value indicating whether this instance is floating item fit. + + + true if this instance is floating item fit; otherwise, false. + + + + + Gets or sets a value indicating whether the instance is added. + + + true if the instance is added; otherwise, false. + + + + + Class to hold the layouted equation field switches. + + + + + Entity for the equation field. + + + + + Represents a layouted equation field switch. + + + + + Class to hold the layouted equation field. + + + + + Holds the bounds points of the layouted EQ fields. + + + + + Child widgets, to hold collection of layouted EQ fields. + + + + + Denotes the types of the EQ field switch. + + + + + Holds the alignment of the layouted EQ fields. + + + + + Types of EQ field switch + + + + + Class to hold the line related EQ field + + + + + Class to hold the text related EQ field + + + + + Summary description for FieldLayoutInfo. + + + + + Initializes a new instance of the class. + + if set to true [b top subtract area]. + + + + Gets/Sets boolean value to indicate whether line break need to be removed if it is last item in a paragraph + + + + + Summary description for TableLayoutInfo. + + + + + + + + + + + + + + + + + + + + + + + + + + Checks whether the table is need to autofit to content or not. + + True, If the preferred width of the column is not defined. Else returns false + + + + Add empty paragraph to empty cell in the sepcified table + + Specify the table + + + + + + + + + + Gets the Table height using row height + + + + + + + Gets the table row height + + + + + + + Gets / sets table width + + + + + Gets table height + + + + + Gets / sets cells width array + + + + + Gets / sets count of headers rows + + + + + Gets the bool values array determining if cells are default + + + + + Gets or sets a value indicating whether this table is splitted table + + + true If this table is splitted into next page; otherwise, false> + + + + + Gets or sets the height of the header row. + + + The height of the header row. + + + + + Gets or sets a value indicating whether this instance is header row height updated. + + + true if this instance is header row height updated; otherwise, false. + + + + + Gets the paddings. + + The paddings. + + + + Gets the margins. + + The margins. + + + + Gets owner table cell spacings. + + + + + Gets owner cell paddings. + + + + + Summary description for RowLayoutInfo. + + + + + Initializes a new instance of the class. + + if set to true [is exactly row]. + Height of the row. + + + + Gets and sets IsFootnoteReduced + + + + + Gets and sets IsFootnoteSplitted + + + + + Gets or sets a value indicating whether this instance is exactly row height. + + + true if this instance is exactly row height; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is row splitted. + + + true if this instance is row splitted; otherwise, false. + + + + + Gets or sets the height of the row. + + The height of the row. + + + + Gets or sets a value indicating whether this instance is row has vertically merge continue cell. + + + true if this instance is row has vertically merge continue cell; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is row has vertically merge continue end cell. + + + true if this instance is row has vertically merge continue end cell; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is row has vertically merge start cell. + + + true if this instance is row has vertically merge start cell; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is row has vertical text cell. + + + true if this instance is row has vertical text cell; otherwise, false. + + + + + Gets or Sets a value inidcating whether this row is splitted by pagebreak before property inside the first item of cell + + + true if this row is splitted by page break before property ; otherwise,false. + + + + + Gets or sets a value indicating whether header row repeat or not + + + true If header row not repeat by floating items present in table; otherwise, false> + + + + + Gets or sets a value indicating whether the table cell padding is already updated for a row + + + + + Gets or sets a value indicating whether this instance is row splitted by floating item. + + + true if this instance is row splitted by floating item; otherwise, false. + + + + + Gets the paddings. + + The paddings. + + + + Gets the margins. + + The margins. + + + + Summary description for CellLayoutInfo. + + + + + Initializes a new instance of the class. + + The child layout direction. + + + + Determines the formats. + + + + + Checks the cell is vertically merged. + + The cell start position. + Width of the cell. + Index of the adj row. + + + + + Update the cell's border, padding, margins + + + + + Table style having padding value + + + Is Table Have Padding value,return true; else false + + + + Gets the Left HalfWidth. + + The cellIndex. + + + + + Gets the Right HalfWidth. + + The cellIndex. + The cellLast. + + + + + Gets the Bottom HalfWidth. + + The cellIndex. + The cellLast. + The rowIndex. + The rowLast. + + + + + Gets the Top HalfWidth. + + The cellIndex. + The rowIndex. + The Cell widget + Previous row index depends on splitted table + + + + + Gets the adjacent row cell. + Returns the horizontal merge start cell for merged cells. + + Index of the row. + Returns the adjacent row cell, ie., top and bottom cell + + + + Initilizes the layoutinfo values as null + + + + + Gets a value indicating whether this instance is column merge start. + + + true if this instance is column merge start; otherwise, false. + + + + + Gets a value indicating whether this instance is column merge continue. + + + true if this instance is column merge continue; otherwise, false. + + + + + Gets a value indicating whether this instance is row merge start. + + + true if this instance is row merge start; otherwise, false. + + + + + Gets a value indicating whether this instance is row merge continue. + + + true if this instance is row merge continue; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is row merge end. + + + true if this instance is row merge end; otherwise, false. + + + + + Gets the vertical alignment. + + The vertical alignment. + + + + Gets or sets the width of the cell content layouting. + + + The width of the cell content layouting. + + + + + Gets or sets a value indicating whether to skip top border. + + true if skip top border; otherwise, false. + + + + Gets or sets a value indicating whether to skip bottom border. + + true if skip bottom border; otherwise, false. + + + + Gets or sets a value indicating whether to skip left border. + + true if skip left border; otherwise, false. + + + + Gets or sets a value indicating whether to skip right border. + + true if skip right border; otherwise, false. + + + + Gets or sets the top padding. + + + The top padding. + + + + + Gets or sets the new top padding. + + + The new top padding. + + + + + Gets or sets the bottom padding. + + + The bottom padding. + + + + + Gets or sets the top border. + + + The top border. + + + + + Gets or sets the bottom border. + + + The bottom border. + + + + + Gets or sets the left border. + + + The left border. + + + + + Gets or sets the right border. + + + The right border. + + + + + Gets the updated top borders. + + + The updated top borders. + + + + + Gets the previous cell top border. + + + The previous cell top border. + + + + + Gets the next cell top border. + + + The next cell top border. + + + + + Gets or sets the previous cell bottom border. + + + The previous cell bottom border. + + + + + Gets or sets the next cell bottom border. + + + The next cell bottom border. + + + + + Gets or sets a value indicating whether this instance is cell has end note. + + + true if this instance is cell has end note; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is cell has foot note. + + + true if this instance is cell has foot note; otherwise, false. + + + + + Gets the paddings. + + The paddings. + + + + Gets the margins. + + The margins. + + + + Gets the type of the border. + + + The type of the border. + + + + + Gets the color of the border. + + + The color of the border. + + + + + Gets the width of the border line. + + + The width of the border line. + + + + + Gets the width of the border line. + + + The width of the border line. + + + + + Gets or sets the adj cell left border. + + + The adj cell left border. + + + + + Summary description for LayoutContext. + + + + + The minimum width for required for text to fit before the square type floating item. + + + + + The minimum width for required for text to fit before the Tight and throw type floating item in Word 2013. + + + + + The minimum width for required for text to fit before the Tight and Throw type floating item. + + + + + The minimum width for required for text to fit after the square type floating item. + + + + + The minimum width for required for text to fit after the Tight and throw type floating item in Word 2013. + + + + + The minimum width for required for text to fit after the Tight and Throw type floating item. + + + + + The maximum width. + + + + + The bottom overlap difference for tight and through wrapping style. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Right margin of client layout area + + + + + Initializes a new instance of the class. + + The widget. + The lc operator. + + + + Layouts the specified widget. + + The rect. + + + + + Determines whether ensure splitted. + + + true if ensure splitted; otherwise, false. + + + + + Does the layout after. + + + + + Layout Footnote + + + + + + + Retrun whether needs to consider Adjusting value for text wrapping. + + + + + + + + + + Get the minimum value Ms Word preserves for a text wrapping to occur. + + + + + + + + + Gets the footnote layouting client area. + + + + + + Denotes whether current cell is vertical merge start cell and owner row height type is exactly. + + + + + + + Check whether the owner entity is textbox or not + + + + + Checks whether Word document is 2013 format or not. + + + + + + + Returns true, if this paragraph is Word 2013 Justification. + + + + + + + Calculates the total padding and margin values for nested table. + + The current table. + + + + + Removes layouted behind wrapping style items from BehindWidgets collection. + + Layouted Widget. + + + + Removes layouted behind wrapping style items from BehindWidgets collection. + + Layouted table widget (WTable). + + + + Removes layouted behind wrapping style items from BehindWidgets collection. + + Layouted table row widget (WTableRow). + + + + Removes layouted behind wrapping style items from BehindWidgets collection. + + Layouted line container widget (WParagraph). + + + + Removes layouted behind wrapping style items from BehindWidgets collection. + + Layouted line widget (WParagraph). + + + + Layout Endnote + + + + + + Check Weather footnote is splitted and return the boolean value. + Layout Footnote TextBody + + Represents text body of Footnote. + Represents height of footnote. + Represents client height availble for layouting footnote. + Represents a flag, which denotes line continaing footnote refrence is already layouted, + without layouting footnote textbody. + + + + Check Weather footnote is splitted and return the boolean value. + + + + + Layout Endnote TextBody + + + + + + + + Adds the layout widget in before insecting point. + + The inter sect widget. + The index. + + + + Need to update the wrapping difference value. + + + + + + Update footnote widgets + + + + + Determines whether we need to remove the layouted footnote separator. + + Represent the layouted line. + Returns true, if it need to remove separator; otherwise returns false. + + + + Update footnote widgets + + + + + Creates the layout area. + + The Rectangle. + + + + layout the bounds for wrapping element in paragraph collection + + + + + Add the layoutwidget to the floating item collection. + + LayoutedWidget + Leafwiget + + + + To check whether leaf element is drawing element or not. + + Leaf element. + Return true if it is drawing element; else false. + + + + Check whether doNotSuppressIndentation property is set and skip the indent for the paragraph and its not applicable for Word 2013 + + + + + + + + + + Return the owner of the StructureDocumentTagBlock. + + + + + + + Resets the floating entity property. + + The paragraph. + + + + Get paragraph top margin + + + + + + + Get the Text Range + + + + + + + Adjust bounds the based on wrap polygon. + + The rect. + The vertices. + + + + Lines the intersection point. + + The PS1. + The pe1. + The PS2. + The pe2. + + + + + Determines whether [is wrap polygon denotes rectangle] [the specified vertices]. + + The vertices. + + + + + Update X position of the paragraph based on TextWrap + + + + + + Checkes whether the paragraph is in cell and the owner table of that cell is present in frame. + + Paragraph to check + Returns true if the paragraph is inside a table cell which is present in a frame else returns false. + + + + Set the floating item bounds with the mirror image bounds of the floating item. + + Index of the floating item + Text wrapping bounds to be modified + Layout area to shift the floating item. + + + + Reset the floating item bounds to original position + + FLoating item index + Text wrapping bounds to be modified + Original x position of floating item + + + + Determines whether the paragraph mark position need to update to the bottom. + + The y position. + The text wrapping style. + The paragraph. + The size. + The bottom position. + + + + + Determines whether the floating item is intersect the paragraph mark or not. + + The start value. + The end value. + + + + + Adjusts the tight and through bounds. + + The curr text range. + The size. + The rect. + + + + + Determines whether [is line slope is left to right] [the specified first point]. + + The first point. + The second point. + + + + + Pnpolies the specified poly. + + The poly. + The PNT. + + + + + Check whether paragraph Y position should update by floating item or not. + + + + + + + Update Paragraph Y position based on TextWrap + + + + + Gets the previous sibling of paragraph + + + + + + + + Update the X and Y positions based on the floating items present in the same Y region. + + Y position sorted floating item collections + Current layouting area + size of the widget + current pargraph + Determine whether this is called from leaf layout context class or not + + + + Update the client area Y position with minimum bottom position of the floating items + + + + + + + + + + Get the minimum width. + + + + + + + Return the document Word version in the format of string. + + current paragraph. + + + + + Return the minimum size required between two floating items based on Word version and floating item wrapping type. + + Left side floating item wrapping style + Right side floating item wrapping style + current paragraph + + + + + Check whether floating item wrapping style is square or tight and throw + + + + + + + Check whether Y position intersect or not + + + + + + + + + Gets the bottom position for tight and through. + + The floatting item bottom position. + The text wrapping bounds. + The paragraph. + The y postion. + The leaf widget. + Height of the leaf widget. + + + + + Gets the height of the floatting item. + + The entity. + + + + + Gets the height of the floatting item. + + The entity. + + + + + Gets the exceeded bottom value for tight and through. + + The height. + Height of the break character. + The para. + + + + + Gets the exceeded bottom value for tight and through. + + The para. + + + + + Gets the previous paragraph. + + The paragrph. + + + + + Gets the content of the previous paragraph is in SDT. + + Content of the SDT. + + + + + Gets the previous paragraph is in table. + + The table. + + + + + Determine whether the paragraph is in textbox and wrapping added to the collection or not + + + + + + + Determine whether the paragraph is in footnote + + + + + + + Determine whether the paragraph is in footnote + + + + + + + Get Left Margin of the Page + + + + + + Update Top Margin of the paragraph + + + + + + Checks whether the paragraph is a TOC + + Text Range + + + + + Check whether the current widget is have page break + + + + + + + Determine the whether the paragraph is have Page or Column break. + + + + + + + Determine the whether the paragraph is have section break + + + + + Creates the layout area. + + The rect. + The cell padding. + + + + Creates the layouted widget. + + The location. + + + + Updates the width of client area and client active area + + width. + + + + + Implemented alternative method to improve the performance + + + + + + + + Disable IsForceFitLayout prperty once the minimum widgets fitted in current page. + + + + + + Creates the specified widget. + + The widget. + The lc operator. + The layout option. + + + + + Determines whether the specified paragraph is in frame. + + The paragraph. + + true if [is in frame] [the specified paragraph]; otherwise, false. + + + + + Determines the frame intersects with the client area. + + + + + + + Gets the Location of frame and draw the frame content. + + dc. + ltWidget. + + + + + Checks whether current frame already started to layout. + + + + + + + + Get Base Entity. + + The entity. + + + + + Get Base Entity. + + The entity. + + + + + Determines whether it's base from section for the specified entity. + + The entity. + + + + + Determines whether given entity is in table or not. + + The entity. + + + + + Positions the X. + + The para format. + The section. + The bounds. + Width of the frame. + + + + + Gets the Y Position of frame. + + paraformat. + section. + The bounds. + Height of the frame. + + /// + + + + Gets the splitted widget. + + The splitted widget. + + + + Gets the layouted state. + + The state. + + + + Gets the layout info. + + The layout info. + + + + Gets the layout area. + + The layout area. + + + + Gets the drawing context. + + The drawing context. + + + + Gets the bounds padding right. + + The bounds padding right. + + + + Gets the bounds padding bottom. + + The bounds padding bottom. + + + + Gets the widget. + + The widget. + + + + Gets or sets a value indicating whether this instance is vertical not fitted. + + + true if this instance is vertical not fitted; otherwise, false. + + + + + Gets or sets a value indicating whether to skip splitted Paragraph + + + true if the splitted Paragraph to skip; otherwise, false. + + + + + Gets or sets a value indicating whether the Area is Updated + + + true if the Area is Updated; otherwise, false. + + + + + Gets or sets a value indicating whether the tab with stop position beyond right margin exists or not + + + true if the Tab with stop position beyond right margin exists; otherwise, false. + + + + + Gets or sets a value indicating whether this instance need to wrap + + + true if this instance need wrap + + + + + Decides whether the widget must fit in current page. Microsoft Word fits atleast a single line in a page. + Similarly, we have to fit the single line in a page, even there is no client area available. + If first item is table then we need to fit single row for exactly row. + We can use this property wherever we need to decide the widget is first item. + + + + + Gets or sets the client layout area right. + + + The client active layout right. + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + The widget. + The lc operator. + + + + Layouts the specified widget. + + The rect. + + + + + Need to add it to the floating item collection and relayout the paragraph + + Current child context + + + + Check whether current widget is floating item or not. + + + + + + + Find the next paragraph's x position + + + + + + + Decides whether text range (creaed for preserved para mark height) should be skipped or not. + + Current widget. + + + + + Check whether keep with next property is applicable or not + + + + + + + Check whether floating entity size exceeds the client height. + + + + + + + Get the previous deleted paragraph item + + + + + + + Creates the next child context. + + + + + + We have remove the Line layouted widget from the table cell layouted wiget + + + + + Determines the paragraphs are in same textbody. + + + + + + + Updates the position value for absolute tab. + + + + + + Create balloon for deleted paragraph text. + + + + + Denotes whether need to create new balloon for character format changes or use the balloon of previous item. + + + + + + + + Create balloon for deleted paragraph text. + + + + + Appends the content in the track changes balloon for deleted text range + + track changes markup collection + child widget + + + + Appends the content in the track changes balloon for deleted image + + track changes markup collection + child widget + + + + Create balloon for deleted paragraph text. + + + + + Appends the content in the track changes balloon for deleted paragraph + + track changes markup collection + child widget + + + + Creates balloon for character format. + + + + + + Compare properties hash and remove the same value from PropertiesHash + + + + + Creates the content for track changes balloon for the paragraph formatting changes. + + + + + + Creates the content for track changes balloon for the List formatting changes. + + + + + + Creates the content for track changes balloon for the table formatting changes. + + + + + + Check whether last row of table have dynamic paragraph. + + + + + + + Check whether last item of nested table have dynamic paragraph. + + + + + + + Determine whether the page break is need to move last item of para or not. + + + + + + Updates the expression field. + + The child widget. + + + + Checks the null condition and returnltwidget. + + + + + + Finds the intersect point and removlt widget. + + + + + Get the intersecting item for the dynamic relayout occurred table cell. + + The layouted widget. + The y position. + The index. + The intersecting widget index. + + + + Layout splitted footnote textbody + + + + + + Layout splitted endtnote textbody + + + + + + Check whether pararagph splitted by Page break or not. + + + + + + Check whether previous paragraph have section break or not. + + + + + + + Need to skip updating top margin as zero when its header contents exceeds page top margin height + + + + + + Update the text body items positio + + + + + + Getting the footnote height + + + + + + Check whether the specified paragraph is already updated or not + + Represent the current paragraph LayoutInfo + Returns whether the paragraph is updated or not + This method is used to skip the padding reset of same paragraph, + Which is already updated on first page HeaderFooter layoutting + and now comes for second page HeaderFooter layoutting + + + + Update paragraph Top and Bottom Margins + + + + + + Marks as not fitted. + + The child context. + + + + This method decide whether to Set the layout state to Not fitted or not. + + + + + + + Get pevious sibling + + + + + + + Check whether content control is not fittted based on on previous sibling behavior + + + + + + + Removes the hyphenated word in last line of the page, if it is hyphenated based on auto hyphenation. + + + + + + + Updates the layouted widget bounds. + + layouted widget. + + + + Gets maximum right position of the layouted widget. + + + + + + + Gets maximum bottom of the layouted widget. + + + + + + + Read a word from the last position of hyphenated line. + + + + + + + Checks whether page break is present inside the table + + + If it is present inside the table, it will not be considered during Doc to PDF conversion. + bool + + + + Gets the paragraph. + + The widget. + + + + + Remove Xml Math Paragraph items from paragraph if it exists. + + Current paragraph. + + + + Marks as fitted. + + The child context. + + + + Checks whether item is Horizontal rule or not + + + returns true if item is horizontal rule. otherwise false + + + + Returns true if need to create separate balloon for character format changes in break character format. + + + + + + + + Generate balloon value for character format. + + + + + + + Get the balloon value of last formatting Mark Ups. + + + + + + Check whether current line widget having corresponding comment end mark or not. + + Returns true, if it has a comment end mark. Otherwise flase. + + + + Shift the track changes balloons to the bottom of line. + + + + + Determines whether to layout textbody of footnote. + + Represents a footnote layouting context. + Retruns true, if footnote need to be layout; otherwise false. + + + + Marks as Wrap Text. + + The child context. + + + + Marks as splitted. + + The child context. + + + + Upddate index of split string widget to perform text wrap + + + + + Marks as breaked. + + The child context. + + + + Updates the client area. + + + + + Updates the spacing information. + + The bounds. + + + + + Determines whether the next text body item is paragraph or not. + + The para. + + + + + Determines whether the specified table is in frame. + + The table. + + true if the specified table is in frame; otherwise, false. + + + + + Updates the frame bounds. + + + + + Changes the childs alignment. + + + + + Nexts the child widget. + + + + + + Spliteds up widget. + + The split widget. + + + + Spliteds up widget. + + The split widget. + + Whether the splitted widget is in frame + + + + Commits the child context. + + The child context. + + + + Gets the table height by adding the row's height. + + + + + Layouted current child + + The child context. + + + + Gets the horizontal position of the floating item when it is relative to character + + Current widget that is going to be layouted + Returns the distance that needs to be shifted + + + + Determines whether textrange is layout in next line + + The client area + Owner paragraph of child entity + TextRange contains text or space + Return true, if textrange is layout in next line otherwise false + + + + Determines whether range contains text or not by trimming spaces at the end. + + Child context. + Returns true, if range contains text other than only space; otherwise false. + + + + Return true if entity wrapping style is tight or throw + + + + + + + Return the floating item from its floating item collection. + + + + + + + Adds the child LW. + + The child context. + + + + Layout the skipped footnotes' textbody from the layouted lines. + + Represents a layouted lines. + + + + Determines whether the footnotes' text body has started to layout in the same page. + + Represents a layouted lines. + Returns true, if last footnote of layuoted line is not found in same page; otherwise false. + + + + update paragraph y position when the frame vertical postion exceeds page height + + + + + + + Shifts the paragraph y position when the frame vertical postion exceeds page height + + + + + + + + Calculates the frame height by adding the paragraphs height in the frame + + + + + + + + + update the textwrapping bounds of floating item + + + + + + Resets the bounds from adjusted bounds based on wrap polygon + + Floating item + Current child layouted widget bounds + Returns resetted bounds based on wrap polygon + + + + //if the split widget container have the Endnote item set the empty section in split widget container and change the state to the splitted for layout the Endnote textbody at the second page. + + + + + Add Behind widgets to the collection + + + + + + Checks the type of the widget. + + The widget. + + + + + Checks the widget wrapping type and horizontal origin. + + The widget. + + + + + Checks the wrapping type and horizontal origin. + + The text wrapping style. + The horizontal origin. + + + + + Check whether Frame content intersect with previous items,if it intersect then enable Dynamic relayout. + + + + + + Get the Frame Y position. + + + + + + + + Get the bottom position of the previous item. + + + + + + + Return the previous line bottom, by skipping lines which preserved below to the floating item. + + + + + + + + Checks whether the para is last item of the frame. + + + + + + + checs whether the para and table is in same frame. + + + + + + + + Updates the LW bounds. + + The child context. + + + + Checks whether need to consider the right pad. + + Owner paragraph + + + + GEt the previous text body item index. + + + + + + + Check whether current paragraph is frame or not. + + + + + + + Determine whether the layouted widget bottom position is need to be updated or not + + + + + + Checks whether widget is renderable item or non renderable item + + + + + + + Check whether the element owner is Section or not + + + + + + + Add Frame Bounds into the text box bounds collection + + + + + Update the paragraph bounds into frame bounds. + + + + + Get the first frame item. + + + + + + + + Check whether floating item already added to floating item collection or not. + + + + + + + Updates the frame bounds. + + The paragraph. + + + + Finds whether the Atleast frame height should be used to frame paragraph. + + Paragrapg Layouted Widget + Last Line Layouted Widget + + + + + Updates the frame bounds. + + The table. + + + + Updates the horizontal alignment. + + The x alginment. + + + + Updates the vertical alignment. + + The y alginment. + + + + Commits the keep with next. + + + + + Gets the section of the given widget + + + + + + + Remove the layouted widgets from the collection based upon keep with next. + + + + + + + + + Decide whether Is last TOC paragraph layouted or not. + + + + + Check whether the last Toc paragraph layouted or not. + + + + + + Check whether removed item has last TOC paragraph or not. + + + + + + + Commits the with keep with nex for word2013 format. + + The splitted widget. + The section. + + + + This method return whether to remove the widget or not. + + + + + + + + Removes the items from layouted widgets. + + The splitted widget. + + + + Determines the start row index. + + + + + + + Gets the owner section. + + The entity. + + + + + Determine whether current widget is need to commit Keep with next property. + + + + + + This Method Sets the Keep with Next property for Block content control and Checks if the entire block content control is true, else it returns false. + + + + + + Gets the widget container. + + The widget container. + + + + Gets the current child widget. + + The current child widget. + + + + + + + + + Initializes a new instance of the class. + + The container. + The lc operator. + + + + Layouted current child + + + + + + Updates X position of floating item (Behind or InfrontOf) for the case first inline widget not wraps based on floating item + but wrapps if we consider the line height as content height. + + + + + + Decides whether we need to update floating item X position based on entire line wrap position. + + + + + Decides whether current line intersecting bounds should be calculate or not. + + + + + + + Update the intersecting floating item bounds to current line. + + + + + Creates the next child context. + + + + + + Commits for not fitted. + + The child context. + + + + Removes floating items from the collection when a paragraph is not fitted. + + + + + Moved the layouted line to next page when widowControl property is true. + + + + + + + + Remove a CommentsMarkups of not fitted line. + + Represents a current line widget. + + + + Check whether the previous item of splitted item to next page or not + + + + + + + + We have check that Wrapping floating item is fitted in that page. + + Layouter. + Child context. + + + + Remove track changes balloons from the given Y position. + + + + + + Removes the hyphenated word in last line of the page, if it is hyphenated based on auto hyphenation. + + + + + + + Updates the layouted widget bounds. + + layouted widget. + + + + Read a word from the last position of hyphenated line. + + + + + + + check whether line have only non drawing items or not + + + + + + + Check whether the line contains only mathematical items or not. + + The line widget. + True if the line contains only mathematical items, otherwise false. + + + + To check this paragraph is end of page, when page layout contains more than one column + + + + + + Determine whether the splitted widget need to be reset based on WindowControl + + + + + + + + + Update footnote widgets + + + + + Determine whether is KeepLineTogether + + + + + + + Determine whether the last paragraph is need to be layout in Next page + + + + + + Is need to layput the paragraph in this page + + + returns true to move the paragraph to the next page, else false + + + + Determine whether the paragraph contains only bookmarks alone. + + + + + + + Determine whether the item is splitted or not fitted item + + + + + + + Commits for fitted. + + The child context. + + + + Commits for splitted. + + The child context. + + + + Updates the client area. + + + + + + Changes the childs alignment. + + + + + Updates X position of track changes balloon. + + + + + Update a X position of Comment balloon. + + + + + Decides whether line contains only display type WMath. + + + + + Gets a next valid widget. + + Represents a start index. + Represents a layouted widget list. + Retruns a next valid widget. + + + + Shift the layouted widgets in right to left direction + + Floating items collection + + + + Checks whether the text range is Zero Width Joiner. + + Layouted widget + + + + Shift the layouted widgets in right to left direction (Old implementation) + + Floating items collection + + + + Updates the widgets x position. + + + + + Reorders the child widgets of a line for RTL text. + + + + + + Check whether input WTextRange is having only one number non reversing character or not. + + Represent a LayoutedWidget of a WTextRange. + Returns true, if input WTextRange is having only one NumberNonReversingCharacter; Otherwise false. + + + + To check whether the specified language reverse the number or not for slash character. + + Specify the language local id. + Return true if the language id reverse the number for slash character. + + + + To check whether the specified language reverse the number or not for (‘#’,‘$’,‘%’,‘+’,‘-’) characters. + + Specify the language local id. + Return true if the language id reverse the number for (‘#’,‘$’,‘%’,‘+’,‘-’) characters. + + + + Shift the widgets x position based on the list. + + + + + Shift the RTL and Normal text in right to left direction + + Index of last RTL text + Index of normal text + True, if the line conatins normal text + + + + Shift the normal text in left to right direction + + Normal text index + + + + Shift the RTL text in left to right paragraph + + Index of RTL text + True, if the line contains RTL text + True, if the line contains normal text + + + + Shifts the X position of the widgets from start to end index + + start index + end index + + + + Gets the last tab width. + + Paragraph format + Tabs count + Tab width + + + + Splits the line based on inter secting floting entity. + + The m_backup widget. + The inter secting floatting item. + The m_resultted widgt. + + + + Gets the first index of the inline item. + + + + + + Inters the secting floatting item. + + The rect. + + + + + Updates sub width based on the Text wrap + + + + + + Updates the horizontal alignment. + + The x alginment. + + + + Checks the paragraph for TOC + + paragraph + + + + + Does the layout after. + + + + + Check whether need to update page number for TOC + + + + + + + If paragraph doesn't have valid items before the page break then skip updating page number + + + + + + + + Decides whether text is empty or contains only white spaces. + + + + + + + Determines whether the toc need not to be updated or not. + + The paragraph. + The SWC. + + + + + Gets the index of the valid para item. + + The paragraph. + + + + + Updates the TOC page number. + + The para. + + + + Updates the TOC Heading stylecpage number. + + The para. + + + + Updates the TOC \c switch page number. + + The para. + + + + Gets or sets a value indicating whether this instance is first Text Body Item of current page. + + + + + Represents the layout context for layouting text. + + + + + Initializes a new instance of the class. + + The STR widget. + The lc operator. + + + + While the paragraph inside the cell that contains the decimal tab, then it returns true otherwise false + + + + + + Whether determine decimal point is decimal tab point or not + + + + + + While the paragraph inside the cell that contains the decimal tab, + we have to change and update the client area as same as that of the MS behavior + + + + + + + Update the shifting distance of X and Y according the the horizontal and vertical alignment + + bounds of the leaf layouted widget that needs shifting + paragraph item + + + + + Layouts the specified widget. + + The rect. + + + + + Checks whether the tab stop position needs to fit in the same line + + Current leaf widget's tab layout info + Current tab position + Owner paragraph + Client area + + False if the tab stop positions before the current tab stop are greater than 0 and the current tab stop position is greater than the client active area. + Else true. + + + + + Finds whether the layouted widget is a floating item and its horizontal origin and vertical origin are page and margin. + Finds the shift distance according to the horizontal or vertical origin + Shifts the X or Y position according to the found shift distance + + paragraph item + bounds of the leaf layouted widget that needs shifting + + + + + Check the Floating item have horizontal origin as character + + Owner of the Leafwiget + + + + Finds the wrapped bounds. + + + + + Checks whether widget should be fitted in current page due to line spacing values. + + Owner paragraph. + Current widget height. + + + + + Update the picture width and height based on the picture border lineWidth + + + + + + + Determines whether the current floating item already layouted or not. + + The paragraph. + + + + + Checks whether need to reset the client area + + The paragraph. + + + + + Determines whether the dynamic relayouting occur or not. + + The paragraph. + + + + Determines whether the floating item exist in the floating item collections. + + i. + + + + + Creates the layouted widget. + + The i. + + + + Sets the bounds for layouted widget. + + The text wrapping bounds. + The distance from left. + The distance from top. + The distance from right. + The distance from bottom. + + + + Layout the GroupShape container + + + + + Layout a custom child shape. + + Represent a logical DOM entity. + Represent a owner entity layoutedwidget. + + + + Layout the child shape + + + + + + Layout the child group shape + + + + + + + + + Calculates the rotation of child shape. + + Shape's rotation + Shape's width + Shape's height + Shape's left + Shape's top + Shape's width scale. + Shape's height scale. + + + + Calculates the sum of rotation angle for the nested child shape. + + Shape's rotation + Layouted Widget + List of the group shape's bounds + List of the group shape's rotations + List of the group shape's horizontal flips + List of the group shape's vertical flips + + + + Set horizontal and vertical flips to render the child shapes. + + Shape's rotation + child shape Widget + + + + Get Horizontal flip count. + + Group Shape. + Flip count. + Flip count. + + + + Get Vertical flip count. + + Group Shape. + Flip count. + Flip count. + + + + Checked whether any of the parent group shape contains Horizontal flip. + + Group Shape. + True if the group shape contains flipH. + + + + Checked whether any of the parent group shape contains Vertical flip. + + Group Shape. + True if the group shape contains flipV. + + + + Creates the from points array. + + The points. + The rectangle. + + + + + + + + + + + + + + Updates the textbox bounds based on the rotation value. + + + + + + Update the text box rendering/Drawing bounds based on the auto fit properties + + Text box + Shape with rectangle type + Text body layouted widtet + Text body owner Widget + Text direction + + + + Update horizontal text bounds based on auto fit properties. + + Decides height should resized or not + Decides width should resized or not + text body + internal margin + layouted bounds + + + + Update vertical text bounds based on auto fit properties. + + Decides height should resized or not + Decides width should resized or not + text body + internal margin + layouted bounds + + + + Update the text box X and Y positions based on modified width and height + + Width Adjusted by Auto fit + Height Adjusted by Auto fit + Text body layouted widget + + + + Update text box content layouting bounds based on the auto fit properties. + + Text box + Shape with rectangle type + Text body Layouting bounds + Text direction + + + + + Check any of paragraph in text body has more than one line. + + Text box text body items + return true when paragraph have more than one line otherwise false. + + + + Update the Text box items bounds based on paragraph alignment + + Text body + text box drawing width + Width which used for layouting + + + + Shift the X position based on paragraph alignment + + Paragraph layouted widget + Difference between layouting width and current text box drawing width + + + + Get current line maximum width + + Paragraph layouted widget + + + + + + + + + + + + + + + + + + + + + + + + + Get Current TextRange of the leafWidget + + + + + + Update Tab Width. + + The rect. + The size. + + + + Update the client area width if exceeds tab position exceeds the client area width + + + + + Clients the area right. + + The paragraph. + The rect right. + + + + + Get Left Margin of the Page + + + + + + Get Right Margin of the Page + + + + + + Update xPosition of the LeafWidget which have Previous Tab justification is Decimal + + + + + + + + Determines whether leaf widget is need to be splitted + + size + rect + + true if leaf widget need to be splitted, set to true. + + + + + + + + + + + + Checks whether the paragraph item should fit in the same page based on atlease and exactly line spacing. + + owner paragraph + Size of the paragraph item + + + + + Determine whether the section break paragraph contains only floating items. + + The paragraph to check. + The leaf widget to check. + + True if the paragraph contains only floating items. False otherwise. + + + + + Determine whether need to fit item of the last paragraph + + + + + + Determine whether need to fit the last paragraph of the page in same page. + + + + trueif the last paragraph of the page is not fitted in same page;Otherwisefalse + + + + To identify current picture is OleObject. + + trueif the current picture is OleObject;Otherwisefalse + + + + Determines whether text contains line break characters. + + + true if text contains line break characters; otherwise, false. + + + + + Determines whether the specified leaf widget is to be clipped or not. + + The size. + + true if the specified leaf widget is to be clipped; otherwise, false. + + + + + Determine whether the paragraph Item is need to Fit + + + + + + + Get's Left Indent of the paragraph + + + + + + + Determines whether Picture Fit + + size + + true if Picture Fit, set to true. + + + + + Handled a behavior for floating item fitted logic, which is depends on a next sibling + + Vertical Origin + Horizontal Origin + ParagraphItem + Return True, if the next siblings width is higher than client area;Else false. + + + + Gets the line spacing value. + + The line spacing rule. + + + + + Determines whether the picture is fit picture in section. + + Width of the column. + Height of the pic. + Height of the page. + The top margin. + The size. + Width of the client active area. + + + + + Determines whether the picture is fit picture in Textbox. + + The top margin. + The size. + Height of the pic. + + + + + Determines whether the picture is fit picture in table. + + Width of the cell. + The cell top margin. + The top margin. + Height of the pic. + The size. + + + + + Determines whether the picture is fit picture in headerfooter. + + Height of the pic. + Height of the page. + The top margin. + The size. + Width of the column. + Width of the client active area. + + + + + Determines whether [is floating item fit] [the specified ent]. + + The ent. + The size. + The owner paragraph. + The para item. + Height of the page. + The top margin. + if set to true [is picture fit]. + + + + Determines whether the shape placed on the bottom of the paragraph. + + Owner paragraph of the floating item + Size of the floating item + Paragraph's layoutinfo + + + + Get the Rotation angle of floating item. + + + + + + + Get the empty TextRange height + + + + + + Get Base Entity. + + The entity. + + + + + Determines whether TextRange Fit in ClientActiveArea + + size + + true if TextRange Fit in ClientActiveArea, set to true. + + + + + Determine whether the text range is need to fit + + + true if previous tab position is greater than the ClientActiveArea, set to true. + + + + + Try to fits the word by using extra width obtained for Word 2013 Justification alignment. + + + + + Fits the next word and change the state accordingly. + + + + + Fits the widget even the size exceeds. + + + + + Do Word 2013 Justification inter word spacing sclaing and try to fit the next word. + + + + + + Gets the next widget text. + + + + + Check whether text contains white space to find the single Word width. + + + + + Find the next complete word width by checking the split widgets and its next siblings. + + It contains the values leading space of text. + + + + Adds the leading spaces into LineSpaceWidths collection and measure its width. + + + + + Updates the space widths of current widget into LineSpaceWidths collection. + + + + + + Layout for Word + + The rect + size + + + + + Determines whether to skip splitting the text by character based on the script type. + + Specifies the current text range + Specifies the owner of the current text range + True if the text should not be split by character, false otherwise. + + + + We have calculate the previous space width in that TextRange. + + Text having space. + Spacing width + + + + Get table border spacing value + + + + + Word by word layouting for Unicode text + + + + + Check whether the text need to splitted by word + + + + + + + + + + Get Text Whether the LeafWidget is WTextRange or SplitStringWidget + + + + + + Check whether the text need to splitted by word + + + + + + + + + + Get width to fit text in current line + + + + + + + Get Next TextRanges width + + + + + + + + + Get Next TextRanges width + + + + + + + + + Determine Whether the Nextsibling Textrange size is need to measure + + + + + + + + + + Determine Whether the Nextsibling Textrange size is need to measure + + + + + + + + + + Determine whether the text contain CJK begin characters + + + + + + + Get the valid inline next sibling for a Vertical Orgin Below Line behavior + + Represent the current paragraph item + Return a widget of valid next sibling + + + + Get Next text range + + + + + + Determines whether leaf widget is in cell + + + true if leaf widget is in cell, set to true. + + + + + + Determines whether next sibling of leaf widget is text range. + + + true if next sibling of leaf widget is text range, set to true. + + + + + Split by Word + + SplitLeafWidget + Size + + + + Determines whether text is need to be splitted + + size + rect + + true if text need to be splitted, set to true. + + + + + Determines whether text is need to be splitted + + + true if text need to be splitted, set to true. + + + + + Get OwnerParagraph of the LeafWidget + + + + + + Checks the wrapping style for wrapping. + + The text wrapping style. + + + + + Determines whether the leafWidget based on the wrapping element. + + The owner para. + The layouter. + + + + + Determines whether the paragraph mark move to right side of the intersecting of floating item. + + The owner para. + The text wrapping bounds. + + + + + Determines whether the leafWidget based on the wrapping element for square, tight and through. + + The layouter. + Index of the wrap owner. + Index of the wrap item. + The text wrapping style. + The text wrapping bounds. + + + + + check wherther the paragraph line spacing is exceed the text height. + + TextRange Height. + TextWrapping Y position. + Client area. + True for Wrap the text; false for skip the wrapping. + + + + Determines whether the leafWidget based on the wrapping element for top and bottom wrapping type. + + The layouter. + Index of the wrap owner. + Index of the wrap item. + The text wrapping style. + The text wrapping bounds. + + + + + Determines whether the floating entity is layout in cell based on the top and bottom wrapping type and Word compatibility. + + + + + Determines whether the floating entity is layout in cell except the behind and infront wrapping style. + + + + + Determines whether the floating item owner paragraph is not fitted in the same page. + + The text wrapping style. + The floating entity. + The layouter. + The floating widget. + The paragraph layout info. + returns true if floating item owner paragraph is not fitted in the same page. otherwise false + + + + Is need to intermediate the leaf widget based on the floating item. + + Width of the remaining client. + The text wrapping style. + The layouter. + Type of the text wrapping. + The rect. + The size. + The paragraph layout information. + + + + + Check whether there is a floating item at the left + + Current layout area + Minimum width to fit text + Text wrapping bounds of the floating item + + + + + Check whether line break is intersect on floating item. + + Current leafwidget + Wrapping style of floating item + Bounds of floating item + Bounds of current leafwidget + Size of line break + Owner paragraph of line break + + + + + Remove the distance from text value from the floating item text wrapping bounds. + + + + + + + + Adjust Client Area for Text Wrapping + + leaf widget + Size + The rect + + + + Checks whether current floating item layout on exiting floating item's top or not. + + + + + Checks whether current floating item layout on exiting floating item's top based on line or not. + + + + + Checks whether current floating item layout on exiting floating item's top based on bottom edge extent or not. + + + + + Checks whether the break element need to wrap or not. + + + + + + + + To get the minimum width required to fit a widget to side of table. + + + + + + + + + + + Get the Maximum width of a Right side cell border. + + + + + + + Need To Wrap the InFrontOfText or Behind wrapping style FloatingItems + + Leaf widget + Return True, if we need to wrap the floating item; else false. + + + + Check if the current text range is the first text range in the paragraph. + + + + + + + Skips the empty textrange wrapping. + + Returns true, if the empty text range is valid for layouting. Otherwise returns false. + + + + Updates the para first line horizontal positions. + + The paragraph information. + The widget. + The x. + The width. + + + + Denotes bookmark have size. + + Represents size of bookmark. + Returns true, if bookmark start or bookmark end have width or height. Otherwise returns false. + + + + To identify the text fit below or above the textbox/shape + + Floating item wrapping bounds + Current leafwidget Y position + Floating entity + truewhen text fit below, otherwise false + + + + Gets the top margin value for floating table. + + The paragraph. + The floating entity. + The y position. + + + + + Adjusts the client area based on exceeded tab. + + The leaf widget. + The size. + The rect. + The left indent. + The paragraph. + + + + Get Minium width of the word + + + + + + Check whether the leafwidget owner is textbox or not + + + + + Getting PageField size + + + + + + + Does the layout after. + + + + + Update the EQ field code size when it's widht exceeds the client area width. + + Graphic object for EQ field. + Character format of EQ field. + Retruns updated size of the EQ field. + + + + Fits the widget. + + The size. + The widget. + + + + Gets the floatting item position. + + The indent x. + The indent y. + The size. + + + + + Get the cell layout info + + Owner paragraph. + Return the owner cell layout info. + + + + Gets the considered line spacing value while calculating the paragraph Y position. + + Represents the owner paragraph of the floating item. + Retruns a spacing value, considered line spacing value while calculating the paragraph Y position. + + + + Get the bounding box position of the rotated image. + + + + + + + + + + + + + + + + + + + + + + Determines whether [is paragraph containing line break] [the specified paragraph]. + + The paragraph. + + + + + + + + + + + + + + + + + Checks whether layout in cell property is true and object should be fit within the container height. + + + If set to , then ; otherwise, . + If set to , then ; otherwise, . + + + + + + Checks whether layout in cell property is true and object should be fit within the container height. + + The para item. + if set to true [is word2013]. + + + + + Get vertical position of the picture + + + + + + + Get Horizontal position of the picture + + + + + + + Update Width of the LeafWidget + + + + + + + + Determines whether the cell bounds need to add the left area bounds. + + The text wrapping style. + + + + + Splits up widget. + + The split leaf widget. + + + + Gets the leaf widget. + + The leaf widget. + + + + + Represents the layout context for tables. + + + + + The minimum width. + + + + + Initializes a new instance of the class. + + The split widget. + The lc operator. + + + + Initializes a new instance of the class. + + The table. + The lc operator. + + + + Get the base entity + + + + + + + Determine whether the entity is in section or headerfooter + + The entity to check. + The parent base entity, which is either a section or headerfooter. + + + + Layouts the specified widget. + + The rect. + + + + + Checks whether the document has balloons in it. + + + + + Clears the layouted vertical merge start widget from m_verticallyMergeStartLW collection. + + + + + Determines whether the layouted floating table in text body items. + + + + + + Determines whether the layouted floating table in Block content control. + + Indicates the layouted widget of block content control. + + + + + Determines whether the table is needed to relayout. + + Table original client area before wrapping. + + + + + Determines Whether the row need to be move to the floating item bottom position. + + + + + + + Determines whether the table in TextBox or Shape + + Represents table entity + + + + + Determines whether the layouted floating table in tablacell. + + + + + + Check whether current floating item of frame contains a table or not. + + Represent a floating item object of frame. + Returns true, if it contains a table; Otherwise false. + + + + Gets the layouted floatting table. + + + + + + If footnote preserved in the the adjacent cell this layouting will perform + + + + + Checks After zero cell has Footnote and returns the bool Value + + + + + Removes the Footnote already layouted for the current table + + + + + Checks whether the floating table need to move to next page or not. + + + + + + Updates the table LW bounds. + + + + + gets the owner tbale fot the flaoting entity. + + The entity. + + + + + Determines whether to skip splitting table or not. + + True if splitting table need to skip. + + + + Split the row when it exceeds the page margin bottom for Word 2013 + + + + + Update KeepWithNext property set for the Table + + + + + Update absolute table position + + + + + Adjust Client Area for Text Wrapping + + Size + The rect + + + + Measures the height of the table when its height based on the content. + + Height of the table + + + + Adjusts the text wrapping bounds based on distance from text values when floating table intersects with another floating item. + + + + + + Adjusts the text wrapping bounds based on distance from text values. + + + + + + Checks whether the table intersects with floating item. + + + + + + Determine whether the table needs to move to the bottom of the floating item or not. + + + + + Checks whether the table intersects with floating item of top and bottom wrapping style. + + + + + + Checks whether to adjusts the tight and through bounds. + + + + + + Check table move to next page or not + + + + + + + Get the First row width + + + + + + Checks whether the current row is not fitted based on floating items. + + + + + Get the First row maximum cell width + + + + + + Creates the row layouted widget. + + + + + + Update the cell's border, padding, margins. + + The row. + + + + Layouts the row. + + The row widget. + + + + Layouts the row. + + The row widget. + + + + Gets the exactly type row of current table. + + + + + + + The row need to layout in that page + + If true, try to not fit in that page, else fit the row in that page. + + + + To ensure the first pargraph inside the cell is having page break before property + + + + + + + Checks the footnote in row is splitted. + + The child context. + + + + + Creates the row layout area. + + The row. + The bottom pad. + + + + + Gets the cells maximum top and bottom padding. + + The row. + The maximum top pading. + The maximum bottom padding. + The maximum top margin. + The maximum bottom margin. + + + + Updates the cells maximum top and bottom padding. + + The row. + The maximum top pading. + The maximum bottom pading. + + + + Updates the cells bottom padding and margin. + + The row. + The maximum bottom pading. + The maximum bottom margin. + + + + + Commits the row. + + + + + Checks whether there is a nested table in a row and that table has wrapping bounds bottom. + + True if the nested table has wrapping bounds bottom; else return false + + + + Check whether current row vertical merged cell layouted or not + + + + + + Updates the vertically merged cell. + + The row lw. + if set to true [is next row not fitted]. + + + + To check the row height type is exactly or not + + Entity has a exactly row height type + If the row has exactly height type, return True; else return false + + + + Update the FootNote Widgets bounds and its order based on footnote ID. + + Count of footnote widgets added by vertical merge cells. + + + + Gets the foot note Id of current foot note. + + Text body + + + + + Checks whether current text body is WFootNote text body or not. + + + + + + + Updates the splitted vertical merge cell. + + The lc. + The merge start lw. + The row information. + The child lw. + The row lw. + Index of the current. + if set to true [is next row not fitted]. + + + + + + + + + + + Gets the vertical merge start lw. + + The vertical merge end lw. + + + + + Updates the vertical text cell lw. + + + + + Updates the splitted cells. + + + + + Retreive first pagragraph present in the first cell of the current row + + paragraph widget of first cell + + + + Retreive pagragraphs present in the cells. + + paragraph widget of cells + + + + Determines whether the given widget is Table widget or not. + + The widget. + + + + + Determine whether the splitted cells are not empty + + + + + + Determine Whether the row need to be splitted across pages. + + + + + + Checks whether all the layouted rows having Keep with Next property or not. + + + + + + Checks whether the current cell horizontally merged with next cells till last column of the row. + + + + + + Calculate the right pad value + + + + Right pad value + + + + Updates the row layouted widget bounds. + + + + + + + + + + Check whether we need to layout the header row or not. + + Current table. + Row index + Return False; If we need to layout the header row; Else true. + + + + Check whether header row should layout or not. + + + + + + Check whether current page first item is inline picture or not. + + + + + + + Is splitted widget container has picture or not. + + + + + + + + + Decides whether current row any of cell has picture as first item or not. + If multiple cell has pictures then consider the large picture. + + + + + + + Get the cell's first paragraph first item if it picture. + + + + + + Get the picture from paragraph. + + + + + + + Layouts the header rows + + header row + + + + Update Header Row Widget + + + + + Determines whether [is in frame] [the specified table]. + + The table. + + + + + Updates the height of the cell. + + The column. + + + + Updates the Y position of cell widget child items based on cell vertical alignment + + Current layouted cell widget + Cell widget layout info + + + + Updates the Y position of cell widget child items based on cell vertical alignment + + The cell lw. + + + + Calculate the displacement value based on cell vertical alignment + + Current cell textbody widget + Current cell height + Set to true when the cell child items bottom greter than cell bottom + Remaining space value + displacement value + + + + To identify whether cell is having shape related items or not. + + Current cell widget + + + + + Finds the maximum bottom of floatting item. + + The child. + + + + + + Creates the table client area. + + The rect. + + + + Does the layout cell. + + The child context. + The cell area. + + + + Check whether the owner row of current cell is same as owner row of floating item + + + + + + + + Checks the foot note in text body. + + The text body. + + + + Checks the foot note in paragraph. + + The paragraph. + + + + Creates the next cell context. + + + + + + Commits the cell context. + + The child context. + + + + Marks as splitted. + + The child context. + + + + Marks as breaked. + + The child context. + + + + Marks as not fitted. + + The child context. + + + + Commits the keep with next. + + + + + Determine whether current row widget is need to commit with keeepWithNext property + + + + + + Retrun true if a layouted rows first table paragraph contains keeplines together property true, otherwise returns false. + + + + + + Retrun true if previous row has vertical merge continue cell, otherwise returns false. + + + + + + Marks as fitted. + + The child context. + + + + Updates the client area. + + + + + Checks whether table is clipped or not, based on their owner. + + + + + + Get the footnote textbody height + + + + + + + Gets the width of the row. + + Current table cell owner row. + + + + + Gets the cell client area. + + if set to true [hor merge start]. + + + + + Gets the maximum left indent of the row. + + + + + Gets the width of the cell. + + Row index + Column index + + + + + Gets the Height of the cell. + + Row index + Column index + + + + + Gets the width of the merged cell. + + + + + + Updates the LW bounds. + + + + + Corrects the table client area. + + The rect. + + + + Checks whether the need to update the inline RTL table X position. + + The table layout info. + Left indent of the table. + The rect. + + + + Gets the Horizontal alignment from table hierarchy + + + + + + + Get Minimum right padding of the table. + + + + + + Get Right padding of the cell + + + + + + + Gets or sets a value indicating whether this instance is first Text Body Item of current page. + + + + + Gets the table layout info. + + The table layout info. + + + + Gets the table widget. + + The table widget. + + + + Gets the index of the curr row. + + The index of the curr row. + + + + Gets the left pad for table. + + The left pad. + + + + Represents the layout context for layouting Math equations. + + + + + Initializes a new instance of the class. + + Represent the instance as + Represents the + Represents the isForceFitLayout + + + + Layouts the WMath widget. + + Represent the bounds of client active area + Return the of instance + + + + Create layoutarea based on margin values. + + + + + + + Do alignement for Math Layouted. + + + + + + + + Layouts the OfficeMathFunctions collection + + Represent the clientArea for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Represent whether current layouting is nested layouting or not. + + + + Find the text difference based on the base character. + + Represent the Equation Text. + Represent the base character. + Represent the characterFormat. + Represent the equation bounds. + Represent the difference position. + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Return the layouted widget of OfficeMathLimit + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Return the layouted widget of OfficeMathBox + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Return the layouted widget of OfficeMathFraction + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Return the layouted widget of OfficeMathNArray + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Return the layouted widget of OfficeMathAcccent + + + + Get the equation text. + + Represent the equation. + Return the equation text. + + + + Get the layouted widget for the character + + Represent the characterFormat + Represent the character + Represent the clientActiveArea + Represent it is N-array character + Return the layoutedStringWidget of the given string. + + + + Get the Updated bound for N-Array equation. + + Represent the N-Array layouted widget. + Represent the N-Array. + Represent the N-array bounds. + + + + + Get the updated bounds. + + Represent the Subsuperscript + Represent the Leftscript widget + Represent the Rightscript widget + Represent the layouted script. + return the updated bounds of the script childwidget. + + + + Gets the control character property from a IOfficeMathFunction. + + Represent the IOfficeMathFunction to retrive. + Retruns the ControlProperties of IOfficeMathFunction + + + + Update a current bounds with modified bounds + + Represent a current bounds + Represent a modified bounds + + + + + Get the Next characters from next math elements. + + + + + + + + + Replace the normal text with Mathematical alphanumeric symbol unicode based on Math style type. + + + + + + Determines whether spacing should be skipped after an operator. + + The character preceding the operator. + The operator character. + The character following the operator. + True if spacing should be skipped after the operator; otherwise, false. + + + + Determines if it is necessary to skip the space character based on the next character's value. + + Reference to the next character. + Index of the character whose next character is to be retrieved. + The text containing the character. + Current index in the text. + The text range associated with the character. + True if it is necessary to skip the space character, false otherwise. + + + + Retrieves the next character relative to the specified character index in the given text. + + Reference to the next character. + Index of the character whose next character is to be retrieved. + The text containing the character. + Current index in the text. + The text range associated with the character. + + + + Retrieves the previous character relative to the specified character index in the given text. + + Reference to the previous character. + Index of the character whose previous character is to be retrieved. + The text containing the character. + Current index in the text. + The text range associated with the character. + + + + Adjusts the base value to get the character with style properly. + + The character value. + The base value to adjust. + The adjusted base value. + + + + Find the given character value is operator or not. + + + + + + + Find the Given character is Greek character or not. + + + + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Return the layouted widget of OfficeMathRunElement + + + + Checks whether current math function layouting is nested or not. + + Return true, if its nested math function layouting. + + + + Checks whether current math function is nested function of specified function type. + + Represent the function type, which is nested parent. + Returns true, if current math function have nested parent. + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Return the layouted widget of OfficeMathRadical + + + + Shifts the X and Y position of LayoutedLineWidget array. + + Represent the LayoutedLineWidget array to shift. + Represent the X position value to shift. + Represent the Y position value to shift. + + + + Generate a radical lines. + + Represent the radical switch. + Represent the bounds of the radical equation. + Hold the radical symbol width. + + + + + Generate hook portion of radical symbol. + + Inner elmenet bounds of the radical equation. + Represent the points of radical downward line. + Thickness of the line to generate + Height of the hook to generate. + Represent the radical symbol font. + + + + Generates top horizontal line of radical symbol. + + Inner elmenet bounds of the radical equation. + Represent the points of radical upward line. + Thickness of the line to generate + + + + Generates downward line of radical symbol. + + Inner elmenet bounds of the radical equation. + Represent the points of radical upward line. + Thickness of the line to generate + Height of the hook to generate. + Represent the radical symbol font. + + + + Generates upward line of radical symbol. + + Inner elmenet bounds of the radical equation. + Represent the radical symbol font. + Thickness of the line to generate + + + + Get the another length from the known angles. + + Opposite side of angle1. + One of the angle, whose opposite side is known value. + Another angle, whose opposite side need to calculate + Returns calculated width from height and angles. + + + + Converts degrees into radian. + + Represents an angle in degree + Returns radian value of inputed degree value. + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Return the layouted widget of IOfficeMathPhantom + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Return the layouted widget of OfficeMathFraction + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Return the layouted widget of OfficeMathDelimiter + + + + Check whether current character is stretchable or not. + + Specify the character to check. + Returns true if input character is stretchable. + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Represent whether current layouting is nested layouting or not. + + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Represent whether current layouting is nested layouting or not. + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathBaseCollection to layout + Represent whether current layouting is nested layouting or not. + + + + Layouts the + + + + + + + + + Shift the Cell widget vertically. + + + + + + + + + + + + Shift the cell widget Horizontally. + + + + + + + + + + + + + + Layout the bar line. + + + + + + + + + + + + Layout the border box lines with respect to Math equation. + + + + + + + + + + + + Layouts the + + Represent the bounds for layouting + Represent the layouted widget of owner OfficeMath + Represent the IOfficeMathEquationArray to layout + Represent whether current layouting is nested layouting or not. + Represent whether equation array has fraction as parent or not. + Return the layouted widget of IOfficeMathEquationArray + + + + + Gets the exact row spacing value for the specified spacing rule with input row spacing value. + + Represent the input spacing value. + Specify the control character font. + Specify the spacing rule to find the row spacing. + + + + + + + + + + + + + + Reduces the font size of an OfficeMath. + + Represent the OfficeMath entity to reduce the font size. + Represent the font size ratio to multiply. + + + + Align the LayoutedMathWidget vertically. + + Represent the layoutedMathWidget to align vertically. + + + + Align the OfficeMathWidget vertically. + + Represent the officeMathWidget to align vertically. + + + + Gets the maximum bottom value of layouted OfficeMathWidget. + + Represent the officeMathWidget. + + + + + Gets the maximum bottom value of layouted MathWidget. + + Represent the MathWidget. + + + + + Gets the vertical center point of a layouted office math widget. + + Represent the layouted office math widget to find. + Returns the vertical center point of an LayoutedOMathWidget. + + + + Layouts the collection + + Represent the bounds for layouting + Represent the layouted widget of owner WMath + Represent the IOfficeMaths to layout + + + + Layouts the entity. + + Represent the bounds for layouting + Represent the IOfficeMath to layout + Represent whether current layouting is nested layouting or not. + + + + + Create layouted widget for the + + Represent the location of widget + Represent the IOfficeMath instance + Return the layouted widget of OfficeMath + + + + Create layouted widget for the + + Represent the location of widget + Return the of instance + + + + Transform the input point to given angle with specified length. + + Represent the input point to transform. + Represent the length. + Represent the angle to transform. + + + + + Gets the WMath widget of . Read-only + + The instance of the current MathLayoutContext. + + + + Gets the current Word Document instance. + + + + + Gets the original size of a WMath container. + + + + + Gets the call stack of math layouting context. + + + + + Summary description for LeafEmtyWidget. + + + + + Initializes a new instance of the class. + + The size. + + + + Measures the specified graphics. + + The graphics. + + + + + Draw range to graphics. + + + + + Initializing LayoutInfo value to null + + + + + Initializing LayoutInfo value to null + + + + + Gets layout info. + + + + + Summary description for SplitTableWidget. + + + + + Initializes a new instance of the class. + + The table widget. + The row number. + + + + Initializes a new instance of the class. + + The table widget. + The row number. + The row number. + + + + Initializes a new instance of the class. + + The table widget. + The row number. + The column number. + + + + Draw range to graphics. + + + + + Initializing LayoutInfo value to null + + + + + Gets the table widget. + + The table widget. + + + + Gets the start row number. + + The start row number. + + + + Gets the start column number. + + The start column number. + + + + Gets the splitted cells. + + The splitted cells. + + + + Gets layout info. + + + + + + Summary description for SplitWidgetContainer. + + + + + Initializes a new instance of the class. + + The container. + + + + Initializes a new instance of the class. + + The container. + The current child. + Index of the first. + + + + Initializing LayoutInfo value to null + + + + + Initializing LayoutInfo value to null + + + + + Gets the real widget container. + + The real widget container. + + + + Gets layout info. + + + + + + Gets count of child widgets. + + + + + + Gets child widget by index. + + + + + + Get child widgets + + + + + + + + + + Initializes a new instance of the class. + + The STR widget. + The text. + + + + Gets the text. + + + + + + Initializing LayoutInfo value to null + + + + + Splits the size of the by. + + The graphics. + The offset. + The clientWidth. + + + + + Measures the specified graphics. + + The graphics. + + + + + Splits the by offset. + + The graphics. + The offset. + The STR widget. + The splitted text. + + + + + Implemented alternative method to improve the performance + + + + + + + + Gets or sets a value indicating whether the trail spaces wrapped or not. + + + true if this instance is trail spaces wrapped; otherwise, false. + + + + + Gets and sets the Splitted Text + + + + + Gets the real string widget. + + The real string widget. + + + + Gets layout info. + + + + + Utility class for working with strings. + + + + + Whitespace symbol. + + + + + Whitespace symbol. + + + + + Hyphen symbol. + + + + + Default RegEx checks object's options. + + + + + Pattern for WhiteSpace. + + + + + Array of spaces. + + + + + Whitespace regex. + + + + + Text data. + + + + + Current position. + + + + + Initializes a new instance of the class. + + The text. + + + + + + Returns number of symbols occurred in the text. + + Text data. + Symbol to be searched. + + Number of symbols occurred in the text. + + + + + + + Returns number of symbols occurred in the text. + + Text data. + Array of symbols to be searched. + + Number of symbols occurred in the text. + + + + + Reads line of the text. + + Text line. + + + + Reads line of the text. + + Text line. + + + + reads a word from the text. + + A word from the data. + + + + Peeks a word from the text. + + A word from the data. + + + + Reads char form the data. + + Char symbol. + + + + Reads count of the symbols. + + Number of symbols. + String text. + + + + Reads data till the symbol. + + Specified symbol. + If true - to read the symbol. + The data read. + + + + Peeks char form the data. + + Char symbol. + + + + Closes a reader. + + + + + Reads text to the end. + + Reads text to the end. + + + + Indicates whether user specified token is whitespace symbols or not. + + Token to check. + True if token is whitespace; False otherwise. + + + + Indicates whether user specified token is whitespace symbols or not. + + Token to check. + True if token is whitespace; False otherwise. + + + + Indicates whether user specified token is tab symbols or not. + + Token to check. + True if token is whitespace; False otherwise. + + + + Calculates number of the whitespace symbols at the start or at the end of the line. + + String line. + If true - check start of the line, end of the line otherwise. + Number of the whitespace symbols at the start or at the end of the line. + + + + To check the text is Chinese unicode character + + + + + + + Checks whether array contains a symbol. + + Array of symbols. + Char symbol. + True - if comtains, False otherwise. + + + + Gets value indicating whether there is and of the data. + + + + + Gets text length. + + + + + Gets current position. + + + + + Class for splitting text. + + + + + Initializes a new instance of the class. + + + + + Splits the specified text. + + The text. + The graphics. + The font. + The format. + The size. + + + + + Does the split. + + + + + + Copies to result. + + The result. + The line result. + The lines. + The num inserted. + + + + + Finalizes final result. + + Final result. + Lines array. + + + + Calculates height of the line. + + Height of the line. + + + + Splits line. + + Text line. + Line indent. + + + + Gets dictionary for the corresponding language code from the hyphenator class. + + + + + + + + Splits a Word based on auto hyphenation of particular language. + + Maximaum available width to fit the text. + Possible hyphenated Words in the particular language + + + + + + + + + Adds line to line result. + + Line resut. + Array of the lines. + Text line. + Line width. + Line break type. + + + + Trims whitespaces at the line. + + Line info. + Indicates whether the line is the first in the text. + Trimed line info. + + + + Calculates width of the line. + + String line. + Width of the line. + + + + Returns line indent for the line. + + If true - the line is the first in the text. + Line indent for the line. + + + + Returns wrap type. + + Returns wrap type. + + + + Represents the result. + + + + + Layouted lines. + + + + + The text wasn't lay outed. + + + + + Actual layouted text bounds. + + + + + Height of the line. + + + + + Gets value that indicates whether any text was layouted. + + + + + Gets number of the lines layouted. + + + + + Contains information about the line. + + + + + Line text. + + + + + Width of the text. + + + + + Breaking type of the line. + + + + + + + + + + The position of first symbol + + + + + The position of last symbol + + + + + Disabled default constructor. + + + + + Initializes a new instance of the class. + + The first pos. + The last pos. + + + + Checks the specified length. + + The length. + + + + Extends the specified STR split info. + + The STR split info. + + + + Gets the split first part. + + The position. + + + + + Gets the split second part. + + The position. + + + + + Gets the substring. + + The text. + + + + + Gets the first position. + + The first position. + + + + Gets the last position. + + The last position. + + + + Gets the length. + + The length. + + + + Represents the methods and properties that can be working with hyphenation dictionaries. + + + + + Initializing the hyphenator for event handling. + + + + + Initializing the hyphenator to load the dictionary file. + + + + + + + Loads the dictionary file. + + + + + + Returns maximum value in the list. + + + + + + + Hyphenate the text based on the patterns + + + + + + + Gets the postion of the each pattern + + + + + + + Creates the hyphenated mask levels + + + + + + + Hypenates the masked string. + + + + + + + + Gets the alternate dictionary for the missed language code in the dictionary. + + + + + + + Occurs during Word to PDF/Image conversion to adds the alternate dictionary when a specified dictionary doesn�t exist in the collection. + + This event is supported for Word to PDF/Image conversion alone. + + + + Gets or sets patterns for the language dictionary + + + + + + Gets or sets hyphenation object using dictionary. + + + + + Represents the method that handles Adding of dictionary event. + + + + + Occurs during Word to PDF/Image conversion to add dictionary when a specified language dictionary doesn�t exist in the collection. + + + + + Represents the language code. + + + + + Represents the dictionary stream. + + + + + Initializes a new instance of class for the specified document + with original (missing) language code, and alternate language code. + + Name of the original (missing) language code. + Name of the alternate language code. + + + + Gets the original language code. Read Only. + + The string that specifies the original language code. + + + + + Helper class, used for getting font ascent/descent + + + + + Initializes a new instance of the class. + + + + + Gets the ascent. + + The ascent. + + + + Gets the descent. + + The descent. + + + + Implements a Rectangle like behavior. + + + + + Gets or sets the left. + + The left. + + + + Gets or sets the top. + + The top. + + + + Gets or sets the right. + + The right. + + + + Gets or sets the bottom. + + The bottom. + + + + Known to us measure units. + + + + + Specifies 1/75 inch as the unit of measure. + + + + + Specifies the document unit (1/300 inch) as the unit of measure. + + + + + Specifies the inch as the unit of measure. + + + + + Specifies the millimeter as the unit of measure. + + + + + Specifies the centimeter as the unit of measure. + + + + + Specifies a device pixel as the unit of measure. + + + + + Specifies a printers point (1/72 inch) as the unit of measure. + + + + + Specifies the English Metric Units as the unit of measure + + + + + Class allow to convert differ metrics units. Convert is + based on Graphics object DPI settings that is why for differ + graphics settings must be created new instance. For example: + printers often has 300 and greater dpi resolution, for compare + default display screen dpi is 96. + + + + + Standart picture DPI. + + + + + Matrix for conversations between different numeric systems + + + + + Prevent class creation + + + + + Create Units convert class based on specified Graphics units + + Graphics for measuring + + + + Converts value, stored in "from" units, to value in "to" units + + Value to convert + Indicates units to convert from + Indicates units to convert to + Value stored in "to" units + + + + Converts value, stored in "from" units, to pixels + + Value to convert + Indicates units to convert from + Value stored in pixels + + + + Converts value, stored in "from" units, to pixels + + Value to convert + Indicates units to convert from + Value stored in pixels + + + + Convert rectangle location and size to Pixels from specified + measure units + + source rectangle + source rectangle measure units + Rectangle with Pixels + + + + Convert point from specified measure units to pixels + + source point for convert + measure units + point in pixels coordinates + + + + Convert size from specified measure units to pixels + + source size + measure units + size in pixels + + + + Converts value, stored in pixels, to value in "to" units + + Value to convert + Indicates units to convert to + Value stored in "to" units + + + + Converts value, stored in pixels, to value in "to" units + + Value to convert + Indicates units to convert to + Value stored in "to" units + + + + Convert rectangle in Pixels into rectangle with specified + measure units + + source rectangle in pixels units + convert to units + output Rectangle in specified units + + + + Convert rectangle from pixels to specified units + + point in pixels units + convert to units + output Point in specified units + + + + Convert Size in pixels to size in specified measure units + + source size + convert to units + output size in specified measure units + + + + Convert Size in pixels to size in specified measure units + + source size + convert to units + output size in specified measure units + + + + Converts to pixels. + + The value. + From. + The dpi. + + + + + Converts to pixels. + + The value. + From. + The dpi. + + + + + Converts from pixels. + + The value. + To. + The dpi. + + + + + Converts from pixels. + + The value. + To. + The dpi. + + + + + Convert Size in pixels to size in specified measure units + + source size + convert to units + The dpi. + output size in specified measure units + + + + Gets the proporsion. + + The dpi. + + + + + + + + + + Close this instance. + + + + + Update proportions matrix according to Graphics settings + + reference to graphics + + + + Get Empty graphics created on Bitmap + + + + + Gets an instance of units converter. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents state information of LayoutContext object + + + + + Unknown state, set by itialization of LayoutContext + Cann't returned to parent context + + + + + Current context contains at last one child. Layouting process on + current level not finished. + Cann't returned to parent context + + + + + Current context contains at last one child. Last widget + ( or child context ) was splitted. + + + + + Wrap string based on TextWrapBounds + + + + + Current context contains at last one child. Layouting process + finished. + + + + + Current context contains at last one child. Layouting process + breaked. + + + + + Layoutted content need to relayout. Layouting process. + DynamicRelayout. + + + + + + + + + + Left tab. + + + + + Centered tab. + + + + + Right tab. + + + + + Decimal tab. + + + + + Bar. + + + + + + + + + + No leader. + + + + + Dotted leader. + + + + + Hyphenated leader. + + + + + Single line leader. + + + + + Heavy line leader. + + + + + + + + + + + + + + + + + + + + Break type of the line. + + + + + Unknown type line. + + + + + The line has new line symbol. + + + + + layout break. + + + + + The line is the first in the paragraph. + + + + + The line is the last in the paragraph. + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for StreamReadError. + + + + + Default exception message. + + + + + Default constructor. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for StreamReadError. + + + + + Default exception message. + + + + + Default constructor. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for StreamReadError. + + + + + Default exception message. + + + + + Default constructor. + + + + + Initializes a new instance of the class. + + The inner exc. + + + + Throws Exception when document appears to be corrupted and impossible. + + + + + + Throws Exception when document appears to be corrupted and impossible. + + + + + + + Throws Exception when document appears to be corrupted and impossible. + + + + + + + Converts the WordDocument Section properties into ODF Section properties + + + + + + + Updates the text, that cannot be represented in Xml as defined by XML 1.0 specification. + + + + + + + Checks for the valid xml character. + + + + + + Update the shape id. + + + + + + + Adds the image relation. + + The image collection. + The image record. + + + + + Get the next relationship ID + + returns the next relationship ID + + + + Reset the relationship id counter + + + + + Get the picture owner. + + + + + + + + + + + + + + Get the base entity + + + + + + + Loads the header footer contents + + + + + + + Gets the HeaderFooter content + + + + + + + + Gets the list level text alignment + + + + + + + Converts the WPageSetup to PageLayout properties + + The Page setup + The Page layout + The Master page + + + + Implemented alternative method to improve the performance + + + + + + + + Gets/Sets the value to denote the writer is writing header footer contents + + + + + Summary description for AnnotationReferenceDescriptor. + + + + + + + + + + Index into GrpXstAtnOwners + + + + + Unused + + + + + Unused + + + + + when not -1, this tag identifies the annotation bookmark that + locates the range of CPs in the main document which this annotation references. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for BinaryTable. + + + + + Base class for all records in Word document. + + + + + Number of bits in byte. + + + + + Number of bits in short. + + + + + Number of bits in int. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The data. + + + + Initializes a new instance of the class. + + The arr data. + The i offset. + + + + Initializes a new instance of the class. + + The arr data. + The i offset. + The i count. + + + + Initializes a new instance of the class. + + The stream. + The i count. + + + + Returns value of the single bit from byte. + + Byte to get bit value from. + Bit index. + Value of the single bit from byte. + + + + Returns value of the single bit from byte. + + Int16 to get bit value from. + Bit index. + Value of the single bit from byte. + + + + Returns value of the single bit from byte. + + Byte to get bit value from. + Bit index. + Value of the single bit from byte. + + + + Gets the bits by mask. + + The value. + The bit mask. + The i start bit. + + + + + Gets the bits by mask. + + The value. + The bit mask. + The i start bit. + + + + + Sets the bit. + + The i value. + The bit pos. + if set to true [value]. + + + + + Sets value with all bits that correspond to the specified + mask to zero to the same values as in value. + + Variable that bits of which will be set. + Bit mask. + Value from which bit values will be taken. + Value after set operation. + + + + Sets the bits by mask. + + The destination. + The bit mask. + The i start bit. + The value. + + + + + Sets value with all bits that correspond to the specified + mask to zero to the same values as in value. + + Variable that bits of which will be set. + Bit mask. + Value from which bit values will be taken. + Value after set operation. + + + + Gets the bit. + + The UI options. + The bit pos. + + + + + Sets one bit in specified Int32. + + Int32 to set bit. + Bit position in the byte + Value of bit + + If bitPos is less than zero or more than 7 + + Value after + + + + Reads UInt16 value from the stream. + + Stream to read value from. + Read value. + + + + Reads UInt32 value from the stream. + + Stream to read value from. + Read value. + + + + Reads UInt16 value from the stream. + + Stream to read value from. + Read value. + + + + Reads UInt32 value from the stream. + + Stream to read value from. + Read value. + + + + Gets UInt16 value from the array. + + Array of bytes to get value from. + Offset of the UInt16 value. + UInt16 value read from array. + + + + Gets UInt16 value from the array and moves position. + + Array of bytes to get value from. + Offset of the UInt16 value. + UInt16 value read from array. + + + + Reads the string. + + The stream. + + + + + Writes the string. + + The stream. + The STR. + + + + Gets string from array of bytes. + + Array with string data. + Offset to the string data. + String that was extracted from the array. + + + + Reads the string. + + The arr data. + The i offset. + The us count. + + + + + Gets the zero terminated string. + + The arr data. + The i offset. + The i end pos. + + + + + Toes the zero terminated array. + + The sting. + + + + + Writes the U int16. + + The arr data. + The us value. + The i offset. + + + + Writes the U int32. + + The arr data. + The uint value. + The i offset. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Copy array of bytes to target array + and changes iOffset parameter. + + + + + + + + + Reads the bytes. + + The stream. + The i. + + + + + Parses record. + + Data to parse. + + + + Parses record. + + Data to parse. + Offset in the data array to the records data. + + + + Parses the specified arr data. + + The arr data. + The i offset. + The i count. + + + + Parses the specified stream. + + The stream. + The i count. + + + + Saves the specified arr data. + + The arr data. + The i offset. + + + + + Saves the specified stream. + + The stream. + + + + + Closes this instance. + + + + + Gets the length. + + The length. + + + + Gets the underlying structure. + + The underlying structure. + + + + Array of file positions (n+1). + + + + + Array of talbe entries (n). + + + + + Default constructor. + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + Parses the specified data. + + The data. + The offset. + Length. + + + + Saves record into array of bytes. + + Array of bytes to save record into. + Offset in the array. + Number of bytes in the written data. + + + + Returns array of character positions. Read-only. + + + + + Returns array of binary table entries. Read-only. + + + + + + + + + + Returns number of bytes needed to store record in a stream or in an array. + Read-only. + + + + + Summary description for BookmarkFirstDescriptor. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default constructor. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Saves the specified stream. + + The stream. + The fib. + The end character. + + + + + + + + + + Determines whether specified bookmark covers a group of table cells. + + Index of the bookmark. + + true if [is column group] returns true; otherwise, false. + + + + + Sets specified bookmark covers a group of table cells. + + Index of the bookmark. + + + + Gets the start index of the cell which is covered by the bookmark. + + Index of the bookmark. + + + + + Sets the start index of the cell bookmark. + + Index of the bookmark. + The position. + + + + Gets the end index of the cell which is covered by the bookmark. + + Index of the bookmark. + + + + + Sets the end index of the cell bookmark. + + Index of the bookmark. + The position. + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + Writes the BKF. + + The stream. + The fib. + The end character. + + + + Writes the BKL. + + The stream. + The fib. + The end character. + + + + + + + + + + + + + + Summary description for Bookmark. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + The name. + The start pos. + The end pos. + if set to true [is cell group]. + Start index of the cell. + End index of the cell. + + + + Clones current BookmarkInfo object. + + + + + + + + + + + + + + + + + + + + + Determines whether specified bookmark covers a group of table cells . + + + + + Gets the start index of the cell which is covered by the bookmark. + + + + + Gets the end index of the cell which is covered by the bookmark. + + + + + Bookmark index in the collection of bookmarks. + + + + + Summary description for BookmarkNameRecord. + + + + + + + + + + + + + + + Default constructor. + + + + + Initializes a new instance of the class. + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets the length of the bookmark names. + + The length of the bookmark names. + + + + Summary description for BRC. + + + + + + + + + + width of a single line in 1/8 pt, max of 32 pt. + + + + + border type code: + + + + + color code + + + + + + + + + + :5 1F00 width of space to maintain between border and text within border. + Must be 0 when BRC is a substructure of TC. Stored in points. + :1 2000 when 1, border is drawn with shadow. Must be 0 when BRC is a substructure of the TC + + + + + + + + + + + + + + + + + Parse byte array to brc structure + + + + + + + Parse byte array to brc structure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Compares the border properties + + The BorderCode instance to compare + True if properties are same, else false + + + + Gets the border code text for Word comparison + + + + + + Gets the ignorable properties + + + + + + Width of a Line + + + + + Border type code + + + + + Width of space to maintain between border and text within border + + + + + when true, border is drawn with shadow + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for BreakDescriptor. + + + + + except in textbox BKD, index to PGD in plfpgd that describes the page this break is on. + + + + + number of cp's considered for this break; note that the CP's described by cpDepend in this break reside in the next BKD + + + + + + + + + + Option flags. + + + + + Default constructor + + + + + Constructor with table stream parametr + + table stream + + + + Fill class fields + + + + + + Write break descriptor structure to stream + + + + + + Index to PGD in plfpgd. + + + + + Number of cp's considered for this break. + + + + + Options + + + + + Get/set table break option. + + + + + Get/set column brake option. + + + + + Get/set Marked option. + + + + + Get/set fUnk option + in textbox BKD, when == 1 indicates cpLim of this textbox is not valid. + + + + + Get/set text overflows the end of this textbox option + + + + + + + + + + Bit index for IsTableBreak flag. + + + + + Bit index for IsColumnBreak flag. + + + + + Bit index for IsMarked flag. + + + + + Bit index for IsLimitValid flag. + + + + + Size of the record in bytes. + + + + + Underlying structure. + + + + + Default constructor. + + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + Number of bytes for the new record. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from stream. + + Stream with record's data. + Number of bytes to parse. + MemoryConverter to convert array of bytes into structure. + + + + Except in textbox BKD, index to PGD in plfpgd that describes + the page this break is on (ipgd). + + + + + in textbox BKD, + + + + + Number of cp's considered for this break; + note that the CP's described by cpDepend + in this break reside in the next BKD. + + + + + Option flags. Read-only. + + + + + ??? + + + + + Indicates whether this is table break. + + + + + Indicates whether this is a table break. + + + + + Used temporarily while word is running. + + + + + In textbox BKD, when == True indicates cpLim of this textbox is not valid. + + + + + In textbox BKD, when == True indicates that text overflows the end of this textbox. + + + + + Returns underlying structure. Read-only. + + + + + Returns number of bytes needed to store record in a stream or in an array. + Read-only. + + + + + Summary description for BinaryTable. + + + + + Array of file positions (n+1). + + + + + Array of talbe entries (n). + + + + + Default constructor. + + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + Number of bytes for the new record. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from stream. + + Stream with record's data. + Number of bytes to parse. + MemoryConverter to convert array of bytes into structure. + + + + Parses record. + + Data to parse. + Offset in the data array to the records data. + Number of bytes to parse. + + + + Parses record. + + Stream with record's data. + Number of bytes to parse. + + + + Returns array of character positions. Read-only. + + + + + Returns array of binary table entries. Read-only. + + + + + + + + + + Summary description for CharacterProperty. + + + + + + + + + + + + + + + + + + + + + + + + + Initializing constructor + + + + + Determines whether the specified option has options. + + The option. + + if the specified option has options, set to true. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sets the name of the font. + + Name of the font. + The option. + + + + Adds the SPRM. + + The option. + if set to true [value]. + + + + Adds the SPRM. + + The option. + The value. + + + + Adds the SPRM. + + The option. + The value. + + + + Adds the SPRM. + + The option. + The value. + + + + Adds the SPRM. + + The option. + The value. + + + + Clones internal chpx. + + + + + Removes the SPRM. + + The option. + + + + Determines whether this instance has Single Property Modifier Record Array. + + + if this instance has Single Property Modifier Record Array, set to true. + + + + + Gets the new (added when track changes property is on) Single Property Modifier Record. + + The option. + + + + + Gets the index of the new (changed) character properties. + + + + + Converts color to word color format + + + + + + + + + + + + + + + Returns a that represents the current . + + + A that represents the current . + + + + + Closes this instance. + + + + + Gets Sprm array + + + + + Gets CharacterPropertyException. + + + + + Gets/Sets the Complex script property + + + + + Gets/sets Bold property + + + + + Gets/sets Italic property + + + + + Gets/sets Italic property + + + + + Gets/sets Italic property + + + + + Gets/sets Strike property + + + + + + + + + + + + + + + Gets/sets DoubleStrtike property + + + + + Gets/sets Underline property + + + + + Gets/sets Font name property + + + + + Gets/sets Font name property + + + + + Gets/sets Font name property + + + + + Gets/sets Font name property + + + + + Gets/sets Font name property + + + + + Gets/sets FontAscii property + + + + + Gets/sets FontFarEast property + + + + + Gets/sets Non FontFarEast property + + + + + Gets/sets Non FontFarEast property + + + + + Gets/sets FontSize property + + + + + Gets/sets FontSizeHP property + + + + + Gets/sets FontColor property + + + + + Gets/sets Extended FontColor property + + + + + Gets/sets Extended FontColor property + + + + + Gets/sets BackGround color property + + + + + Gets/sets Sub/Super/Non script property + + + + + Gets/sets Clear property + Gets the sprm byte value and set sprm byte value to the corresponding sprm + + + + Gets/sets Picture Location + + + + + Gets/sets Outline property + + + + + Gets/sets Shadow property + + + + + Gets/sets Emboss property + + + + + Gets/sets Emboss property (Complex). + + + + + Gets/sets Engrave property + + + + + Gets/sets Engrave property ( Complex ) + + + + + Gets/sets Hidden property + + + + + Gets/sets SpecVanish property + + + + + Gets/sets SmallCaps property + + + + + Gets/sets AllCapitalized property + + + + + Gets/sets AllCapitalized property ( Complex ). + + + + + Gets/sets Font Position( raised/lowered ) property + + + + + Gets/sets Font Spacing property + + + + + Gets/sets Font Scaling property + + + + + Gets/sets Font Kern property + + + + + Gets/sets Font Shading property + + + + + Gets/sets Font Shading property + + + + + Gets/sets Border property + + + + + Gets/sets coping of sprms or not + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets/sets Bold property + + + + + Gets/sets Bold property + + + + + Gets or sets a value indicating whether no proof. + + if it is no proof, set to true. + + + + + + + + + Gets a value indicating whether this instance is inserted change. + + + true if this instance is inserted change; otherwise, false. + + + + + Gets a value indicating whether this instance is deleted change. + + + true if this instance is deleted change; otherwise, false. + + + + + Defines whether formatting was changed. + + + + + Gets or sets the index of the list pictture. + + The index of the list pictture. + + + + Gets or sets a value indicating whether [list has image]. + + true if [list has image]; otherwise, false. + + + + Gets/sets Bold property + + + + + Gets/sets Italic property + + + + + Gets/sets Bold property + + + + + Gets/sets FontSizeHP property + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets the language\locale identifier ASCII for older Word version. + + + The language\locale identifier ASCII. + + + + + Gets or sets the language\locale identifier for ASCII characters in later Word version. + + + The language\locale identifier for ASCII characters. + + + + + Gets or sets the language\locale identifier for far east characters in older Word version. + + + The language\locale identifier for far east characters. + + + + + Gets or sets the language\locale identifier for far east characters in later Word version. + + + The language\locale identifier for far east characters. + + + + + Gets or sets the language\locale identifier for bi-directional characters. + + + The language\locale identifier for bi-directional characters. + + + + + Summary description for FKPForCharacterProperties = CharPropertiesPage. + + + + + Size of the FC (File Character position). + + + + + Each FC is the limit FC of a run of exception text. + + + + + Consists of all of the CHPXs stored in FKP concatenated end to end. + Each CHPX is prefixed with a count of bytes which records its length. + + + + + Default constructor. + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + Saves record into array of bytes. + + Array of bytes to save record into. + Offset in the array. + Number of bytes in the written data. + + + + + + + + + + + + checks whether the Chpx at the current index is already parsed. (already added to offset array) + + Current Index + + + + + Each FC is the limit FC of a run of exception text. + + + + + + + + + + Count of runs. + + + + + + + + + + Summary description for CharPropertyException (CHPX). + + + + + Count of bytes of following data in CHPX. + + + + + A list of the sprms (Single PRoperty modifier) that encode + the differences between CHP (CHaracter property) for a run + of text and the CHP generated by the paragraph and character + styles that tag the run. + + + + + Default constructor. + + + + + Default constructor. + + + + + + + + + + + + + + + + + + + Parses the specified data. + + The data. + The offset. + The count. + + + + Saves record into array of bytes. + + Array of bytes to save record into. + Offset in the array. + Number of bytes in the written data. + + + + + + + + + + + + + Determines whether this instance has SPRMS. + + + true if this instance has SPRMS; otherwise, false. + + + + + Closes this instance. + + + + + Returns a value indicating whether this instance is equal to the character property exception passed as argument. + + chpx + + + + + Check whether the sprm passed in the arguments are equal. + + sprm + prevSprm + sprm Compare type + + + + + A list of the sprms (Single PRoperty modifier) that encode + the differences between CHP (CHaracter property) for a run + of text and the CHP generated by the paragraph and character + styles that tag the run. + + + + + Returns number of property modifiers. Read-only. + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for CharPosTable. + + + + + + + + + + Default constructor. + + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + Number of bytes for the new record. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from stream. + + Stream with record's data. + Number of bytes to parse. + MemoryConverter to convert array of bytes into structure. + + + + + + + + + + + + Closes this instance. + + + + + Parses record. + + Data to parse. + Offset in the data array to the records data. + Number of bytes to parse. + MemoryConverter to convert array of bytes into structure. + + + + + + + + + + + + + Gets text positions. Read-only. + + + + + + + + + + Summary description for ColumnArray. + + + + + Default distance between coumns in twips + + + + + + + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + Reads the column from the sprms. + + + + + + + + + + + + + + + Summary description for ColumnDescriptor. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Interface which represents data structures. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + Length + + + + Gets the size of the structure. + + The length. + + + + Reads the int16. + + The data array. + The offset. + + + + + Reads the int32. + + The data array. + The offset. + + + + + Reads the int64. + + The data array. + The offset. + + + + + Reads the int16. + + The data array. + The offset. + + + + + Reads the int32. + + The data array. + The offset. + + + + + Reads the array of bytes. + + The data array. + The length. + The offset. + + + + + Saves the specified int16 value in the data array. + + The arr data. + The offset. + + + + Saves the specified uint16 value in the data array. + + The arr data. + The offset. + + + + Saves the specified int32 value in the data array. + + The arr data. + The offset. + + + + Saves the specified int64 value in the data array. + + The destination. + The offset. + The value. + + + + Saves the specified uint32 value in the data array. + + The arr data. + The offset. + + + + Saves the bytes byte array. + + The destination array. + The offset. + The bytes. + + + + Copies the memory. + + The destination. + The source. + The length. + + + + Summary description for DOPStructure. + + + + + + + + + + Maximum length of the password. + + + + + Default password hash value. + + + + + + + + + + Initializes a new instance of the class. + + The stream. + The DOPDescriptor start. + Length of the dop. + if set to true document is template. + + + + Update date time values with reference to built in document properties. + + Built in document properties + + + + + + + + + + + + + + + + + Sets the document protection. + + The type. + The password. + + + + Parses the date time. + Date and Time (internal date format) (DTTM) + field | type | size | bitfield | comment + mint | U16 | :6 | 003F | minutes (0-59) + hr | U16 | :5 | 07C0 | hours (0-23) + dom | U16 | :5 | F800 | days of month (1-31) + mon | U16 | :4 | 000F | months (1-12) + yr | U16 | :9 | 1FF0 | years (1900-2411)-1900 + wdy | U16 | :3 | E000 | weekday + Weekday: Sunday=0, Monday=1, Tuesday=2, Wednesday=3, Thursday=4, Friday=5, Saturday=6 + + The date time. + + + + + Sets the date time. + + The dt. + + + + + Converts the day of week to integer. + + The DayOfWeek member. + + + + + Returns hash value for the password string. + + Password to hash. + Hash value for the password string. + + + + Converts character to 15 bits sequence + + Character to convert. + + + + Converts bits array to UInt16 value. + + Array to convert. + Converted UInt16 value. + + + + Rotates (cyclic shift) bits in the array specified number of times + + Array to rotate + Number of times to rotate + Rotated array. + + + + + + + + + + + + Gets the dop95. + + The dop95. + + + + Gets the dop97. + + The dop97. + + + + Gets the dop2000. + + The dop2000. + + + + Gets the dop2002. + + The dop2002. + + + + Gets the dop2003. + + The dop2003. + + + + Gets the dop2007. + + The dop2007. + + + + Gets the copts60. + + The copts60. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets the protection key. + + The protection key. + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets the width of the default tab. + + The width of the default tab. + + + + Specifies the maximum amount of white space, in twips, allowed at the end of the line before attempting to hyphenate the next word. + + + + + Specifies the maximum number of consecutive lines that can end in a hyphenated word before ignoring automatic hyphenation rules for a line. + + + + + Gets or sets a value indicating whether [spell all done]. + + + true if [spell all done]; otherwise, false. + + + + + Gets or sets a value indicating whether [spell clean]. + + + true if [spell clean]; otherwise, false. + + + + + Gets or sets a value indicating whether [spell hide errors]. + + + true if [spell hide errors]; otherwise, false. + + + + + Gets or sets a value indicating whether [grammar hide errors]. + + + true if [gram hide errors]; otherwise, false. + + + + + Gets or sets a value indicating whether [label document]. + + + true if [label document]; otherwise, false. + + + + + Specifies the capital letters are hyphenated in a given document + + + true if [hyph capitals]; otherwise, false. + + + + + When 1, Word will hyphenate newly typed text as a background task + + + true if [automatic hyphen]; otherwise, false. + + + + + Gets or sets a value indicating whether [form no fields]. + + + true if [form no fields]; otherwise, false. + + This property MUST be false, if ProtEnabled is false. + + + + when 1, Word will merge styles from its template + + + true if [link styles]; otherwise, false. + + + + + Gets or sets a value indicating whether [revision marking]. + + + true if [rev marking]; otherwise, false. + + + + + Gets or sets a value indicating whether [exact c words]. + + + true if [exact c words]; otherwise, false. + + + + + Gets or sets a value indicating whether [page hidden]. + + + true if [pag hidden]; otherwise, false. + + + + + Gets or sets a value indicating whether [page results]. + + + true if [pag results]; otherwise, false. + + + + + Gets or sets a value indicating whether [lock atn]. + + + true if [lock atn]; otherwise, false. + + + + + Gets a value indicating whether to mirror page margins. + + + true if than mirror margins; otherwise, false. + + + + + Gets or sets a value indicating whether [word97 compat]. + + + true if [word97 compat]; otherwise, false. + + + + + Gets or sets a value indicating whether [prot enabled]. + + + true if [prot enabled]; otherwise, false. + + + + + Gets or sets a value indicating whether the selection was within a display form field, when the document was saved last time. + + + true if the selection was within a display form field (check box or list box), when the document was saved last time; otherwise, false. + + This property MUST be false, if protection type is other than AllowOnlyFormFields. + + + + Gets or sets a value indicating whether [rm view]. + + + true if [rm view]; otherwise, false. + + + + + Gets or sets a value indicating whether [rm print]. + + + true if [rm print]; otherwise, false. + + + + + Gets or sets a value indicating whether [lock vba proj]. + + + true if [lock vba proj]; otherwise, false. + + + + + Gets or sets a value indicating whether [lock rev]. + + + true if [lock rev]; otherwise, false. + + + + + Gets or sets a value indicating whether [embed fonts]. + + + true if [embed fonts]; otherwise, false. + + + + + + + + + + Specifies whether to apply shading on form fields. + + true if form field shading is applied; otherwise, false. + + + + Gets or sets the a value indicating whether the gutter is at top of the document. + + True if the gutter is at top; otherwise, false. + + + + Specifies the structure of Dop95. + + + + + Initializes a new instance of the class. + + The dop base. + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets the copts80. + + The copts80. + + + + Specifies the structure of Dop97. + + + + + Initializes a new instance of the class. + + The dop base. + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets or sets the adt. + + The adt. + + + + Gets the dop typography. + + The dop typography. + + + + Gets the dogrid. + + The dogrid. + + + + Gets or sets the LVL dop. + + The LVL dop. + + + + Gets or sets a value indicating whether [gram all done]. + + true if [gram all done]; otherwise, false. + + + + Gets or sets a value indicating whether [gram all clean]. + + true if [gram all clean]; otherwise, false. + + + + Gets or sets a value indicating whether [subset fonts]. + + true if [subset fonts]; otherwise, false. + + + + Gets or sets a value indicating whether [HTML doc]. + + true if [HTML doc]; otherwise, false. + + + + Gets or sets a value indicating whether [disk LVC invalid]. + + true if [disk LVC invalid]; otherwise, false. + + + + Gets or sets a value indicating whether [snap border]. + + true if [snap border]; otherwise, false. + + + + Gets or sets a value indicating whether [include header]. + + true if [include header]; otherwise, false. + + + + Gets or sets a value indicating whether [include footer]. + + true if [include footer]; otherwise, false. + + + + Gets the asumyi. + + The asumyi. + + + + Gets or sets the C ch WS. + + The C ch WS. + + + + Gets or sets the C ch WS with subdocs. + + The C ch WS with subdocs. + + + + Gets or sets the GRF doc events. + + The GRF doc events. + + + + Gets or sets a value indicating whether [virus prompted]. + + true if [virus prompted]; otherwise, false. + + + + Gets or sets a value indicating whether [virus load safe]. + + true if [virus load safe]; otherwise, false. + + + + Gets or sets the key virus session30. + + The key virus session30. + + + + Gets or sets the cp max list cache main doc. + + The cp max list cache main doc. + + + + Gets or sets the ilfo last bullet main. + + The ilfo last bullet main. + + + + Gets or sets the ilfo last number main. + + The ilfo last number main. + + + + Gets or sets the CDBC. + + The CDBC. + + + + Gets or sets the CDBC with subdocs. + + The CDBC with subdocs. + + + + Gets or sets the NFC FTN ref. + + The NFC FTN ref. + + + + Gets or sets the NFC edn ref. + + The NFC edn ref. + + + + Gets or sets the HPS zoom font pag. + + The HPS zoom font pag. + + + + Gets or sets the dyw disp pag. + + The dyw disp pag. + + + + Specifies the structure of Dop2000. + + + + + Initializes a new instance of the class. + + The dop base. + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets or sets the ilvl last bullet main. + + The ilvl last bullet main. + + + + Gets or sets the ilvl last number main. + + The ilvl last number main. + + + + Gets or sets the type of the istd click para. + + The type of the istd click para. + + + + Gets or sets a value indicating whether [LAD all done]. + + true if [LAD all done]; otherwise, false. + + + + Gets or sets a value indicating whether [envelope vis]. + + true if [envelope vis]; otherwise, false. + + + + Gets or sets a value indicating whether [maybe tentative list in doc]. + + + true if [maybe tentative list in doc]; otherwise, false. + + + + + Gets or sets a value indicating whether [maybe fit text]. + + true if [maybe fit text]; otherwise, false. + + + + Gets or sets a value indicating whether [FCC all done]. + + true if [FCC all done]; otherwise, false. + + + + Gets or sets a value indicating whether [rely on CS s_ web opt]. + + true if [rely on CS s_ web opt]; otherwise, false. + + + + Gets or sets a value indicating whether [rely on VM l_ web opt]. + + true if [rely on VM l_ web opt]; otherwise, false. + + + + Gets or sets a value indicating whether [allow PN g_ web opt]. + + true if [allow PN g_ web opt]; otherwise, false. + + + + Gets or sets the screen size_ web opt. + + The screen size_ web opt. + + + + Gets or sets a value indicating whether [organize in folder_ web opt]. + + + true if [organize in folder_ web opt]; otherwise, false. + + + + + Gets or sets a value indicating whether [use long file names_ web opt]. + + + true if [use long file names_ web opt]; otherwise, false. + + + + + Gets or sets the pixels per inch_ web opt. + + The pixels per inch_ web opt. + + + + Gets or sets a value indicating whether [web options init]. + + true if [web options init]; otherwise, false. + + + + Gets or sets a value indicating whether [maybe FEL]. + + true if [maybe FEL]; otherwise, false. + + + + Gets or sets a value indicating whether [char line units]. + + true if [char line units]; otherwise, false. + + + + Gets the copts. + + The copts. + + + + Gets or sets the ver compat pre10. + + The ver compat pre10. + + + + Gets or sets a value indicating whether not to display page boundaries (doNotDisplayPageBoundaries - Open xml format property). + + true if [no marg PGVW saved]; otherwise, false. + + + + Gets or sets a value indicating whether [bullet proofed]. + + true if [bullet proofed]; otherwise, false. + + + + Gets or sets a value indicating whether [save uim]. + + true if [save uim]; otherwise, false. + + + + Gets or sets a value indicating whether [filter privacy]. + + true if [filter privacy]; otherwise, false. + + + + Gets or sets a value indicating whether [seen repairs]. + + true if [seen repairs]; otherwise, false. + + + + Gets or sets a value indicating whether this instance has XML. + + true if this instance has XML; otherwise, false. + + + + Gets or sets a value indicating whether [validate XML]. + + true if [validate XML]; otherwise, false. + + + + Gets or sets a value indicating whether [save invalid XML]. + + true if [save invalid XML]; otherwise, false. + + + + Gets or sets a value indicating whether [show XML errors]. + + true if [show XML errors]; otherwise, false. + + + + Gets or sets a value indicating whether [always merge empty namespace]. + + + true if [always merge empty namespace]; otherwise, false. + + + + + Specifies the structure of Dop2002. + + + + + Initializes a new instance of the class. + + The dop base. + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets or sets a value indicating whether [do not embed system font]. + + + true if [do not embed system font]; otherwise, false. + + + + + Gets or sets a value indicating whether [word compat]. + + true if [word compat]; otherwise, false. + + + + Gets or sets a value indicating whether [live recover]. + + true if [live recover]; otherwise, false. + + + + Gets or sets a value indicating whether [embed factoids]. + + true if [embed factoids]; otherwise, false. + + + + Gets or sets a value indicating whether [factoid XML]. + + true if [factoid XML]; otherwise, false. + + + + Gets or sets a value indicating whether [factoid all done]. + + true if [factoid all done]; otherwise, false. + + + + Gets or sets a value indicating whether [folio print]. + + true if [folio print]; otherwise, false. + + + + Gets or sets a value indicating whether [reverse folio]. + + true if [reverse folio]; otherwise, false. + + + + Gets or sets the text line ending. + + The text line ending. + + + + Gets or sets a value indicating whether [hide FCC]. + + true if [hide FCC]; otherwise, false. + + + + Gets or sets a value indicating whether [acetate show markup]. + + true if [acetate show markup]; otherwise, false. + + + + Gets or sets a value indicating whether [acetate show atn]. + + true if [acetate show atn]; otherwise, false. + + + + Gets or sets a value indicating whether [acetate show ins del]. + + true if [acetate show ins del]; otherwise, false. + + + + Gets or sets a value indicating whether [acetate show props]. + + true if [acetate show props]; otherwise, false. + + + + Gets or sets the istd table DFLT. + + The istd table DFLT. + + + + Gets or sets the ver compat. + + The ver compat. + + + + Gets or sets the GRF FMT filter. + + The GRF FMT filter. + + + + Gets or sets the I folio pages. + + The I folio pages. + + + + Gets or sets the CPG text. + + The CPG text. + + + + Gets or sets the cp min RM text. + + The cp min RM text. + + + + Gets or sets the cp min RM FTN. + + The cp min RM FTN. + + + + Gets or sets the cp min RM HDD. + + The cp min RM HDD. + + + + Gets or sets the cp min RM atn. + + The cp min RM atn. + + + + Gets or sets the cp min RM edn. + + The cp min RM edn. + + + + Gets or sets the cp min rm TXBX. + + The cp min rm TXBX. + + + + Gets or sets the cp min rm HDR TXBX. + + The cp min rm HDR TXBX. + + + + Specifies the structure of Dop2003. + + + + + Initializes a new instance of the class. + + The dop base. + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets or sets a value indicating whether [treat lock atn as read only]. + + + true if [treat lock atn as read only]; otherwise, false. + + + + + Gets or sets a value indicating whether [style lock]. + + true if [style lock]; otherwise, false. + + + + Gets or sets a value indicating whether [auto FMT override]. + + true if [auto FMT override]; otherwise, false. + + + + Gets or sets a value indicating whether [remove word ML]. + + true if [remove word ML]; otherwise, false. + + + + Gets or sets a value indicating whether [apply custom X form]. + + true if [apply custom X form]; otherwise, false. + + + + Gets or sets a value indicating whether [style lock enforced]. + + true if [style lock enforced]; otherwise, false. + + + + Gets or sets a value indicating whether [fake lock atn]. + + true if [fake lock atn]; otherwise, false. + + + + Gets or sets a value indicating whether [ignore mixed content]. + + true if [ignore mixed content]; otherwise, false. + + + + Gets or sets a value indicating whether [show placeholder text]. + + true if [show placeholder text]; otherwise, false. + + + + Gets or sets a value indicating whether [word97 doc]. + + true if [word97 doc]; otherwise, false. + + + + Gets or sets a value indicating whether [style lock theme]. + + true if [style lock theme]; otherwise, false. + + + + Gets or sets a value indicating whether [style lock QF set]. + + true if [style lock QF set]; otherwise, false. + + + + Gets or sets a value indicating whether [reading mode ink lock down]. + + + true if [reading mode ink lock down]; otherwise, false. + + + + + Gets or sets a value indicating whether [acetate show ink atn]. + + true if [acetate show ink atn]; otherwise, false. + + + + Gets or sets a value indicating whether [filter DTTM]. + + true if [filter DTTM]; otherwise, false. + + + + Gets or sets a value indicating whether [enforce doc prot]. + + true if [enforce doc prot]; otherwise, false. + + + + Gets or sets the doc prot cur. + + The doc prot cur. + + + + Gets or sets a value indicating whether to display background objects (displayBackgroundShape - Open xml property). + + true if display background objects; otherwise, false. + + + + Gets or sets the dxa page lock. + + The dxa page lock. + + + + Gets or sets the dya page lock. + + The dya page lock. + + + + Gets or sets the PCT font lock. + + The PCT font lock. + + + + Gets or sets the grfitbid. + + The grfitbid. + + + + Gets or sets the ilfo mac at cleanup. + + The ilfo mac at cleanup. + + + + Specifies the structure of Dop2007. + + + + + Initializes a new instance of the class. + + The dop base. + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets or sets a value indicating whether [RM track formatting]. + + true if [RM track formatting]; otherwise, false. + + + + Gets or sets a value indicating whether [RM track moves]. + + true if [RM track moves]; otherwise, false. + + + + Gets or sets the SSM. + + The SSM. + + + + Gets or sets a value indicating whether [reading mode ink lock down actual page]. + + + true if [reading mode ink lock down actual page]; otherwise, false. + + + + + Gets or sets a value indicating whether [auto compress pictures]. + + + true if [auto compress pictures]; otherwise, false. + + + + + Gets the dop math. + + The dop math. + + + + Specifies the structure of Asumyi. + + + + + Initializes a new instance of the class. + + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets or sets a value indicating whether this is valid. + + true if valid; otherwise, false. + + + + Gets or sets a value indicating whether this is view. + + true if view; otherwise, false. + + + + Gets or sets the view by. + + The view by. + + + + Gets or sets a value indicating whether [update props]. + + true if [update props]; otherwise, false. + + + + Gets or sets the W DLG level. + + The W DLG level. + + + + Gets or sets the L highest level. + + The L highest level. + + + + Gets or sets the L current level. + + The L current level. + + + + Specifies the structure of Dogrid. + + + + + Initializes a new instance of the class. + + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets or sets the xa grid. + + The xa grid. + + + + Gets or sets the ya grid. + + The ya grid. + + + + Gets or sets the dxa grid. + + The dxa grid. + + + + Gets or sets the dya grid. + + The dya grid. + + + + Gets or sets the dy grid display. + + The dy grid display. + + + + Gets or sets the dx grid display. + + The dx grid display. + + + + Gets or sets a value indicating whether [follow margins]. + + true if [follow margins]; otherwise, false. + + + + Specifies the structure of DopTypography. + + + + + Initializes a new instance of the class. + + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets or sets a value indicating whether [kerning punct]. + + true if [kerning punct]; otherwise, false. + + + + Gets or sets the justification. + + The justification. + + + + Gets or sets the level of kinsoku. + + The level of kinsoku. + + + + Gets or sets a value indicating whether this is print2on1. + + true if print2on1; otherwise, false. + + + + Gets or sets the custom ksu. + + The custom ksu. + + + + Gets or sets a value indicating whether [japanese use level2]. + + true if [japanese use level2]; otherwise, false. + + + + Gets or sets the CCH following punct. + + The CCH following punct. + + + + Gets or sets the CCH leading punct. + + The CCH leading punct. + + + + Gets or sets the RGXCH F punct. + + The RGXCH F punct. + + + + Gets or sets the RGXCH L punct. + + The RGXCH L punct. + + + + Specifies the structure of DopMth. + + + + + Initializes a new instance of the class. + + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets or sets the MTHBRK. + + The MTHBRK. + + + + Gets or sets the MTHBRK sub. + + The MTHBRK sub. + + + + Gets or sets the MTHBPJC. + + The MTHBPJC. + + + + Gets or sets a value indicating whether [math small frac]. + + true if [math small frac]; otherwise, false. + + + + Gets or sets a value indicating whether [math int lim und ovr]. + + true if [math int lim und ovr]; otherwise, false. + + + + Gets or sets a value indicating whether [math nary lim und ovr]. + + true if [math nary lim und ovr]; otherwise, false. + + + + Gets or sets a value indicating whether [math wrap align left]. + + true if [math wrap align left]; otherwise, false. + + + + Gets or sets a value indicating whether [math use disp defaults]. + + + true if [math use disp defaults]; otherwise, false. + + + + + Gets or sets the FTC math. + + The FTC math. + + + + Gets or sets the dxa left margin. + + The dxa left margin. + + + + Gets or sets the dxa right margin. + + The dxa right margin. + + + + Gets or sets the dxa indent wrapped. + + The dxa indent wrapped. + + + + Specifies the structure of Copts. + + + + + Initializes a new instance of the class. + + The dop base. + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets the copts80. + + The copts80. + + + + Gets or sets a value indicating whether [sp layout like W w8]. + + true if [sp layout like W w8]; otherwise, false. + + + + Gets or sets a value indicating whether [FTN layout like W w8]. + + true if [FTN layout like W w8]; otherwise, false. + + + + Gets or sets a value indicating whether [dont use HTML paragraph auto spacing]. + + + true if [dont use HTML paragraph auto spacing]; otherwise, false. + + + + + Gets or sets a value indicating whether [dont adjust line height in table]. + + + true if [dont adjust line height in table]; otherwise, false. + + + + + Gets or sets a value indicating whether [forget last tab align]. + + true if [forget last tab align]; otherwise, false. + + + + Gets or sets a value indicating whether [use autospace for full width alpha]. + + + true if [use autospace for full width alpha]; otherwise, false. + + + + + Gets or sets a value indicating whether [align tables row by row]. + + + true if [align tables row by row]; otherwise, false. + + + + + Gets or sets a value indicating whether [layout raw table width]. + + + true if [layout raw table width]; otherwise, false. + + + + + Gets or sets a value indicating whether [layout table rows apart]. + + + true if [layout table rows apart]; otherwise, false. + + + + + Gets or sets a value indicating whether [use word97 line breaking rules]. + + + true if [use word97 line breaking rules]; otherwise, false. + + + + + Gets or sets a value indicating whether [dont break wrapped tables]. + + + true if [dont break wrapped tables]; otherwise, false. + + + + + Gets or sets a value indicating whether [dont snap to grid in cell]. + + + true if [dont snap to grid in cell]; otherwise, false. + + + + + Gets or sets a value indicating whether [dont allow field end select]. + + + true if [dont allow field end select]; otherwise, false. + + + + + Gets or sets a value indicating whether [apply breaking rules]. + + true if [apply breaking rules]; otherwise, false. + + + + Gets or sets a value indicating whether [dont wrap text with punct]. + + + true if [dont wrap text with punct]; otherwise, false. + + + + + Gets or sets a value indicating whether [dont use asian break rules]. + + + true if [dont use asian break rules]; otherwise, false. + + + + + Gets or sets a value indicating whether [use word2002 table style rules]. + + + true if [use word2002 table style rules]; otherwise, false. + + + + + Gets or sets a value indicating whether [grow auto fit]. + + true if [grow auto fit]; otherwise, false. + + + + Gets or sets a value indicating whether [use normal style for list].Consider only in word 2007 and later versions + + + true if [use normal style for list]; otherwise, false. + + + + + Gets or sets a value indicating whether [dont use indent as numbering tab stop].Consider only in word 2007 and later versions + + + true if [dont use indent as numbering tab stop]; otherwise, false. + + + + + Gets or sets a value indicating whether [FE line break11].Consider only in word 2007 and later versions + + true if [FE line break11]; otherwise, false. + + + + Gets or sets a value indicating whether [allow space of same style in table].Consider only in word 2007 and later versions + + + true if [allow space of same style in table]; otherwise, false. + + + + + Gets or sets a value indicating whether [W W11 indent rules].Consider only in word 2007 and later versions + + true if [W W11 indent rules]; otherwise, false. + + + + Gets or sets a value indicating whether [dont autofit constrained tables].Consider only in word 2007 and later versions + + + true if [dont autofit constrained tables]; otherwise, false. + + + + + Gets or sets a value indicating whether [autofit like W W11].Consider only in word 2007 and later versions + + true if [autofit like W W11]; otherwise, false. + + + + Gets or sets a value indicating whether [underline tab in num list].Consider only in word 2007 and later versions + + + true if [underline tab in num list]; otherwise, false. + + + + + Gets or sets a value indicating whether [hangul width like W W11].Consider only in word 2007 and later versions + + + true if [hangul width like W W11]; otherwise, false. + + + + + Gets or sets a value indicating whether [split pg break and para mark].Consider only in word 2007 and later versions + + + true if [split pg break and para mark]; otherwise, false. + + + + + Gets or sets a value indicating whether [dont vert align cell with sp].Consider only in word 2007 and later versions + + + true if [dont vert align cell with sp]; otherwise, false. + + + + + Gets or sets a value indicating whether [dont break constrained forced tables].Consider only in word 2007 and later versions + + + true if [dont break constrained forced tables]; otherwise, false. + + + + + Gets or sets a value indicating whether [dont vert align in TXBX].Consider only in word 2007 and later versions + + + true if [dont vert align in TXBX]; otherwise, false. + + + + + Gets or sets a value indicating whether [word11 kerning pairs].Consider only in word 2007 and later versions + + true if [word11 kerning pairs]; otherwise, false. + + + + Gets or sets a value indicating whether [cached col balance].Consider only in word 2007 and later versions + + true if [cached col balance]; otherwise, false. + + + + Specifies the structure of Copts80. + + + + + Initializes a new instance of the class. + + The dop base. + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets the copts60. + + The copts60. + + + + Gets or sets a value indicating whether [suppress top spacing mac5]. + + + true if [suppress top spacing mac5]; otherwise, false. + + + + + Gets or sets a value indicating whether [trunc dxa expand]. + + true if [trunc dxa expand]; otherwise, false. + + + + Gets or sets a value indicating whether [print body before HDR]. + + true if [print body before HDR]; otherwise, false. + + + + Gets or sets a value indicating whether [no ext leading]. + + true if [no ext leading]; otherwise, false. + + + + Gets or sets a value indicating whether [dont make space for UL]. + + + true if [dont make space for UL]; otherwise, false. + + + + + Gets or sets a value indicating whether [MW small caps]. + + true if [MW small caps]; otherwise, false. + + + + Gets or sets a value indicating whether [F2PT ext leading only]. + + true if [F2PT ext leading only]; otherwise, false. + + + + Gets or sets a value indicating whether [trunc font height]. + + true if [trunc font height]; otherwise, false. + + + + Gets or sets a value indicating whether [sub on size]. + + true if [sub on size]; otherwise, false. + + + + Gets or sets a value indicating whether [line wrap like word6]. + + true if [line wrap like word6]; otherwise, false. + + + + Gets or sets a value indicating whether [W w6 border rules]. + + true if [W w6 border rules]; otherwise, false. + + + + Gets or sets a value indicating whether [exact on top]. + + true if [exact on top]; otherwise, false. + + + + Gets or sets a value indicating whether [extra after]. + + true if [extra after]; otherwise, false. + + + + Gets or sets a value indicating whether [WP space]. + + true if [WP space]; otherwise, false. + + + + Gets or sets a value indicating whether [WP just]. + + true if [WP just]; otherwise, false. + + + + Gets or sets a value indicating whether [print met]. + + true if [print met]; otherwise, false. + + + + Specifies the structure of Copts60. + + + + + Initializes a new instance of the class. + + The dop base. + + + + Parses the specified stream. + + The stream. + + + + Writes the specified stream. + + The stream. + + + + Gets or sets a value indicating whether [no tab for ind]. + + true if [no tab for ind]; otherwise, false. + + + + Gets or sets a value indicating whether [no space raise lower]. + + true if [no space raise lower]; otherwise, false. + + + + Gets or sets a value indicating whether [suppress sp bf after pg BRK]. + + + true if [suppress sp bf after pg BRK]; otherwise, false. + + + + + Gets or sets a value indicating whether [wrap trail spaces]. + + true if [wrap trail spaces]; otherwise, false. + + + + Gets or sets a value indicating whether [map print text color]. + + true if [map print text color]; otherwise, false. + + + + Gets or sets a value indicating whether [no column balance]. + + true if [no column balance]; otherwise, false. + + + + Gets or sets a value indicating whether [conv mail merge esc]. + + true if [conv mail merge esc]; otherwise, false. + + + + Gets or sets a value indicating whether [suppress top spacing]. + + true if [suppress top spacing]; otherwise, false. + + + + Gets or sets a value indicating whether [orig word table rules]. + + true if [orig word table rules]; otherwise, false. + + + + Gets or sets a value indicating whether [show breaks in frames]. + + true if [show breaks in frames]; otherwise, false. + + + + Gets or sets a value indicating whether [swap borders facing PGS]. + + + true if [swap borders facing PGS]; otherwise, false. + + + + + Gets or sets a value indicating whether [leave backslash alone]. + + true if [leave backslash alone]; otherwise, false. + + + + Gets or sets a value indicating whether [exp sh RTN]. + + true if [exp sh RTN]; otherwise, false. + + + + Gets or sets a value indicating whether [DNT UL TRL SPC]. + + true if [DNT UL TRL SPC]; otherwise, false. + + + + Gets or sets a value indicating whether [DNT BLN sb db wid]. + + true if [DNT BLN sb db wid]; otherwise, false. + + + + Summary description for FieldDescriptor. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clone field + + + + + + + + + + + + Write FieldDescriptor to stream + + + + + + + + + + + + + + + + + + + + + Gets or sets a value indicating whether field result is locked or not. + + + True if the field result should not be recalculated; otherwise, false. + + + + + + + + + + + + + + + + + + + + Summary description for Fields. + + + + + + + + + + + + + + + + + + + + + + Default constructor + + + + + + + + + + + + + Gets fields for subdocument. + + + + + + + Writes the specified stream. + + The stream. + The end position. + The sub document. + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Writes the fields for sub document. + + The st list. + The stream. + The end position. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for FieldTypeDefiner. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets the type STR table. + + The type STR table. + + + + Font family name record. + Note that just as for a pascal-style string, the first byte in the + FFN records the total number of bytes not counting the count byte + itself. + The names of the fonts correspond to the ftc codes in the + CHP structure. For example, the first font name listed corresponds + is the name for ftc = 0 + + + + + Maximal length of string that represent font names. + + + + + Bits masks and offsets for FFNBaseStructure.Options property. + + + + + FFN base structure. + + + + + The font name. + + + + + The alternative font name. + + + + + Default constructor. + + + + + Exstract record data from specified byte array. + + Data to parse. + Offset in the data array to the records data. + Number of bytes to parse. + + + + Save record data in array of bytes. + + Array of bytes to save record into. + Offset in the array. + Number of bytes in the written data. + + + + Closes this instance. + + + + + Underlying structure ( used in BaseWordRecord for fast copy data + to special structure ) + + + + + Length of ffn minus 1. + + + + + Length of record. + + + + + Gets or sets pitch request. + + + + + Check whether the subsetted attribute is present + + + + + Gets or sets TrueType flag for font. + + + + + Gets or sets font family id. + + + + + Gets or sets base weight of font. + + + + + Get/set font signature of Unicode Subset Bitfields 0 + + + + + Get/set font signature of Unicode Subset Bitfields 1 + + + + + Get/set font signature of Unicode Subset Bitfields 2 + + + + + Get/set font signature of Unicode Subset Bitfields 3 + + + + + Get/set font signature of Code Page Bitfields 0 + + + + + Get/set font signature of Code Page Bitfields 1 + + + + + Gets or sets character set identifier. + + + + + Gets or sets font name. + Summary font name and alternate font name length can not be large 65 bytes. + + + + + Gets/Sets alternative font name. + + + + + Gets/Sets Embed fonts stream (.odttf files) + + + + + Summary description for FontFamilyNameTable. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Parses record. + + Data to parse. + Offset in the data array to the records data. + Number of bytes to parse. + + + + Saves record into array of bytes. + + Array of bytes to save record into. + Offset in the array. + Number of bytes in the written data. + + + + Closes this instance. + + + + + + + + + + + + + + + Array of FontFamilyRecord objects. + + + + + Summary description for FormField. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets field type. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for LineSpacingDescriptor. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + The lsid. + if it is hybrid, set to true. + if it is simple list, set to true. + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets ListLevels object + + + + + Gets/sets list name + + + + + True if restart heading + + + + + True if it is simplelist + + + + + Gets a value indicating whether this instance is hybrid multilevel. + + + if this instance is hybrid multilevel, set to true. + + + + + Gets/sets list identifier. + + + + + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets arraylist of ListFormatOverrride levels + + + + + Gets/sets list identifier. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default list id + + + + + Strings for bulleted lists + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Reads lists' names + + + + + + + + + + + + + + + + + + + + + + + Writes lists' names + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + Gets ListFormatOverrides object + + + + + Gets ListFormats object + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Reads list's character or paragraph properties. + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + + + + + + Summary description for ListFormat. + + + + + + + + + + Key = override list style name, value = override list index. + + + + + Key = list style name, value = list index. + + + + + + + + + + + + Closes this instance. + + + + + Update the ParagraphPropertyException for current Writer ListProperties + + + + + + Continue current list + + + + + Applies the list. + + The list data. + The list format. + The style sheet. + if it is apply to pap, set to true. + + + + + + + + + + + + + + + + + + + + + + + + Summary description for ParagraphPropertyException. + + + + + Style id. + + + + + + + + + Default constructor. + + + + + Creates new record from stream. + + Stream with record's data. + Number of bytes to parse. + if set to true [is huge papx]. + + + + + + + + + + + Closes this instance. + + + + + Parses record. + + Data to parse. + Offset in the data array to the records data. + Number of bytes to parse. + + + + Saves the specified stream. + + The stream. + Number of bytes in the written data. + + + + + + + + + + + + Returns object with cloned members + + + + + Gets or sets a value indicating whether [m_is huge papx]. + + + true if [m_is huge papx]; otherwise, false. + + + + + Gets / sets StyleId. + + + + + A list of the sprms (Single PRoperty modifier) that encode + the differences between CHP (CHaracter property) for a run + of text and the CHP generated by the paragraph and character + styles that tag the run. + + + + + Returns number of property modifiers. Read-only. + + + + + + + + + + + + + + + Default constructor. + + + + + Default constructor. + + + + + Extracts structure from the array of bytes. + + Array of bytes with structure's data. + Offset to the structure's data start. + + Offset after structure's data end. + + + + Saves record into array of bytes. + + Array of bytes to save record into. + Offset in the array. + Number of bytes in the written data. + + + + + + + + + + + + + + + + + + + + + + The PHE is a substructure of the PAP and the PAPX FKP + and is also stored in the PLCFPHE. + + + + + Index of the bit of spare flag. + + + + + Index of the bit of validness bit. + + + + + Index of the bit for IsDifferentLines property. + + + + + Index of byte for lines count property. + + + + + Mask for NextRowHint property. + + + + + Start bit for NextRowHint property. + + + + + Size of the record in bytes. + + + + + Underlying structure. + + + + + Default constructor. + + + + + Initializes a new instance of the class. + + The arr data. + + + + Initializes a new instance of the class. + + The stream. + + + + Parses the specified data array. + + The data array. + The offset. + + + + Saves the structure. + + The destination data array. + The offset. + + + + + Reserved (fSpare). + + + + + Indicates whether this structure is valid (fUnk). + + + + + If this property is set to True then total height of paragraph is known + but lines in paragraph have different heights (fDiffLines). + + + + + When fDiffLines is 0 is number of lines in paragraph (clMac). + + + + + Width of lines in paragraph (dxaCol). + + + + + when IsDiffLines is 0, is height of every line in paragraph in pixels + when IsDiffLines is 1, is the total height in pixels of the paragraph + + If the PHE is stored in a PAP whose fTtp field is set (non-zero), + height of table row (dymLine / dymHeight / dymTableHeight). + + + + + If not == 0, used as a hint when finding the next row (dcpTtpNext). + + + + + Gets underlying structure. Read-only. + + + + + + + + + + Summary description for FKPForCharacterProperties = ParagraphPropertiesPage. + + + + + Size of the FC (File Character position). + + + + + Each FC is the limit FC of a run of exception text. + + + + + An array of the BX data structure. The ith BX entry in the array describes + the paragraph beginneing at fkp.rgfc[ i ]. + + + + + Consists of all of the CHPXs stored in FKP concatenated end to end. + Each CHPX is prefixed with a count of bytes which records its length. + + + + + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + Saves record into array of bytes. + + Array of bytes to save record into. + Offset in the array. + Number of bytes in the written data. + + + + Each FC is the limit FC of a run of exception text. + + + + + An array of the BX data structure. The ith BX entry in the array describes + the paragraph beginneing at fkp.rgfc[ i ]. + + + + + + + + + + Count of runs. + + + + + + + + + + Summary description for PICF. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clones current PictureDescriptor. + + + + + + + + + + + + + + + Compare the properties of PICF + + + True, if all the properties matches, else false + + + + Gets the PICF text for Word comparison + + + + + + + + + + + + + + + + + + + + + + + + + + Gets the border top. + + The border top. + + + + Gets the border left. + + The border left. + + + + Gets the border right. + + The border right. + + + + Gets the border bottom. + + The border bottom. + + + + + + + + + Size of the record in bytes. + + + + + Underlying structure. + + + + + Default constructor. + + + + + Parses record. + + Data to parse. + + + + Parses record. + + Data to parse. + Offset in the data array to the records data. + + + + when 1, means that piece contains no end of paragraph marks. + + + + + used internally by Word + + + + + used internally by Word + + + + + file offset of beginning of piece. The size of the ith piece can be determined by subtracting rgcp[i] of the containing plcfpcd from its rgcp[i+1]. + + + + + contains either a single sprm or else an index number of the grpprl which contains the sprms that modify the properties of the piece. + + + + + Returns underlying structure. Read-only. + + + + + + + + + + Summary description for BinaryTable. + + + + + Array of file positions (n+1). + + + + + Array of talbe entries (n). + + + + + Default constructor. + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + Returns array of character positions. Read-only. + + + + + Returns array of binary table entries. Read-only. + + + + + + + + + + + + + + + Summary description for PosStructReader. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for ReferencePositionTable. + + + + + Locations of footnote references within the main text address space. + + + + + Reference numbers. + + + + + Default constructor. + + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + Number of bytes for the new record. + + + + Creates new record from stream. + + Stream with record's data. + Number of bytes to parse. + + + + Parses record. + + Data to parse. + Offset in the data array to the records data. + Number of bytes to parse. + MemoryConverter to convert array of bytes into structure. + + + + Gets locations of footnote references within the main text + address space. Read-only. + + + + + Gets reference numbers. Read-only. + + + + + + + + + + Summary description for SectionDescriptor. + + + + + Size of the record. + + + + + Underlying structure. + + + + + Default constructor. + + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + MemoryConverter to convert array of bytes into structure. + + + + + + + + + + + + Parses record. + + Data to parse. + Offset in the data array to the records data. + Number of bytes to parse. + + + + used internally by Word (fn). + + + + + used internally by Word (fnMpr). + + + + + File offset in main stream to beginning of SEPX stored for section. + If sed.fcSepx == 0xFFFFFFFF, the section properties for the section are equal + to the standard SEP (see SEP definition). + + + + + Points to offset in FC space of main stream where the Macintosh Print Record + for a document created on a Mac will be stored. + + + + + Returns underlying class or structure. + + + + + + + + + + Summary description for SectionExceptionsTable. + + + + + The boundaries (character positions) of sections in the Word document. + + + + + 1-to-1 correspondence to the array of CPs. + Each SED stores the beginning FC of the SEPX that records the properties + for a section. If the FC stored in a SED is -1, the section properties of + the section are exactly equal to the standard section properties. + + + + + Default constructor. + + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + MemoryConverter to convert array of bytes into structure. + + + + + + + + + Closes this instance. + + + + + Parses the specified data. + + The data. + The offset. + The count. + + + + Saves record into array of bytes. + + Array of bytes to save record into. + Offset in the array. + Number of bytes in the written data. + + + + The boundaries (character positions) of sections in the Word document. + + + + + 1-to-1 correspondence to the array of CPs. + Each SED stores the beginning FC of the SEPX that records the properties + for a section. If the FC stored in a SED is -1, the section properties of + the section are exactly equal to the standard section properties. + + + + + + + + + + Number of elements in the collection. + + + + + Summary description for SectionProperties. + + + + + + + + + + + + + + + Default constructor + + + + + Initializing constructor + + + + + Returns object with cloned members + + + + + + + + + + + + + + + + + + + + + + + + + + Copy paragraph properties or not + + + + + + + + + + Gets/sets the space between the header and the top of the page. + + + + + Gets/sets the space between the footer and the bottom of the page. + + + + + Gets/sets whether a title page is to be displayed + + + + + Gets / sets break code + + + + + Gets / sets text direction + + + + + + + + + + + + + + + Gets/sets the distance between the bottom edge of the page and + the bottom boundary of the text. + + + + + Gets/sets the distance between the top edge of the page and + the top boundary of the text. + + + + + Gets/sets the distance between the left edge of the page and + the left boundary of the text. + + + + + Gets/sets the distance between the right edge of the page and + the right boundary of the text. + + + + + Orientation of pages in that section. Set page size firstly! + Set to 0 - when portrait, 2 - when landscape + + + + + Gets/sets the height of the page in twips. + + + + + Gets/sets the width of the page in twips. + + + + + Gets/sets the bin in which the first page of the section will be printed + + + + + Gets/sets the bin in which the other pages of the section will be printed + + + + + Vertical justification code + 0 top justified + 1 centered + 2 fully justified vertically + 3 bottom justified + + + + + Gets/sets the size of the page gutter. + + + + + Gets / sets whether section contains right-to-left text. + + + + + + + + + + Gets or sets the value page start at. + + The page start at. + + + + Gets or sets a value indicating whether to restart page. + + if page restart, set to true. + + + + Gets or sets the line pitch. + + The line pitch. + + + + Gets or sets the type of the pitch. + + The type of the pitch. + + + + Gets or sets a value indicating whether to draw lines between columns. + + + if draw lines between columns, set to true. + + + + + Gets or sets a value indicating whether [form protect]. + + true if [form protect]; otherwise, false. + + + + Gets or sets a value indicating sprmSWall + + + if draw lines between columns, set to true. + + + + + Gets or sets a value indicating [Chapter numbering seprator in page number]. + + + Chapter Page Separator + + + + + Gets or sets a value indicating [Chapter numbering level in page number]. + + + Chapter Heading Level + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets / sets endnote numbering format + + + + + Gets / sets footnote numbering format + + + + + Gets / sets the restart index for endnote + + + + + Gets / sets the restart index for footnotes + + + + + Gets / sets footnote position in the document + + + + + Gets / sets the initial footnote number + + + + + Gets / sets the initial endnote number + + + + + Summary description for SectionPropertyException. + + + + + List of sprms that encodes the differences between the properties of + a section and Word's default section properties. + + + + + Default constructor. + + + + + Creates instance and sets the default section properties + + If true, loads the default section properties. + + + + Creates instance and gets data from the stream. + + Stream with new instance data. + MemoryConverter for structures convertions. + + + + Closes this instance. + + + + + Extracts instance from the stream. + + Stream with data. + MemoryConverter for structures convertions. + + + + Saves record into array of bytes. + + Array of bytes to save record into. + Offset in the array. + Number of bytes in the written data. + + + + + + + + + Number of property modifiers. + + + + + + + + + + + + + + + + + + + + + + + + + Gets / sets break code + + + + + Gets / sets columns count + + + + + Summary description for ShadingDescriptor. + + + + + + + + + + Initializing constructor + + + + + + Default constructor + + + + + Clones the ShadingDescriptor instance. + + + + + + + + + + + + Returns non-parsed structure as short value + + + + + + + + + + + + + Returns non-parsed structure as short value + + + + + + Gets/sets foreground color + + + + + Gets/sets background color + + + + + Gets/sets pattern + + + + + + + + + + Summary description for SinglePropertyModifierArray. + + + + + List of single property modifiers. + + + + + Default constructor. + + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + Number of bytes for the new record. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from stream. + + Stream with record's data. + Number of bytes to parse. + MemoryConverter to convert array of bytes into structure. + + + + Remove modifier from collection + + + + + + Parses record. + + Data to parse. + Offset in the data array to the records data. + Number of bytes to parse. + + + + Check the duplicate sprm in single propety modifier array collection + + Current single property modifier array record + + + + Determines whether sprm is correct. + + The Single Property Modifier Record. + + true if sprm is correct; otherwise, false. + + + + + Checks for valid Character Property sprm + + + + true if sprm is correct; otherwise, false. + + + + + Checks for valid paragraph Property sprm + + + + true if sprm is correct; otherwise, false. + + + + + Checks for valid Table Property sprm + + + + true if sprm is correct; otherwise, false. + + + + + Checks for valid Section Property sprm + + + + true if sprm is correct; otherwise, false. + + + + + Checks for valid Picture Property sprm + + + + true if sprm is correct; otherwise, false. + + + + + Saves record into array of bytes. + + Array of bytes to save record into. + Offset in the array. + Number of bytes in the written data. + + + + + + + + + + + + + + + + + + + + + Removes all modifiers from the collection. + + + + + Adds new modifier to the collection. + + Modifier to add. + + + + Sort Sprms based on Unique ID + + + + + Check whether the Sprms contain TrackChanges SPRMs + + + + + + Adds new modifier to the collection. + + Modifier to add. + + + + + Adds new modifier to the collection. + + Modifier to add. + + + + + + + + + + + + + + + + + + + + + Returns true if sprm present + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clones this instance. + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + Gets the sprm by index. + + Index of the SPRM. + + + + + Contains the specified option. + + The option. + + + + + Returns corresponding sprm if it + + Options + + + + + Gets the new (added when track changes property is on) Single Property Modifier Record. + + The option. + + + + + Gets the index of the new (changed) paragraph properties. + + + + + Gets the old sprm from the sprms collection + + + + + + + + List of single property modifiers. Read-only. + + + + + Indexer by sprm options. + + + + + Returns number of elements in the array. Read-only. + + + + + + + + + + + + + + + + + + + + + + + + + Parent collection. + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for SprmRecord. + + + + + 0-8 bits. + + + + + Start bit for unique id bit mask. + + + + + Bit index for special handling value. + + + + + Mask for type of sprm. + + + + + + + + + + Mask for operand size. + + + + + Start non-zero bit in operand size mask. + + + + + Mask for ushort value. + + + + + Header options of the sprm. + + + + + Length of the operand. + + + + + + + + + + Sprm length. + + + + + + + + + + + + + + + + + + + + + + + Extracts SPRM structure from array of bytes. + + Array of bytes that contains SPRM. + Offset of SPRM in the array of bytes. + Offset in arrBuffer after SPRM. + + + + Extracts SPRM structure from stream. + + Stream with sprm data. + MemoryConverter to convert memory block into structure. + + + + Saves record into array of bytes. + + Array of bytes to save record into. + Offset in the array. + Number of bytes in the written data. + + + + + + + + + + + + + + + + + + Converts WordSprmOperandSize to number of bytes needed to be read from stream. + + Size of the operand. + Number of bytes needed to be read from stream. + + + + + + + + + + + + + + + + + + + + + + + Unique identifier within sgc group. + + + + + Indicates whether sprm needs special handling. + + + + + Type of sprm. + + + + + Size of the operand. + + + + + Size of the operand in bytes. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Header options of the sprm. + + + + + Header options of the sprm. + + + + + + + + + + + + + + + Summary description for Spacings. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clone cell spacing + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for StringTableRecord. + + + + + Default constructor. + + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + MemoryConverter to convert array of bytes into structure. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + Number of bytes for the new record. + + + + Creates new record from stream. + + Stream with record's data. + Number of bytes to parse. + + + + Parses record. + + Data to parse. + Offset in the data array to the records data. + Number of bytes to parse. + + + + Summary description for BinTableEntry. + + + + + Record size in bytes. + + + + + Binary table entry value. + + + + + Parses the specified data array. + + The arr data. + The i offset. + + + + + Saves the structure to data array. + + The arr data. + The i offset. + + + + Binary table entry value. + + + + + Summary description for BookmarkFirstStructure. + + + + + + + + + + + + + + + + + + + + Saves bookmark positions. + + + + + + Saves bookmark properties. + + + + + + + + + + + + + + + + + + + + + Summary description for Border Structure. + + + + + width of a single line in 1/8 pt, max of 32 pt. + + + + + border type code: + + + + + color code + + + + + :5 1F00 width of space to maintain between border and text within border. + Must be 0 when BRC is a substructure of TC. Stored in points. + :1 2000 when 1, border is drawn with shadow. Must be 0 when BRC is a substructure of the TC + + + + + Initializes a new instance of the class. + + The arr. + The i offset. + + + + Initializes a new instance of the class. + + + + + Clones the BorderStructure instance. + + + + + + Parse byte array to BorderCode structure + + + + + + + Saves the specified arr. + + The arr. + The i offset. + + + + Width of a Line + + + + + Border type code + + + + + Width of space to maintain between border and text within border + + + + + when true, border is drawn with shadow + + + + + Gets or sets the color of the line. + + The color of the line. + + + + Gets a value indicating whether this instance is clear. + + if this instance is clear, set to true. + + + + + + + + + Gets the size of the structure. + + The length. + + + + BreaK Descriptor (BKD). + + + + + except in textbox BKD, index to PGD in plfpgd that describes the page this break is on. + + + + + in textbox BKD, + + + + + number of cp's considered for this break; note that the CP's described by cpDepend in this break reside in the next BKD + + + + + + + + + + Option flags. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the specified arr. + + The arr. + The offset. + + + + + Gets the size of the structure. + + The length. + + + + Summary description for BXStructure. + + + + + Size of the record. + + + + + Word offset of the PAPX (PAragraph Property eXception ) recorded + for the paragraph corresponding to the BX. + + + + + PHE structure which stores the current paragraph height for + the paragraph corresponding to the BX. + + + + + Default constructor. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + Length + + + + Saves the specified writer. + + The writer. + + + + Word offset of the PAPX (PAragraph Property eXception ) recorded + for the paragraph corresponding to the BX. + + + + + + + + + + Gets the size of the structure. + + The length. + + + + Base structure for FontFamilyNameRecord. + + + + + + + + + + Total length of FFN - 1. + + [ FieldOffset( 0 ) ] + + + + Option flags. + + 2bits - pitch request + 1bit - when 1, font is a TrueType font + 1bit - reserved + 3bits - font family id + 1bit - reserved + + + [ FieldOffset( 1 ) ] + + + + Base weight of font. + + [ FieldOffset( 2 ) ] + + + + Character set identifier. + + [ FieldOffset( 4 ) ] + + + + Index into ffn.szFfn to the name of the alternate font. + + [ FieldOffset( 5 ) ] + + + + "Magic" data. + + { 0x2, 0x2, 0x6, 0x3, 0x5, 0x4, 0x5, 0x2, 0x3, 0x4 } + + + + + + "Magic" data. + + m_FONTSIGNATURE[ 0 ] = 0x87; + m_FONTSIGNATURE[ 1 ] = 0x7a; + ... + m_FONTSIGNATURE[ 3 ] = 0x20; + ... + m_FONTSIGNATURE[ 7 ] = 0x80; + m_FONTSIGNATURE[ 8 ] = 0x8; + ... + m_FONTSIGNATURE[ 16 ] = 0xff; + m_FONTSIGNATURE[ 17 ] = 0x1; + + + + + + Closes this instance. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + + + + Total length of FFN - 1. + + + + + Option flags. + + 2bits - pitch request + 1bit - when 1, font is a TrueType font + 1bit - reserved + 3bits - font family id + 1bit - reserved + + + + + + Base weight of font. + + + + + Character set identifier. + + + + + Index into ffn.szFfn to the name of the alternate font. + + + + + Length of record. + + The length. + + + + Formatted disK Page - 512 bytes + + + + + Size of the record. + + + + + Page data. + + + + + Count of elements in the array. + + + + + Default constructor. + + + + + + + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + Length + + + + + + + + + + + Closes this instance. + + + + + Page data. + + + + + Count of elements. + + + + + Gets the size of the structure. + + The length. + + + + Summary description for ParagraphHeightStructure. + + + + + Options. + + + + + Width of lines in paragraph. + + + + + when IsDiffLines is 0, is height of every line in paragraph in pixels + when IsDiffLines is 1, is the total height in pixels of the paragraph + + If the PHE is stored in a PAP whose fTtp field is set (non-zero), + height of table row + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + + + + + + + + + + + + + + + + + + + Options + + + + + file offset of beginning of piece. The size of the ith piece can be determined by subtracting rgcp[i] of the containing plcfpcd from its rgcp[i+1]. + + + + + contains either a single Single Property Modifier Record or else an index number of the grpprl which contains the sprms that modify the properties of the piece. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + Destination data array + The offset. + + + + Options. + + + + + File offset of beginning of piece.The size of the ith piece can be determined + by subtracting rgcp[i] of the containing plcfpcd from its rgcp[i+1]. + + + + + Contains either a single Single Property Modifier Record or else an index number of the grpprl + which contains the sprms that modify the properties of the piece. + + + + + + + + + + Summary description for PropertyModifierStructure. + + + + + Bit index for IsComplex value. + + + + + Size of the record in bytes; + + + + + Options. + + + + + + + + + + + + Saves structure to specified data array. + + The array with data. + The offset. + + + + + + + + + + + + + + Summary description for SectionDescriptorStructure. + + + + + used internally by Word (fn). + + + + + file offset in main stream to beginning of SEPX stored for section. + If sed.fcSepx == 0xFFFFFFFF, the section properties for the section are equal + to the standard SEP (see SEP definition). + + + + + used internally by Word (fnMpr). + + + + + Points to offset in FC space of main stream where the Macintosh Print Record + for a document created on a Mac will be stored. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + + + + used internally by Word (fn). + + + + + used internally by Word (fnMpr). + + + + + file offset in main stream to beginning of SEPX stored for section. + If sed.fcSepx == 0xFFFFFFFF, the section properties for the section are equal + to the standard SEP (see SEP definition). + + + + + Points to offset in FC space of main stream where the Macintosh Print Record + for a document created on a Mac will be stored. + + + + + Gets the size of the structure. + + The length. + + + + Base part of StyleDefinition. + + + + + Number of bytes in the record. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Option flags. + + + + + Option flags. + + + + + Option flags. + + + + + Offset to end of upx's, start of upe's (bchUpe). + + + + + Option flags. + + + + + Option flags (contain info about links) + + + + + Resets all fields. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + + + + Invariant style identifier. + + + + + Spare field for any temporary use, always reset back to zero! + + + + + PHEs of all text with this style are wrong. + + + + + Indicates whether UPEs have been generated. + + + + + std has been mass-copied; if unused at save time, style should be deleted. + + + + + Style type code. + + + + + Base style. + + + + + + + + + + Number of UPXs (and UPEs). + + + + + Next style. + + + + + Auto redefine style when appropriate + + + + + Indicates whether style is hidden from UI. + + + + + + + + + + Gets or sets the link style id. + + The link style id. + + + + Indicates whether style is hidden from UI. + + + + + Indicates whether style is hidden from UI. + + + + + Indicates whether style is hidden from UI. + + + + + STSHI: STyleSHeet Information, as stored in a file + Note that new fields can be added to the STSHI without invalidating + the file format, because it is stored preceded by it's length. + When reading a STSHI from an older version, new fields will be zero. + + + + + Bit index for StdStyleNamesWritten property. + + + + + + + + + + Count of styles in stylesheet (cstd). + + + + + Length of STD Base as stored in a file. + + + + + Option flags. + + + + + Max sti known when this file was written (StiMaxWhenSaved). + This indicates the last built-in style known to the version of Word + that saved this file. + + + + + How many fixed-index istds are there? + + + + + Current version of built-in stylenames (nVerBuiltInNamesWhenSaved). + + + + + ftc used by StandardChpStsh for this document (rgftcStandardChpStsh). + + + + + Represents the sprmCFtcBi for default document formatting + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the specifies structure. + + The arr data. + The offset. + + + + Count of styles in stylesheet (cstd). + + + + + Length of STD Base as stored in a file (cbSTDBaseInFile). + + + + + Indicates whether built-in stylenames are stored. + + + + + Max sti known when this file was written. + + + + + How many fixed-index istds are there? + + + + + Current version of built-in stylenames (nVerBuiltInNamesWhenSaved). + + + + + ftc used by StandardChpStsh for this document. Read-only. + + + + + Gets and sets the default Bidi font + + + + + + + + + + Summary description for _Constants. + + + + + Size of the File Character position. + + + + + Number of bytes in single word value. + + + + + Number of bytes in single int value. + + + + + Number of bytes in formatted disk page. + + + + + Number of bytes in single long value. + + + + + To prevent creating instances of this class constructor was made private. + + + + + Base part of StyleDefinition. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base part of the style definition. + + + + + Names of the styles + + + + + Names of the aliases styles (comma separated). + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + Extract record's fields from stream. + + Stream with record's data. + Number of bytes that belongs the record. + MemoryConverter to convert array of bytes into structure. + Style sheet info. + + + + + + + + + Saves record into stream. + + Stream to save record into. + Number of bytes in the written data. + + + + Default constructor. + + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + Number of bytes for the new record. + MemoryConverter to convert array of bytes into structure. + + + + + Creates new record from stream. + + Stream with record's data. + Number of bytes that belongs the record. + MemoryConverter to convert array of bytes into structure. + Style sheet info. + + + + Parses UPX part of the variable part. + + + + + + + + Returns even number based on specified number. + + + + + + + + + + + + + + + + + + + Invariant style identifier. + + + + + Spare field for any temporary use, always reset back to zero! + + + + + PHEs of all text with this style are wrong. + + + + + Indicates whether UPEs have been generated. + + + + + std has been mass-copied; if unused at save time, style should be deleted. + + + + + Style type code. + + + + + Base style. + + + + + + + + + + Number of UPXs (and UPEs). + + + + + Next style. + + + + + Auto redefine style when appropriate + + + + + Indicates whether style is hidden from UI. + + + + + Names of the style + + + + + Name of the Aliases Style Names (comma separated). + + + + + Returns array of Universal Property Exceptions. Read-only. + + + + + Returns array of Property Exceptions. Read-only. + + + + + Returns array of Property Exceptions. Read-only. + + + + + Underlying structure. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets the link style id. + + The link style id. + + + + Gets or sets a value indicating whether this instance is primary style. + + + true if this instance is primary style; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is priority. + + + true if this instance is priority; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is semi hidden. + + + true if this instance is semi hidden; otherwise, false. + + + + + + + + + + STSHI: STyleSHeet Information, as stored in a file + Note that new fields can be added to the STSHI without invalidating + the file format, because it is stored preceded by it's length. + When reading a STSHI from an older version, new fields will be zero. + + + + + Bit index for StdStyleNamesWritten property. + + + + + Underlying structure. + + + + + Initializes a new instance of the class. + + Length of the i STD base. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + Number of bytes for the new record. + + + + Creates new record from stream. + + Stream with record's data. + Number of bytes to parse. + + + + Parses record. + + Data to parse. + Offset in the data array to the records data. + Number of bytes to parse. + + + + Closes this instance. + + + + + Count of styles in stylesheet (cstd). + + + + + Length of STD Base as stored in a file (cbSTDBaseInFile). + + + + + Indicates whether built-in stylenames are stored. + + + + + Max sti known when this file was written. + + + + + How many fixed-index istds are there? + + + + + Current version of built-in stylenames (nVerBuiltInNamesWhenSaved). + + + + + ftc used by StandardChpStsh for this document. Read-only. + + + + + Underlying structure. + + + + + + + + + + Gets and sets the default bidi font name + + + + + Summary description for SymbolDescriptor. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for TabDescriptor. + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + The justification. + The leader. + + + + Saves this instance. + + + + + + Gets or sets the justification. + + The justification. + + + + Gets or sets the tab leader. + + The tab leader. + + + + Summary description for TableBorders. + + + + + + + + + + + + + + + Initializes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for TabsDescriptor. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + + + + + Saves the specified SPRMS. + + The SPRMS. + The SPRM option. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets the tab count. + + The tab count. + + + + Gets or sets the tab positions. + + The tab positions. + + + + Gets or sets the tab delete positions. + + The tab delete positions. + + + + Gets or sets the descriptors. + + The descriptors. + + + + Summary description for TextBoxDescriptor. + + + + + when not fReusable count of textboxes in story chain. + + + + + if fReusable, counts the number of reusable textboxes follow + this one in the linked list. + + + + + this textbox is not currently in use. + + + + + Reserved + + + + + Shape Identifier for first Office Shape in textbox chain. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Count of textboxes in story chain + + + + + The number of reusable + textboxes follow this one + + + + + Is current textbox reusable + + + + + Shape Identifier for first Office Shape + + + + + Summary description for UniversalPropertyException. + + + + + Internal data. + + + + + Default constructor. + + + + + Creates new record from array of bytes, using specified memory provider. + + Data to parse. + Offset to the class data. + Number of bytes for the new record. + MemoryConverter to convert array of bytes into structure. + + + + Closes this instance. + + + + + Parses record. + + Data to parse. + Offset in the data array to the records data. + Number of bytes to parse. + + + + Returns internal data array. Read-only. + + + + + + + + + + The properties types + + + + + Paragraph properties = 1, + + + + + Character Properties = 2, + + + + + Picture Properties = 3, + + + + + Section Properties = 4, + + + + + Table Properties = 5, + + + + + Size of the operand for sprm (Single PRoperty Modifier). + + + + + 1 byte, operand affects 1 bit. + + + + + Size of the operand, 1 byte. + + + + + Size of the operand, 2 bytes + + + + + Size of the operand, 4 bytes. + + + + + Size of the operand, TwoBytes2. + + + + + Size of the operand, TwoBytes3. + + + + + Variable length - following byte is size of operand. + + + + + Size of the operand, 3 bytes. + + + + + Specifies the WordSprmOptionType. + + + + + The SPRM p istd + + + + + The SPRM p istd permute + + + + + The SPRM p inc level + + + + + The SPRM p jc + + + + + The SPRM pf side by side + + + + + The SPRM pf keep + + + + + The SPRM pf keep follow + + + + + The SPRM pf page break before + + + + + The SPRM p BRCL + + + + + The SPRM p BRCP + + + + + The SPRM p ilvl + + + + + The SPRM p ilfo + + + + + The SPRM pf no line numb + + + + + The SPRM p CHG tabs papx + + + + + The SPRM p dxa right + + + + + The SPRM p dxa left + + + + + The SPRM p nest + + + + + The SPRM p dxa left1 + + + + + The SPRM p dya line + + + + + The SPRM p dya before + + + + + The SPRM p dya after + + + + + The SPRM p CHG tabs + + + + + The SPRM pf in table + + + + + The SPRM pf TTP + + + + + The SPRM p dxa abs + + + + + The SPRM p dya abs + + + + + The SPRM p dxa width + + + + + The SPRM p pc + + + + + The SPRM p BRC top10 + + + + + The SPRM p BRC left10 + + + + + The SPRM p BRC bottom10 + + + + + The SPRM p BRC right10 + + + + + The SPRM p BRC between10 + + + + + The SPRM p BRC bar10 + + + + + The SPRM p dxa from text10 + + + + + The SPRM p wr + + + + + The SPRM p BRC top + + + + + The SPRM p BRC left + + + + + The SPRM p BRC bottom + + + + + The SPRM p BRC right + + + + + The SPRM p BRC between + + + + + The SPRM p BRC bar + + + + + The SPRM p BRC top new + + + + + The SPRM p BRC left new + + + + + The SPRM p BRC bottom new + + + + + The SPRM p BRC right new + + + + + The SPRM pf no automatic hyph + + + + + The SPRM pw height abs + + + + + The SPRM p DCS + + + + + The SPRM p SHD + + + + + The SPRM p dya from text + + + + + The SPRM p dxa from text + + + + + The SPRM pf locked + + + + + The SPRM pf widow control + + + + + The SPRM p ruler + + + + + The SPRM pf kinsoku + + + + + The SPRM pf word wrap + + + + + The SPRM pf overflow punct + + + + + The SPRM pf top line punct + + + + + The SPRM pf automatic space de + + + + + The SPRM pf automatic space dn + + + + + The SPRM pw align font + + + + + The SPRM p frame text flow + + + + + The SPRM pi snap base line + + + + + The SPRM p anld + + + + + The SPRM p property r mark + + + + + The SPRM p out level + + + + + The SPRM pf bi di + + + + + The SPRM pf number rm ins + + + + + The SPRM p cr lf + + + + + The SPRM p number rm + + + + + The SPRM p huge papx + + + + + The SPRM p huge papx2 + + + + + The SPRM pf use pgsu settings + + + + + The SPRM pf adjust right + + + + + The SPRM CFR mark delete + + + + + The SPRM CFR mark + + + + + The SPRM cf field vanish + + + + + The SPRM c pic location + + + + + The SPRM c ibst r mark + + + + + The SPRM c DTTM r mark + + + + + The SPRM cf data + + + + + The SPRM c idsl r mark + + + + + The SPRM c CHS + + + + + The SPRM c symbol + + + + + The SPRM cf ole2 + + + + + The SPRM c identifier character type + + + + + The SPRM c highlight + + + + + The SPRM c object location + + + + + The SPRM cf FTC asci symb + + + + + The SPRM c istd + + + + + The SPRM c istd permute + + + + + The SPRM c default + + + + + The SPRM c plain + + + + + The SPRM c KCD + + + + + The SPRM cf bold + + + + + The SPRM cf italic + + + + + The SPRM cf strike + + + + + The SPRM cf outline + + + + + The SPRM cf shadow + + + + + The SPRM cf small caps + + + + + The SPRM cf caps + + + + + The SPRM cf vanish + + + + + The SPRM c FTC default + + + + + The SPRM c kul + + + + + The SPRM c size position + + + + + The SPRM c dxa space + + + + + The SPRM c lid + + + + + The SPRM c icon + + + + + The SPRM c icoe + + + + + The SPRM c HPS + + + + + The SPRM c HPS inc + + + + + The SPRM c HPS position + + + + + The SPRM c HPS position adj + + + + + The SPRM c majority + + + + + The SPRM c iss + + + + + The SPRM c HPS new50 + + + + + The SPRM c HPS inc1 + + + + + The SPRM c HPS kern + + + + + The SPRM c majority50 + + + + + The SPRM c HPS mul + + + + + The SPRM c ysri + + + + + The SPRM c rg FTC0 + + + + + The SPRM c rg FTC1 + + + + + The SPRM c rg FTC2 + + + + + The SPRM c character scale + + + + + The SPRM CFD strike + + + + + The SPRM cf imprint + + + + + The SPRM cf spec + + + + + The SPRM cf object + + + + + The SPRM c property r mark + + + + + The SPRM cf emboss + + + + + The SPRM c SFX text + + + + + The SPRM cf bi di + + + + + The SPRM cf diac color + + + + + The SPRM cf bold bi + + + + + The SPRM cf italic bi + + + + + The SPRM c FTC bi + + + + + The SPRM c lid bi + + + + + The SPRM c icon bi + + + + + The SPRM c HPS bi + + + + + The SPRM c disp field r mark + + + + + The SPRM c ibst r mark delete + + + + + The SPRM c DTTM r mark delete + + + + + The SPRM c BRC + + + + + The SPRM c SHD + + + + + The SPRM c idsl r mark delete + + + + + The SPRM cf use pgsu settings + + + + + The SPRM c CPG + + + + + The SPRM c rg lid0 + + + + + The SPRM c rg lid1 + + + + + The SPRM c idct hint + + + + + The SPRM pic BRCL + + + + + The SPRM pic scale + + + + + The SPRM pic BRC top + + + + + The SPRM pic BRC left + + + + + The SPRM pic BRC bottom + + + + + The SPRM pic BRC right + + + + + The SPRM SCNS PGN + + + + + The SPRM si heading PGN + + + + + The SPRM s olst anm + + + + + The SPRM s dxa col width + + + + + The SPRM s dxa col spacing + + + + + The SPRM sf evenly spaced + + + + + The SPRM sf protected + + + + + The SPRM s dm bin first + + + + + The SPRM s dm bin other + + + + + The SPRM s BKC + + + + + The SPRM sf title page + + + + + The SPRM s ccolumns + + + + Footnote/Endnotes Sprms + + + + The SPRM s NFC edn reference + + + + + The SPRM sn FTN + + + + + The SPRM sn edn + + + + + The SPRM s FPC + + + + + The SPRM s RNC FTN + + + + + The SPRM s RNC edn + + + + + The SPRM s dxa columns + + + + + The SPRM sf automatic PGN + + + + + The SPRM s NFC PGN + + + + + The SPRM s dya PGN + + + + + The SPRM s dxa PGN + + + + + The SPRM sf PGN restart + + + + + The SPRM sf endnote + + + + + The SPRM s LNC + + + + + The SPRM s GPRF ihdt + + + + + The SPRM sn LNN mod + + + + + The SPRM s dxa LNN + + + + + The SPRM s dya HDR top + + + + + The SPRM s dya HDR bottom + + + + + The SPRM sl between + + + + + The SPRM s VJC + + + + + The SPRM s LNN minimum + + + + + The SPRM s PGN start + + + + + The SPRM sb orientation + + + + + The SPRM sb customize + + + + + The SPRM s xa page + + + + + The SPRM s ya page + + + + + The SPRM s dxa left + + + + + The SPRM s dxa right + + + + + The SPRM s dya top + + + + + The SPRM s dya bottom + + + + + The SPRM s dza gutter + + + + + The SPRM s dm paper req + + + + + The SPRM s property r mark + + + + + The SPRM sf bi di + + + + + The SPRM sf facing col + + + + + The SPRM SFRTL gutter + + + + + The SPRM s BRC top + + + + + The SPRM s BRC left + + + + + The SPRM s BRC bottom + + + + + The SPRM s BRC right + + + + + The SPRM s PGB property + + + + + The SPRM s DXT character space + + + + + The SPRM s dya line pitch + + + + + The SPRM s CLM + + + + + The SPRM s text flow + + + + + The SPRM t jc + + + + + The SPRM t dxa left + + + + + The SPRM t dxa gap half + + + + + The SPRM tf cant split + + + + + The SPRM tf cant split90 + + + + + The SPRM t table header + + + + + The SPRM t table borders + + + + + The SPRM t definition table10 + + + + + The SPRM t dya row height + + + + + The SPRM t definition table + + + + + The SPRM t definition table SHD + + + + + The SPRM t TLP + + + + + The SPRM tf bi di + + + + + The SPRM THTML props + + + + + The SPRM t set BRC + + + + + The SPRM t insert + + + + + The SPRM t delete + + + + + The SPRM t dxa col + + + + + The SPRM t merge + + + + + The SPRM t split + + + + + The SPRM t set BRC10 + + + + + The SPRM t set SHD + + + + + The SPRM t set SHD odd + + + + + The SPRM t text flow + + + + + The SPRM t diag line + + + + + The SPRM t vert merge + + + + + The SPRM t vert align + + + + + The SPRM t cell f hide mark + + + + + The SPRM p time stamp + + + + + The SPRM c SHD new + + + + + The SPRM p SHD new + + + + + The SPRM t table borders new + + + + + The SPRM t cell margins + + + + + The SPRM t table cell margins + + + + + The SPRM none + + + + + The SPRM unknown1 + + + + + The SPRM unknown2 + + + + + The SPRM c rg lid3 + + + + + The SPRM c rg lid3 2 + + + + + The SPRM p sub table cell end + + + + + The SPRM p sub table row end + + + + + The SPRM t top border color + + + + + The SPRM t left border color + + + + + The SPRM t bottom border color + + + + + The SPRM t right border color + + + + + The SPRM t cell spacing + + + + + The SPRM t automatic resize cells + + + + + The SPRM s BRC bottom new + + + + + The SPRM s BRC left new + + + + + The SPRM s BRC right new + + + + + The SPRM s BRC top new + + + + + The SPRM p dxa left1 bi + + + + + The SPRM p table props + + + + + The SPRM t istd + + + + + The SPRM t nesting level + + + + + The SPRM table unknown1 + + + + + The SPRM table unknown2 + + + + + The SPRM t preferred width + + + + + The SPRM t width before + + + + + The SPRM t width after + + + + + The SPRM t width indent + + + + + The SPRM c underline color + + + + + The SPRM cf no proof + + + + + The SPRM p jc bi + + + + + The SPRM p dxa left bi + + + + + The SPRM p dxa right bi + + + + + The SPRM pf before automatic + + + + + The SPRM pf after automatic + + + + + The SPRM t property r mark + + + + + The SPRM t position code + + + + + The SPRM t frame left + + + + + The SPRM t frame top + + + + + The SPRM t from text bottom + + + + + The SPRM t from text left + + + + + The SPRM t from text right + + + + + The SPRM t from text top + + + + + The SPRM t cell SHD new + + + + + The SPRM t cell SHD new2 + + + + + The SPRM t cell SHD new2 dup + + + + + The SPRM t cell SHD new3 + + + + + The SPRM t cell SHD new3 dup + + + + + The SPRM t cell SHD new dup + + + + + The SPRM t table SHD + + + + + The SPRM pf no allow overlap + + + + + The SPRM p dyl before + + + + + The SPRM p dyl after + + + + + The SPRM p undocumented6465 + + + + + The SPRM p undocumented6654 + + + + + The SPRM p undocumented C653 + + + + + The SPRM p undocumented C66 c + + + + + The SPRM c LBC CRJ + + + + + The SPRM c undocumented2 a86 + + + + + The SPRM c pbi has image + + + + + The SPRM c undocumented6815 + + + + + The SPRM c undocumented6816 + + + + + The SPRM c undocumented6817 + + + + + The SPRM c pbi image index + + + + + The SPRM cf web hidden + + + + + newly added + + + + + The SPRM c undocumented revision problem + + + + + The SPRM c undocumented1 + + + + + The SPRM c undocumented2 + + + + + The SPRM c undocumented3 + + + + + The SPRM c undocumented4 + + + + + The SPRM c undocumented5 + + + + + The SPRM c undocumented6 + + + + + The SPRM c undocumented7 + + + + + The SPRM c undocumented8 + + + + + The SPRM t cell BRC type + + + + + The SPRM c property r mark1 + + + + + The SPRM c wall + + + + + The SPRM p wall + + + + + The SPRM p property r mark90 + + + + + The SPRM t wall + + + + + The SPRM pf cont spacing + + + + + The SPRM s wall + + + + + The SPRM p DXC left + + + + + The SPRM p DXC left1 + + + + + The SPRM p DXC right + + + + + The SPRM tf no allow overlap + + + + + Specifies word complex block type. + + + + + Specifies Type as Sprms. + + + + + Specifies Type as PieceTable. + + + + + Style type. + + + + + Specifies Paragraph style. + + + + + Specifies character style. + + + + + Specifies Table style. + + + + + Specifies List style. + + + + + Paragraph justification code. + + + + + Left justification. + + + + + Center justification. + + + + + Right justification. + + + + + LeftAndRight justification. + + + + + Word Sprm Options. + + + + Footnote/Endnotes Sprms + + + + newly added + + + + + Summary description for annotations. + + + + + Summary description for SubDocumentRW. + + + + + + + + + + Text position table. + + + + + Referense position table. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + The stream. + The fib. + + + + Initializes a new instance of the class. + + + + + Determines whether the specified reference has reference. + + The reference. + + true if the specified reference has reference; otherwise, false. + + + + + Determines whether the required reference position is in between the given start and end position + + Start position + End position + Text length + True if the Reference position of next Foonote/Endnote in between the start and end position otherwise false + + + + Determines whether the specified position has position. + + The position. + + true if the specified position has position; otherwise, false. + + + + + Reads. + + The stream. + The fib. + + + + Writes. + + The stream. + The fib. + + + + Adds the text position. + + The position. + + + + Gets the text position. + + The index. + + + + + Closes this instance. + + + + + Reads the descriptors. + + + + + Writes the descriptors. + + + + + Reads the descriptors. + + The length. + The size. + + + + Adds the reference position. + + The position. + + + + Inits this instance. + + + + + Reads the text positions. + + + + + Reads the text positions. + + The count. + + + + Writes the text positions base. + + + + + Writes the text positions. + + + + + Writes the reference positions. + + The end pos. + + + + Reads the descriptor. + + The reader. + The pos. + The pos next. + + + + Gets the count. + + The count. + + + + Annotation owners. + + + + + Initializes a new instance of the class. + + + + + + + Initializes a new instance of the class. + + + + + Reads. + + The stream. + The fib. + + + + Writes. + + The stream. + The fib. + + + + Adds the descriptor. + + The annotation descriptor. + The pos. + The bookmark start. + The bookmark end. + + + + Adds the descriptor. + + The annotation descriptor. + The pos. + + + + Adds the GXAO. + + The gxao. + + + + + Gets the descriptor. + + The index. + + + + + Gets the user. + + Index of the atn. + + + + + Gets the bookmark start. + + The index. + + + + + Gets the bookmark end. + + The index. + + + + + Gets the position. + + The index. + + + + + Reads the GXAO. + + The pos. + The length. + + + + Writes the GXAO. + + + + + Closes this instance. + + + + + Inits this instance. + + + + + Reads the text positions. + + + + + Reads the descriptors. + + + + + Reads the descriptor. + + The reader. + The position. + The next positiopn. + + + + Writes the descriptors. + + + + + Writes the text positions. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for BaseProps. + + + + + Summary description for FileShapeAddress. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets / sets shape horizontal alignment. + + + + + Gets / sets shape vertical alignment. + + + + + Summary description for BitmapBLIP. + + + + + Summary description for Blip. + + + + + + + + + + + + + + + + + + + + + + + + + + + + The secondary, or data, UID - should always be set + + + + + optional based on the above check + + + + + + + + + + raster bits of the blip + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for BstoreContainer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for Shapes. + + + + + Table stream + + + + + Sorted list with FileShapeAddress structures + + + + + Sorted list with TexBoxStory structures + + + + + Sorted list with textbox BreakDescriptors + + + + + Last text position for textbox in Main + + + + + Last text position for textbox in Header + + + + + + + + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + Initialize MainDocTxBxs and MainDocTxBxBKDs, or HfDocTxBxBKDs and HfDocTxBxs + + + + + + + + + + + + + + + + + + + + + + + + + Get textbox text positions (needed in Reader) + + + + + + + + Get ShapeObject's identificator from TextboxStoryDescriptor collection. + + Subdocument type. + ShapeObject entry. + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + Read TextBoxes + + + table stream position + + + + + Read TextBox breakdescriptors + + + + + Get positions for each type of artobjects + + structure type + structure length + + + + + Write FSPA + + + + + + + + Write textbox + + fib data + + + + + Write break descriptors + + + + + + Write data to stream + + + End position for FSPA + + + + Write data to stream + + + End position for FSPA + + + + Gets the index of the by. + + The col. + The index. + + + + + Gets the key. + + The col. + The index. + + + + + + + + + + Sorted list of textboxes + + + + + Sorted list of textbox descriptors + + + + + + + + + + Sorted list of header/footer's textboxes + + + + + Sorted list of header/footer's textboxe descriptors + + + + + Get count of the structures + + + + + Base class for all Container classes + + + + + Summary description for BaseContainer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clone current record. + + + + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + Removes the container by spid. + + The base container. + The spid. + + + + + Synchronize identificators in escher container. + + The auto shape collection. + The textbox shape id. + The pict shape id. + The text id. + Index of the text col. + + + + Gets shape container's identificator. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clones the relations to. + + The doc. + + + + Remove Ole from BaseContainer. + + + + + Syncronize Txid in OPT container. + + The option record. + The text id. + + + + Synchronize MsofbtSp. + + The shape record. + The auto shape collection. + The textbox shape id. + The pict shape id. + Index in the text collection. + + + + Closes this instance. + + + + + + + + + + Summary description for ContainerCollection. + + + + + + + + + + Writes the specified stream. + + The stream. + + + + + Reads the specified stream. + + The stream. + The length. + + + + Summary description for Escher. + + + + + + + + + + + + + + + + + + + + Collection which is used for fast container's search. + + + + + Background container. + + + + + + + + + + Initializes a new instance of the class. + + The table stream. + The doc stream. + The DGG info offset. + Length of the DGG info. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get shape order index + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get shape type of BaseEscherRecord + + + + + + Clone container in escher. + + Destination document + Wordsubdocument( main or header/footer) + Spid of container, which will be cloned + Result container spid + + + + Remove OLE from escher. + + + + + + + + + + + + Remove container with data from BStoreContainer by PID. + + + + + + Remove container with data from BStoreContainer by PID. + + + + + + + Get background container. + + + + + + Checks the existance of container with such pib and checks if Blip != null + + The pib. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Create and fill MsofbtGeneral (textboxes only) + + + + + + Initialize FIDCL for textboxes + + + + + + + + + + + + + + + Get the number of shaped in DgContainer. + + + + + + + + + + + + Fill m_containers hash table + + + + + + + + + + + + + + + + + Closes this instance. + + + + + Get all containers that have spids. + + + + + Gets background container. + + + + + File Blip Store Entry. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The ID clusters are used internally for the translation of shape ids (SPIDs) + to shape handles (MSOHSPs). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for FOPTEBase. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for FOPTEBid. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets the FOPTbid text for Word comparison + + + + + + + + + + + Summary description for FOPTEComplex. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BLIP Store Entry Record msofbtBSE + Each BLIP in the BStore is serialized to a File BLIP Store Entry (FBSE) record. The instance field + encodes the type of the blip. A fixed size header contains the rest of the common information about + the BLIP. If the cbName field in the FBSE is nonzero, a null-terminated Unicode string is written + immediately after the FBSE in the file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Determines whether the specified image format is metafile. + + The image format. + + true if the specified image format is metafile; otherwise, false. + + + + + Determines whether the specified image format is bitmap. + + The image format. + + true if the specified image format is bitmap; otherwise, false. + + + + + Compare the properties of two bse + + + + + + + Gets the MsofbtBSE text for Word comparison + + + + + + + + + + + + + + + + + + + + + Gets or sets the value indicating whether the picture is in shape field + + + + + The BStore container is just an array of Blip Store Entry (BSE) records. Each shape stores indices + into the array for the BLIPs they use. BLIPs are used not only for inserted pictures, but also for + the textured and pictures fills of the shape. + + + + + + + + + + + + + + + + Host-specific data. + + + + + Summary description for MsofbtUnknown. + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + Summary description for MsofbtClientData. + + + + + + + + + + the text in the textbox, in a host-defined format. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Drawing Record msofbtDg + The drawing record is very simple, with just a count and MSOSPID seed. The attentive reader may + expect to find the size of the drawing recorded here, but that information is stored elsewhere + by the host application. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Drawing Container msofbtDgContainer + The drawing container contains all per-slide/sheet types of information, including the shapes + themselves. With a few exceptions, shapes are stored hierarchically according to how they've been + grouped (through use of the Draw/Group command). For normal shapes, there is a special parent + group shape called the patriarch that contains all of the top-level shapes (which in turn may + contain other shapes). The patriarch is always the first msofbtSpgrContainer in the drawing + container. A few kinds of shapes are stored separately from the patriarch. The background shape, + if there is one, is saved in its own msofbtSpContainer after the patriarch and its children. + Additionally, if undo information is being saved and there are deleted shapes that could be brought + back via Undo, the deleted shapes are saved. Note that there is no patriarch for the deleted shapes, + so the top-level deleted shapes are saved separately into the drawing container. (Deleted groups + still contain their children, though.) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The drawing group record is a variable length record consisting of a fixed part followed by an array. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for MsofbtDggContainer. + + + + + + + + + + + + + + + + + + + + Bitmap Blips + Those blips have one of the following signatures: msobiJPEG, msobiPNG, or msobiDIB. + They have the same UID header as described in the Metafile Blip case. The data after the header + is just a single BYTE "tag" value and is followed by the compressed data of the bitmap in the + relevant format (JFIF or PNG, bytes as would be stored in a file). For the msobiDIB format, + the data is in the standard DIB format as a BITMAPINFO ER, BITMAPCORE ER or BITMAPV4 ER followed + by the color map (DIB_RGB_COLORS) and the bits. This data is not compressed (the format is used + for very small DIB bitmaps only). + + + + + Summary description for _Blip. + + + + + + + + + + + + + + + + + + + + + + + + + + + Determines whether this instance has uid2. + + + true if this instance has uid2; otherwise, false. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets the uid2. + + The uid2. + + + + Gets a value indicating whether this instance is has .dib format. + + true if this instance has .dib format; otherwise, false. + + + + Number of used colors. + + + + + Size of header. + + + + + Size of each color definition in the palette. + + + + + Signature, must be 4D42 hex for .bmp header. + + + + + Reserved data. + + + + + + + + + + Initializes a new instance of the class. + + + + + + Initializes a new instance of the class. + + The image record. + if set to true [is bitmap]. + The doc. + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + Dib file is a .BMP file without .BMP header. This function adds BMP header. + + + + + + + + + + + + + + + Metafile/PICT Blips + Those blips have one of the following signatures: msobiEMF, msobiWMF, or msobiPICT. They are normally + stored in a compressed format using the LZ compression algorithm in the format used by GNU Zip + deflate/inflate with a 32k window. The format is zlib format . The only metafile compression version + number currently defined identifies this format and is analogous to the PNG compression type value in the + PNG file format. The filter values (MSOBLIPFILTER) define pre-filtering of metafile data to give better + compression. Currently no pre-filtering is done (it is likely that filtering on a per-record basis will give + substantially better compression in the future). However, if there is an exception due to out-of-memory or + out-of-disk space when saving those blips, the compression operation is skipped and the blips are then + saved in a non-compressed format- in this case the compressed bits are simply the original metafile data.. + When the blips are loaded back in memory, a check is performed based on a "compression status" flag + (MSOBLIPCOMPRESSION) that follows the blip header encoded as follows: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default Property Table Record msofbtOPT + This describes the default properties of newly created shapes. + Only the properties that differ from the per-property defaults are saved. + The format of the record is the same as that of the property table in a shape; + a discussion of that format is in the Shape Properties section . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + Get uint property value by key + + + + + + + Sets the property value. + + The key. + The value. + + + + Get complex value by key. + + + + + + + + + + + + + Compare the properties of two shape options + + + + + + + Gets the MsofbtOPT text for word comaparison + + + + + + Gets the line properties. + + The line properties. + + + + Gets the wrap polygon vertices. + + + The wrap polygon vertices. + + + + + + + + + + + + + + + + + + + + Gets or sets the layout in table cell. + + The layout in table cell. + + + + Gets/sets a value indicating whether allow in table cell. + + true if allow in table cell; otherwise, false. + + + + Gets or sets a value indicating whether this textbox can overlap other textboxes. + + + true if allow the textbox to overlap other textboxes; otherwise, false. + + + + + Gets or sets a value indicating whether this is Visible. + + + true if hidden; otherwise, false. + + + + + Gets or sets the distance from bottom. + + + The distance from bottom. + + + + + Gets or sets the distance from left. + + + The distance from left. + + + + + Gets or sets the distance from right. + + + The distance from right. + + + + + Gets or sets the distance from top. + + + The distance from top. + + + + + Gets or sets the rotation. + + + The Rotation + + + + + + + + + + The rotation + + + + + Changes the behavior of a shape by restricting direct manipulation. + + + + + The f lock rotation + + + + + The f lock aspect ratio + + + + + The f lock position + + + + + The f lock against select + + + + + The f lock cropping + + + + + The f lock vertices + + + + + The f lock text + + + + + The f lock adjust handles + + + + + The f lock against grouping + + + + + How text fits in a shape. Text is host-dependent, so some hosts may ignore + some of these properties. + + + + + The l txid + + + + + The dx text left + + + + + The dy text top + + + + + The dx text right + + + + + The dy text bottom + + + + + The wrap text + + + + + The scale text + + + + + The anchor text + + + + + The TXFL text flow + + + + + The cdir font + + + + + The HSP next + + + + + The txdir + + + + + The f select text + + + + + The f automatic text margin + + + + + The f rotate text + + + + + The f fit shape to text + + + + + The f fit text to shape + + + + + Effect text of the shape - this is what the WordArt tools use, and is separate from + the attached text present in ordinary textboxes. Theoretically, a shape could have + both (a WordArt with attached text), but this is not currently allowed by the UI. + Note that font information is provided here. The default text size is in points, + the text effect geometry interfaces require the device size of a point to interpret this. + The default point size is a 16.16 fixed-point number. A text effect is present + if the fGText boolean is set and either the gtextUNICODE (UNICODE) or gtextRTF (RTF) + is present, the UNICODE string takes precedence, however it cannot include any additional + font information (unlike the RTF). + + + + + The gtext unicode + + + + + The gtext RTF + + + + + The gtext align + + + + + The gtext size + + + + + The gtext spacing + + + + + The gtext font + + + + + The gtext f reverse rows + + + + + The f gtext + + + + + The gtext f vertical + + + + + The gtext f kern + + + + + The gtext f tight + + + + + The gtext f stretch + + + + + The gtext f shrink fit + + + + + The gtext f best fit + + + + + The gtext f normalize + + + + + The gtext f dx measure + + + + + The gtext f bold + + + + + The gtext f italic + + + + + The gtext f underline + + + + + The gtext f shadow + + + + + The gtext f smallcaps + + + + + The gtext f strikethrough + + + + + How a BLIP fits into a shape. This includes cropping information as well as + picture display modifications such as brightness and contrast. + + + + + The crop from top + + + + + The crop from bottom + + + + + The crop from left + + + + + The crop from right + + + + + The pib + + + + + The pib name + + + + + The pib flags + + + + + The picture transparent + + + + + The picture contrast + + + + + The picture brightness + + + + + The picture gamma + + + + + The picture identifier + + + + + The picture double cr mod + + + + + The picture fill cr mod + + + + + The picture line cr mod + + + + + The pib print + + + + + The pib print name + + + + + The pib print flags + + + + + The f no hit test picture + + + + + The picture gray + + + + + The picture bi level + + + + + The picture active + + + + + The geometry of the shape. Typically, these properties reside in a shape type definition, + and so are not written to the file. However, freeform shapes drawing using the polygon + tools set the pVertices and pSegmentInfo properties to define their geometries. + + + + + The geo left + + + + + The geo top + + + + + The geo right + + + + + The geo bottom + + + + + The shape path + + + + + The p vertices + + + + + The p segment information + + + + + The adjust value + + + + + The adjust2 value + + + + + The adjust3 value + + + + + The adjust4 value + + + + + The adjust5 value + + + + + The adjust6 value + + + + + The adjust7 value + + + + + The adjust8 value + + + + + The adjust9 value + + + + + The adjust10 value + + + + + The f shadow ok + + + + + The f3 dok + + + + + The f line ok + + + + + The f gtext ok + + + + + The f fill shade shape ok + + + + + The f fill ok + + + + + Two main colors are defined - a foreground color and a background color. + Different fillTypes use these values differently. In addition to the foreground + and background any number of shade colors can be defined. Each shade color + is associated with a "position" which says how far into the shade the color appears + � colors must be given in position order. + + + + + The fill type + + + + + The fill color + + + + + The fill opacity + + + + + The fill back color + + + + + The fill back opacity + + + + + The fill cr mod + + + + + The fill blip + + + + + The fill blip name + + + + + The fill blip flags + + + + + The fill width + + + + + The fill height + + + + + The fill angle + + + + + The fill focus + + + + + The fill to left + + + + + The fill to top + + + + + The fill to right + + + + + The fill to bottom + + + + + The fill rect left + + + + + The fill rect top + + + + + The fill rect right + + + + + The fill rect bottom + + + + + The fill dztype + + + + + The fill shade preset + + + + + The fill shade colors + + + + + The fill origin x + + + + + The fill origin y + + + + + The fill shape origin x + + + + + The fill shape origin y + + + + + The fill shade type + + + + + The f filled + + + + + The f hit test fill + + + + + The fill shape + + + + + The fill use rect + + + + + The f no fill hit test + + + + + Lines are centered about the infinitely thin proto-line along which they are drawn. + Complex dash effects are supported only for simple lines (e.g. changing the end cap) - + defaults should be used for other line styles. The line width is in EMUs; a line width + of zero should not be used - there is no logical interpretation on a high-resolution printer. + + + + + The line color + + + + + The line opacity + + + + + The line back color + + + + + The line cr mod + + + + + The line type + + + + + The line fill blip + + + + + The line fill blip name + + + + + The line fill blip flags + + + + + The line fill width + + + + + The line fill height + + + + + The line fill dztype + + + + + The line width + + + + + The line miter limit + + + + + The line style + + + + + The line dashing + + + + + The line dash style + + + + + The line start arrowhead + + + + + The line end arrowhead + + + + + The line start arrow width + + + + + The line start arrow length + + + + + The line end arrow width + + + + + The line end arrow length + + + + + The line join style + + + + + The line end cap style + + + + + The line color ext + + + + + The reserved474 + + + + + The line color ext mod + + + + + The reserved476 + + + + + The line back color ext + + + + + The reserved478 + + + + + The line back color ext mod + + + + + The reserved480 + + + + + The reserved481 + + + + + The reserved482 + + + + + The line style boolean properties + + + + + Specifies the FOPTELeftLineStyle + + + + + The line left color + + + + + The line left opacity + + + + + The line left back color + + + + + The line left cr mod + + + + + The line left type + + + + + The line left fill blip + + + + + The line left fill blip name + + + + + The line left fill blip flags + + + + + The line left fill width + + + + + The line left fill height + + + + + The line left fill dztype + + + + + The line left width + + + + + The line left miter limit + + + + + The line left style + + + + + The line left dashing + + + + + The line left dash style + + + + + The line left start arrowhead + + + + + The line left end arrowhead + + + + + The line left start arrow width + + + + + The line left start arrow length + + + + + The line left end arrow width + + + + + The line left end arrow length + + + + + The line left join style + + + + + The line left end cap style + + + + + The line left color ext + + + + + The reserved1370 + + + + + The line left color ext mod + + + + + The reserved1372 + + + + + The line left back color ext + + + + + The reserved1374 + + + + + The line left back color ext mod + + + + + The reserved1376 + + + + + The reserved1377 + + + + + The reserved1378 + + + + + The left line style boolean properties + + + + + Specifies the FOPTETopLineStyle + + + + + The line top color + + + + + The line top opacity + + + + + The line top back color + + + + + The line top cr mod + + + + + The line top type + + + + + The line top fill blip + + + + + The line top fill blip name + + + + + The line top fill blip flags + + + + + The line top fill width + + + + + The line top fill height + + + + + The line top fill dztype + + + + + The line top width + + + + + The line top miter limit + + + + + The line top style + + + + + The line top dashing + + + + + The line top dash style + + + + + The line top start arrowhead + + + + + The line top end arrowhead + + + + + The line top start arrow width + + + + + The line top start arrow length + + + + + The line top end arrow width + + + + + The line top end arrow length + + + + + The line top join style + + + + + The line top end cap style + + + + + The line top color ext + + + + + The reserved1434 + + + + + The line top color ext mod + + + + + The reserved1436 + + + + + The line top back color ext + + + + + The reserved1438 + + + + + The line top back color ext mod + + + + + The reserved1440 + + + + + The reserved1441 + + + + + The reserved1442 + + + + + The top line style boolean properties + + + + + Specifies the FOPTERightLineStyle + + + + + The line right color + + + + + The line right opacity + + + + + The line right back color + + + + + The line right cr mod + + + + + The line right type + + + + + The line right fill blip + + + + + The line right fill blip name + + + + + The line right fill blip flags + + + + + The line right fill width + + + + + The line right fill height + + + + + The line right fill dztype + + + + + The line right width + + + + + The line right miter limit + + + + + The line right style + + + + + The line right dashing + + + + + The line right dash style + + + + + The line right start arrowhead + + + + + The line right end arrowhead + + + + + The line right start arrow width + + + + + The line right start arrow length + + + + + The line right end arrow width + + + + + The line right end arrow length + + + + + The line right join style + + + + + The line right end cap style + + + + + The line right color ext + + + + + The reserved1498 + + + + + The line right color ext mod + + + + + The reserved1500 + + + + + The line right back color ext + + + + + The reserved1502 + + + + + The line right back color ext mod + + + + + The reserved1504 + + + + + The reserved1505 + + + + + The reserved1506 + + + + + The right line style boolean properties + + + + + Specifies the FOPTEBottomLineStyle + + + + + The line bottom color + + + + + The line bottom opacity + + + + + The line bottom back color + + + + + The line bottom cr mod + + + + + The line bottom type + + + + + The line bottom fill blip + + + + + The line bottom fill blip name + + + + + The line bottom fill blip flags + + + + + The line bottom fill width + + + + + The line bottom fill height + + + + + The line bottom fill dztype + + + + + The line bottom width + + + + + The line bottom miter limit + + + + + The line bottom style + + + + + The line bottom dashing + + + + + The line bottom dash style + + + + + The line bottom start arrowhead + + + + + The line bottom end arrowhead + + + + + The line bottom start arrow width + + + + + The line bottom start arrow length + + + + + The line bottom end arrow width + + + + + The line bottom end arrow length + + + + + The line bottom join style + + + + + The line bottom end cap style + + + + + The line bottom color ext + + + + + The reserved1562 + + + + + The line bottom color ext mod + + + + + The reserved1564 + + + + + The line bottom back color ext + + + + + The reserved1566 + + + + + The line bottom back color ext mod + + + + + The reserved1568 + + + + + The reserved1569 + + + + + The reserved1570 + + + + + The bottom line style boolean properties + + + + + The interpretation of the transform properties depends on the type of shadow: + msoshadowOffset, msoshadowDouble: + Only the offset is used. It is interpreted as an absolute offset expressed in EMUs. + The default corresponds to 1/36" in both X and Y (2 or 3 pixels on screen depending on + monitor resolution). The offset is relative to the drawing axes (as msoshadowDrawing below, + not msoshadowRich) so a shadow offset to the bottom right of the drawing is still offset + (by the same amount) to the bottom right if the shape is rotated. The "double" case causes + two shadows to be drawn, the first (lower) at the second offset and in the shadowHighlightColor. + If the second offset is 0,0 it defaults to being the inverse of the first. + msoshadowRich: + The offsets and transformation properties are in absolute units measured relative to the shape + on the drawing - the shadow moves with the shape, but anisotropic scaling of the shape + changes the proportions of the shadow, not its angles. Compare with the following where + such scaling scales the shadow in proportion too, thus changes the angle between (e.g.) + a vertical line in the shape and it's shadow. + msoshadowShape: + The offsets and transformation properties are relative to the shape; 1.0 corresponds + to the shape width/height as appropriate. The shadow is cast relative to the shape + then scaled with the shape, so it moves with the shape. The units are simple numbers + (ratios of the G unit space effectively). This transformation type is unnatural in real + world terms, but behaves nicely in geometric terms. The offset elements of the property + set are treated as fixed-point 16.16 values. + msoshadowDrawing: + A rich shadow cast onto a plane in drawing space. The transform is applied to the drawing + coordinates of the shape and is thus expressed in EMUs. This shadow type enables creation + of shadows from multiple objects, however the shadows may overlap higher (different) + objects if the shadow plane and shape drawing planes overlap on the screen. + The shadowWeight parameter is used as in the perspective property set to apply addiitonal + scaling to the perspective parameters - these are divided by the weight. + Shadow transformations are independent of the perspective transformation applied to a shape - + either hte perspective transformation or the shadow transformation is used as appropriate. + + + + + The shadow type + + + + + The shadow color + + + + + The shadow highlight + + + + + The shadow cr mod + + + + + The shadow opacity + + + + + The shadow offset x + + + + + The shadow offset y + + + + + The shadow second offset x + + + + + The shadow second offset y + + + + + The shadow scale x to x + + + + + The shadow scale y to x + + + + + The shadow scale x to y + + + + + The shadow scale y to y + + + + + The shadow perspective x + + + + + The shadow perspective y + + + + + The shadow weight + + + + + The shadow origin x + + + + + The shadow origin y + + + + + The f shadow + + + + + The fshadow obscured + + + + + Perspective Style + This is just a 2D transformation matrix (3x3). Specifying peculiar values will cause + the shape to render completely outside its geometry - normally clients will constrain + the values to get reasonable results. The transformation may be applied at various + times as the geometry is processed, this affects the behavior of the perspective + which results in the same way as the corresponding shadow perspective types. + + + + + The perspective type + + + + + The perspective offset x + + + + + The perspective offset y + + + + + The perspective scale x to x + + + + + The perspective scale y to x + + + + + The perspective scale x to y + + + + + The perspective scale y to y + + + + + The perspective perspective x + + + + + The perspective perspective y + + + + + The perspective weight + + + + + The perspective origin x + + + + + The perspective origin y + + + + + The f perspective + + + + + 3D Object + Material properties of a 3D object. A 3D effect overrides the fill and line effects + and corresponding colors. Extrusion depths are always specified in absolute units. + + + + + The c3 d specular amt + + + + + The c3 d diffuse amt + + + + + The c3 d shininess + + + + + The c3 d edge thickness + + + + + The c3 d extrude forward + + + + + The c3 d extrude backward + + + + + The c3 d extrude plane + + + + + The c3 d extrusion color + + + + + The c3 d cr mod + + + + + The f3 d + + + + + The FC3 d metallic + + + + + The FC3 d use extrusion color + + + + + The FC3 d light face + + + + + 3D Style + Properties of a 3D view; note that distances are in drawing units. + + + + + The c3 dy rotation angle + + + + + The c3 dx rotation angle + + + + + The c3 d rotation axis x + + + + + The c3 d rotation axis y + + + + + The c3 d rotation axis z + + + + + The c3 d rotation angle + + + + + The c3 d rotation center x + + + + + The c3 d rotation center y + + + + + The c3 d rotation center z + + + + + The c3 d render mode + + + + + The c3 d tolerance + + + + + The c3 dx viewpoint + + + + + The c3 dy viewpoint + + + + + The c3 dz viewpoint + + + + + The c3 d origin x + + + + + The c3 d origin y + + + + + The c3 d skew angle + + + + + The c3 d skew amount + + + + + The c3 d ambient intensity + + + + + The c3 d key x + + + + + The c3 d key y + + + + + The c3 d key z + + + + + The c3 d key intensity + + + + + The c3 d fill x + + + + + The c3 d fill y + + + + + The c3 d fill z + + + + + The c3 d fill intensity + + + + + The FC3 d constrain rotation + + + + + The FC3 d rotation center automatic + + + + + The FC3 d parallel + + + + + The FC3 d key harsh + + + + + The FC3 d fill harsh + + + + + Shape + Miscellaneous properties of a single shape which do not apply to group shapes. + + + + + The HSP master + + + + + The cxstyle + + + + + The b w mode + + + + + The b w mode pure bw + + + + + The b w mode bw + + + + + The f OLE icon + + + + + The f prefer relative resize + + + + + The f lock shape type + + + + + The f delete attached object + + + + + The f background + + + + + Callout + Properties of a callout shape. + + + + + The spcot + + + + + The dxy callout gap + + + + + The spcoa + + + + + The spcod + + + + + The dxy callout drop specified + + + + + The dxy callout length specified + + + + + The f callout + + + + + The f callout accent bar + + + + + The f callout text border + + + + + The f callout minus x + + + + + The f callout minus y + + + + + The f callout drop automatic + + + + + The f callout length specified + + + + + Group Shape + Miscellaneous shape properties that can apply to group shapes. + + + + + The wz name + + + + + The wz description + + + + + The pihl shape + + + + + The p wrap polygon vertices + + + + + The dx wrap dist left + + + + + The dy wrap dist top + + + + + The dx wrap dist right + + + + + The dy wrap dist bottom + + + + + The lid regroup + + + + + The unused906 + + + + + The wz tooltip + + + + + The wz script + + + + + The posh + + + + + The posrelh + + + + + The posv + + + + + The posrelv + + + + + The PCT hr + + + + + The align hr + + + + + The dx height hr + + + + + The dx width hr + + + + + The wz script ext attribute + + + + + The script language + + + + + The wz script language attribute + + + + + The border top color + + + + + The border left color + + + + + The border bottom color + + + + + The border right color + + + + + The table properties + + + + + The table row properties + + + + + The wz web bot + + + + + The metro BLOB + + + + + The DHGT + + + + + The f edited wrap + + + + + The f behind document + + + + + The f on double click notify + + + + + The f is button + + + + + The f one d + + + + + The f hidden + + + + + The f print + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Count of bytes written. + + + + + + + + + + + + + + + + + Summary description for MsofbtSecondaryFOPT - OfficeArtSecondaryFOPT. + + + + + + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + Get uint property value by key + + + + + + + Get complex value by key. + + + + + + + Counts the instance value. + + + + + + Gets or sets the properties. + + The properties. + + + + Summary description for MsofbtTertiaryFOPT - OfficeArtTertiaryFOPT. + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + + + + Clone current record. + + + + + + Closes this instance. + + + + + Get uint property value by key + + + + + + + Sets the property value. + + The key. + The value. + + + + Get complex value by key. + + + + + + + Counts the instance value. + + + + + + Compare the properties of two shape positions + + + + + + + Gets the MsofbtTertiaryFOPT text for Word comparison + + + + + + Gets the line properties. + + The line properties. + + + + Gets the wrap polygon vertices. + + + The wrap polygon vertices. + + + + + Gets or sets the properties. + + The properties. + + + + Gets or sets the X align. + + The X align. + + + + Gets or sets the X rel to. + + The X rel to. + + + + Gets or sets the Y align. + + The Y align. + + + + Gets or sets the Y rel to. + + The Y rel to. + + + + Gets or sets the layout in table cell. + + The layout in table cell. + + + + Gets or sets the unknown1. + + The unknown1. + + + + Gets or sets the unknown2. + + The unknown2. + + + + Gets/sets a value indicating whether allow in table cell. + + true if allow in table cell; otherwise, false. + + + + Gets or sets a value indicating whether this textbox can overlap other textboxes. + + + true if allow the textbox to overlap other textboxes; otherwise, false. + + + + + Gets or sets a value indicating whether this is Visible. + + + true if hidden; otherwise, false. + + + + + Summary description for LineStyleBooleanProperties + + + + + Initializes a new instance of the class. + + The prop. + + + + Compare the properties of two lineproperties + + + + + + + Gets the LineStyleBooleanProperties for Word comparison + + + + + + Gets a value indicating whether this instance has defined. + + + true if this instance has defined; otherwise, false. + + + + + Gets or sets a value indicating whether [pen align inset]. + + true if [pen align inset]; otherwise, false. + + + + Gets or sets a value indicating whether [usef line opaque back color]. + + + true if [usef line opaque back color]; otherwise, false. + + + + + Gets or sets a value indicating whether [usef inset pen]. + + true if [usef inset pen]; otherwise, false. + + + + Gets or sets a value indicating whether [usef inset pen OK]. + + true if [usef inset pen OK]; otherwise, false. + + + + Gets or sets a value indicating whether [usef arrowheads OK]. + + true if [usef arrowheads OK]; otherwise, false. + + + + Gets or sets a value indicating whether [usef line]. + + true if [usef line]; otherwise, false. + + + + Gets or sets a value indicating whether [usef hit test line]. + + true if [usef hit test line]; otherwise, false. + + + + Gets or sets a value indicating whether [usef line fill shape]. + + true if [usef line fill shape]; otherwise, false. + + + + Gets or sets a value indicating whether [usef no line draw dash]. + + + true if [usef no line draw dash]; otherwise, false. + + + + + Gets or sets a value indicating whether [line opaque back color]. + + + true if [line opaque back color]; otherwise, false. + + + + + Gets or sets a value indicating whether [inset pen]. + + true if [inset pen]; otherwise, false. + + + + Gets or sets a value indicating whether [inset pen OK]. + + true if [inset pen OK]; otherwise, false. + + + + Gets or sets a value indicating whether [arrowheads OK]. + + true if [arrowheads OK]; otherwise, false. + + + + Gets or sets a value indicating whether this is line. + + true if line; otherwise, false. + + + + Gets or sets a value indicating whether [hit test line]. + + true if [hit test line]; otherwise, false. + + + + Gets or sets a value indicating whether [line fill shape]. + + true if [line fill shape]; otherwise, false. + + + + Gets or sets a value indicating whether [no line draw dash]. + + true if [no line draw dash]; otherwise, false. + + + + Wrap Polygon Vertices class + + + + + Initializes a new instance of the class. + + The prop. + + + + Compare the properties of two wrap polygon vertices + + + + + + + Gets the WrapPolygonVertices text for Word comparison + + + + + + Reads the array data. + + + + + Gets or sets the coords. + + + The coords. + + + + + Gets or sets the number of array elements that are contained in this record. + + + The n elems. + + + + + Gets or sets the maximum number of array elements that this record can contain. + + + The n elems alloc. + + + + + Gets or sets the size, in bytes, of each element in the data array. + + + The cb elem. + + + + + Solver Container msofbtSolverContainer + Rules give special behaviors to shapes. Rules can govern a single shape, like in the case of a + callout shape, or multiple shapes, as in the case of connectors. + Each drawing can have a list of rules associated with it. + + + + + + + + + + The instance field of the record header contains the shape type; + the record itself contains the shape ID and a group of persistent flags. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Compare the properties of two Shape + + + + + + + Gets the MsofbtSp text for Word comparison + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Shape Container msofbtSpContainer + A shape is the elemental object that composes a drawing. All graphical figures on a drawing + are shapes. Each shape has a list of properties, which is stored in an array. + + + + + Constant value. + + + + + Specifies Word Picture watermark. + + + + + Specifies Power plus water mark object. + + + + + + Specifies NotAllowInCell + + + + + + + + + + + + + + + Get uint property value by key + + + + + + + Get complex property value. + + + + + + + Defines if document has any background effects. + + + true if [is filled background] [the specified back container]; otherwise, false. + + + + + Gets the type of the background fill. + + + + + + Gets the type of the background. + + + + + + Gets the background image or image bytes. + + The escher. + + + + + Gets the background image bytes. + + The escher. + + + + + Gets the color of the background. + + if set to true [returns picture background color]. + + + + + Get shading style for gradient. + + Type of the fill. + + + + + Gets the shading variant. + + The shading style. + + + + + Create and init SpContainer of msosptRectangle shape type + + + + + + Creates the background container. + + The document. + The background. + + + + Updates the fill gradient. + + The gradient. + + + + Updates the fill picture. + + Index of the fill blip. + The background. + + + + Updates the fill color of the container. + + The color. + + + + + + + + + + + + + + + + + + Apply Picture properties to the Shape Position + + + + + + + + + + + + + + + Creates the inline image container. + + The picture. + + + + + Creates the textbox container. + + The TXBX format. + + + + + + + + + + + + Determines whether the specified image format is bitmap. + + The image format. + + true if the specified image format is bitmap; otherwise, false. + + + + + Determines whether this image format is bitmap for partial trust mode. + + The image format. + + + + + + + + + + + + + + + + + Checks the options container(fixed the problem of picture preservation for + documents generated by old version of DocIO ). + + + + + + + + + + + + + + + + + + + + + + + + + + Clones the relations to. + + The doc. + + + + Compare the properties of two Shape container + + + + + + + Gets the MsofbtSpContainer text for Word comparison + + + + + + + + + + + Writes the textbox options. + + The textbox format. + + + + + + + + + + sets the crop value + + + + + + + Sets the rotation Value + + + + + + + Set user defined textbox option. + + List of container's FOPTEs + User defined option value + Option's FOPTE key + + + + + Set user defined boolean textbox property. + + Shape options + Option's FOPTE key + Bit mask for option + Option's bit in bitfield + Options value + FopteBid's default value + + + + Gets the opacity. + + The opacity. + + + + + Noes the background. + + + + + + Get shading variant for "FromCorner" shading style. + + + + + + Add fillAngle fopte to gradient container. + + + + + + Adds focus fopte to gradient container. + + + + + + + + Add fillType fopte to gradient container. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines if current shape container is watermark. + + + + + Group Shape Record msofbtSpgr + This record is present only in group shapes (not shapes in groups, shapes that are groups). + The group shape record defines the coordinate system of the shape, which the anchors of the + child shape are expressed in. All other information is stored in the shape records that follow. + + typedef struct _FSPGR + { + RECT rcgBounds; + } FSPGR; + + + + + Boundary of metafile drawing commands + + + + + + + + + + + + + + + + + + + + + + + + + + + + Group Container msofbtSpgrContainer + + A group is a collection of other shapes. The contained shapes are placed in the coordinate + system of the group. The group container contains a variable number of shapes + (msofbtSpContainer) and other groups (msofbtSpgrContainer, for nested groups). + The group itself is a shape, and always appears as the first msofbtSpContainer in the group + container. + + + + + + + + + + + + + + + Summary description for PictureShape. + + + + + Summary description for ShapeBase. + + + + + + + + + + + + + + + Removes the reference of the used resources. + + + + + + + + + + + Get shape + + + + + Constructor + + + + + + + + + + + + + + + + Get PictureShape's image + + + + + Get PictureShapes properties + + + + + Summary description for TextBoxShape. + + + + + + + + + + + + + + + Get TextBoxShape's properties + + + + + Summary description for ShapeType. + + + + + Accent Callouts. + + + + + Action Buttons. + + + + + Bent Connectors. + + + + + Border Callouts. + + + + + + + + + + Callouts. + + + + + + + + + + Curved connectors. + + + + + Curved Arrows. + + + + + + + + + + Ellipse shapes. + + + + + FlowChart shapes. + + + + + + + + + + Image shape + + + + + Leftsided shapes. + + + + + + + + + + Seal shape + + + + + WordArt objects. + + + + + + + + + + Summary description for ShapeDocType. + + + + + + + + + + + + + + + Possible values for the orientation of a shape. + + + + + Possible types of background fill. + + + + + Fill with a solid color. + + + + + Fill with a pattern (bitmap). + + + + + A texture (pattern with its own color map). + + + + + Center a picture in the shape. + + + + + Shade from start to end points. + + + + + Shade from bounding rectangle to end point. + + + + + Shade from shape outline to end point. + + + + + Similar to msofillShade, but the fillAngle + is additionally scaled by the aspect ratio of + the shape. If shape is square, it is the + same as Shade. + + + + + Special type - shade to title --- for PP + + + + + Use the background fill color/pattern + + + + + MSOSHADETYPE � how to interpret the colors in a shaded fill. + + + + + Interpolate without correction between RGBs. + + + + + Apply gamma correction to colors. + + + + + Apply a sigma transfer function to position. + + + + + Add a flat band at the start of the shade. + + + + + This is a one color shade + + + + + A parameter for the band or sigma function can be stored in the top + 16 bits of the value - this is a proportion of *each* band of the + shade to make flat (or the approximate equal value for a sigma + function). NOTE: the parameter is not used for the sigma function, + instead a built in value is used. This value should not be changed + from the default! + + + + + Common Header + The common record header is an 8-byte structure defined in msodr.h as follows: + typedef struct MSOFBH + { + struct + { + ULONG ver : 4; + ULONG inst: 12; + ULONG fbt : 16; + }; + ULONG cbLength; + } MSOFBH; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for _FBSE. + + + + + Required type on Win32 + + + + + Required type on Mac + + + + + Identifier of blip + + + + + currently unused + + + + + Blip size in stream + + + + + Reference count on the blip + + + + + + + + + + How this blip is used (MSOBLIPUSAGE) + + + + + length of the blip name + + + + + for the future + + + + + for the future + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for FOPTE. + + + + + Property ID + + + + + value is a blip ID � only valid if fComplex is FALSE + + + + + complex property, value is lenght + + + + + Value + + + + + + + + + + Member initializing constructor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for FSP. + + + + + shape ID + + + + + + + + + + + + + + + + + + + + + + + + + + + Shape ID + + + + + + + + + + This shape is a group shape + + + + + Not a top-level shape + + + + + This is the topmost group shape + + + + + The shape has been deleted + + + + + The shape is an OLE object + + + + + Shape has a hspMaster property + + + + + Shape is flipped horizontally + + + + + Shape is flipped vertically + + + + + Connector type of shape + + + + + Shape has an anchor of some kind + + + + + Background shape + + + + + Shape has a shape type property + + + + + Summary description for ImageWriter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sets the picture size + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + Get imagewriter's data stream + + + + + + + + + + Summary description for ImageReader. + + + + + Interface for reading images from word file. + + + + + Gets image as bitmap. + + + + + + + + + + + + + + + Gets image width. + + + + + Gets image height + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unparsed data; + + + + + Data stream position + + + + + Initialize class members and parse image from stream + + + + + + + + Update un parsed data + + + + + Gets image name + + + + + Gets/sets image width + + + + + Gets/sets image height + + + + + Gets bitmap + + + + + + + + + + + + + + + Gets inline shape's container. + + + + + + + + + + + + + + + Gets the alternative text. + + The alternative text. + + + + Gets or sets the name. + + + The name. + + + + + Get unparsed data + + + + + Summary description for MetafileBlip. + + + + + + + + + + + + + + + Cache of saved size (size of m_pvBits) + + + + + MSOBLIPCOMPRESSION + + + + + Compressed bits of metafile + + + + + Size of metafile in EMUs + + + + + Boundary of metafile drawing commands + + + + + always msofilterNone + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + Summary description for MSOFBH. + + + + + Version + + + + + Record instance + + + + + Record type + + + + + Length of record + + + + + Defoult .ctor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Length of compObject stream + + + + + This MUST be a CompObjHeader structure. + + + + + This MUST be a LengthPrefixedAnsiString structure that contains a display + name of the linked object or embedded object + + + + + This MUST be a ClipboardFormatOrAnsiString structure that contains the + Clipboard Format of the linked object or embedded object. If the MarkerOrLength + field of the ClipboardFormatOrAnsiString structure contains a value other than + 0x00000000, 0xffffffff, or 0xfffffffe, the value MUST NOT be greater than 0x00000190. + Otherwise the CompObjStream structure is invalid + + + + + If present, this MUST be a LengthPrefixedAnsiString structure. If the Length field of + the LengthPrefixedAnsiString contains a value of 0 or a value that is greater than + 0x00000028, the remaining fields of the structure starting with the String field + of the LengthPrefixedAnsiString MUST be ignored on processing. + + + + + If this field is present and is NOT set to 0x71B239F4, + the remaining fields of the structure MUST be ignored on processing + + + + + This MUST be a LengthPrefixedUnicodeString structure that contains a display name + of the linked object or embedded object. + + + + + This MUST be a ClipboardFormatOrUnicodeString structure that contains a Clipboard + Format of the linked object or embedded object. If the MarkerOrLength field of the + ClipboardFormatOrUnicodeString structure contains a value other than 0x00000000, + 0xffffffff, or 0xfffffffe, the value MUST NOT be more than 0x00000190. Otherwise, + the CompObjStream structure is invalid + + + + + This MUST be a LengthPrefixedUnicodeString. The String field of the LengthPrefixedUnicodeString + can contain any arbitrary value and MUST be ignored on processing. + + + + + Initializes a new instance of the class. + + The stream. + + + + Initializes a default instance of the class. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + Length + + + + Saves data to STG stream. + + The stream. + + + + Writes the zero byte array. + + The stream. + Length of the byte. + + + + Writes the length prefixed string. + + The stream. + The data. + + + + Gets the size of the structure. + + The length. + + + + Gets the type of the object. + + The type of the object. + + + + Gets the type of the object. + + The type of the object. + + + + + + + + + This can be set to any arbitrary value and MUST be ignored on processing. + + + + + This can be set to any arbitrary value and MUST be ignored on processing. + + + + + This can be set to any arbitrary value and MUST be ignored on processing. + + + + + Initializes a new instance of the class. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + Length + + + + Saves to STG stream. + + The stream. + + + + Gets the size of the structure. + + The length. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + The stream. + + + + Initializes a new instance of the class. + + The file path. + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + Length + + + + Saves the data to stream. + + The stream. + + + + Gets the size of the structure. + + The length. + + + + + + + + + + + + + + Initializes a new instance of the class. + + The stream. + + + + Initializes a default instance of the class. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + Length + + + + Saves the data to stream. + + The STG stream. + + + + Gets the size of the structure. + + The length. + + + + The ole stream name + + + + + + + + + + Initializes a new instance of the class. + + + + + Parses the object pool. + + The object pool stream. + Name of the OLE storage. + + + + Saves the specified stream. + + The stream. + The OLE object. + + + + Saves the specified native data. + + The native data. + The data path. + The OLE object. + + + + Adds the oleobject to the collection + + + + + + Writes the native data. + + The native data. + The data path. + Type of the object. + + + + Writes the native data. + + The native data. + Name of the stream. + + + + Writes the embedded drawing. + + The native data. + + + + Writes the native streams. + + The stream. + + + + Writes the "CompObj" stream. + + Type of the obj. + + + + Writes the "CompObj" stream. + + Type of the obj. + The data path. + + + + Writes the "Ole" stream. + + Type of the link. + Type of the obj. + The data path. + + + + Writes the "ObjInfo" stream. + + Type of the link. + Type of the obj. + + + + Writes the package. + + The native data. + The data path. + + + + Clones this instance. + + + + + + Closes this instance. + + + + + Sets the storage of the oleobject + + + + + Gets or sets the GUID. + + The GUID. + + + + Gets the storage. + + The storage. + + + + Gets the type of the OLE object. + + The type of the OLE. + + + + Gets or sets a value indicating whether this item is cloned. + + + true if cloned; otherwise, false. + + + + + Class performs converting string to OleObjectType enum and vice versa. + + + + + Converts the string to "OleObjectType" + + The OLE type STR. + + + + + Converts the string to "OleObjectType" + + The OLE type STR. + + + + + Gets the GUID for specified type of object. + + The type. + + + + + Implemented alternative method to improve the performance + + + + + + + + Class specifies storage with sub storages and streams. + + + + + Initializes a new instance of the class. + + Name of the storage. + + + + Parses the storages. + + The storage. + + + + Parses the streams. + + The storage. + + + + Writes to storage. + + The storage. + + + + Gets the byte array of the stream + + + + + + + Compare storages + + + + + + + Updates the GUID. + + The CMP file. + The index. + The storage name + + + + Clones this instance. + + + + + + Closes this instance. + + + + + Gets or sets the name of the storage. + + The name of the storage. + + + + Gets the streams. + + The streams. + + + + Gets the storages. + + The storages. + + + + Gets/sets the occurrence of the OleObject + + + + + + + + + + + + + + + + + + + + This MUST be set to 0x00000001 or 0x00000002. If this field has a value of 1, the OLEStream + structure MUST be for a linked object. If this field has a value of 0, then the OLEStream + structure MUST be for an embedded object. + + + + + This field contains an implementation-specific hint supplied by the application or by a + higher-level protocol that creates the data structure. The hint MAY be ignored on + processing of this data structure. + + + + + This MUST be set to 0x00000000. Otherwise, the OLEStream structure is invalid. + + + + + This MUST be set to the size, in bytes, of the ReservedMonikerStream field. + If this field has a value 0x00000000, the ReservedMonikerStream field MUST NOT be present. + + + + + This MUST be a MONIKERSTREAM structure that can contain any arbitrary value + and MUST be ignored on processing. + + + + + This MUST be set to the size, in bytes, of the RelativeSourceMonikerStream field. + If this field has a value 0x00000000, the RelativeSourceMonikerStream field MUST NOT be present. + + + + + This MUST be a MONIKERSTREAM structure that specifies the relative path to the linked object. + + + + + This MUST be set to the size, in bytes, of the AbsoluteSourceMonikerStream field. + This field MUST NOT contain the value 0x00000000. + + + + + This MUST be a MONIKERSTREAM structure that specifies the full path to the linked object. + + + + + This MUST be the LONG value -1 + + + + + This MUST be the CLSID containing the object class GUID of the creating application. + + + + + This MUST be a LengthPrefixedUnicodeString that can contain + any arbitrary value and MUST be ignored on processing. + + + + + This can contain any arbitrary value and MUST be ignored on processing. + + + + + This MUST be a FILETIME that contains the time + when the container application last updated the RemoteUpdateTime field. + + + + + This MUST be a FILETIME that contains the time + when the container application last checked the update time of the linked object. + + + + + This MUST be a FILETIME that contains the time when the linked object was last updated. + + + + + The type of the link; + + + + + Path to linked file + + + + + Initializes a new instance of the class. + + The stream. + + + + Initializes a default instance of the class. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + Length + + + + Saves to compound stream. + + The stream. + + + + Gets the size of the structure. + + The length. + + + + + + + + + + + + + + Path to file + + + + + Initializes a new instance of the class. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + Length + + + + Gets the size of the structure. + + The length. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Parse the data strucure + + Bytes with data + Offset + + + + Saves the data structure. + + The destination array. + The offset. + Length + + + + Gets the size of the structure. + + The length. + + + + Summary description for PictureShapeProps. + + + + + + + + + + Gets/sets picture brightness. + + + + + Get/set picture contrast. + + + + + Get/set picture color + + + + + Gets or sets the picture's alternative text. + + The alternative text. + + + + Gets or sets the name. + + + The name. + + + + + Summary description for Rect. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for SPContainer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default constructor + + + + + Get/set value which defines if + there is a line around textbox shape + + + + + Get/set wrap text mode + + + + + Gets or set a value indicating whether to resize the textbox based on the contents. + + + + + Get/set line style for textbox + + + + + Get/set textbox fill color + + + + + Get/set line color. + + + + + Get/set textbox line width + + + + + Get/set line dashing for textbox + + + + + Get/set TXID value; + + + + + Gets or sets the left margin. + + The left margin. + + + + Gets or sets the right margin. + + The right margin. + + + + Gets or sets the top margin. + + The top margin. + + + + Gets or sets the bottom margin. + + The bottom margin. + + + + Summary description for MSOBlipType. + + + + + Unknow + + + + + Metafile header then compressed WMF + + + + + Metafile header then compressed EMF + + + + + Metafile header then compressed PICT + + + + + One byte tag then PNG data + + + + + One byte tag then JFIF data + + + + + One byte tag then JPEG data + + + + + One byte tag then DIB data + + + + + Clients should set this bit + + + + + GEL provided types... + + + + + An error occured during loading + + + + + An unknown blip type + + + + + Windows Enhanced Metafile + + + + + Windows Metafile + + + + + Macintosh PICT + + + + + JFIF + + + + + PNG + + + + + Windows DIB + + + + + First client defined blip type + + + + + Last client defined blip type + + + + + Blip usage + + + + + All non-texture fill blips get this. + + + + + + + + + + Since this is stored in a byte + + + + + Blip Foptes + + + + + Blip to display + + + + + Blip file name + + + + + Blip flags + + + + + transparent color (none if ~0UL) + + + + + Draw a dashed line if no line + + + + + + + + + + + + + + + DocInfo contains stream component data blocks. + + + + + Initializes a new instance of the class. + + The streams manager. + + + + Returns WordImageReader depending on the offset + + + offset in Data stream of the current image + + + + + + + + + + Gets the fib. + + + The fib. + + + + + Gets the tables data. + + The tables data. + + + + Gets the FKP data. + + The FKP data. + + + + Gets the image writer. + + The image writer. + + + + Initializes a new instance of the class. + + + + + Initializes this instance. + + + + + Initializes the before reading the document. + + + + + Reads the Fib records from the specified stream. + + The stream. + + + + Reads the Fib records from the decrypted stream. + + The stream. + + + + Reads the Fib records after 64 bytes - cslw from the specified stream. + + The stream. + + + + Validates the cbRgFcLcb. + + + + + Validates the CSW new. + + + + + + + + + + Writes the Fib records to the specified stream. + + The stream. + + + + Writes the internal. + + The stream. + + + + Writes the after encryption. + + The stream. + + + + Updates the fcMac. + + + + + Closes this instance. + + + + + Gets the fib version determined in the Word document as per file format specifications. + + + The fib version. + + + + + Gets or sets an unsigned integer that specifies that this is a Word Binary File. This value MUST be 0xA5EC. + + + The w ident. + + + + + + Gets or sets the unused value. + This value is undefined and MUST be ignored. + + + The BaseUnused. + + + + + Gets or sets a LID that specifies the install language of the application that is producing the document. + If nFib is 0x00D9 or greater, then any East Asian install lid or any install lid with a base language of Spanish, German or French MUST be recorded as lidAmerican. + If the nFib is 0x0101 or greater, then any install lid with a base language of Vietnamese, Thai, or Hindi MUST be recorded as lidAmerican. + + + The lid. + + + + + Gets or sets an unsigned integer that specifies the offset in the WordDocument stream of the FIB for the document which contains all the AutoText items. + If this value is 0, there are no AutoText items attached. Otherwise the FIB is found at file location pnNext�512. + If fGlsy is 1 or fDot is 0, this value MUST be 0. + If pnNext is not 0, each FIB MUST share the same values for FibRgFcLcb97.fcPlcBteChpx, FibRgFcLcb97.lcbPlcBteChpx, FibRgFcLcb97.fcPlcBtePapx, FibRgFcLcb97.lcbPlcBtePapx, and FibRgLw97.cbMac. + + + The pn next. + + + + + Gets or sets a value specifies whether this is a document template (1). + + + true if this is a document template; otherwise, false. + + + + + Gets or sets a value specifies whether this is a document that contains only AutoText items (see FibRgFcLcb97.fcSttbfGlsy, FibRgFcLcb97.fcPlcfGlsy and FibRgFcLcb97.fcSttbGlsyStyle). + + + true if this is a document that contains only AutoText items; otherwise, false. + + + + + Gets or sets a value specifies that the last save operation that was performed on this document was an incremental save operation. + + + true if fComplex; otherwise, false. + + + + + + Gets or sets an unsigned integer. + If nFib is less than 0x00D9, then cQuickSaves specifies the number of consecutive times this document was incrementally saved. + If nFib is 0x00D9 or greater, then cQuickSaves MUST be 0xF. + + + The c quick saves. + + + + + Gets or sets a value specifies whether the document is encrypted or obfuscated as specified in Encryption and Obfuscation. + + + true if the document is encrypted or obfuscated; otherwise, false. + + + + + Gets or sets a value specifies the Table stream to which the FIB refers. When this value is set to 1, use 1Table; when this value is set to 0, use 0Table. + + + true if the Table stream is 1Table; otherwise, false. + + + + + Gets or sets a value specifies whether the document author recommended that the document be opened in read-only mode. + + + true if the document to be opened in read-only mode; otherwise, false. + + + + + Gets or sets a value specifies whether the document has a write-reservation password. + + + true if the document has a write-reservation password; otherwise, false. + + + + + Gets or sets a value indicating ext character. + This value MUST be 1. + + + true if ext character; otherwise, false. + + + + + Gets or sets a value specifies whether to override the language information and font that are specified in the paragraph style at istd 0 (the normal style) with the defaults that are appropriate for the installation language of the application. + + + true if load override; otherwise, false. + + + + + Gets or sets a value specifies whether the installation language of the application that created the document was an East Asian language. + + + true if far east; otherwise, false. + + + + + Gets or sets a value specifies whether the document is obfuscated by using XOR obfuscation. + If fEncrypted is 1, this bit specifies whether the document is obfuscated by using XOR obfuscation (section 2.2.6.1); otherwise, this bit MUST be ignored. + + + true if the document is obfuscated by using XOR obfuscation; otherwise, false. + + + + + + Gets or sets the key. + If fEncrypted is 1 and fObfuscation is 1, this value specifies the XOR obfuscation (section 2.2.6.1) password verifier. + If fEncrypted is 1 and fObfuscation is 0, this value specifies the size of the EncryptionHeader that is stored at the beginning of the Table stream as described in Encryption and Obfuscation. + Otherwise, this value MUST be 0. + + + The l key. + + + + + Gets or sets the envr. + This value MUST be 0, and MUST be ignored. + + + The envr. + + + + + Gets or sets a value indicating whether mac. + This value MUST be 0, and MUST be ignored. + + + true if mac; otherwise, false. + + + + + + Gets or sets a value specifies whether to override the section properties for page size, orientation, and margins with the defaults that are appropriate for the installation language of the application. + + + true if load override page; otherwise, false. + + + + + Gets or sets a value indicating the reserved1. + This value is undefined and MUST be ignored. + + + true if reserved1; otherwise, false. + + + + + Gets or sets a value indicating the reserved2. + This value is undefined and MUST be ignored. + + + true if reserved2; otherwise, false. + + + + + Gets or sets the spare0. + This value is undefined and MUST be ignored. + + + The f spare0. + + + + + Gets or sets a value indicating the reserved3. + This value MUST be 0 and MUST be ignored. + + + The reserved3. + + + + + Gets or sets a value indicating the reserved4. + This value MUST be 0 and MUST be ignored. + + + The reserved4. + + + + + Gets or sets a value indicating the reserved5. + This value is undefined and MUST be ignored. + + + The reserved5. + + + + + Gets or sets a value indicating the reserved6. + This value is undefined and MUST be ignored. + + + The reserved6. + + + + + Gets or sets an unsigned integer that specifies the count of 16-bit values corresponding to fibRgW that follow. MUST be 0x000E. + + + The CSW. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg w reserved1. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg w reserved2. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg w reserved3. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fib rg w reserved4. + + + + + + + + + + + + + + A LID whose meaning depends on the nFib value. Gets or sets the lid fe. + + + The lid fe. + + + + + Gets or sets an unsigned integer that specifies the count of 32-bit values corresponding to fibRgLw that follow. MUST be 0x0016. + + + The CSLW. + + + + + Specifies the count of bytes of those written to the WordDocument stream of the file that have any meaning. Gets or sets the cb mac. + + + The cb mac. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The rg lw reserved1. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The rg lw reserved2. + + + + + Specifies the count of CPs in the main document. Gets or sets the CCP text. + + + The CCP text. + + + + + Specifies the count of CPs in the footnote subdocument. Gets or sets the CCP FTN. + + + The CCP FTN. + + + + + Specifies the count of CPs in the header subdocument. Gets or sets the CCP HDD. + + + The CCP HDD. + + + + + Gets or sets this value MUST be zero and MUST be ignored. + + + The rg lw reserved3. + + + + + Specifies the count of CPs in the comment subdocument. Gets or sets the CCP atn. + + + The CCP atn. + + + + + Specifies the count of CPs in the endnote subdocument. Gets or sets the CCP edn. + + + The CCP edn. + + + + + Specifies the count of CPs in the textbox subdocument of the main document. Gets or sets the CCP TXBX. + + + The CCP TXBX. + + + + + Specifies the count of CPs in the textbox subdocument of the header. Gets or sets the CCP HDR TXBX. + + + The CCP HDR TXBX. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The rg lw reserved4. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The rg lw reserved5. + + + + + Gets or sets the rg lw reserved6. + + + The rg lw reserved6. + + + + + Gets or sets this value is undefined and MUST be ignored + + + The rg lw reserved7. + + + + + Gets or sets this value is undefined and MUST be ignored + + + The rg lw reserved8. + + + + + Gets or sets the rg lw reserved9. + + + The rg lw reserved9. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The rg lw reserved10. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The rg lw reserved11. + + + + + + Gets or sets this value MUST be zero and MUST be ignored. + + + The rg lw reserved13. + + + + + Gets or sets this value MUST be zero and MUST be ignored. + + + The rg lw reserved14. + + + + + Gets or sets an unsigned integer that specifies the count of 64-bit values corresponding to fibRgFcLcbBlob that follow. + This MUST be one of the following values, depending on the value of nFib. + Value of nFib cbRgFcLcb + 0x00C1 0x005D + 0x00D9 0x006C + 0x0101 0x0088 + 0x010C 0x00A4 + 0x0112 0x00B7 + + + The cb rg fc LCB. + + + + the fib rg fc LCB97 fc STSHF original. + Gets or sets This value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc STSHF original. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fib rg fc LCB97 LCB STSHF original. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An STSH that specifies the + style sheet for this document begins at this offset. + + + The fc STSHF. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the STSH that begins at offset + fcStshf in the Table Stream. This MUST be a nonzero value. + + + The LCB STSHF. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcffndRef begins at this + offset and specifies the locations of footnote references in the Main Document, and whether those references + use auto-numbering or custom symbols. If lcbPlcffndRef is zero, fcPlcffndRef is undefined and MUST be + ignored. + + + The fc PLCFFND reference. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcffndRef that begins at offset + fcPlcffndRef in the Table Stream. + + + The LCB PLCFFND reference. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcffndTxt begins at this + offset and specifies the locations of each block of footnote text in the Footnote Document. If lcbPlcffndTxt + is zero, fcPlcffndTxt is undefined and MUST be ignored. + + + The fc PLCFFND text. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcffndTxt that begins at offset + fcPlcffndTxt in the Table Stream. + + + The LCB PLCFFND text. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfandRef begins at this + offset and specifies the dates, user initials, and locations of comments in the Main Document. If + lcbPlcfandRef is zero, fcPlcfandRef is undefined and MUST be ignored. + + + The fc plcfand reference. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfandRef at offset fcPlcfandRef + in the Table Stream. + + + The LCB plcfand reference. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfandTxt begins at this + offset and specifies the locations of comment text ranges in the Comment Document. If lcbPlcfandTxt is zero, + fcPlcfandTxt is undefined, and MUST be ignored. + + + The fc plcfand text. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfandTxt at offset fcPlcfandTxt + in the Table Stream. + + + The LCB plcfand text. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfSed begins at this + offset and specifies the locations of property lists for each section in the Main Document. If lcbPlcfSed is + zero, fcPlcfSed is undefined and MUST be ignored. + + + The LCB plcfand text. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfSed that begins at offset + fcPlcfSed in the Table Stream. + + + The LCB PLCF sed. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc PLC pad. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The fc PLC pad. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the Plc at offset fcPlcfPhe in the + Table Stream. + + + The LCB PLCF phe. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A SttbfGlsy that contains + information about the AutoText items that are defined in this document begins at this offset. + + + The fc STTBF glsy. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbfGlsy at offset fcSttbfGlsy + in the Table Stream. If base.fGlsy of the Fib that contains this FibRgFcLcb97 is zero, this value MUST be + zero. + + + The LCB STTBF glsy. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfGlsy that contains + information about the AutoText items that are defined in this document begins at this offset. + + + The fc PLCF glsy. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfGlsy at offset fcPlcfGlsy in + the Table Stream. If base.fGlsy of the Fib that contains this FibRgFcLcb97 is zero, this value MUST be zero. + + + The LCB PLCF glsy. + + + + + Gets or sets An unsigned integer that specifies the offset in the Table Stream where a Plcfhdd begins. The + Plcfhdd specifies the locations of each block of header/footer text in the WordDocument Stream. + + + The fc PLCF HDD. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the Plcfhdd at offset fcPlcfHdd in + the Table Stream. If there is no Plcfhdd, this value MUST be zero. A Plcfhdd MUST exist if FibRgLw97.ccpHdd + indicates that there are characters in the Header Document + + + The LCB PLCF HDD. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcBteChpx begins at the + offset. fcPlcfBteChpx MUST be greater than zero, and MUST be a valid offset in the Table Stream. + + + The fc PLCF bte CHPX. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcBteChpx at offset + fcPlcfBteChpx in the Table Stream. lcbPlcfBteChpx MUST be greater than zero. + + + The LCB PLCF bte CHPX. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcBtePapx begins at the + offset. fcPlcfBtePapx MUST be greater than zero, and MUST be a valid offset in the Table Stream. + + + The fc PLCF bte papx. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcBtePapx at offset + fcPlcfBtePapx in the Table Stream. lcbPlcfBteChpx MUST be greater than zero. + + + The LCB PLCF bte papx. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc PLCF sea. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB PLCF sea. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An SttbfFfn begins at this + offset. This table specifies the fonts that are used in the document. If lcbSttbfFfn is 0, fcSttbfFfn is + undefined and MUST be ignored. + + + The fc STTBF FFN. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbfFfn at offset fcSttbfFfn in + the Table Stream. + + + The LCB STTBF FFN. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcFld begins at this + offset and specifies the locations of field characters in the Main Document. All CPs in this PlcFld MUST be + greater than or equal to 0 and less than or equal to FibRgLw97.ccpText. If lcbPlcfFldMom is zero, + fcPlcfFldMom is undefined and MUST be ignored. + + + The fc PLCF field mom. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcFld at offset fcPlcfFldMom in + the Table Stream. + + + The LCB PLCF field mom. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcFld begins at this + offset and specifies the locations of field characters in the Header Document. All CPs in this PlcFld are + relative to the starting position of the Header Document. + + + The fc PLCF field HDR. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcFld at offset fcPlcfFldHdr in + the Table Stream. + + + The LCB PLCF field HDR. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcFld begins at this + offset and specifies the locations of field characters in the Footnote Document. All CPs in this PlcFld are + relative to the starting position of the Footnote Document. + + + The fc PLCF field FTN. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcFld at offset fcPlcfFldFtn in + the Table Stream. + + + The LCB PLCF field FTN. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcFld begins at this + offset and specifies the locations of field characters in the Comment Document. All CPs in this PlcFld are + relative to the starting position of the Comment Document. + + + The fc PLCF field atn. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcFld at offset fcPlcfFldAtn in + the Table Stream. + + + The LCB PLCF field atn. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc PLCF field MCR. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB PLCF field MCR. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An SttbfBkmk that contains + the names of the bookmarks (1) in the document begins at this offset. + + + The fc STTBF BKMK. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbfBkmk at offset fcSttbfBkmk. + + + The LCB STTBF BKMK. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfBkf that contains + information about the standard bookmarks (1) in the document begins at this offset. If lcbPlcfBkf is zero, + fcPlcfBkf is undefined and MUST be ignored. + + + The fc PLCF BKF. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfBkf at offset fcPlcfBkf. + + + The LCB PLCF BKF. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfBkl that contains + information about the standard bookmarks (1) in the document begins at this offset. + + + The fc PLCF BKL. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfBkl at offset fcPlcfBkl. + + + The LCB PLCF BKL. + + + + + Gets or sets An unsigned integer that specifies the offset in the Table Stream of a Tcg that specifies + command-related customizations. If lcbCmds is zero, fcCmds is undefined and MUST be ignored. + + + The fc CMDS. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the Tcg at offset fcCmds. + + + The LCB CMDS. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc unused1. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB unused1. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc STTBF MCR. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB STTBF MCR. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. The PrDrvr, which contains + printer driver information (the names of drivers, port, and so on), begins at this offset. + + + The fc pr DRVR. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PrDrvr at offset fcPrDrvr. + + + The LCB pr DRVR. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. The PrEnvPort that is the + print environment in portrait mode begins at this offset. If lcbPrEnvPort is zero, fcPrEnvPort is undefined + and MUST be ignored. + + + The fc pr env port. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PrEnvPort at offset fcPrEnvPort. + + + The LCB pr env port. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. The PrEnvLand that is the + print environment in landscape mode begins at this offset. If lcbPrEnvLand is zero, fcPrEnvLand is undefined + and MUST be ignored. + + + The fc pr env land. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PrEnvLand at offset fcPrEnvLand. + + + The LCB pr env land. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A Selsf begins at this offset + and specifies the last selection that was made in the Main Document. If lcbWss is zero, fcWss is undefined + and MUST be ignored. + + + The fc WSS. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the Selsf at offset fcWss. + + + The LCB WSS. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A Dop begins at this offset. + + + The fc dop. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the Dopat fcDop. This value MUST NOT + be zero. + + + The LCB dop. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An SttbfAssoc that contains + strings that are associated with the document begins at this offset. + + + The fc STTBF assoc. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbfAssoc at offset fc + SttbfAssoc. This value MUST NOT be zero. + + + The LCB STTBF assoc. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A Clx begins at this offset. + + + The fc CLX. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the Clx at offset fcClx in the Table + Stream. This value MUST be greater than zero. + + + The LCB CLX. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc PLCF PGD FTN. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB PLCF PGD FTN. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc autosave source. + + + + + Gets or sets This value MUST be zero and MUST be ignored. + + + The LCB autosave source. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An array of XSTs begins at + this offset. The value of cch for all XSTs in this array MUST be less than 56. The number of entries in this + array is limited to 0x7FFF. + + + The fc GRP XST atn owners. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the XST array at offset + fcGrpXstAtnOwners in the Table Stream. + + + The LCB GRP XST atn owners. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An SttbfAtnBkmk that contains + information about the annotation bookmarks in the document begins at this offset. + + + The fc STTBF atn BKMK. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbfAtnBkmk at offset + fcSttbfAtnBkmk. + + + The LCB STTBF atn BKMK. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc unused2. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB unused2. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc unused3. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB unused3. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfSpa begins at this + offset. The PlcfSpa contains shape information for the Main Document. + + + The fc PLC spa mom. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfSpa at offset fcPlcSpaMom. + + + The LCB PLC spa mom. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfSpa begins at this + offset. The PlcfSpa contains shape information for the Header Document. + + + The fc PLC spa HDR. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfSpa at the offset + fcPlcSpaHdr. + + + The LCB PLC spa HDR. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfBkf that contains + information about annotation bookmarks in the document begins at this offset. If lcbPlcfAtnBkf is zero, + fcPlcfAtnBkf is undefined and MUST be ignored. + + + The LCB PLC spa HDR. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfBkf at offset fcPlcfAtnBkf. + + + The LCB PLCF atn BKF. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfBkl that contains + information about annotation bookmarks in the document begins at this offset. If lcbPlcfAtnBkl is zero, then + fcPlcfAtnBkl is undefined and MUST be ignored. + + + The fc PLCF atn BKL. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfBkl at offset fcPlcfAtnBkl. + + + The LCB PLCF atn BKL. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A Pms, which contains the + current state of a print merge operation, begins at this offset. If lcbPms is zero, fcPms is undefined and + MUST be ignored. + + + The fc PMS. + + + + + Gets or sets An unsigned integer which specifies the size, in bytes, of the Pms at offset fcPms. + + + The LCB PMS. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc form field STTBS. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB form field STTBS. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfendRef that begins at + this offset specifies the locations of endnote references in the Main Document and whether those references + use auto-numbering or custom symbols. + + + The fc plcfend reference. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfendRef that begins at offset + fcPlcfendRef in the Table Stream. + + + The LCB plcfend reference. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfendTxt begins at this + offset and specifies the locations of each block of endnote text in the Endnote Document. If lcbPlcfendTxt + is zero, fcPlcfendTxt is undefined and MUST be ignored. + + + The fc plcfend text. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfendTxt that begins at offset + fcPlcfendTxt in the Table Stream. + + + The LCB plcfend text. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcFld begins at this + offset and specifies the locations of field characters in the Endnote Document. + + + The fc PLCF field edn. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcFld at offset fcPlcfFldEdn in + the Table Stream. + + + The LCB PLCF field edn. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc unused4. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB unused4. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An OfficeArtContent that + contains information about the drawings in the document begins at this offset. + + + The fc DGG information. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the OfficeArtContent at the offset + fcDggInfo. If lcbDggInfo is zero, there MUST NOT be any drawings in the document. + + + The LCB DGG information. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An SttbfRMark that contains + the names of authors who have added revision marks or comments to the document begins at this offset. + + + The fc STTBF r mark. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbfRMark at the offset + fcSttbfRMark. + + + The LCB STTBF r mark. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An SttbfCaption that contains + information about the captions that are defined in this document begins at this offset. + + + The fc STTBF caption. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbfCaption at offset + fcSttbfCaption in the Table Stream. If base.fDot of the Fib that contains this FibRgFcLcb97 is zero, this + value MUST be zero. + + + The LCB STTBF caption. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A SttbfAutoCaption that + contains information about the AutoCaption strings defined in this document begins at this offset. + + + The fc STTBF automatic caption. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbfAutoCaption at offset + fcSttbfAutoCaption in the Table Stream. If base.fDot of the Fib that contains this FibRgFcLcb97 is zero, + this MUST be zero. + + + The LCB STTBF automatic caption. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfWKB that contains + information about all master documents and subdocuments begins at this offset. + + + The fc PLCF WKB. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfWKB at offset fcPlcfWkb in + the Table Stream. If lcbPlcfWkb is zero, fcPlcfWkb is undefined and MUST be ignored. + + + The LCB PLCF WKB. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A Plcfspl, which specifies + the state of the spell checker for each text range, begins at this offset. If lcbPlcfSpl is zero, then + fcPlcfSpl is undefined and MUST be ignored. + + + The fc PLCF SPL. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the Plcfspl that begins at offset + fcPlcfSpl in the Table Stream. + + + The LCB PLCF SPL. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcftxbxTxt begins at this + offset and specifies which ranges of text are contained in which textboxes. If lcbPlcftxbxTxt is zero, + fcPlcftxbxTxt is undefined and MUST be ignored. + + + The fc PLCFTXBX text. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcftxbxTxt that begins at offset + fcPlcftxbxTxt in the Table Stream. + + + The LCB PLCFTXBX text. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcFld begins at this + offset and specifies the locations of field characters in the Textbox Document. All CPs in this PlcFld are + relative to the starting position of the Textbox Document. + + + The fc PLCF field TXBX. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcFld at offset fcPlcfFldTxbx in + the Table Stream. + + + The LCB PLCF field TXBX. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfHdrtxbxTxt begins at + this offset and specifies which ranges of text are contained in which header textboxes. + + + The fc PLCF HDRTXBX text. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfHdrtxbxTxt that begins at + offset fcPlcfHdrtxbxTxt in the Table Stream. + + + The LCB PLCF HDRTXBX text. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcFld at offset fcPlcffldHdrTxbx + in the Table Stream. + + + The fc PLCFFLD HDR TXBX. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcFld at offset fcPlcffldHdrTxbx + in the Table Stream. + + + The LCB PLCFFLD HDR TXBX. + + + + + Gets or sets An unsigned integer that specifies an offset into the Table Stream. An StwUser that specifies + the user-defined variables and VBAdigital signature (2), as specified by [MS-OSHARED] section 2.3.2, begins + at this offset. + + + The fc STW user. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the StwUser at offset fcStwUser. + + + The LCB STW user. + + + + + Gets or sets An unsigned integer that specifies an offset into the Table Stream. A SttbTtmbd begins at this + offset and specifies information about the TrueType fonts that are embedded in the document. If lcbSttbTtmbd + is zero, fcSttbTtmbd is undefined and MUST be ignored. + + + The fc STTB TTMBD. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbTtmbd at offset fcSttbTtmbd. + + + The LCB STTB TTMBD. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the RgCdb at offset fcCookieData in + the Table Stream. + + + The LCB cookie data. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the deprecated document page layout + cache at offset fcPgdMotherOldOld in the Table Stream. + + + The LCB PGD mother old old. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the deprecated document text flow + break cache at offset fcBkdMotherOldOld in the Table Stream. + + + The LCB BKD mother old old. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the deprecated footnote layout cache + at offset fcPgdFtnOldOld in the Table Stream. + + + The LCB PGD FTN old old. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the deprecated footnote text flow + break cache at offset fcBkdFtnOldOld in the Table Stream. + + + The LCB BKD FTN old old. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the deprecated endnote layout cache + at offset fcPgdEdnOldOld in the Table Stream. + + + The LCB PGD edn old old. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the deprecated endnote text flow + break cache at offset fcBkdEdnOldOld in the Table Stream. + + + The LCB BKD edn old old. + + + + + Gets or sets this value is undefined and MUST be ignored. + + + The fib rg fc LCB97 fc STTBF intl field. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB STTBF intl field. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the RouteSlip at offset fcRouteSlip + in the Table Stream. + + + The LCB route slip. + + + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An SttbFnm that contains + information about the external files that are referenced by this document begins at this offset. If + lcbSttbFnm is zero, fcSttbFnm is undefined and MUST be ignored. + + + The fc STTB FNM. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbFnm at the offset fcSttbFnm. + + + The LCB STTB FNM. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlfLst that contains list + formatting information begins at this offset. An array of LVLs is appended to the PlfLst. + + + The fc PLF LST. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlfLst at the offset fcPlfLst. + This does not include the size of the array of LVLs that are appended to the PlfLst. + + + The LCB PLF LST. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlfLfo that contains list + formatting override information begins at this offset. If lcbPlfLfo is zero, fcPlfLfo is undefined and MUST + be ignored. + + + The fc PLF lfo. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlfLfo at the offset fcPlfLfo. + + + The LCB PLF lfo. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcftxbxBkd begins at this + offset and specifies which ranges of text go inside which textboxes. + + + The fc PLCF TXBX BKD. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcftxbxBkd that begins at offset + fcPlcfTxbxBkd in the Table Stream. + + + The LCB PLCF TXBX BKD. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfTxbxHdrBkd begins at + this offset and specifies which ranges of text are contained inside which header textboxes. + + + The fc PLCF TXBX HDR BKD. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfTxbxHdrBkd that begins at + offset fcPlcfTxbxHdrBkd in the Table Stream. + + + The LCB PLCF TXBX HDR BKD. + + + + + + Gets or sets An unsigned integer. If this is nonzero, version-specific undo information exists at offset + fcDocUndoWord9 in the WordDocument Stream. + + + The LCB document undo word9. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the version-specific undo information + at offset fcRgbUse in the WordDocument Stream. + + + The LCB RGB use. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the version-specific undo + information at offset fcUsp in the WordDocument Stream. + + + The LCB usp. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the version-specific undo informatio + at offset fcUskf in the Table Stream. + + + The LCB uskf. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the Plc at offset fcPlcupcRgbUse in + the Table Stream. + + + The LCB plcupc RGB use. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the Plc at offset fcPlcupcUsp in the + Table Stream. + + + The LCB plcupc usp. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A SttbGlsyStyle, which + contains information about the styles that are used by the AutoText items which are defined in this + document, begins at this offset. + + + The fc STTB glsy style. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbGlsyStyle at offset + fcSttbGlsyStyle in the Table Stream. If base.fGlsy of the Fib that contains this FibRgFcLcb97 is zero, this + value MUST be zero. + + + The LCB STTB glsy style. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlfGosl begins at the + offset. If lcbPlgosl is zero, fcPlgosl is undefined and MUST be ignored. + + + The fc plgosl. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlfGosl at offset fcPlgosl in the + Table Stream. + + + The LCB plgosl. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A RgxOcxInfo that specifies + information about the OLE controls in the document begins at this offset. + + + The fc plcocx. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the RgxOcxInfo at the offset + fcPlcocx. + + + The LCB plcocx. + + + + + + + Gets or sets The low-order part of a FILETIME structure, as specified by [MS-DTYP], that specifies when the + document was last saved. + + + The dw low date time. + + + + + Gets or sets The high-order part of a FILETIME structure, as specified by [MS-DTYP], that specifies when the + document was last saved. + + + The dw high date time. + + + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfAsumy begins at the + offset. If lcbPlcfAsumy is zero, fcPlcfAsumy is undefined and MUST be ignored. + + + The fc PLCF asumy. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfAsumy at offset fcPlcfAsumy + in the Table Stream. + + + The LCB PLCF asumy. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A Plcfgram, which specifies + the state of the grammar checker for each text range, begins at this offset. If lcbPlcfGram is zero, then + fcPlcfGram is undefined and MUST be ignored. + + + The fc PLCF gram. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the Plcfgram that begins at offset + fcPlcfGram in the Table Stream. + + + The LCB PLCF gram. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A SttbListNames, which + specifies the LISTNUM field names of the lists in the document, begins at this offset. + + + The fc STTB list names. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbListNames at the offset + fcSttbListNames. + + + The LCB STTB list names. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the deprecated, version-specific undo + information at offset fcSttbfUssr in the Table Stream. + + + The LCB STTBF ussr. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcfTch at offset fcPlcfTch. + + + The LCB PLCF TCH. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An RmdThreading that specifies the data concerning the e-mail + messages and their authors in this document begins at this offset. + + + The fc RMD threading. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the RmdThreading at the offset fcRmdThreading. This value MUST NOT be zero. + + + The LCB RMD threading. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A double-byte character Unicode string that specifies the + message identifier of the document begins at this offset. This value MUST be ignored. + + + The fc mid. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the double-byte character Unicode string at offset fcMid. This value MUST be ignored. + + + The LCB mid. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A SttbRgtplc that specifies the styles of lists in the document + begins at this offset. If lcbSttbRgtplc is zero, fcSttbRgtplc is undefined and MUST be ignored. + + + The fc STTB RGTPLC. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbRgtplc at the offset fcSttbRgtplc. + + + The LCB STTB RGTPLC. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An MsoEnvelopeCLSID, which specifies the envelope data as + specified by [MS-OSHARED] section 2.3.8.1, begins at this offset. If lcbMsoEnvelope is zero, fcMsoEnvelope is undefined and MUST be ignored. + + + The fc mso envelope. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the MsoEnvelopeCLSID at the offset fcMsoEnvelope. + + + The LCB mso envelope. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A Plcflad begins at this offset and specifies the language + auto-detect state of each text range. If lcbPlcfLad is zero, fcPlcfLad is undefined and MUST be ignored. + + + The fc PLCF lad. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the Plcflad that begins at offset fcPlcfLad in the Table Stream. + + + The LCB PLCF lad. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A variable-length array with elements of type Dofrh begins at that offset. + The elements of this array are records that support the frame set and list style features. If lcbRgDofr is zero, fcRgDofr is undefined and MUST be ignored. + + + The fc rg dofr. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the array that begins at offset fcRgDofr in the Table Stream. + + + The LCB rg dofr. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A PlfCosl begins at the offset. If lcbPlcosl is zero, + fcPlcosl is undefined and MUST be ignored. + + + The fc plcosl. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the PlfCosl at offset fcPlcosl in the Table Stream. + + + The LCB plcosl. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the PlcfcookieOld at offset fcPlcfcookieOld in the Table Stream. + + + The LCB PLCF cookie old. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated document page layout cache at offset fcPgdMotherOld in the Table Stream. + + + The LCB PGD mother old. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated document text flow break cache at offset fcBkdMotherOld in the Table Stream. + + + The LCB BKD mother old. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated footnote layout cache at offset fcPgdFtnOld in the Table Stream. + + + The LCB PGD FTN old. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated footnote text flow break cache at offset fcBkdFtnOld in the Table Stream. + + + The LCB BKD FTN old. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated endnote layout cache at offset fcPgdEdnOld in the Table Stream. + + + The LCB PGD edn old. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated endnote text flow break cache at offset fcBkdEdnOld in the Table Stream. + + + The LCB BKD edn old. + + + + + Gets or sets the fc unused1. This value is undefined and MUST be ignored. + + + The fc unused1. + + + + + Gets or sets the LCB unused1.This value MUST be zero, and MUST be ignored + + + The LCB unused1. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A PGPArray begins at this offset. + If lcbPlcfPgp is 0, fcPlcfPgp is undefined and MUST be ignored. + + + The fc PLCF PGP. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the PGPArray that is stored at offset fcPlcfPgp. + + + The LCB PLCF PGP. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A Plcfuim begins at this offset. + If lcbPlcfuim is zero, fcPlcfuim is undefined and MUST be ignored. + + + The fc plcfuim. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the Plcfuim at offset fcPlcfuim. + + + The LCB plcfuim. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A PlfguidUim begins at this offset. + If lcbPlfguidUim is zero, fcPlfguidUim is undefined and MUST be ignored. + + + The fc plfguid uim. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the PlfguidUim at offset fcPlfguidUim. + + + The LCB plfguid uim. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. An AtrdExtra begins at this offset. + If lcbAtrdExtra is zero, fcAtrdExtra is undefined and MUST be ignored. + + + The fc atrd extra. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the AtrdExtra at offset fcAtrdExtra in the Table Stream. + + + The LCB atrd extra. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A PLRSID begins at this offset. + If lcbPlrsid is zero, fcPlrsid is undefined and MUST be ignored. + + + The fc plrsid. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the PLRSID at offset fcPlrsid in the Table Stream. + + + The LCB plrsid. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An SttbfBkmkFactoid containing + information about smart tag bookmarks in the document begins at this offset. If lcbSttbfBkmkFactoid is zero, + fcSttbfBkmkFactoid is undefined and MUST be ignored. + + + The fc STTBF BKMK factoid. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the SttbfBkmkFactoid at offset fcSttbfBkmkFactoid. + + + The LCB STTBF BKMK factoid. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfBkfd that contains + information about the smart tag bookmarks in the document begins at this offset. If lcbPlcfBkfFactoid is zero, + fcPlcfBkfFactoid is undefined and MUST be ignored. + + + The fc PLCF BKF factoid. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the PlcfBkfd at offset fcPlcfBkfFactoid. + + + The LCB PLCF BKF factoid. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the Plcfcookie at offset fcPlcfcookie in the Table Stream. + + + The LCB plcfcookie. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A Plcfbkld that contains + information about the smart tag bookmarks in the document begins at this offset. If lcbPlcfBklFactoid is zero, + fcPlcfBklFactoid is undefined and MUST be ignored. + + + The fc PLCF BKL factoid. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the Plcfbkld at offset fcPlcfBklFactoid. + + + The LCB PLCF BKL factoid. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A SmartTagData begins + at this offset and specifies information about the smart tag recognizers that are used in this document. + If lcbFactoidData is zero, fcFactoidData is undefined and MUST be ignored. + + + The fc factoid data. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the SmartTagData at offset fcFactoidData in the Table Stream. + + + The LCB factoid data. + + + + + + Gets or sets An unsigned integer. If this value is nonzero, version-specific undo information exists at offset fcDocUndo in the WordDocument Stream. + + + The LCB document undo. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. An SttbfBkmkFcc that contains + information about the format consistency-checker bookmarks in the document begins at this offset. + If lcbSttbfBkmkFcc is zero, fcSttbfBkmkFcc is undefined and MUST be ignored. + + + The fc STTBF BKMK FCC. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the SttbfBkmkFcc at offset fcSttbfBkmkFcc. + + + The LCB STTBF BKMK FCC. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcfBkfd that contains + information about format consistency-checker bookmarks in the document begins at this offset. If lcbPlcfBkfFcc is zero, + fcPlcfBkfFcc is undefined and MUST be ignored. + + + The fc PLCF BKF FCC. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the PlcfBkfd at offset fcPlcfBkfFcc. + + + The LCB PLCF BKF FCC. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A PlcfBkld that contains information + about the format consistency-checker bookmarks in the document begins at this offset. If lcbPlcfBklFcc is zero, + fcPlcfBklFcc is undefined and MUST be ignored. + + + The fc PLCF BKL FCC. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the PlcfBkld at offset fcPlcfBklFcc. + + + The LCB PLCF BKL FCC. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. An SttbfBkmkBPRepairs + that contains information about the repair bookmarks in the document begins at this offset. If lcbSttbfBkmkBPRepairs + is zero, fcSttbfBkmkBPRepairs is undefined and MUST be ignored. + + + The fc STTBFBKMK bp repairs. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the SttbfBkmkBPRepairs at offset fcSttbfBkmkBPRepairs. + + + The LCB STTBFBKMK bp repairs. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A PlcfBkf that contains + information about the repair bookmarks in the document begins at this offset. If lcbPlcfBkfBPRepairs is zero, + fcPlcfBkfBPRepairs is undefined and MUST be ignored. + + + The fc PLCFBKF bp repairs. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the PlcfBkf at offset fcPlcfbkfBPRepairs. + + + The LCB PLCFBKF bp repairs. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A PlcfBkl that contains + information about the repair bookmarks in the document begins at this offset. If lcbPlcfBklBPRepairs is zero, + fcPlcfBklBPRepairs is undefined and MUST be ignored. + + + The fc PLCFBKL bp repairs. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the PlcfBkl at offset fcPlcfBklBPRepairs. + + + The LCB PLCFBKL bp repairs. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A new Pms, which contains + the current state of a print merge operation, begins at this offset. If lcbPmsNew is zero, fcPmsNew is + undefined and MUST be ignored. + + + The fc PMS new. + + + + + Gets or sets an unsigned integer which specifies the size, in bytes, of the Pms at offset fcPmsNew. + + + The LCB PMS new. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. Office Data Source Object + (ODSO) data that is used to perform mail merge begins at this offset. The data is stored in an array of + ODSOPropertyBase items. The ODSOPropertyBase items are of variable size and are stored contiguously. + The complete set of properties that are contained in the array is determined by reading each ODSOPropertyBase, + until a total of lcbODSO bytes of data are read. If lcbODSO is zero, fcODSO is undefined and MUST be ignored. + + + The fc odso. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the Office Data Source Object data + at offset fcODSO in the Table Stream. + + + The LCB odso. + + + + + + + + + + + Gets or sets the fc unused2.This value is undefined and MUST be ignored. + + + The fc unused2. + + + + + Gets or sets the LCB unused2.This value MUST be zero, and MUST be ignored. + + + The LCB unused2. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A Plcffactoid, which specifies + the smart tag recognizer state of each text range, begins at this offset. If lcbPlcffactoid is zero, fcPlcffactoid + is undefined and MUST be ignored. + + + The fc plcffactoid. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes of the Plcffactoid that begins at offset + fcPlcffactoid in the Table Stream. + + + The LCB plcffactoid. + + + + + + + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An Hplxsdr structure begins + at this offset. This structure specifies information about XML schema definition references. + + + The fc HPLXSDR. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the Hplxsdr structure at the offset + fcHplxsdr in the Table Stream. If lcbHplxsdr is zero, then fcHplxsdr is undefined and MUST be ignored. + + + The LCB HPLXSDR. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An SttbfBkmkSdt that contains + information about the structured document tag bookmarks in the document begins at this offset. If lcbSttbfBkmkSdt is zero, then fcSttbfBkmkSdt is undefined and MUST be ignored. + + + The fc STTBF BKMK SDT. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the SttbfBkmkSdt at offset + fcSttbfBkmkSdt. + + + The LCB STTBF BKMK SDT. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcBkfd that contains + information about the structured document tag bookmarks in the document begins at this offset. If + lcbPlcfBkfSdt is zero, fcPlcfBkfSdt is undefined and MUST be ignored. + + + The fc PLCF BKF SDT. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcBkfd at offset fcPlcfBkfSdt. + + + The LCB PLCF BKF SDT. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. A PlcBkld that contains + information about the structured document tag bookmarks in the document begins at this offset. If + lcbPlcfBklSdt is zero, fcPlcfBklSdt is undefined and MUST be ignored. + + + The fc PLCF BKL SDT. + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the PlcBkld at offset fcPlcfBklSdt. + + + The LCB PLCF BKL SDT. + + + + + Gets or sets An unsigned integer that specifies an offset in the Table Stream. An array of 16-bit Unicode + characters, which specifies the full path and file name of the XML Stylesheet to apply when saving this + document in XML format, begins at this offset. If lcbCustomXForm is zero, fcCustomXForm is undefined and MUST + be ignored. + + + The fc custom x form. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the array at offset fcCustomXForm in + the Table Stream. This value MUST be less than or equal to 4168 and MUST be evenly divisible by two. + + + The LCB custom x form. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. An SttbfBkmkProt that + contains information about range-level protection bookmarks in the document begins at this offset. If + lcbSttbfBkmkProt is zero, fcSttbfBkmkProt is undefined and MUST be ignored. + + + The fc STTBF BKMK prot. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the SttbfBkmkProt at offset + fcSttbfBkmkProt. + + + The LCB STTBF BKMK prot. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A PlcBkf that contains + information about range-level protection bookmarks in the document begins at this offset. If lcbPlcfBkfProt + is zero, then fcPlcfBkfProt is undefined and MUST be ignored. + + + The fc PLCF BKF prot. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the PlcBkf at offset fcPlcfBkfProt. + + + The LCB PLCF BKF prot. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A PlcBkl containing + information about range-level protection bookmarks in the document begins at this offset. If lcbPlcfBklProt + is zero, then fcPlcfBklProt is undefined and MUST be ignored. + + + The fc PLCF BKL prot. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the PlcBkl at offset fcPlcfBklProt. + + + The LCB PLCF BKL prot. + + + + + Gets or sets an unsigned integer that specifies an offset in the Table Stream. A SttbProtUser that specifies + the usernames that are used for range-level protection begins at this offset. + + + The fc STTB prot user. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the SttbProtUser at the offset + fcSttbProtUser. + + + The LCB STTB prot user. + + + + + Gets or sets this value MUST be zero, and MUST be ignored. + + + The fc unused. + + + + + Gets or sets this value MUST be zero, and MUST be ignored. + + + The LCB unused. + + + + + + + + + + + + + + + + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated document page layout + cache at offset fcPgdMother in the Table Stream. + + + The fc PGD mother. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated document text flow + break cache at offset fcBkdMother in the Table Stream. + + + The fc BKD mother. + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated document text flow + break cache at offset fcBkdMother in the Table Stream. + + + The LCB BKD mother. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated document author filter + cache at offset fcAfdMother in the Table Stream. + + + The LCB afd mother. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated footnote layout cache + at offset fcPgdFtn in the Table Stream. + + + The LCB PGD FTN. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated footnote text flow + break cache at offset fcBkdFtn in the Table Stream. + + + The LCB BKD FTN. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the deprecated footnote author filter + cache at offset fcAfdFtn in the Table Stream. + + + The LCB afd FTN. + + + + + + Gets or sets an unsigned integer that specifies the size, in bytes, of the deprecated endnote layout cache + at offset fcPgdEdn in the Table Stream. + + + The LCB PGD edn. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the deprecated endnote text flow + break cache at offset fcBkdEdn in the Table Stream. + + + The LCB BKD edn. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the deprecated endnote author filter + cache at offset fcAfdEdn in the Table Stream. + + + The LCB afd edn. + + + + + + Gets or sets An unsigned integer that specifies the size, in bytes, of the deprecated AFD structure at + offset fcAfd in the Table Stream. + + + The LCB afd. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc PLCFMTHD. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB PLCFMTHD. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc STTBF BKMK move from. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB STTBF BKMK move from. + + + + + Gets or sets This value is undefined and MUST be ignored + + + The fc PLCF BKF move from. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB PLCF BKF move from. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc PLCF BKL move from. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB PLCF BKL move from. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc STTBF BKMK move to. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB STTBF BKMK move to. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc PLCF BKF move to. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB PLCF BKF move to. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc PLCF BKL move to. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB PLCF BKL move to. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc unused1. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB unused1. + + + + + Gets or sets This value is undefined and MUST be ignored + + + The fc unused2. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB unused2. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc unused3. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB unused3. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc STTBF BKMK arto. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB STTBF BKMK arto. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc PLCF BKF arto. + + + + + Gets or sets This value MUST be zero, and MUST be ignored + + + The LCB PLCF BKF arto. + + + + + Gets or sets Undefined and MUST be ignored. + + + The fc PLCF BKL arto. + + + + + Gets or sets MUST be zero, and MUST be ignored. + + + The LCB PLCF BKL arto. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc arto data. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB arto data. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc unused4. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB unused4. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc unused5. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB unused5. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc unused6. + + + + + Gets or sets This value MUST be zero, and MUST be ignored. + + + The LCB unused6. + + + + + Gets or sets This value is undefined and MUST be ignored. + + + + The fc oss theme. + + + + + + Gets or sets This value is undefined and MUST be ignored. + + + The fc color scheme mapping. + + + + + + Gets or sets an unsigned integer that specifies the count of 16-bit values corresponding to fibRgCswNew that follow. + This MUST be one of the following values, depending on the value of nFib. + Value of nFib cswNew + 0x00C1 0 + 0x00D9 0x0002 + 0x0101 0x0002 + 0x010C 0x0002 + 0x0112 0x0005 + + + The CSW new. + + + + + Gets or sets an unsigned integer that specifies the version number of the file format that is used. + This value MUST be one of the following. + 0x00D9 + 0x0101 + 0x010C + 0x0112 + + + The n fib new. + + + + + Gets or sets an unsigned integer that specifies the number of times that this document was incrementally saved since the last full save. This value MUST be between 0 and 0x000F, inclusively. + + + The c quick saves new. + + + + + Gets or sets the lid theme other. + This value is undefined and MUST be ignored. + + + The lid theme other. + + + + + Gets or sets the lid theme far east. + This value is undefined and MUST be ignored. + + + The lid theme fe. + + + + + Gets or sets the lid theme complex script. + This value is undefined and MUST be ignored. + + + The lid theme cs. + + + + + Gets the size of the encoding character. + + + The size of the encoding character. + + + + + Gets or sets the encoding. + + + The encoding. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The fib. + The stream. + The header/footer char position table. + + + + Writes the specified fib. + + The fib. + The stream. + + + + + + + + + Makes the correction. + + The header/footer char pos table. + The fib. + The stream. + + + + Makes the header correction. + + The header/footer char pos table. + The fib. + + + + + Shifts the char positions in grammar/spelling array. + + if it is grammar, set to true. + The start header CP. + The start shift CP. + The shift value. + + + + + Sets the header/footer separators pos. + + The value. + The start index. + The end index. + if it is grammar, set to true. + + + + Gets the index of position in grammar/spelling aray. + + if it is grammar array, set to true. + The char pos. + + + + + Shifts the positions. + + The start index. + The shift value. + if it is grammar array, set to true. + + + + Updates the grammar/spelling data. + + The stream. + The fib. + + + + Closes this instance. + + + + + Gets or sets the PLCFSPL data. + + The PLCFSPL data. + + + + Gets or sets the plcfgram data. + + The plcfgram data. + + + + Common interface for main IWordReader interface and + IWordSubdocumentReader interface. + + + + + Read next elementary text string*. + + + * - "elementary text string" - string, in which all symbols have the + identical character/paragraph/section properties. + + + + + + Returns interface for reading images from word file. + + + + + + Return object of ShapeClass. + + + + + + + + + + + + + + + + + + + + + + + + Gets document stylesheet. + + + + + Gets current style index. + + + + + Gets current read text chunk type. + + + + + Gets current read text chunk. + + + + + Gets character properties for current text chunk. + + + + + Gets paragraph properties for current text chunk. + + + + + Gets current text position in document + + + + + Gets bookmarks. + + + + + Collection of each row in a table maximum grid value + + + + + Collection of each table's maximum row width + + + + + Interface for forward-only reading data from word file. + + + + + Gets subdocument reader specified type. + + + + + + Reads document header. + + + + + + Reads document end. + + + + + + Returns Bookmark array from word file + + + + + + + + + + + + + + + + + + + + + Gets current section number. + + + + + Gets section properties for current text chunk. + + + + + Gets built-in Document properties + + + + + Gets custom Document properties + + + + + + + + + + Interface for reading data from subdocuments as header/footer, annotations, + footnotes, endnotes, etc. + + + + + Resets subdocument reader state, reading process restarted. + + + + + + + + + + + Gets subdocument reader type. + + + + + Gets current type of header / footer. + ( if Type != WordSubdocument.HeaderFooter returns HeaderType.InvalidValue ) + + + + + + + + + + Summary description for IWordWriter. + + + + + Writes text to word file + + + + + + Writes marker to word file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Insert image in the document + + + + + + Insert image in the document + + + + + + + + + + + + + + + Insert textbox shape to the document + + Textbox shape's properties + + + + Inserts the form field. + + The fieldcode. + The form field. + + + + Insert start of the bookmark in the document + + + + + + Insert end of the bookmark in the document + + + + + + Inserts the watermark. + + The watermark. + The initialize converter. + Maximal width. + + + + Writes text to word file + + + + + + Inserts the field index entry. + + The field code. + + + + Gets/sets stylesheet. + + + + + Gets/sets index of current style. + + + + + Gets or sets the CHPX + + + The CHPX. + + + + + Gets or sets the break CHPX. + + + The break CHPX. + + + + + Gets or sets a value indicating whether [break CHPX stick properties]. + + + true if [break CHPX stick properties]; otherwise, false. + + + + + Gets or sets a value indicating whether [CHPX stick properties]. + + + true if [CHPX stick properties]; otherwise, false. + + + + + + + + + + Summary description for IWordWriter. + + + + + Writes document header to word file. + + + + + Writes document end to word file. + + + + + Returns interface for writing subdocument. + + + + + + Inserts PageBreak into the document. + + + + + Gets/sets document properties. + + + + + Gets/sets section properties. + + + + + Gets Built-in Document Properties. + + + + + Gets Custom Document Properties. + + + + + Summary description for IWordSubdocumentWriter. + + + + + Writes end of the document. + + + + + + + + + + + + + + + Gets/sets type of subdocument + + + + + Class that encapsulates pointer to unmanaged memory block + and used to convert managed memory block (byte array) + into managed object. + + + + + Default memory block size. + + + + + Minimum memory block size. + + + + + Maximum memory block size. + + + + + Exception message for OutOfMemoryException. + + + + + Pointer to the memory block. + + + + + Size of the memory block. + + + + + Instance of memory converter. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + Size of the i memory block. + + + + Ensures that memory block will be able to accept iDesiredSize bytes. + + Bytes that memory block should be able to accept. + + If iDesiredSize is larger than maximum possible memory block size. + + + When was unable to allocate desired memory block size. + + + + + Copies data from arrData into internal memory block. + + Data to copy. + + + + Copies data from arrData into internal memory block starting + from specified index to the end of the array. + + Data to copy. + Start index of the data to copy. + + + + Copies specified number of bytes from arrData into internal memory block starting + from specified index to the end of the array. + + Data to copy. + Start index of the data to copy. + Number of bytes to copy. + + + + Copies data from internal memory block into object. + + Destination object. + + + + Copies data from byte array into specified object. + + Data to copy. + Destination object. + + + + Copies data from byte array into specified object. + + Data to copy. + Start index of the data to copy. + Destination object. + + + + Copies data from byte array into specified object. + + Data to copy. + Start index of the data to copy. + Number of bytes to copy. + Destination object. + + + + Copies data from source object into array of bytes. + + Source object to copy. + Destination array. + Start index in the destination array. + Length of the data to copy. + + + + Close this instance. + + + + + Gets the instance. + + The instance. + + + + This class used for implementing Advanced Encryption Standard algorithm. + + + + + Initializes a new instance of the Aes class. + + Key size. + Key bytes + + + + Initializes this instance. + + + + + Encipher 16 bit input + + 16 bit Input + Output value + + + + Decipher 16-bit input + + + + + + + Sets the nb nk nr. + + Size of the key. + + + + Builds the sbox. + + + + + Builds the inv sbox. + + + + + Builds the rcon. + + + + + Adds the round key. + + The round. + + + + Subs the bytes. + + + + + Invs the sub bytes. + + + + + Shifts the rows. + + + + + Invs the shift rows. + + + + + Mixes the columns. + + + + + Invs the mix columns. + + + + + Keys the expansion. + + + + + Subs the word. + + The word. + + + + + Rots the word. + + The word. + + + + + Possible key sizes. + key size, in bits, for constructor. + + + + + 128-bit. + + + + + 192-bit. + + + + + 256-bit. + + + + + This class is responsible for decryption of Agile encryption (Word 2010/2013) files. + + + + + Segment size. + + + + + Dataspace map. + + + + + Encryption info. + + + + + Compound storage that should be decrypted. + + + + + Intermediate key. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Hashing Algorithm used to compute hash. + + + + + Computes a Hash-based Message Authentication Code (HMAC) using the System.Security.Cryptography.SHA1 hash function. + + + + + Decrypts internal storage. + + Decrypted stream. + + + + Prepares decryptor for actual decryption. + + Compound storage to get required data. + + + + Checks whether password is correct. + + Password to check. + True if password verification succeeded. + + + + Checks the encrypted package. + + The encrypted package. + + + + + Decrypts the specified data. + + The data. + Size of the block. + The arr key. + The IV. + The actual length. + + + + + Parses the transform. + + The data spaces. + + + + Parses the data space map. + + The data spaces. + + + + Parses the transform info. + + The transform storage. + + + + Represents the agile encryption info for Encryption/Decryption of Word 2010/2013 documents. + + + + + A Version structure where Version.vMajor MUST be 0x0004, and Version.vMinor MUST be 0x0004. + + + + + A Reserved 4 bytes, MUST be 0x00000040. + + + + + An XmlEncryptionDescriptor structure that specifies encryption and hashing algorithm. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Default constructor. + + + + + Initializes new instance. + + Stream to get data from. + + + + Serializes object into stream. + + Stream to serialize into. + + + + Gets or sets the version info. + + The version info. + + + + Gets or sets the reserved. + + The reserved. + + + + An XmlEncryptionDescriptor structure that specifies encryption and hashing algorithm. + + + + + This class used to encrypt data using Agile encryption (Word 2010/2013). + + + + + Default version. + + + + + Reserved bytes. + + + + + Segment size. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Hashing Algorithm used to compute hash. + + + + + Computes a Hash-based Message Authentication Code (HMAC) using the System.Security.Cryptography.SHA1 hash function. + + + + + Hashing Algorithm name used to compute hash. + + + + + Encryption key bits. + + + + + Hash size. + + + + + Initializes encryptor for agile encryption. + + + + + Initializes encryptor for agile encryption. + + The hash algorithm. + The key bits. + Size of the hash. + + + + Encrypts specified stream. + + Data to encrypt. + Password to use. + Root storage to put encrypted data into. + + + + Prepares the encryption info. + + The data. + The root. + The password. + + + + Prepares the encrypted package. + + The data. + The root. + The key data. + The intermediate key. + + + + + Initializes the key data. + + The key data. + + + + Initializes the encrypted key. + + The key. + + + + Preparse data spaces structures inside specified storage. + + Storage to put DataSpaces inside. + + + + Serializes VersionInfo stream inside specified storage. + + Storage to serialize VersionInfo into. + + + + Serializes transformation info. + + Storage to serialize into. + + + + Serializes dataspace info. + + Storage to serialize into. + + + + Serializes DataSpaceMap stream. + + Storage to place stream into. + + + + Creates the salt. + + The length. + + + + + Encrypts the specified data. + + The data. + Size of the block. + The key. + The IV. + + + + + Represents the data space definition for Encryption/Decryption of Word documents. + + + + + Default header size. + + + + + Header length. + + + + + List with transform references. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Initializes new instance. + + + + + Initializes new instance of DataSpaceDefinition. + + Stream to get data from. + + + + Serializes dataspace definition into the stream. + + Stream to serialize into. + + + + List with transform references. + + + + + Represents the data space map for Encryption/Decryption of Word documents. + + + + + Size of the header. + + + + + Map entries. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Default constructor. + + + + + Initializes new instance of the DataSpaceMap. + + Stream to get data from. + + + + Serializes dataspace map into the stream. + + Stream to serialize into. + + + + Map entries. + + + + + Represents the data space map entry for Encryption/Decryption of Word documents. + + + + + List of the reference components. + + + + + DataSpace name. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Default constructor. + + + + + Initializes new instance of the map entry. + + Stream to get data from. + + + + Serializes single dataspace map entry into the stream. + + Stream to serialize into. + + + + List of the reference components. + + + + + DataSpace name. + + + + + Represents the data space reference component for Encryption/Decryption of Word documents. + + + + + Component type. + + + + + Component name. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Initializes new instance of the reference component. + + Component type. + Component name. + + + + Initializes new instance of the component reference. + + Stream to get data from. + + + + Serializes object into stream. + + Stream to serialize into. + + + + Component type. + + + + + Component name. + + + + + This class contains utility methods used by Word 2007 and Word 2010 document protection implementation. + + + + + Specifies number of iterations used for key generation. + + + + + Specifies the cryptography type. + + + + + Specifies the cryptographic algorithm class. + + + + + Specifies the cryptographic algorithm type. + + + + + Specifies the cryptographic algorithm id (SHA512). + + + + + Initializes a new instance of the class. + + + + + Computes the hash. + + The salt. + The encrypted password. + + + + + Combines the byte arrays. + + The array1. + The array2. + + + + + Creates the salt. + + The length. + + + + + Represents the encryption header for Encryption/Decryption of Word documents. + + + + + An EncryptionHeaderFlags structure that specifies properties of the encryption algorithm used. + + + + + Reserved, MUST be 0x00000000. + + + + + A signed integer that specifies the encryption algorithm. + + + + + A signed integer that specifies the hashing algorithm in concert with the Flags.fExternal bit. + + + + + An unsigned integer that specifies the number of bits in the encryption key. + MUST be a multiple of 8. + + + + + An implementation specified value which corresponds to constants accepted by + the specified CSP. MUST be compatible with the chosen CSP. + + + + + Undefined and MUST be ignored. + + + + + MUST be 0x00000000 and MUST be ignored. + + + + + A null-terminated Unicode string that specifies the CSP name. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Default constructor. + + + + + Initializes new instance of the header and extracts its data from the stream. + + Stream to get data from. + + + + Extracts item's data from the specified stream. + + Stream to get data from. + + + + Serialize item in the specified stream. + + Stream to serialize data into. + + + + An EncryptionHeaderFlags structure that specifies properties of the encryption algorithm used. + + + + + Reserved, MUST be 0x00000000. + + + + + A signed integer that specifies the encryption algorithm. + + + + + A signed integer that specifies the hashing algorithm in concert with the Flags.fExternal bit. + + + + + An unsigned integer that specifies the number of bits in the encryption key. + MUST be a multiple of 8. + + + + + An implementation specified value which corresponds to constants accepted by + the specified CSP. MUST be compatible with the chosen CSP. + + + + + Undefined and MUST be ignored. + + + + + MUST be 0x00000000 and MUST be ignored. + + + + + A null-terminated Unicode string that specifies the CSP name. + + + + + Represents the encryption transform info for Encryption/Decryption of Word documents. + + + + + Transform name. + + + + + Block size. + + + + + Cipher mode. + + + + + Reserved. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Default constructor. + + + + + Initializes new instance of the class. + + Stream to get data from. + + + + Serializes object into stream. + + Stream. + + + + Transform name. + + + + + Block size. + + + + + Cipher mode. + + + + + Reserved. + + + + + Represents the encryption verifier for Encryption/Decryption of Word documents. + + + + + An array of bytes that specifies the salt value used during password hash + generation. MUST NOT be the same data used for the verifier stored encrypted + in the EncryptedVerifier field. + + + + + MUST be the randomly generated Verifier value encrypted using the algorithm + chosen by the implementation. + + + + + An array of bytes that contains the encrypted form of the hash of the randomly + generated Verifier value. The length of the array MUST be the size of the + encryption block size multiplied by the number of blocks needed to encrypt + the hash of the Verifier. If the encryption algorithm is RC4, the length + MUST be 20 bytes. If the encryption algorithm is AES, the length MUST be 32 bytes. + + + + + Size of the verifier hash. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Default constructor. + + + + + Initializes new instance of the verifier. + + Stream to get data from. + + + + Extracts object from stream. + + Stream to get data from. + + + + Serializes object into stream. + + Stream to serialize into. + + + + An array of bytes that specifies the salt value used during password hash + generation. MUST NOT be the same data used for the verifier stored encrypted + in the EncryptedVerifier field. + + + + + MUST be the randomly generated Verifier value encrypted using the algorithm + chosen by the implementation. + + + + + An array of bytes that contains the encrypted form of the hash of the randomly + generated Verifier value. The length of the array MUST be the size of the + encryption block size multiplied by the number of blocks needed to encrypt + the hash of the Verifier. If the encryption algorithm is RC4, the length + MUST be 20 bytes. If the encryption algorithm is AES, the length MUST be 32 bytes. + + + + + Gets/sets size of the verifier hash. + + + + + Summary description for MD5_CTX. + + + + + + + + + + scratch buffer + + + + + input buffer + + + + + actual digest after MD5Final call + + + + + Updates + + The input buf. + The buffer length. + + + + Finals this instance. + + + + + Stores the digest. + + + + + F(x, y, z) + + The x. + The y. + The z. + + + + + G(x, y, z) + + The x. + The y. + The z. + + + + + H(x, y, z) + + The x. + The y. + The z. + + + + + I(x, y, z) + + The x. + The y. + The z. + + + + + ROTATE_LEFT + + The x. + The n. + + + + + FF + + A. + The b. + The c. + The d. + The x. + The s. + The ac. + + + + GG + + A. + The b. + The c. + The d. + The x. + The s. + The ac. + + + + HH + + A. + The b. + The c. + The d. + The x. + The s. + The ac. + + + + II + + A. + The b. + The c. + The d. + The x. + The s. + The ac. + + + + Transforms the specified inn. + + The inn. + + + + Gets the I. + + The I. + + + + Gets the buffer. + + The buffer. + + + + Gets the input buffer. + + The input buffer. + + + + Gets the digest. + + The digest. + + + + This class contains utility methods used by Word 2007 and Word 2010 Encryption/Decryption implementation. + + + + + Number of iterations used for key generation. + + + + + Name of encryption info stream. + + + + + Name of dataspaces storage. + + + + + Name of dataspace map stream. + + + + + Name of the transform primary stream. + + + + + Name of dataspace info storage. + + + + + Name of transform info storage. + + + + + Name of encrypted package stream. + + + + + Gets the type of the encryption. + + The storage. + + + + + Reads Int32 value from the stream. + + Stream to get data from. + Temporary buffer to put extracted bytes into. + Extracted Int32 value. + + + + Extracts padded unicode string from a stream. + + Stream to get data from. + Extracted string. + + + + Read zero-terminated string from the stream. + + Stream to get string from. + Extracted string (without trailing zero). + + + + Writes Int32 value into the stream. + + Stream to put data into. + Value to write. + + + + Writes padded unicode string from a stream. + + Stream to get data from. + Value to write. + + + + Writes zero-terminated string into the stream. + + Stream to put string into. + Value to write. + + + + Creates key object based on the salt and password. + + Password to use. + Salt to use. + Required key length. + Array with created key. + + + + Creates the agile encryption key. + + The password. + The salt. + The block key. + Length of the key. + The iteration count. + + + + + Encrypts/decrypts buffer with specified method. + + Data to process. + Method to use. + Size of the encryption block. + Modified (encrypted/decrypted) data. + + + + Combines two arrays into one. + + The first buffer to combine. + The second buffer to combine. + Combined array. + + + + Corrects the size. + + The hash buf. + The size. + The padding. + + + + + Concatenates the IV. + + The data. + The IV. + + + + + Compares the array. + + The buffer1. + The buffer2. + + + + + Represents type of the encryption. + + + + + Word 2007 encryption format. + + + + + Word 2010 encryption format. + + + + + Wrong encryption format. + + + + + This class is responsible for decryption of Standard encryption (Word 2007) files. + + + + + Size of the decryption block. + + + + + Dataspace map. + + + + + Encryption info. + + + + + Compound storage that should be decrypted. + + + + + Array containing key data. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Decrypts internal storage. + + Decrypted stream. + + + + Prepares decryptor for actual decryption. + + Compound storage to get required data from. + + + + Checks whether password is correct. + + Password to check. + True if password verification succeeded. + + + + Decrypts specified buffer. + + + + + + + + Extracts transform data from the storage. + + Storage to get data from. + + + + Extracts dataspace map from the storage. + + Storage to get data from. + + + + Extracts TransformInfo from the storage. + + Storage to get data from. + + + + Represents the standard encryption info for Encryption/Decryption of Word documents. + + + + + A Version structure where Version.vMajor MUST be 0x0003, and Version.vMinor MUST be 0x0002. + + + + + A copy of the Flags stored in the EncryptionHeader field of this structure. + + + + + An EncryptionHeader structure that specifies parameters used to encrypt data. + + + + + An EncryptionVerifier structure. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Default constructor. + + + + + Initializes new instance. + + Stream to get data from. + + + + Serializes object into stream. + + Stream to serialize into. + + + + A Version structure where Version.vMajor MUST be 0x0003, and Version.vMinor MUST be 0x0002. + + + + + A copy of the Flags stored in the EncryptionHeader field of this structure. + + + + + An EncryptionHeader structure that specifies parameters used to encrypt data. + + + + + An EncryptionVerifier structure. + + + + + This class used to encrypt data using Standard encryption (Word 2007) with AES 128 + encryption algorithm and SHA-1 hashing algorithm. + + + + + Key length. + + + + + Default version. + + + + + Default flags. + + + + + Encryption algorithm id (AES-128). + + + + + Hashing algorithm id (SHA-1). + + + + + Provider type. + + + + + Default CSP name. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Encrypts specified stream. + + Data to encrypt. + Password to use. + Root storage to put encrypted data into. + + + + Preparse data spaces structures inside specified storage. + + Storage to put DataSpaces inside. + + + + Serializes VersionInfo stream inside specified storage. + + Storage to serialize VersionInfo into. + + + + Serializes transformation info. + + Storage to serialize into. + + + + Serializes dataspace info. + + Storage to serialize into. + + + + Serializes DataSpaceMap stream. + + Storage to place stream into. + + + + Prepare EncryptionInfo record and stores it in appropriate stream. + + Root storage. + Encryption password. + Encryption key. + + + + Creates random salt. + + Desired salt length. + Array with random data. + + + + Encrypts specified buffer. + + Data to encrypt. + Encryption key. + Encrypted data. + + + + Encrypt specified stream. + + Stream to encrypt. + Encryption key. + Output stream. + + + + Represents the transform info header for Encryption/Decryption of Word documents. + + + + + An unsigned integer that specifies the type of transform to be applied. + + + + + An identifier associated with a specific transform. + + + + + The friendly name of the transform. + + + + + The reader version. + + + + + The updater version. + + + + + The writer version. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Default constructor. + + + + + Initializes new instance of the class. + + Stream to get data from. + + + + Serializes object into stream. + + Stream to serialize into. + + + + An unsigned integer that specifies the type of transform to be applied. + + + + + An identifier associated with a specific transform. + + + + + The friendly name of the transform. + + + + + The reader version. + + + + + The updater version. + + + + + The writer version. + + + + + Represents the version information for Encryption/Decryption of Word documents. + + + + + The functionality for which the DataSpaceVersionInfo structure specifies + version information. MUST be "Microsoft.Container.DataSpaces". + + + + + The reader version of the data spaces structure. + + + + + The updater version of the data spaces structure. + + + + + The writer version of the data spaces structure. + + + + + Security helper contains utility methods for encryption/decryption. + + + + + Default constructor. + + + + + Serializes object into specified stream. + + Stream to serialize into. + + + + The functionality for which the DataSpaceVersionInfo structure specifies + version information. MUST be "Microsoft.Container.DataSpaces". + + + + + The reader version of the data spaces structure. + + + + + The updater version of the data spaces structure. + + + + + The writer version of the data spaces structure. + + + + + Represents an WordDecryptor. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the [ERROR: invalid expression DeclaringTypeKind]. + + + + + Initializes a new instance of the class. + + The table stream. + The main stream. + The fib. + + + + Tests the encrypt. + + The stream. + + + + + + + + + + + + + + Checks the password. + + The password. + + + + + Decrypts our streams. + + + + + + Decrypts our streams. + + + + + + Decrypts the stream. + + The stream. + if set to true [is main stream]. + + + + + Converts the password. + + + + + Prepares the key. + + The data. + + + + + Makes the key. + + + + + + Compares memory blocks + + The block1. + The block2. + The length. + + + + + Verifies the password. + + + + + + + + + + + Decripts buffer + + The data. + The length. + + + + Gets the password hash. + + The password. + + + + + Reverts the bytes. + + The change val. + + + + + Gets the high order hash. + + The password. + + + + + Gets the low order password hash. + + Password to hash. + Hash value for the password string. + + + + + + + + + + + Converts character to 15 bits sequence + + Character to convert. + + + + Converts bits array to UInt16 value. + + Array to convert. + Converted UInt16 value. + + + + Rotates (cyclic shift) bits in the array specified number of times + + Array to rotate + Number of times to rotate + Rotated array. + + + + + + + + + + + + Gets the table stream. + + The table stream. + + + + Gets the main stream. + + The main stream. + + + + Gets the data stream + + + + + Summary description for Word_key. + + + + + + + + + + + + + + + + + + + + Gets or sets the status. + + The status. + + + + Gets or sets the x. + + The x. + + + + Gets or sets the y. + + The y. + + + + Represents the xml encryption descriptor for Encryption/Decryption of Word 2010/2013 documents. + + + + + Specifies the key data used for Encryption/Decryption. + + + + + Specifies the data integrity used for Encryption/Decryption. + + + + + Specifies the key encryptors used for Encryption/Decryption. + + + + + Default constructor. + + + + + Parses the specified stream. + + The stream. + + + + Serializes object into stream. + + Stream to serialize into. + + + + Create xml writer + + The stream + returns the xml writer + + + + Gets or sets the key data. + + The key data. + + + + Gets or sets the data integrity. + + The data integrity. + + + + Gets or sets the key encryptors. + + The key encryptors. + + + + Represents the key data for Encryption/Decryption of Word 2010 documents. + + + + + Specifies the number of bytes used by salt. + + + + + Specifies the number of bytes used to encrypt one block of data. + + + + + Specifies the number of bits used by encryption algorithm. + + + + + Specifies the number of bytes used by hash value. + + + + + Specifies the cipher algorithm. + + + + + Specifies the chaining mode used by the cipher algorithm. + + + + + Specifies the hashing algorithm. + + + + + Specifies the salt value. + + + + + Default constructor. + + + + + Parses the specified reader. + + The reader. + + + + Retrieves the attribute value from the XmlReader and parses it as an integer. + + + + + Retrieves the attribute value from the XmlReader and parses it as a byte array. + + + + + Serializes the specified writer. + + The writer. + + + + Gets or sets the size of the salt. + + The size of the salt. + + + + Gets or sets the size of the block. + + The size of the block. + + + + Gets or sets the key bits. + + The key bits. + + + + Gets or sets the size of the hash. + + The size of the hash. + + + + Gets or sets the cipher algorithm. + + The cipher algorithm. + + + + Gets or sets the cipher chaining. + + The cipher chaining. + + + + Gets or sets the hash algorithm. + + The hash algorithm. + + + + Gets or sets the salt. + + The salt. + + + + Represents the data integrity for Encryption/Decryption of Word 2010 documents. + + + + + Specifies an encrypted key used for generating the encryptedHmacValue. + + + + + Specifies an HMAC derived from the encryptedHmacKey and the encrypted data. + + + + + Default constructor. + + + + + Parses the specified reader. + + The reader. + + + + Serializes the specified writer. + + The writer. + + + + Gets or sets the encrypted hmac key. + + The encrypted hmac key. + + + + Gets or sets the encrypted hmac value. + + The encrypted hmac value. + + + + Represents the key encryptors for Encryption/Decryption of Word 2010 documents. + + + + + Specifies encrypted key used for Encryption/Decryption. + + + + + Default constructor. + + + + + Parses the specified reader. + + The reader. + + + + Serializes the specified writer. + + The writer. + + + + Gets or sets the encrypted key. + + The encrypted key. + + + + Represents the encrypted key for Encryption/Decryption of Word 2010 documents. + + + + + Specifies the spin count + + + + + Specifies the number of bytes used by salt. + + + + + Specifies the number of bytes used to encrypt one block of data. + + + + + Specifies the number of bits used by encryption algorithm. + + + + + Specifies the number of bytes used by hash value. + + + + + Specifies the cipher algorithm. + + + + + Specifies the chaining mode used by the cipher algorithm. + + + + + Specifies the hashing algorithm. + + + + + Specifies the salt value. + + + + + Specifies the encrypted verifier hash input used in password verification. + + + + + Specifies the encrypted verifier hash value used in password verification. + + + + + Specifies the encrypted form of the intermediate key. + + + + + Default constructor. + + + + + Parses the specified reader. + + The reader. + + + + Serializes the specified writer. + + The writer. + + + + Gets or sets the spin count. + + The spin count. + + + + Gets or sets the size of the salt. + + The size of the salt. + + + + Gets or sets the size of the block. + + The size of the block. + + + + Gets or sets the key bits. + + The key bits. + + + + Gets or sets the size of the hash. + + The size of the hash. + + + + Gets or sets the cipher algorithm. + + The cipher algorithm. + + + + Gets or sets the cipher chaining. + + The cipher chaining. + + + + Gets or sets the hash algorithm. + + The hash algorithm. + + + + Gets or sets the salt. + + The salt. + + + + Gets or sets the encrypted verifier hash input. + + The encrypted verifier hash input. + + + + Gets or sets the encrypted verifier hash value. + + The encrypted verifier hash value. + + + + Gets or sets the encrypted key value. + + The encrypted key value. + + + + Summary description for MainStatePositions. + + + + + Summary description for StatePositionsBase. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The position of first byte of text run. + + + + + The position of last byte of text run. + + + + + FKP data + + + + + + + + + + + + + + + Currents papx/chpx page indexs + + + + + Initializing constructor + + + + + Initialize start/end positions of text run + + + + + Move to next character properties exception + + + + + + Move to next paragraph properties exception + + + + + + Get min end pos from chpx and papx + + + + + + Update end position of chpx + + + + + + Update end position of papx + + + + + + Is it first pass in text run + + + + + + + Is it end of text + + + + + + + + + + + + + + + + + + + + + Check if current position is less then subdocument item text end. + + + + + + + Initializes chpx/papx + + + + + + + + + + + + + + + + + + + + + + + + + Gets current chpx + + + + + + Gets current papx + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets current papx page + + + + + + + + + + + Creates object and fills it's members from fkp + + + + + Move to next section properties exception + + + + + + + Update end position of section + + + + + + + + + + + Gets min end position + + + + + + + + + + + Gets current section properties exception + + + + + + Summary description for HFStatePositions + + + + + Initializing constructor + + + + + + + + + + + + + + + + + + + Summary description for HFStatePositions + + + + + Initializing constructor + + + + + + + + + + + + Move to next header/footer position + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializing constructor + + + + + + + + + + + + + + + + + + + Summary description for HFStatePositions + + + + + Initializing constructor + + + + + + + + + + + + + + + + + + + Main doc textbox state position class + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + + + + + + + Header/footer textbox state position class + + + + + Initializes a new instance of the class. + + + + + + Moves to text box. + + Index of the Text box. + + + + + + + + + + + + + + + Initializes a new instance of the class. + + Name of the file. + True - create new storage, + false - load existing storage. + + + + Initializes a new instance of the class. + + Name of the stream. + True - create new storage, + false - load existing storage. + + + + + Loads the STG from stream + + + + + + Loads the table stream. + + Table stream name + + + + Loads the SummaryInformation stream + + + + + Loads the DocumentSummaryInformation stream + + + + + Refreshs main and table streams data + + main stream from which to refresh current main stream + table stream from which to refresh current table stream + + + + Writes the sub storage. + + The stream + Name of the storage. + + + + Saves storages data and closes streams + + + + + Closes all streams and binary readers/writers + + + + + Saves the stream. + + The stream name. + The stream. + + + + Saves the stream. + + The stream name. + The stream. + + + + Initialize the streams and writers. + + + + + Loads main, data, macros and object pool streams data + + + + + Loads the stream from compound file. + + The name. + + + + + Loads the sub storage. + + The name. + + + + + Reads some sub storage from the main storage of the document + into the memory stream + + sub storage name + + + + + + + + + + + + Loads stream from storage into memory stream + + the name of the stream + + + + + Gets the storage. + + The storage. + + + + Gets main, table and data streams. + + + + + Gets macros and object pool streams + + + + + Gets or sets the SummaryInformation stream + + + + + Gets or Sets the DocumentSummaryInformation stream + + + + + Gets or sets the SummaryInformation stream writer + + + + + Gets or sets the DocumentSummaryInformation stream writer + + + + + Gets or sets the SummaryInformation stream reader + + + + + Gets or sets the DocumentSummaryInformation stream reader + + + + + Gets the main, table and data writers. + + + + + Gets the main, table and data readers. + + + + + Summary description for WordFKPData. + + + + + + + + + + + + + + + Fills objects by write operations. + + + + + Fills objects by read operation. + + + + + Member initializing constructor + + + + + Gets SectionPropertyException + + + + + Add character properties exception + + + + + + + Add paragraph properties exception + + + + + + + + Add section properties exception + + + + + + + Reads character/paragraph/section properties from stream + + + + + + Writes character/paragraph/section properties exceptions to stream + + + + + + Gets i-th page page with paragraph properties exception. + + + + + + + Gets i-th page page with character properties exception. + + + + + + + Rewrite last Papx to the document + + + + + Rewrite last chpx to the document. + + + + + + Closes this instance. + + + + + Reads array of FKPs from stream according to BinaryTable + + + + + + + + Write all papxs to stream + + + + + + Fill papx page with sprms + + + + + + + + + Gets count of sprms per one page + + + + + + + Write all chpxs to stream + + + + + + Fill chpx page with sprms + + + + + + + + + Gets count of sprms per one page + + + + + + + Check whether Chpx repeats within the specified ranges (chpxIndex to CurrentIndex) + + Chpx Index + Current Index + + + + + Write all sepxs to stream + + + + + + Aligns position in stream to the end of the page + + + + + + + Gets FIB of word file + + + + + + + + + + Gets number of added SectionPropertyExceptions + + + + + + + + + + + + + + + Implemented of IWordReader interface. + + + IWordReader : interface for forward-only reading data from word file. + + + + + Base implementation for WordReader and WordSubdocumentReader classes. + + + + + Used to convert managed memory block (byte array) + into managed object + + + + + DocInfo contains stream component data blocks. + + + + + The index of style, applied to current text chunk. + + + + + Saves all needed positions in stream for current reader + + + + + Initializes a new instance of the class. + + The streams manager. + + + + Hide default constructor. + + + + + Read next elementary text string*. + + + * - "elementary text string" - string, in which all symbols have the + identical character/paragraph/section properties. + + + + + + Get interface for reading images from word file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get array of Bookmarks from doc file. + + + + + + + + + + + + Closes this instance. + + + + + Saved publicy current stream position. + + + + + If stream position has been saved - restore it. + + + + + Determines whether this instance has list. + + + true if this instance has list; otherwise, false. + + + + + Restores bookmark. + + + + + Updates the bookmarks. + + + + + Class initialization. + + + + + Gets text chunk end position. + + + + + + Updates end position of current chpx/papx + + + + + + Analizing type of text chunk. + + + + + Updates character properties + + + + + Updates paragraph properties + + + + + Reads string from stream using current encoding. + + + + + + Calculates the CP depending on specified startPos and length + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Update the text watermark positions. + + + + + + + + + + + + + + + + Apply shape properties to the watermark picture + + + + + + + + Initialize base shape properties. + + + + + + + + Read textbox properties from SpContainer. + + + + + + + + + + + + + + Read and parse text chunk. + If text chunk consists special symbols - it is splitted. + + + + + + + Checks id chunk includes special characters. + + + + + + Defines if current chunk is "Zero" chunk. + + + + + + + + + + + + Checks if current body belongs to next paragraph item. + + + + + + Counts minimal chunk length with field. + + + + + + + + Checks the current text chunk. + + + + + + Get new chunk length according bookmark. + + + + + + + + Gets the bookmark chunk len. + + The cur doc stream pos. + The end doc stream pos. + + + + + Checks the table bookmark. + + + + + + + + + + + + + + + + + + Checks if current chunk is FieldBeginChunk or FieldEndChunk, + return real length of current chunk. + + + Current chunk length + + + + + + + + + Gets the document version. + + + + + + Gets the pic location. + + + + + + Gets the STTBFR names. + + The STTB. + + + + + Gets index of current style . + + + + + Gets document stylesheet. + + + + + Gets type of current text chunk. + + + + + Current read text chunk. + + + + + + + + + + + + + + + + + + + + + + + + + Gets WPTablesData object. + + + + + Gets current text position relative to document text start(2048). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets the document version. + + The version. + + + + Encoding of current read text chunk. + + + + + + + + + + Gets current style + + + + + Gets the start text position. + + The start text pos. + + + + Gets the end text position. + + The end text pos. + + + + Gets the STTBF r mark author names. + + + The STTBF r mark author names. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Contains current subdocument reader + + + + + + + + + + + + + + + + + + + + To holds the custom footnote splitted text length, i.e, text before the custome foot note marker + + + + + To holds the revision changes made author names list + + + + + Initializes a new instance of the class. + + The stream. + + + + Initializes a new instance of the class. + + Name of the file. + + + + Gets subdocument reader of specified type. + + + + + + Read header from the document. + + + + + + Reads the Summary information and Document Summary information + + + + + Reads the document properties + + + + + + Read the properties in the PropertySection + + + + + + + + + Read next elementary text string*. + + + * - "elementary text string" - string, in which all symbols have the + identical character/paragraph/section properties. + + + + + + Reads end of the document + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + Freeze position in stream + + + + + Unfreeze position in stream + + + + + Class initialization. + + + + + Updates end positions of CHPx/PAPx/SEP + + + + + + Update section properties to current + + + + + Updates stylesheet data + + + + + Converts characters/paragraphs properties to style properties. + + + + + + + + + + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + + + + + + + + + + + + + + + + Gets current section number. + + + + + Gets section's properties + + + + + + + + + + + + + + + Get document's Macros data + + + + + + + + + + + + + + + + + + + + + + + + + Custom Footnote splitted text length + + + + + + + + + + + + + + + + + + + + + + + + + Gets the standard/default bidi font + + + + + Gets a value indicating whether the document is encrypted. + + + true if the document is encrypted; otherwise, false. + + + + + Gets or sets the associated strings. + + The associated strings. + + + + Gets or sets the STTBF r mark. + + + The STTBF r mark. + + + + + Gets the STTBF r mark author names. + + + The STTBF r mark author names. + + + + + Summary description for WordRWAdapterBase. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Textbox reader + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Read textbox's shape data ( including FSPA ) + + + + + + + Read image's shape data ( including FSPA ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Reads the annotation body. + + The reader. + + + + Reads the annotation. + + The reader. + + + + Reads the footnote body. + + The reader. + + + + + + + + + + + + + + + + Summary description for WordStyle. + + + + + + + + Style name + + + + + Style id + + + + + + + + + + Default constructor. + + + + + Initializing constructor + + + + + + + Initializing constructor + + + + + + + + + + + + + + Gets or sets the table style representation + + + + + Gets or sets the type code of the style. + + + + + Gets/sets style id + + + + + Gets/sets style id + + + + + + + + + + Gets style name + + + + + Indicates whether UPEs have been generated. + + + + + Gets or sets the index of the next style. + + The index of the next style. + + + + Gets or sets the index of the link style. + + The index of the link style. + + + + Gets or sets a value indicating whether this instance is primary. + + + true if this instance is primary; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is semi hidden. + + + true if this instance is semi hidden; otherwise, false. + + + + + Gets or sets a value indicating whether unhide when used. + + true if unhide when used; otherwise, false. + + + + Summary description for WordStyleSheet. + + + + + + + + + + Returns true, if the fixed index 13 in stylesheet has style. (other than empty style) + + Reserved styles are applicable only for *.doc format + + + + Returns true, if the fixed index 14 in stylesheet has style. (other than empty style) + + Reserved styles are applicable only for *.doc format + + + + Represents the style name of the style present at the fixed index 13 in the stylesheet + + Reserved styles are applicable only for *.doc format + + + + Represents the style name of the style present at the fixed index 14 in the stylesheet + + Reserved styles are applicable only for *.doc format + + + + List of font names + + + + + Default font names + + + + + List of styles. + + + + + + + + + + + + + + + + + + + + Initializing constructor + + + + + Initializing constructor + + + + + Creates the style. + + The name. + + + + + Create style with specified name + + The name. + if it is character style, set to true. + + + + + + + + + + + + + Adds style to stylesheet + + + + + + + Add empty style to stylesheet + + + + + + Gets style index by specified style name. + + The name. + if it is character, set to true. + + + + + Gets style index by specified style name. + + The name. + + + + + Gets font index by specified font name. + + + + + + + Gets style by specified index. + + + + + + + + + + + + + + + Removes the style by index. + + The index. + + + + Inserts the style. + + The index. + The style. + + + + + + + + + + Updates the name of the font. + + The name. + + + + Add specified font names to collection of font names + + + + + + Clear font name arraylist + + + + + Closes this instance. + + + + + + + + + + + + Gets the stye names. + + The stye names. + + + + Dictionary to hold the font substitution values + + + + + Gets array of font names + + + + + Gets default style index + + + + + Gets number of styles + + + + + Implemented IWordSubdocumentReader interface, used for reading + Word "subdocument parts" as header/footer, footnotes, endnotes, annotations, macros, etc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Creates subdocument reader of specified type. + + Main document word reader. + + + + + + + + + + + + + + + + + + + + + Creates object of needed type and fills it with stream positions + + + + + + + + + + + + Initializes class members + + + + + Initializes start/end positioons of reader + + + + + + + + + + + Unfreeze stream position + + + + + The type of subdocument reader. + + + + + Gets/Sets current type of header / footer. + ( if Type != WordSubdocument.HeaderFooter, returns HeaderType.InvalidValue ) + + + + + Gets number of current footnote + + + + + + + + + + Gets a value indicating whether this is next item pos. + + + true if this instance is next item pos; otherwise, false. + + + + + Summary description for HeaderFooter subdocument reader + + + + + Initializes a new instance of the class. + + Main document word reader. + + + + Resets subdocument reader state, reading process restarted. + + + + + Move to specified section + + + + + + Move to specified header in currebt section + + + + + + + + + + + + + + + + + + Reset as it is HeaderFooter reader + + + + + + Creates object and fills it with stream positions. + + + + + Gets HFStatePositions object + + + + + Summary description for HeaderFooter subdocument reader. + + + + + Saves previous position of main stream. + + + + + Creates subdocument reader of specified type. + + Main document word reader. + + + + Creates object and fills it with stream positions. + + + + + Checks current cp position. + + + + + + + + + + + Initialize the state positions. + + + + + Determines the end of footnote items. + + + + + + Read next elementary text string*. + + + + * - "elementary text string" - string, in which all symbols have the + identical character/paragraph/section properties. + + + + + Gets a value indicating whether this body refers to next footnote. + + + true if this body refers to next footnote; otherwise, false. + + + + + Summary description for HeaderFooter subdocument reader. + + + + + Initializes a new instance of the class. + + Main document word reader. + + + + + + + + + + Creates object and fills it with stream positions. + + + + + Gets a value indicating whether this instance is start annotation. + + + true if this instance is start annotation; otherwise, false. + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets the position of the annotation. + + The get position. + + + + Summary description for Endnote subdocument reader. + + + + + Initializes a new instance of the class. + + Main document word reader. + + + + Checks current cp position. + + + + + + Initialize reader. + + + + + Initialize the state positions. + + + + + Determines the end of footnote items. + + + + + + + + + + + Initializes a new instance of the class. + + Main document word reader. + + + + Creates object of needed type and fills it with stream positions + + + + + Initializes a new instance of the class. + + Main document word reader. + + + + Creates object of needed type and fills it with stream positions + + + + + + + + + + Summary description for WordWriterBase. + + + + + Fieldshape type value. + + + + + + + + + + Writes text chunk to word file + + + + + + + + + + + + + + + + + + + + + + + + + Writes marker to word file + + + + + + Creates instance of TableBorders + + + + + + + + + + + + + + + + + + + + + Insert field separator. + + + + + + + + + + Inserts the field index entry. + + The field code. + + + + Insert field to the document + + + + + + + + + + + + + + + + + + + + + Insert image + + Picture + Picture height + Picture width + + + + + + + + + + + Insert texbox (shape) to the document + + Textbox format + + + + + Inserts the inline text box. + + The textbox format. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Insert watermark. + + The watermark. + The units converter. + Maximak width. + + + + Initializes a new instance of the class. + + The streams manager. + + + + Default protected constructor. + + + + + Closes this instance. + + + + + + + + + + + Initialize class members with default values + + + + + Writes string to word file + + + + + + + + + + + Adds the papx properties. + + + + + Updates the shading SPRMS. + + The para property exception. + + + + + Writes the symbol. + + The symbol. + + + + Writes character to word file + + + + + + Writes the nested cell/row mark. + + + + + Gets position in text + + + + + + + + + + + + Writes the field start. + + Type of the field. + + + + + Writes the field separator. + + + + + + + + + + + + Write the NilPICFAndBinData + Writes Binary data for reference and hyperlink field + + Field + + + + Removes the formatting strings + + + + + + Write start, end, or separator field descriptor to table stream + + + + + + + Adds the textbox container. + + The textbox format. + + + + Syncronize the textbox container. + + The shape container. + The textbox format. + + + + + + + + + + + + + + + + + + + Updates the containers. + + The old id. + The new id. + The shape container. + + + + + + + + + + Inserts the text watermark. + + The watermark. + The File Shape Address. + The units converter. + + + + + Inserts the picture watermark. + + The watermark. + The File Shape Address. + The units converter. + Max width. + + + + + Fits the watermark picture to page. + + The pic watermark. + Width of the max. + The units converter. + Picture size + + + + Creates the picture watermark container. + + The picture watermark. + The picture container. + + + + + + + + + + Determines whether the image are equal + + Hash value of first image + Hash value of second image + + returns true if image hash are equal. + + + + + Gets/sets stylesheet + + + + + Gets/sets current style index + + + + + Gets or sets a value indicating whether [break CHPX stick properties]. + + + true if [break CHPX stick properties]; otherwise, false. + + + + + Gets or sets a value indicating whether [CHPX stick properties]. + + + true if [CHPX stick properties]; otherwise, false. + + + + + + + + + + + + + + + + + + + + + + + + + Gets the get next text id. + + The get next text id. + + + + Initializing constructor + + + + + + + + + + + + + + + + + + + + + + + + + + Gets/sets type of subdocumnet writer + + + + + Summary description for footnote subdocument writer + + + + + Creates subdocument writer of specified type. + + + + + + Writes the end of the document + + + + + + + + + + + + + + + + Summary description for HeaderFooter subdocument writer + + + + + + + + + + + + + + + + + + + + Creates subdocument reader of specified type. + + + + + + Writes the end of the document + + + + + Writes the end of the section + + + + + Closes the previous separator types. + + + + + + + + + + + + + + + + + Inintializes class members + + + + + + + + + + Gets/sets type of subdocumnet writer + + + + + + + + + + Initializes a new instance of the class. + + + + + + Writes the end of the document + + + + + + + + + + + + + + Summary description for footnote subdocument writer + + + + + Initializes a new instance of the class. + + + + + + + + + + Writes the end of the document + + + + + + + + + + + Textbox reserved data + + + + + + + + + + BreakDescriptor counter + + + + + + + + + + Initializes a new instance of the class. + + + + + + Writes the end of the document + + + + + + + + + + + + Spid of textbox. + + + + Increase ccp on the defined length + + + + + + + + + + + + + Creates subdocument reader of specified type. + + + + + + Write textbox "end" + + + + + Increase header/footer ccp + + + + + + Create TxbxStory and BKD and add it to artObjects + + + + + Summary description for WordWriter. + + + + + Is Last ParagraphEnd for the subdocument + + + + + + + + + + + + + + + Document summary properties members + + + + + + + + + + + + + + + + + + + + + + + + + Creates instance from specified stream + + + + + Creates instance from specified file name + + + + + Writes header of the document to word file + + + + + Gets the subdocument writer of the specified type + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Writes marker to word file + + + + + + + + + + Writes the zero block. + + The size. + + + + Writes the tables. + + + + + Create Summary information for document. + + + + + + + + + + + + + + + + + + + + Adds the sepx properties. + + + + + + + + + + + + + + + + + + + + + + + + + + Gets/sets section properties + + + + + Get/sets name of the author of the application. + + + + + Get/sets name of the author of the application. + + + + + + + + + + + + + + + Get/set document Macros + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets and sets the standard/default bidi font + + + + + + + + + + Gets or sets a value indicating whether the document is template. + + + true if this instance is template; otherwise, false. + + + + + Gets or sets the associated strings. + + The associated strings. + + + + Gets or sets a value indicating whether the document is write protected. + + true if [write protected]; otherwise, false. + + + + + + + + + Summary description for WPStylesData. + + + + + + + + + + Initializing constructor + + + + + + Gets style defintion record by the specified style id + + + + + + + Gets stylesheet information + + + + + Gets stylesheet definitions + + + + + Summary description for WPTablesData. + + + + + Default name for table stream. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents the default CS/Bidi font + + + + + + + + + + Initializes a new instance of the class. + + The fib. + + + + Read structures from stream + + + + + + Write member structures to stream + + + + + + + Converts position in text to position in file + + + + + + + Gets array of bookmarks from the document + + + + + + Add section record + + + + + + + Add papx record + + + + + + + Add chpx record + + + + + + + + + + + + + Closes this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + Determines whether the document has the specified type of subdocument. + + Type of the subdocument. + + true if the specified ws type has subdocument; otherwise, false. + + + + + Determines whether this instance has list. + + + true if this instance has list; otherwise, false. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Writes the document properties. + + The stream. + The fib. + + + + + + + + + + + Writes the fields. + + The stream. + The sub document. + + + + + + + + + + + Writes the bookmarks. + + The stream. + The fib. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Writes the art objects. + + The stream. + The fib. + + + + + + + + + + + + + + + + + + Writes the endnotes. + + The fib. + The stream. + + + + / + + + + + + + + + + + + + + Writes the macro commands. + + The fib. + The stream. + + + + + + + + + + + + + + + + + + Contains the shapes. + + The fib. + + + + + Reads the variables. + + The fib. + The stream. + + + + Writes the variables. + + The fib. + The stream. + + + + Reads the table of associated strings. + + The fib. + The stream. + + + + Reads the STTBF r mark. + + The fib. + The stream. + + + + Writes the associated strings. + + The fib. + The stream. + + + + Writes the STTBF r mark. + + The fib. + The stream. + The author. + + + + Updates the STTB structure. + + + + + Writes the RMD threading. + + The stream. + + + + Get artobject's object + + + + + + + + + + + + + + + + + + + + Gets sections table. + + + + + Gets/sets FontFamilyNameStringTable + + + + + Gets/sets stylesheet information + + + + + Gets/sets array of style definition records. + + + + + Gets header footer character position table. + + + + + Gets chpx BinaryTable + + + + + Gets papx BinaryTable + + + + + Gets/sets header positions + + + + + Gets number of sections + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get/set fields property + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets and sets the standard/default bidi font + + + + + + + + + + Gets or sets the byte array of document variables. + + The variables. + + + + Gets or sets the asociated strings. + + The asociated strings. + + + + Gets or sets the STTBF r mark. + + + The STTBF r mark. + + + + + Implemented alternative method to improve the performance + + + + + + + + Represents a selection of part of text body in the Word document. + + + + + Initializes a new instance of the class with + start paragraph item and end paragraph item. + + The that specifies the start of the selection. + The that specifies the end of the selection. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open the template document + WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); + //Get the text body of first section + WTextBody textbody = document.Sections[0].Body; + //Gets the second paragraph + WParagraph paragraph = textbody.Paragraphs[1]; + //Get the start and end items + ParagraphItem startItem = (ParagraphItem)paragraph.ChildEntities[0]; + ParagraphItem endItem = (ParagraphItem)paragraph.ChildEntities[1]; + //Selects the items in the text body + TextBodySelection selection = new TextBodySelection(startItem, endItem); + //Create new text body part + TextBodyPart textbodyPart = new TextBodyPart(document); + //Copy the selected items + textbodyPart.Copy(selection); + //Paste the selected items. + textbodyPart.PasteAt(textbody, 2); + //Save and close the document. + document.Save("Result.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open the template document + Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) + 'Get the text body of first section + Dim textbody As WTextBody = document.Sections(0).Body + 'Gets the second paragraph + Dim paragraph As WParagraph = textbody.Paragraphs(1) + 'Get the start and end items + Dim startItem As ParagraphItem = DirectCast(paragraph.ChildEntities(0), ParagraphItem) + Dim endItem As ParagraphItem = DirectCast(paragraph.ChildEntities(1), ParagraphItem) + 'Selects the items in the text body + Dim selection As New TextBodySelection(startItem, endItem) + 'Create new text body part + Dim textbodyPart As New TextBodyPart(document) + 'Copy the selected items + textbodyPart.Copy(selection) + 'Paste the selected items. + textbodyPart.PasteAt(textbody, 2) + 'Save and close the document. + document.Save("Result.docx") + document.Close() + End Sub + + + + + + Initializes a new instance of the class with the textbody, + start paragraph index, end paragraph index, start paragraph item index, and end paragraph item index. + + The instance. + The integer specifying paragraph starting index. + The integer specifying paragraph ending index. + The integer specifying paragraph item starting index in first paragraph. + The integer specifying paragraph item ending index in last paragraph. + + + private void Button1_Click(System.Object sender, System.EventArgs e) + { + //Open the template document + WordDocument document = new WordDocument("Template.docx", FormatType.Docx); + //Get the text body of first section + WTextBody textbody = document.Sections[0].Body; + //Selects the items in the text body + TextBodySelection selection = new TextBodySelection(textbody, 0, 1, 0, 1); + //Create new text body part + TextBodyPart textbodyPart = new TextBodyPart(document); + //Copy the selected items + textbodyPart.Copy(selection); + //Paste the selected items. + textbodyPart.PasteAt(textbody, 2); + //Save and close the document. + document.Save("Sample.docx"); + document.Close(); + } + + + Private Sub button_Click(sender As Object, e As EventArgs) + 'Open the template document + Dim document As New WordDocument("Template.docx", FormatType.Docx) + 'Get the text body of first section + Dim textbody As WTextBody = document.Sections(0).Body + 'Selects the items in the text body + Dim selection As New TextBodySelection(textbody, 0, 1, 0, 1) + 'Create new text body part + Dim textbodyPart As New TextBodyPart(document) + 'Copy the selected items + textbodyPart.Copy(selection) + 'Paste the selected items. + textbodyPart.PasteAt(textbody, 2) + 'Save and close the document. + document.Save("Sample.docx") + document.Close() + End Sub + + + + + + Validates the indexes. + + + + + Gets the of the selection part. Read-only. + + The instance. + + + + Gets or sets the start index of the text body item. + + The zero-based index of the item. + + + + Gets or sets the end index of the text body item. + + The zero-based index of the item. + + + + Gets or sets the start index of the paragraph item. + + The zero-based index of the item. + + + + Gets or sets the end index of the paragraph item. + + The zero-based index of the item. + + + + Represent a selection of text inside paragraph. + + + The following are the limitations in using the class: + + Text selection must be continuous (must not be split). + The selected text should remain within a single paragraph, and will be ignored if it extends to more than one paragraph. + + + + + + + Gets the selection chain. + + The selection chain. + + + + Initializes a new instance of the class. + + The paragraph. + The start char position. + The end char position. + + + + Gets the ranges. + + + + + + Gets as one range. + + + + + + Splits and erase the content of selection. + + + + + Get the collection of text ranges from start text range to the end text range. + + Starting text range element. + + + + Caches the ranges. + + + + + Copies ranges to specified paragraph. + + The paragraph. + The start index. + + + + Copies to the specified inline content control. + + An to insert the items. + Index value to start inserting items. + Represents to save formatting or not. + Source format of the text range. + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Ensures the indexes. + + + + + Gets the items count from their owner of corresponding text range. + + A object, which is refrence to get total items counts in their owner paragraph. + Returns total number of items in the owner of inputed text range. + + + + Splits the ranges. + + + + + Updates the following selections. + + + + + Gets the selected text. Read-only. + + The string that represents the selected text. + + + + Gets or sets the string at the specified index from the + collection. + + The zero-based index of the string to get. + The string at the specified collection. + + + + Gets the number of text chunks in the collection. Read-only. + + The count. + + + + Gets the paragraph owner. + + The paragraph owner. + + + + Gets the start text range. + + The start text range. + + + + Gets the end text range. + + The end text range. + + + + Represents a character encoding. + + + + + Decodes all the bytes in the specified byte array into a string. + + The byte array containing the sequence of bytes to decode. + A string that contains the results of decoding the specified sequence of bytes. + + + + Summary description for DocIOXsdGenerator. + + + + + Summary description for XSDSchemeGenerator. + + + + + + + + + + + + + + + Gets the DLS local schema. + + Returns the DLS local schema. + + + + Generates the DLS schema. + + Returns the DLS schema. + + + + Generates the schema. + + The meta schema. + Returns the XmlSchema. + + + + Gets the resource stream. + + + Name of the res. + The res namespace. + + + + + Gets the DLS resource stream. + + + Name of the res. + + + + + Loads the XML document. + + + The stream. + + + + + Called when [validation]. + + + The sender. + The instance containing the event data. + + + + Parses the type. + + The type node. + + + + Parses the type of the simple. + + The type node. + The mode. + + + + Parses the type of the complex. + + The group. + The type node. + if set to true [is grouping]. + + + + Parses the element. + + The element node. + The group. + + + + Parses the group. + + The group node. + The group. + + + + Parses the attribute. + + The attr node. + The attributes. + + + + Merges the with include. + + The meta schema. + The include schema. + + + + Merges the with include. + + The include schema. + The meta schema. + Name of the tags. + + + + constant string value. + + + + + + Returns Schema of DocIO. + + Returns the Schema in XML format. + + + + Generates Schema for DocIO. + + Returns the Schema in XML format. + + + + Gets the doc IO resource stream. + + + Name of the res. + + + + + Returns Stream for a specified resource. + + + Specifies resource Name. + Specified Resource NameSpace. + + + + + The class WordColor implements routines working with Color. + + + + + + + + + + + + + + + Reserved for internal use. + + + + + + + + + + + + + + + Initializes a new instance of the class with known color index. + + The byte index represents the index of the known color. + + + + Converts the HSL to RGB. + + The hue. + The saturation. + The luminance. + + + + + Converts the color by shade. + + The color. + The shade. + + + + + Shades the specified color value. + + The color value. + The shade. + + + + + Converts the color by tint. + + The color. + The tint. + + + + + Applies tint to the specified color value. + + The color value. + The tint. + + + + + Converts based on modulation. + + The value. + The percent. + + + + + Converts based on offset. + + The value. + The percent. + + + + + Converts based on hue. + + The color. + The angle. + + + + Converts based on hue mod. + + The color. + The ratio. + + + + Converts based on hue offset. + + The color. + The angle. + + + + Converts based on lum. + + The color. + The percent. + + + + Converts based on lum mod. + + The color. + The percent. + + + + Converts based on lum offset. + + The color. + The percent. + + + + Converts based on sat. + + The color. + The percent. + + + + Converts based on sat mod. + + The color. + The percent. + + + + Converts based on sat offset. + + The color. + The percent. + + + + Complements the color. + + The color. + + + + + Inverses the color of the gamma. + + The color. + + + + + Converts the RGB to linear RGB. + + The value. + + + + + Gammas the color. + + The color. + + + + + Converts the linear RGB to RGB. + + The value. + + + + + Grays the color. + + The color. + + + + + Inverses the color. + + The color. + + + + + Inverses the specified color value. + + The color value. + + + + + Converts the colorto HSL. + + The color. + The hue. + The saturation. + The luminance. + + + + Converts the color of the HSL to. + + The hue. + The saturation. + The luminance. + + + + + Hues to RGB. + + The n1. + The n2. + The hue. + + + + + Returns the Color value for the specified color ID. + + Specifies color ID. + Returns the Color value. + + + + Converts the Color value as an integer value. + + Specifies Color value. + Returns the corresponding ID value of the color. + + + + Converts the color to RGB. + + Specifies the Color value. + Returns the converted RGB value. + + + + Converts the color to RGB. + + The color. + If set to true ignores alpha channel. + Returns the converted RGB value. + + + + Converts the specified ID value as RGB value. + + Color identification value. + Returns RGB value. + + + + Converts RGB value as int value. + + Specifies RGB value. + Returns the ID value for a specified RGB. + + + + Converts the RGB as Color value. + + RGB Value. + Returns Color value. + + + + Converts the Color as a color ID. + + Specifies Color value. + Returns color ID. + + + + Gets the Color value for a specified ID. + + Specifies Color ID value. + Returns Color value/. + + + + + + + + + + + + + + + + + + + Gets a value indicating whether the specified background color is very dark. + So that text with color automatic in this background will be displayed as white by Microsoft Word. + + The red component value of the background color + The green component value of the background color + The blue component value of the background color + True if the specified background color is very dark; false otherwise. + + + + Gets a value indicating whether the specified background color is not very dark. + So that text with color automatic in this background will be displayed as black by Microsoft Word. + + The background color of the text + True if the specified background color is not very dark; false otherwise. + + + + Gets the a null color. + + + + + Gets Black color. Read-only. + + + + + Gets Blue color. Read-only. + + + + + Gets Cyan color. Read-only. + + + + + Gets Green color. Read-only. + + + + + Gets Magenta color. Read-only. + + + + + Gets Red color. Read-only. + + + + + Gets Yellow color. Read-only. + + + + + Gets White color. Read-only. + + + + + Gets DarkBlue color. Read-only. + + + + + Gets DarkCyan color. Read-only. + + + + + Gets DarkGreen color. Read-only. + + + + + Gets DarkMagenta color. Read-only. + + + + + Gets DarkRed color. Read-only. + + + + + Gets DarkYellow color. Read-only. + + + + + Gets DarkGray color. Read-only. + + + + + Gets LightGray color. Read-only. + + + + + Gets the system Color. Read-only. + + + + + Gets the byte value for a Color. Read-only. + + + + + Gets RGB Color. Read-only. + + + + + Contains classes and enumerations for generating the Word document. + + + + + + ControlChar class represents control characters which are used in binary MS Word document. + + + + + End of non-nested table cell or row character: (char)7 or "\a". + + + + + End of column character: (char)14. + + + + + End of MS Word field character: (char)21. + + + + + Field separator character separates field code from field value. Optional in some fields. + Value: (char)20. + + + + + Start of MS Word field character: (char)19. + + + + + Page break character: (char)12 or "\f". + + + + + End of paragraph character: (char)13. + + + + + End of section character: (char)12 or "\f". + + + + + Carriage return character: "\x000d" or "\r". Same as ParagraphBreak. + + + + + Carriage return followed by line feed character: "\x000d\x000a" or "\r\n". + Not used as such in Microsoft Word documents, but commonly used in text files for + paragraph breaks. + + + + + This is the "o" string used as a default value in text input form fields. + + + + + This is the 'o' character used as a default value in text input form fields. + + + + + Line break string: "\x000b" or "\v". + + + + + Line break character: (char)11. + + + + + Line feed string: "\x000a" or "\n". Same as Line feed. + + + + + Line feed character: (char)10. + + + + + Non-breaking space string: "\x00a0". + + + + + Non-breaking space character: (char)160. + + + + + Tab string: "\x0009" or "\t". + + + + + Tab character: (char)9 or "\t". + + + + + Optional hyphen string. + + + + + Optional hyphen character. + + + + + Space string. + + + + + Space character + + + + + Double Quote character. + + + + + Left Double Quote character. + + + + + Right Double Quote character. + + + + + Double low Quote character. + + + + + Double Quote string. + + + + + Left Double Quote string. + + + + + Right Double Quote string. + + + + + Double low Quote string. + + + + + Non-breaking hyphen string. + + + + + Non-breaking hyphen character. + + + + + End of non-nested table cell or row character: "\x0007" or "\a" + + + + + End of column character: "\x000e". + + + + + Page break character: "\x000c" or "\f". Note it has the same value as SectionBreak. + + + + + End of paragraph character: "\x000d" or "\r". Same as Carriage return. + + + + + End of section character: "\x000c" or "\f". Note it has the same value as PageBreak. + + + + + Summary description for _constants. + + + + + Specifies SaclingFactor of an Image. + + + + + Specifies BitmapScaleFactor. + + + + + Specifies MetafileScaleFactor. + + + + + width of a single line in 1/8 pt, max of 32 pt. + + + + + Number Twips in 1 Point + + + + + Specifies PercentageFactor. + + + + + EMUs in one point + + + + + EMUs in one point + + + + + Hundredths unit + + + + + Thousandths of a percentage. + + + + + Positive Fixed Angle 60000ths of a degree. + + + + + Maximum opaque limit (100%) and 0% transparent. + + + + + Size of the Int32 value. + + + + + Size of the Int16 value. + + + + + Size of the Int64 value. + + + + + Number of bits inside single short value. + + + + + Number of bits inside single byte value. + + + + + Size of the Double value in bytes. + + + + + Microsoft Windows code page + + + + + Represents date time format structure. + + + + + Lakh unit + + + + + Contains Ascii-codes of some special characters + + + + + + End of paragraph character: 0x000d. + + + + + End of the page character: 0x000c. + + + + + End of the column character:0x000e. + + + + + Specifies charcter for Table: 0x0007; + + + + + Specifies charcter for Image: 0x0001; + + + + + Specifies character for Shape: 0x0008. + + + + + Specifies character value for FootNote:0x0002. + + + + + Begining of Field Mark character: 0x0013. + + + + + End of Field Mark character: 0x0015. + + + + + Specifies character value for FieldSeparator: 0x0014. + + + + + Specifies character value for Tab: 0x0009. + + + + + Specifies character value for line break: 0x000b. + + + + + Specifies character value for symbol: 0x0028. + + + + + Specifies value for Annotation: 0x0005. + + + + + Specifies character value for page number: 0x0000. + + + + + Specifies the non breaking hyphen character + + + + + Specifies the soft hyphen character + + + + + Specifies the non breaking space character + + + + + Specifies the Footnotes/Endnotes separator character. + + + + + Specifies the Footnotes/Endnotes continuation separator character. + + + + + Specifies value as string. + + + + + Specifies value as string. + + + + + Array of special symbols. + + + + + Specifies type of break. + + + + + No break with the new section beginning on the next paragraph of the same page. + + + + + Column break with the new section beginning on the next column on the page. + + + + + Section break with the new section beginning on the next page. + + + + + Section break with the new section beginning on the next even-numbered page. + + + + + Section break with the new section beginning on the next odd-numbered page. + + + + + Specifies the type of header or footer. + + + + + Specifies InvalidValue. + + + + + Header for even numbered pages. + + + + + Header for odd numbered pages. + + + + + Footer for even numbered pages. + + + + + Footer for odd numbered pages. + + + + + Header for the first page of the section. + + + + + Footer for the first page of the section. + + + + + Specifies the type of elementary during reading or writing. + + + + + Specifies text element. + + + + + Specifies end of the paragraph. + + + + + Specifies section`s end. + + + + + Specifies page break. + + + + + Specifies column break. + + + + + Specifies document end. + + + + + Specifies an Image. + + + + + Specifies a Shape. + + + + + Specifies Table. + + + + + Specifies row of the table. + + + + + specifies table`s cell. + + + + + Specifies FootNote. + + + + + Specifies field begin mark. + + + + + Specifies separator for a field. + + + + + Specifies field begin end. + + + + + Specifies tab. + + + + + Specifies an annotation. + + + + + Specifies a line break. + + + + + Specifies a symbol. + + + + + Specifies a current page number. + + + + + Specifies end of the document text. + + + + + Specifies the type of sub document. + + + + + Main. + + + + + FootNote. + + + + + HeaderFooter. + + + + + EndNote. + + + + + Annotation. + + + + + TextBox. + + + + + HeaderTextBox. + + + + + Type of subdocument as Header/Footer, Annotation, etc. + + + + + Specifies the file format type to use. + + + + + Microsoft Word 97-2003 document format. + + + + + Microsoft Word 97-2003 template format. + + + + + Microsoft Word document format. + + + + + Microsoft Strict Word document format. + + + + + Microsoft Word 2007 document format. + + + + + Microsoft Word 2010 document format. + + + + + Microsoft Word 2013 document format. + + + + + Microsoft Word 2007 template format. + + + + + Microsoft Word 2010 template format. + + + + + Microsoft Word 2013 template format. + + + + + Microsoft Word template format. + + + + + Microsoft Word 2007 macro enabled file format. + + + + + Microsoft Word 2010 macro enabled file format. + + + + + Microsoft Word 2013 macro enabled file format. + + + + + Microsoft Word macro enabled file format. + + + + + Microsoft Word 2007 macro enabled template format. + + + + + Microsoft Word 2010 macro enabled template format. + + + + + Microsoft Word 2013 macro enabled template format. + + + + + Microsoft Word macro enabled template format. + + + + + Specifies the WordProcessingML (.XML) documents + + Provides Read/Write support for Microsoft Office WordXML format (FlatOPC) documents + Provides read only support for Microsoft Office Word 2003 XML format documents + + + + + Rich text format (RTF). + + + + + Microsoft Windows text format. + + + + + Markdown. + + + + + E-book format. + + This enum is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamrain platforms. + + + + DLS based Xml file format. + + This enum is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform, MVC6 and Xamrain platforms. + + + + Support all Format Types. + + This enum is not supported in Silverlight, WinRT, Windows Phone, Universal, Universal Windows Platform and Xamrain platforms. + + + + Html format + + This enum is not supported in Silverlight, Windows Phone, Universal and Universal Windows Platform applications. + + + + Saves theWord document as an Open Document Textformat. + + + + + Specifies options to stream content to browser. + + + + + Open document directly in browser. + + + + + Save document as attachment to the disk. + + + + + Specifies the type of protection applied to the Word document. + + + + + Allow only comments to be added to the document. + + + + + Allow content to be added to the document only through form fields. + + + + + Allow read-only access to the document. + + + + + Allow only revisions to be made to existing content. + + + + + Do not apply protection to the document. + + + + + Specified the shading texture to use. + + + + + 10 percent shading. + + + + + 12.5 percent shading. + + + + + 15 percent shading. + + + + + 17.5 percent shading. + + + + + 20 percent shading. + + + + + 22.5 percent shading. + + + + + 25 percent shading. + + + + + 27.5 percent shading. + + + + + 2.5 percent shading. + + + + + 30 percent shading. + + + + + 32.5 percent shading. + + + + + 35 percent shading. + + + + + 37.5 percent shading. + + + + + 40 percent shading. + + + + + 42.5 percent shading. + + + + + 45 percent shading. + + + + + 47.5 percent shading. + + + + + 50 percent shading. + + + + + 52.5 percent shading. + + + + + 55 percent shading. + + + + + 57.5 percent shading. + + + + + 5 percent shading. + + + + + 60 percent shading. + + + + + 62.5 percent shading. + + + + + 65 percent shading. + + + + + 67.5 percent shading. + + + + + 70 percent shading. + + + + + 72.5 percent shading. + + + + + 75 percent shading. + + + + + 77.5 percent shading. + + + + + 7.5 percent shading. + + + + + 80 percent shading. + + + + + 82.5 percent shading. + + + + + 85 percent shading. + + + + + 87.5 percent shading. + + + + + 90 percent shading. + + + + + 92.5 percent shading. + + + + + 95 percent shading. + + + + + 97.5 percent shading. + + + + + Horizontal cross shading. + + + + + Dark horizontal cross shading. + + + + + Dark diagonal cross shading. + + + + + Dark diagonal down shading. + + + + + Dark diagonal up shading. + + + + + Dark horizontal shading. + + + + + Dark vertical shading. + + + + + Diagonal cross shading. + + + + + Diagonal down shading. + + + + + Diagonal up shading. + + + + + Horizontal shading. + + + + + No shading. + + + + + Solid shading. + + + + + Vertical shading. + + + + + Nil shading. + + + + + Specifies the type of fields. + + + + + Field type is not Specifies. + + + + + Specifies Addins. + + + + + Offset subsequent text within a line to the left, right, up or down. + + + + + Prompt the user for text to assign to a bookmark. + + + + + The name of the document's author from Summary Info. + + + + + Insert an automatic number. + + + + + Insert an automatic number in legal format. + + + + + Insert an automatic number in outline format. + + + + + Insert an AutoText entry. + + + + + Insert text based on style. + + + + + Insert a delivery point barcode. + + + + + The comments from Summary Info. + + + + + Compares two values. + + + + + The date the document was created. + + + + + Specifies data. + + + + + Insert data from an external database. + + + + + Specified Today`s Date. + + + + + Specified Type as FieldDDE. + + + + + Specified Type as FieldDDEAuto. + + + + + Insert the value of the property. + + + + + Insert the value of the document variable. + + + + + The total document editing time. + + + + + Specifies OLE embedded object. + + + + + Specified Empty Field. + + + + + Specifies Field Expression. + + + + + The document's name. + + + + + The size on disk of the active document. + + + + + Prompt the user for text to insert in the document. + + + + + Specifies FieldType as FootnoteRef. + + + + + Specifies Check box control. + + + + + Specifies Drop Down box control. + + + + + Specifies Text control. + + + + + Calculates the result of an expression. + + + + + Specifies FieldGlossary. + + + + + Specifies GoToButton control. + + + + + Specifies HTMLActiveX control. + + + + + Specifies Hyperlink control. + + + + + Evaluate arguments conditionally. + + + + + Specifies FieldType as Import. + + + + + Specifies FieldType as Export. + + + + + Insert a picture from a file. + + + + + Insert text from a file. + + + + + Create an index. + + + + + Mark an index entry. + + + + + Data from Summary Info. + + + + + The keywords from Summary Info. + + + + + Name of user who last saved the document. + + + + + Linked OLE2 object. + + + + + Insert an element in a list. + + + + + Run a macro. + + + + + Insert a mail merge field. + + + + + The number of the current merge record. + + + + + Merge record sequence number. + + + + + Go to the next record in a mail merge. + + + + + Conditionally go to the next record in a mail merge. + + + + + Insert the number of a footnote or endnote. + + + + + The number of characters in the document. + + + + + The number of pages in the document. + + + + + The number of words in the document. + + + + + Represents an ActiveX control such as a command button etc. + + + + + Insert the number of the current page. + + + + + Insert the number of the page containing the specified bookmark. + + + + + Download commands to a printer. + + + + + The date the document was last printed. + + + + + Stores data for documents converted from other file formats. + + + + + Insert literal text. + + + + + Insert the text marked by a bookmark. + + + + + Create an index, table of contents, table of figures, and/or table of authorities by using multiple documents. + + + + + Insert the number of times the document has been saved. + + + + + The date the document was last saved. + + + + + Insert the number of the current section. + + + + + Insert the total number of pages in the section. + + + + + Insert an automatic sequence number. + + + + + Assign new text to a bookmark. + + + + + Conditionally skip a record in a mail merge. + + + + + Insert the text from a like-style paragraph. + + + + + The document's subject from Summary Info. + + + + + The document's Subscriber from Summary Info. + + + + + Insert a special character + + + + + The name of the template attached to the document. + + + + + The current time. + + + + + The document's title from Summary Info. + + + + + Create a table of authorities. + + + + + Make a table of authorities entry. + + + + + Create a table of contents. + + + + + Make a table of contents entry. + + + + + Address from Tools Options User Info. + + + + + Initials form Tools Options User Info. + + + + + Name from Tools Options User Info. + + + + + Specifies FieldType as Shape. + + + + + Specifies FieldType as BIDIOUTLINE. + + + + + Specifies AddressBlock + + + + + Specifies FieldType as Unknown. + + + + + Specifies the information to be included in the cross-reference. + + + + + Insert text value of the specified item. For example, insert text of the specified heading. + + + + + Insert the word "Above" or the word "Below" as appropriate. + + + + + Insert the page number of the specified bookmark. + + + + + Insert paragraph with as much of its relative position in the outline numbered list as necessary to identify the item. + + + + + Insert paragraph without its relative position in the outline numbered list. + + + + + Insert complete paragraph number. + + + + + Specifies the type of item for which a cross-reference is to be inserted. + + + + + Insert the bookmark text as appropriate. + + + + + Specifies the number style to be used with the caption label text. + + + + + Numbers + + + + + Roman Numerals + + + + + Alphabets + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the bookmark type to be considered while converting a Word document to PDF. + + + This property is applicable only for Word to PDF conversion in Windows Forms, WPF, ASP.NET Web, ASP.NET MVC, ASP.NET Core and Xamarin platforms. + + + + + Creates a bookmark in the exported document for each Word bookmark. This is the Default ExportBookmarkType. + + + + + Creates a bookmark in the exported document for each Microsoft Office Word heading, which includes only headings within the main document and text boxes not within headers, footers, endnotes, footnotes, or comments. + + + + + Creates no bookmark in the converted PDF document. + + + + + Specifies the position of the caption label text. + + + + + Caption is positioned above the Image. + + + + + Caption is positioned below the image. + + + + + Specifies the view type. + + + + + Specifies that the document will be rendered in the default view of the application. + + + + + Everything that will appear in the printed document appears on the screen. + + + + + Shows the headings and subheadings in the word document. + + + + + Document appears with a dotted line separating the pages and/or document sections. + Columns, drawings, headers/footers, footnotes/endnotes, and comments do not appear. + + + + + Designed to show the word document will look as a web page. + + + + + Specifies the type of zoom. + + + + + Indicates to use the explicit zoom percentage. + + + + + Zoom percentage is automatically recalculated to fit one full page. + + + + + Zoom percentage is automatically recalculated to fit page width. + + + + + Zoom percentage is automatically recalculated to fit text. + + + + + Specifies the Character-Level Whitespace + + + + + Specifies the line numbering mode to apply. + + + + + Line numbering restarts at the start of every page + + + + + Line numbering restarts at the section start. + + + + + Line numbering continuous from the previous section. + + + + + Specifies LineNumberingMode as None. + + + + + Specifies the type of page border to apply. + + + + + Page border applies to all pages. + + + + + Page border applies only to first pages. + + + + + Page border applies to all pages except the first. + + + + + Specifies the position of page border. + + + + + Page border is measured from text. + + + + + Page border is measured from the edge of the page. + + + + + Specifies the type of animation to apply to a font. + + + + + No animation. Default. + + + + + Alternating color and pattern border. + + + + + Black-and-white, blinking background. + + + + + Randomly alternating pattern and color background. + + + + + Rotating black-dashed border. + + + + + Rotating red-dashed border. + + + + + Font shimmers in and out of focus. + + + + + Specifies the outline level to apply to a paragraph. + + + + + Outline level 1. + + + + + Outline level 2. + + + + + Outline level 3. + + + + + Outline level 4. + + + + + Outline level 5. + + + + + Outline level 6. + + + + + Outline level 7. + + + + + Outline level 8. + + + + + Outline level 9. + + + + + No outline level. + + + + + Specifies the Wrapping mode of the frame + + + + + + This value specifies automatic text wrapping. + + + + + This value specifies that there is no text wrapping to either side of the frame. + + + + + This value specifies that text is wrapped around the frame. + + + + + Text is not wrapped around the frame. + + + + + This value specifies that text is tightly wrapped around the frame. + + + + + This value specifies that text is wrapped through the frame, to the contours of the contents of the frame. + + + + + Specifies the horizontal relative position. + + + + + Relative to column. + + + + + Relative to margin. + + + + + Relative to page. + + + + + Specified the vertical relative position. + + + + + Relative to margin. + + + + + Relative to page. + + + + + Relative to paragraph. + + + + + Specifies the absolute horizontal position. + + + + + The object is aligned to the left of the reference origin. + + + + + The object is centered to the reference origin. + + + + + The object is aligned to the right of the reference origin. + + + + + The object is aligned to the inside of the reference origin. + + + + + The object is aligned to the outside of the reference origin. + + + + + Specifies the absolute vertical position. + + + + + No vertical positioning + + + + + The object is aligned to the top of the reference origin. + + + + + The object is aligned to the center of the reference origin. + + + + + The object is aligned to the bottom of the reference origin. + + + + + The object is aligned to the inside of the reference origin. + + + + + The object is aligned to the outside of the reference origin. + + + + + Specifies the dash style for a line. + + + + + Line is solid. + + + + + Line consists of dashes only. + + + + + Line consists of dots only. + + + + + Line is a dash-dot pattern. + + + + + Line is a dash-dot-dot pattern. + + + + + Line consists of dots only. + + + + + Line consists of dashes only. + + + + + Line consists of long dashes only. + + + + + Line is a dash-dot pattern. + + + + + Line is a long dash and short dot pattern. + + + + + Line is a long dash and short dot-dot pattern. + + + + + Specifies the style of the arrowhead at the end of a line. + + + + + No arrowhead. + + + + + Triangular. + + + + + Stealth-shaped. + + + + + Diamond-shaped. + + + + + Oval-shaped. + + + + + Open. + + + + + Specifies the wrap mode. + + + + + Square wrap mode. + + + + + ByPoints wrap mode. + + + + + No wrap mode. + + + + + TopBottom wrap mode. + + + + + Through wrap mode. + + + + + Specifies the value type for the property. + + + + + Specifies Value type as boolean. + + + + + Specifies Value type as date. + + + + + Specifies Value type as float. + + + + + Specifies Value type as double. + + + + + Specifies Value type as integer. + + + + + Specifies Value type as String. + + + + + Specifies Value type as byte array. + + + + + Specifies Value type as ClipData. + + + + + Specifies the type of the property. + + + + + Specifies Property Type as Summary. + + + + + Specifies Property Type as DocumentSummary. + + + + + Specifies Property Type as Custom. + + + + + Specifies a line spacing format to be applied to a paragraph. + + + + + Line spacing is always at least a specified amount. The amount is specified separately. + + + + + Line spacing is only the exact maximum amount of space required. This setting commonly uses less space than single spacing. + + + + + Line spacing determined by the number of lines indicated. + + + + + Specifies the horizontal alignment of a shape. + + + + + The object is explicitly positioned using position properties. + + + + + The object is aligned to the left of the reference origin. + + + + + The object is centered to the reference origin. + + + + + The object is aligned to the right of the reference origin. + + + + + The object is aligned to the inside of the reference origin. + + + + + The object is aligned to the outside of the reference origin. + + + + + Specifies vertical alignment of a shape. + + + + + The object is aligned to the bottom of the reference origin. + + + + + The object is centered relative to the reference origin. + + + + + The object is aligned to the in line of the reference origin. + + + + + The object is aligned to the inside of the reference origin. + + + + + The object is explicitly positioned using position properties. + + + + + The object is aligned to the outside of the reference origin. + + + + + The object is aligned to the top of the reference origin. + + + + + Specifies the text form field type. + + + + + Regular text field. + + + + + Number text field. + + + + + Date text field. + + + + + Current date text field. + + + + + Current time text field. + + + + + Calculation text field. + + + + + Specifies the position of footnotes. + + + + + Footnotes are output at the bottom of each end notes. + + + + + At bottom of current page. + + + + + Beneath current text on each page. + + + + + Specifies the restart index of footnotes. + + + + + Numbering continuous throughout the document. + + + + + Numbering restarts at each section. + + + + + Numbering restarts at each page. + + + + + Specifies the restart index of the endnotes. + + + + + Numbering continuous throughout the document. + + + + + Numbering restarts at each section. + + + + + Specifies the position of the endnotes. + + + + + Display at the end of each section. + + + + + Display at the end of the document. + + + + + Specifies the number format of endnotes and footnotes. + + + + + Arabic format (1, 2, 3, ...). + + + + + Upper case roman format (I, II, III, ...). + + + + + Lower case roman format (i, ii, iii, ...). + + + + + Upper case letters format (A, B, C, ...) . + + + + + Lower case letters format (a, b, c, ...) . + + + + + Specifies the type of the footnote. + + + + + Specifies object is a footnote. + + + + + Specifies object is a endnote. + + + + + Specifies the Type of the FontFamily. + + + + + + Font family is unspecified for this font. + + + + + Roman (Serif). + + + + + Swiss (Sans-serif). + + + + + Swiss (Sans-serif). + + + + + Script (Cursive). + + + + + Decorative (Fantasy). + + + + + Specifies the type of the font pitch request. + + + + + Default pitch. + + + + + Fixed pitch. + + + + + Variable pitch. + + + + + Specifies preferred width type + + + + + + No Preffered Width + + + + + Preferred table width specified as Auto + + + + + Preferred table width specified in percentage + + + + + Preferred table width specified in points + + + + + Specifies the vertical alignment of all text on each line displayed within a paragraph + + + + + Specifies that all text shall be aligned to the top of each character + + + + + Specifies that all text shall be aligned to the center of each character + + + + + Specifies that all text shall be aligned to the baseline of each character + + + + + Specifies that all text shall be aligned to the bottom of each character + + + + + Specifies that all text shall be aligned automatically + + + + + Specifies the text wrapping options for a text box when tight wrapping is set for the text box in the paragraph. + + + + + No lines of the paragraph allow the surrounding text to tightly wrap around their edges. + + + + + All lines of the paragraph allow the surrounding text to tightly wrap to their edges. + + + + + Only the first and last lines of the paragraph allow the surrounding text to tightly wrap around their edges. + + + + + Only the first line of the paragraph allows the surrounding text to tightly wrap around its edges. + + + + + Only the last line of the paragraph allows the surrounding text to tightly wrap around its edges. + + + + + Specifies the drop cap type. + + + + + No drop cap + + + + + Regular drop cap, which is a single letter beginning at the leading edge of the paragraph. + + + + + A drop cap which is in the margin of the page, outside of the paragraph. + + + + + Specifies structure of the clipped data. + + + + + Size of the data. + + + + + Pointer to the data. + + + + + Format of the data. + + + + + Represents Clip data wrapper class. + + + + + Reads the specified PROPVARIANT variable. + + The PROPVARIANT variable. + + + + Reads the specified data. + + The data. + + + + Writes the specified PROPVARIANT variable. + + The PROPVARIANT variable. + + + + Writes to string. + + + Returns the updated string. + + + + + Gets or sets bullet character pattern for the specified list level. + + + + + Gets or sets the string inserted after the number for the specified list level. + + + + + Gets or sets the string inserted before the number for the specified list level. + + + + + Gets or sets the string inserted before the number for the specified list level. + + + + + Gets or sets the string inserted before the number for the specified list level. + + + + + Gets or sets the left margin. + + + + + Gets or sets the text indent. + + + + + Gets/Sets the list level text alignment property + + + + + Closes the instances used in OListStyle + + + + + Gets or sets the name for the list style. + + The string that represents the style name. + +
+
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.Licensing.dll b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.Licensing.dll new file mode 100644 index 00000000..fde0a730 Binary files /dev/null and b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.Licensing.dll differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.OfficeChart.Base.dll b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.OfficeChart.Base.dll new file mode 100644 index 00000000..1af69fcd Binary files /dev/null and b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.OfficeChart.Base.dll differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.OfficeChart.Base.xml b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.OfficeChart.Base.xml new file mode 100644 index 00000000..53569fdd --- /dev/null +++ b/ZZ_BarcpdeFromFont/bin/Debug/Syncfusion.OfficeChart.Base.xml @@ -0,0 +1,148690 @@ + + + + Syncfusion.OfficeChart.Base + + + + + Performs the parsing operation of Array formulas. + + + + + To check the index of "_" in a string(formula). + + + + + The operators which are involved in array formula. If these operators are not + present in formula, then formula must be returned without parsing. + + + + + Length in each splitted range of array formula. + + + + + Gets or sets the ArrayRecordPostion method from XlsIO side to get the position + of the cell in the array. + + + + + Initialize the object for parsing operations. + + An instance of . + + + + Gets or sets the instance of . + + + + + To split the strings based on the pattern involving operators(-,+,*,/,&). + For example:"A1:B1 * C1:D1" will be splitted as "A1:B1" and "C1:D1" which will + be stored separately in string array. + + The string to be splitted into string array. + String array. + + + + To calculate the height and width of the passed argument. Based on the argument's type of + cell reference or constants, they are calculated separately and if any of the width/height is less than + max height/width, correspondingly range is increased/decreased for range.The minimum width/height is + maintained. + + A string passed to compute maximum height/width. + The height determined for array. + The width determined for array. + The minimum height. + The minimum width. + The string with altered height/width. + + + + Resize range based on the max height and max width of the array and stored in a list + which needs to be parsed. For example: "A1:B3*C1:C2" will be resized based on the + height of "2"(value of smaller row count but not 1) and width of "2"(Value of smaller column count but not 1). + The arguments splitted from GetCellsFromArgs method, will be of the mentioned length of 4. Hence "A1:B3" will be + splitted and be first argument in the list and "C1:C2" will be splitted as the next argument in the list. + This list will be passed for making expressions in Parse method as "A1*C1,B1*C1,A2*C2,B2*C2". + + The formula array which needs to be adjusted and parsed. + The parsed formula string in original format. + The string array. + + + + A method that splits the formula based on the operators. + For example: if the argument is passed as "(A1:B2+C1:D2)" which will be parsed + as "A1+C1,B1+D1,A2+C2,B2+D2". + + The formula passed in with operator. + The parsed formula string in original format. + Splitted formula based on logic. + + + + A method that parses the array formula and return it as normal formula for computation. + For example if the formula is passed as "{=SUM(A1:B1*C1:D1)}", then it will be parsed + and returned as SUM(A1*C1,B1*D1). + + The array formula to be parsed. + The normal formula for parsing in CalcEngine. + + + + A method that invokes for computation of LEN,ROW,COLUMN methods in array formula. + For example if the formula SUM(ROW(A1:A5)) then it should be parsed as SUM({1,2,3,4,5})(excel behavior) + and if the formula is ROW(A1:A5), based on the required cell, the corresponding row index is returned. + + The formula's argument. + The formula name. + The computation level of the formula. + A string which holds the computed value with curly braces. + + + + The function to check if the given formula is multi cell array or not. + For example: if the formula is "{A1:B1 * C1:D1}", then it is a multi cell array + whereas, if the formula is "SUM(A1:B1*C1:D1), then it is not a multi cell array. + + The formula which is passed to check. + True; if it is multicell array;else False. + + + + To parse the multi cell array, that is to get the positon of the array record and returning + the particular formula for the given cell. + For example: if the parsed formula is "A1*C1,B1*D1,A2*C2,B2*D2",then based on the given cell if + the index is 2, then resultant formula is "B1*D1" whereas if the index is "-1", then error + messages is returned. + + formula to be parsed. + The parsed formula string in original format. + Formula required for given cell. + + + + Parsing the one/multi dimensional array constants in formula. For Eg: parsing of + {1,2,3} or {1;2;3} or {1,2;3,4}. It also parses the multi dimensional array with constants + such as {1,2}*{3,4}. + + Formula to be parsed. + The formula/value which needs to be displayed. + + + + If passed formula contains operators involving expressions with commas, then it will + be parsed by splitting the arg's based on comma and storing in the list. For eg: if the + passed argument is "{1*2,3*4,4*5}, then based on the cell's index, particular expression + will be returned + + The formula for parsing. + The height of the arg. + The width of the arg. + Expression/Value based on the formula. + + + + For parsing the horizontal arrays. (i.e) the formula which is separated by + commas, for eg: {1,2,3}. + + Formula to be parsed. + The value based on position of cell. + + + + For parsing the vertical arrays. (i.e) the formula which is separated by + semi colon, for eg: {1;2;3}. + + Formula to be parsed. + The value based on position of cell. + + + + Getting the height in which the array formula will arrange the values of selected range. + Smaller height of the given expression should be preferred but if the smaller value is 1, then the + height of another expression should be considered. + For example:"A1:B3*C1:D2" in which, the smaller height 2 will be considered and returned. + + Splitted strings from original formula. + The height required for array formula. + + + + Getting the width in which the array formula will arrange the values of selected range. + Smaller width of the given expression should be preferred but if the smaller value is 1, then the + width of another expression should be considered. + For example:"A1:B3*C1:E2" in which, the smaller width is 2 will be considered and returned. + + Splitted strings from original formula. + The width required for array formula. + + + + To get the position of the cell in the array formula applied range. + if the cell like "A5" is passed with height and width, then it finds the exact + postion in the selected range "A4:D7" from XlsIO side and returns it. + + The height of the array record. + The width of the array record + The position of the cell. + + + + To Compute the length of the given argument, based on the computational level. + For example if the formula SUM(LEN(A1:A3)), the computation level is greater than 1, + hence it should be parsed as SUM({LEN(A1),LEN(A2),LEN(A3)})(excel behavior) + and if the formula is LEN(A1:A3), the computation level is 1, then + the corresponding length of the cell is returned. + + Passed argument for computation. + Computational level. + Computed result. + + + + To Compute the row index of the given argument, based on the computational level. + For example if the formula SUM(ROW(A1:A3)), the computation level is greater than 1, + hence it should be parsed as SUM({ROW(A1),ROW(A2),ROW(A3)})(excel behavior) + and if the formula is ROW(A1:A3), the computation level is 1, then + the corresponding row index of the cell is returned. + + Passed argument for computation. + Computational level. + Computed result. + + + + To Compute the column index of the given argument, based on the computational level. + For example if the formula SUM(COLUMN(A1:C1)), the computation level is greater than 1, + hence it should be parsed as SUM({COLUMN(A1),COLUMN(B1),COLUMN(C1)})(excel behavior) + and if the formula is COLUMN(A1:C3), the computation level is 1, then + the corresponding column index of the cell is returned. + + Passed argument for computation. + Computational level. + Computed result. + + + + To compute the IF fomrula based on the computation level. + If the computation level is greater than zero and the formula is "IF(G3:G30="",0,1) get the value and perform logical test for each cell and return the array structure value(“1,1,1,1,1,1,0,0,0,1”). + + Passed argument for computation. + Computational level. + Computed result. + + + + To compute the IF fomrula based on the computation level. + + CellRange + Tokens("=",">",">=") + The criteria used to determine which cells to add. + the parsed criteria is number is set as true.otherwise false. + Computational level. + The length of parsed range. + Computed result. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Delegate defined to access the method GetArrayRecordPosition for + getting position of the cell. + + Row index of the cell. + Column index of the cell. + The height required for the selected range. + The width required for the selected range. + The method containing the four integer parameters. + + + + A property that gets/sets the text of the initial formula. + + + + + A property that gets/sets the last computed value of this formula. + + + + + A property that gets/sets the formula as a parsed string. + + + + + CalcEngine encapsulates the code required to parse and compute formulas. Hashtable + properties maintain a Formula Library of functions as well as a list + of dependent cells. + + You can add and remove library functions. + + + + + Used to store the value as double + + + + + Used to store the value as double + + + + + Used to store the value as double + + + + + used to calculate the row in Table. + + + + + used to calculate the header in Table. + + + + + used to calculate the total in Table. + + + + + used to calculate the data in Table + + + + + used to calculate all in Table + + + + + This field holds equivalent double value of 1904(DateTime). + + + + + Field that turns on/off processing of the ICalcData.ValueChanged event. + + + + + Used to store the number + + + + + Used to store the big number as double + + + + + Used to store the value as double + + + + + This field will be set as true, if the 1904 date system is enabled in Excel. + + + + + Set the boolean as true + + + + + The constructor. + + + + + The constructor. + + The ICalcData from the underlying grid. + + + + Gets or sets whether the formula is array formula or not. + + + + + Gets or sets the instance of . + + + + + Gets or sets the instance of + + + + + Used to store the registed values + + + + + The list of error strings which are used within the Essential Calculate internally. Users can make changes to this internal error strings. + Default settings by assigning the new strings to the corresponding position.ReloadErrorStrings should be invoked to reset or modify the internal error strings. + + + + + A method that checks the possible cases for error string(invalid arguments for formula). + + The arguments of formula. + The formula's argument type. + Returns the Error string if formula has invalid arguments + + + + Below method has been used to find the negative values(ex formula:=LARGE({6,23,-5,2.3}, 2)). + + string contains negative values(eg:-2,-2,-2) or possitve value. + True if the values are number.else false. + + + + Returns true when Namedarange is in the scope and returns cellRange based on scope. + + NamedRange + CellRange + True when Namedarange is in the scope.else false. + + + + This method check "\"in the string and removes if the string contains "\"\. + + input string. + returns The parsed string value without the "\"\ + + + + A method that parses the text in a formula passed in. + + The text formula to be parsed. + A string holding a parsed representation of the formula. + + + + A method that parses and computes the string formula passed in. + + The text formula to be parsed and computed. + A string holding the computed value. + + + + Accepts an unparsed formula string and replaces any sheet references with corresponding tokens. + + The unparsed formula string. + + This is an advanced method that lets you replace sheet names with corresponding tokens. You may have need of + this method if you are adding your own functions to the function library. + + + + + Tokenizes all library references. + + + Accepts a string such as Sin(A1+A2) and tokenizes it into + bqSIN[A1A2a]b which serves as input to ComputedValue. + + Formula to be tokenized. + + + + A method that adds a function to the function library. + + The name of the function to be added. + The function to be added. + True if successfully added, otherwise False. + + LibraryFunction is a delegate that defines the signature of functions that + you can add to the function library. + + public delegate string LibraryFunction(string args); + + + + + + A method that removes a function from the function library. + + The name of the function to be removed. + True if successfully removed, otherwise False. + + + + Creates and initially loads the function library with the supported functions. + + + + + CreateSheetFamilyID is a method to create familyID for a sheet. + + Sheet family ID. + + Essential Calculate supports multisheet references within a family of ICalcData objects. To use + this functionality, you use this method to get a unique identifier for + the family. Then in the RegisterGridAsSheet method that you call to add ICalcData objects + to this family, you pass this unique identifier to mark the ICalcData objects as belonging + to this family. You can only cross reference ICalcData objects within the same family. + + + + + RegisterGridAsSheet is a method that registers an ICalcData object so it can be referenced in a formula from another ICalcData object. + + The reference name used to refer to this ICalcData object from formulas in other ICalcData objects. + + The ICalcData from the ICalcData object being registered. + + /// An integer previously created with a call + to CalcEngine.CreateSheetFamilyID. This number is used to identify + the ICalcData objects as belonging to a particular family of ICalcData objects. You can only reference + ICalcData objects from within the same family. + + + Essential Calculate supports multisheet references with its formulas. For example, if you + have two ICalcData objects, then you can reference cells from the first ICalcData object + in the second ICalcData object. For this to work, both ICalcData objects need to be registered using this method. + The syntax for using a sheet reference as part of a formula is to prefix a cell reference + with the sheet reference name followed by an exclamation point. + The formula "= sheet1!A1 + sheet2!C3" would add the value is cell A1 for + the ICalcData object whose reference name is sheet1 to the value from cell C3 in the ICalcData object + whose reference name is sheet2. + + Use this code to use cross sheet references: + + //Register three ICalcData objects so cell can be referenced across ICalcData objects: + int sheetfamilyID = CalcEngine.CreateSheetFamilyID(); + myCalcEngine.RegisterGridAsSheet("summary", calcData1, sheetfamilyID); + myCalcEngine.RegisterGridAsSheet("income", calcData2, sheetfamilyID); + myCalcEngine.RegisterGridAsSheet("expenses", calcData3, sheetfamilyID); + .... + //Sample formula usage for cells in calcData1, the 'summary' data source. + //This code sums ups some cells from calcData3, the 'expenses' data source + //and calcData2, the 'income' data source. + //Sum the range B2:B8 from expenses: + string sumExpenses = "= Sum(expenses!B2:expenses!B8)"; + //Sum the range B2:B4 from income: + string sumIncome = "= Sum(income!B2:income!B4)"; + + + 'Register three ICalcData objects so cell can be referenced across ICalcData objects: + Dim sheetfamilyID As Integer = CalcEngine.CreateSheetFamilyID(); + myCalcEngine.RegisterGridAsSheet("summary", calcData1, sheetfamilyID) + myCalcEngine.RegisterGridAsSheet("income", calcData2, sheetfamilyID) + myCalcEngine.RegisterGridAsSheet("expenses", calcData3, sheetfamilyID) + .... + 'Sample formula usage for cells in calcData1, the 'summary' data source. + 'This code sums ups some cells from calcData3, the 'expenses' data source + 'and calcData2, the 'income' data source. + 'Sum the range B2:B8 from expenses: + Dim sumExpenses As String = "= Sum(expenses!B2:expenses!B8)" + 'Sum the range B2:B4 from income: + Dim sumIncome As String = "= Sum(income!B2:income!B4)" + + + + + + Unregisters a grid so it can no longer be referenced in a formula from another grid. + + The reference name used to refer to this grid from formulas in other grids. + + The grid model. + + + + Change the sheet name of with the given name. + + Name of the sheet. + The ICalcData object. + + + + Triggers a calculation for any value depending upon the given cell. + + The cell. + + + + Returns the GridSheetFamilyItem for the specified model. If there was no item registered for + the model, a new item is created and cached. + + The grid model. + The GridSheetFamilyItem for the specified model. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Return the value of arraybounds as boolean + + current cell + height + width + firstrowindex + firstcolumnindex + lastrowindex + lastcolumnindex + + + + + A method to retrieve the row index from a cell reference. + + String holding a cell reference such as C21 or AB11. + An integer with the corresponding row number. + + + + A method that gets the column index from a cell reference passed in. + + String holding a cell reference such as C21 or AB11. + An integer with the corresponding column number. + + + + Determines whether the arg is a valid cell name. + + Cell name. + True is the arg is a valid cell name, false otherwise. + + + + To check whether the row index can be obtained from the arguments + + + + + A method to split the arguments using argument seperator. + + arguments to split. + argument seperator used to split. + A string array. + + + + Removes outer quote marks from a string with no inner quote marks. + + The string with possible outer quote marks. + The string with any outer quote marks removed. + This is a utility method that removes outer quotes on a string. + + + + Returns an array of argument strings from a single string where the arguments are delimited by . + + Contains the argument list. + A string array of arguments. + This method properly preserves any quoted strings that contain the character. + + + + Tests whether a string is NULL or empty. + + String to be tested. + True is passed in string is null or empty, otherwise False. + + + + Given a string, it returns a string that is passed through the FormulaParsing event + to allow any listener to modify it. + + A string that is to be potentially parsed. + + + + Accepts a possible parsed formula and returns the calculated value + without quotes. + + The argument to be adjusted. + + This method is useful in custom functions if you want to allow + your custom functions to handle parsed formulas as arguments. In + this case, calling this method at the beginning of your custom function + will allow you custom function to work only with computed values, and not + have to handle parsed formulas directly. + + + + + Call this method to clear whether an exception was raised during the computation of a library function. + + + + + Returns the value of specified cell in a Grid. + + Cell address + If true, compute the formula and returns calculated result. + Else, simply returns the value of the cell. + value of the cell + + + + Conditionally gets either the formula value or the cell + value depending upon whether the requested cell is a FormulaCell. + + Row index of the requested cell. + Column index of the requested cell. + String holding either the cell value or the computed formula value. + + + + Computes the exact date value when the input string is based on time span. + + value to be converted into date. + computed date for the time. + returns true if the value can be converted to date time. + + + + Conditionally gets either the formula value or the cell + value depending upon whether the requested cell is a FormulaCell. + + The ICalcData object holding the requested cell. + Row index of the requested cell. + Column index of the requested cell. + String holding either the cell value or the computed formula value. + + + + Returns the value of specified cell in a Grid. + + The ICalcData object holding the requested cell. + Row index of the requested cell. + Column index of the requested cell. + If true, compute the formula and returns calculated result. + Else, simply returns the value of the cell + the value of the cell. + + + + A Virtual method to compute the value based on the argument passed in. + + + This method takes the argument and checks whether it is a + parsed formula, a raw number, or a cell reference like A21. + The return value is a string that holds the computed value of + the passed in argument. + + A parsed formula, raw number, or cell reference. + A string with the computed number in it. + + + + A method that retrieves a string array of cells from the range passed in. + + + Converts arguments in these forms to a string array of individual cells: + A1,A2,B4,C1,...,D8 + A1:A5 + A1:C5 + + String containing a cell range. + String array of cells. + + + + A method that retrieves a string array of cells from the range passed in. + + + Converts arguments in these forms to a string array of individual cells: + A1,A2,B4,C1,...,D8 + A1:A5 + A1:C5 + + String containing a cell range. + default value is true. + String array of cells if findCellsFromRange is true.otherwise return cell reference. + + + + This method recalculates any formula cells in the specified range. + + The calculations for non-visible formula cells are performed the next time + cell are actually displayed. If you want the calculation performed immediately + on cells (visible or not), call the two argument overload of RecalculateRange, + passing the forceCalculations argument as True. + GridRangInfo object that specifies the cells to be recalculated. + ICalcData object that holds the data to be recalculated. + + + + An overridden method to display information on the cell currently being calculated. + + String with information on the cell currently being calculated. + + + + Conditionally gets either the formula value or the cell + value depending upon whether the requested cell is a FormulaCell. + + The alphanumeric cell label, like A1, or EE14. + String holding either the cell value or the computed formula value. + + + + Conditionally gets either the formula value or the cell + value depending upon whether the requested cell is a FormulaCell. + + Row index of the requested cell. + Column index of the requested cell. + String holding either the cell value or the computed formula value. + + + + Evaluates a parsed formula. + + A string holding a valid parsed formula. + The computed value of the formula. + The string passed into this function must be previously parsed + using ParseFormula. + + + + Compute the NestedIF formulas using the old code structure of CalcEngine. + + formula to execute / compute + + + + Compute the NestedIF formulas using new parse and compute technique. + + formula to execute / compute + + + + This method is used to retrieve the exact results from a cell reference based on the cell formula. + + This parameter represents the Parameter of IF formulas it can be either logical true or logical false. + This parameter represents the result of the IF formulas parameter. + Returns zero if the cell reference does not have any formula; otherwise, it returns the value of the formula in the cell reference. + + + + A method that computes a parsed formula. + + The parsed formula to be computed. + A string holding the computed value. + + + + This method retrieves the value in the requested cell reference using fresh computations + for any cells that affect the value of the requested cell. + + A cell reference like: Sheet5!B14 + A freshly computed value for the cell. + + + + PullUpdatedValue is a method used to recompute the cells that are referred to compute the requested value. + + Integer identifying the ICalcData object. + The row in the ICalcData object. + The column in the ICalcData object. + + + + A method that increases the calculation level of the CalcEngine. + + Every formula has a calculation ID level associated with it. Every time + a formula is retrieved, its calculation ID level is compared with the CalcEngine + ID level. If they do not agree, the formula is recomputed. Calling UpdateCalcID + will force any formula to be recomputed the next time it is retrieved. + + + + + Refresh is a method that recalculates any cell that depends upon the passed in cell. + + A cell such as A21 or EE31. + + + + Returns the amount received at maturity for a fully invested security. + + Number and the number of digits + Received amount + + + + Counts the nonblank cells in a field (column) of records in a list or database that match conditions that you specify. + + Number and the number of digits + Received amount + + + + Averages the values in a field (column) of records in a list or database that match conditions you specify. + + Number and the number of digits + Received amount + + + + Extracts a single value from a column of a list or database that matches conditions that you specify. + + Number and the number of digits + Received amount + + + + Returns the largest number in a field (column) of records in a list or database that matches conditions you that specify. + + Number and the number of digits + Received amount + + + + Returns the smallest number in a field (column) of records in a list or database that matches conditions that you specify. + + Number and the number of digits + Received amount + + + + Returns the smallest number in a field (column) of records in a list or database that matches conditions that you specify. + + Number and the number of digits + Received amount + + + + Estimates the variance of a population based on a sample by using the numbers in a field (column) of records in a list or database that match conditions that you specify. + + Number and the number of digits + Received amount + + + + Calculates the variance of a population based on the entire population by using the numbers in a field (column) of records in a list or database that match conditions that you specify. + + Number and the number of digits + Received amount + + + + Estimates the standard deviation of a population based on a sample by using the numbers in a field (column) of records in a list or database that match conditions that you specify. + + Number and the number of digits + Received amount + + + + Calculates the standard deviation of a population based on the entire population by using the numbers in a field (column) of records in a list or database that match conditions that you specify. + + Number and the number of digits + Received amount + + + + Adds the numbers in a field (column) of records in a list or database that match conditions that you specify + + Number and the number of digits + Received amount + + + + Used to get the data from arguments + + Arguments + + + + + This field is enable when the criteria is double. + + + + + Returns the archyperbolic cosecant of an angle. + + A cell reference or a cell or a number + A string containing the archyperbolic cosecant of an angle + + + + Returns the full product of two 32-bit numbers. + + The two 32 bit numbers. + A string containing the product of two 32 bit numbers. + + + + Calculates the quotient of two 64-bit signed integers and also returns the remainder in an output parameter. + + + returns the quotient of two 64-bit signed integers. + + + + Returns the remainder resulting from the division of a specified number by another specified number. + + contains a divisor and dividend + Returns the remainder. + + + + replaces part of a text string, based on the number of characters, with a different text string + + Text in which is want to replace, The position of the character in old_text., The number of characters in old_text + returns replaced text + + + + Returns the row index of the passed in cell reference. + + Contains zero or one argument. If no argument is passed, returns the row index of the + location of this Row function cell, otherwise returns the row index of the passed in cell reference. + The row index. + + This method doesn't return an array of row numbers as the array formula entry is not supported in engine. It is another usecase of this library function. + This method is deprecated. Please use the instead. + + + + + Returns the m parameter of the exponential curve y = b * m^x that best fits the given points. Only the first two Excel parameters are used. + + Y_range, x_range. + returns m parameter. + + + + Returns the b value from the exponential curve y = b * m^x. + + Y_range, x_range. + returns calculated b value. + + + + Returns the most recent points from an array (the points with the highest index values). + For functions with a decay factor, the weight on the last element in the array is the highest. + In many applications this corresponds with the assumption that the last element in the array represents the most recent data point. + + Array from which the data points will be selected. + The number of data points to be returned. + + + + + Returns the mean of an array. + + Array of data for which we are calculating the mean. For time series, the last element (index = n-1), is the most recent. + In most applications, the decay factor is between 0 and 1. Weigth on the last element in array is 1.0, the 2nd to last element d, 3rd to last d^2, ... + Window length. Method uses the most recent n points, n = length. + + + + Returns the weighted averages of the values in valueArray using the corresponding weights in weightArray. + + array of values for which we are computing the weighted average + array of weights used in computing the weighted average + + + + Returns the CDF of the uniform distribution. + + Value at which the distribution is evaluated. + Minimum value of the distribution. + Maximum value of the distribution. + + + + Returns the half-life of a geometric series of length n, who's first element is 1. + For decay factor d, 1 + d + d^2 + ... + d^(h-1) = 0.5 * [1 + d + d^2 + ... + d^(n-1)] + + Decay factor Typically between -1 adn +1. + Number of elements in the geometric series, must be positive. + + + + + Returns the sum of a geometric series of length n, who's first element is 1. + For decay factor d, S = 1 + d + d^2 + ... + d^(n-1) + + Decay factor Typically between -1 adn +1. + Number of elements in the geometric series, must be positive. + + + + + Returns the sum of an infinite geometric series who's first element is 1. + For decay factor d, S = 1 + d + d^2 + ... + + Decay factor. Typically between -1 adn +1. + + + + + Returns the sample covariance between two arrays. + Arrays should be of equal length, and contain more than one element. + + + + In most applications, the decay factor is between 0 and 1. Weigth on the last element in arrays is 1.0, the 2nd to last element d, 3rd to last d^2, ... + + + + Recalculates every cell that depends upon any cell in the passed-in range. + + For example, if range is RangeInfo(1,1,2,2), and cells (5,6) and + (12,17) hold formulas that reference the cells in the range, then cells (5,6) + and (12,17) will be re-computed as the result of this call. + RangeInfo object to be refreshed. + + + + Clears any variable names registered with the CalcEngine. + + + + + Registers a list of variable names so you can use it within formulas. + + List of names. + + + + Swaps variable names for tokens. + + The formula holding variable names. + The formula with tokens. + + + + Return the value of besseli1 + + value + + + + + Return the value of the besselk1 + + value + + + + + Return the value of besselk0 + + value + + + + + A method to get submatrix for matrix function used internally. + + double Array - Matrix + Matix rows + Columns + Matrix + + + + Return the value of between strings + + source string + start + end + + + + + Gets the text of any formula at the given row and column of the ICalcData object. + + The ICalcData object. + The one-based row in the grd object. + The one-based col in the grd object. + String containing the text of the formula. + If the data item at row and column is not a formula, the + return value is an empty string. + + + + Retrieves the current CalcEngine calculation level ID. + + Current calculation level ID. + + + + A method to reset the cached ICalcData object IDs. + + + + + Resets the internal sheet token marker to 0. + + + When RegisterGridAsSheet is called to add a ICalcData object to a CalcEngine, + this newly added sheet is associated with an integer used in tokenizing formulas. + This sheetID integer is required in the PullUpdatedValue method to specify the ICalcData + object being accessed. The GetSheetID method allows you to retrieve a sheetID given + an ICalcData object. This internal sheet token marker is a static member of CalcEngine, + and is incremented each time a new ICalcData object is registered with the CalcEngine + using RegisterGridAsSheet. + + + + + Return the value of HandleIteration + + value + formula + + + + + Adds a named range to the NamedRanges collection. + + The name of the range to be added. + The range to be added. + True if successfully added, otherwise False. + + The range should be a string such as A4:C8. + + + + + Removes a range from the NamedRanges collection. + + The name of the range to be removed. + True if successfully removed, otherwise False. + + + + Replaces NamedRanges with their values. + + + Accepts a string such as Sin(SumRange) and tokenizes it into + bqSIN[A1A4a]b which serves as input to ComputedValue. + + argList containing named ranges. + + + + Get the cell Range for table NameRange + + Formula or NamedRange + cell range string + + + + Get the first row Index of Cell Range + + Cell Range to find index + get the top row index + + + + This method is used to check the given text is Namedrange or not. + + Parsed string. + returns the CellRange value if the parsed text is NamedRange + + + + Below method used to intersect the NamedRanges when the parsed formula contains space. + + A string holding a valid parsed formula. + The intersected NamedRanges value. + If the namerange intersects, returns true, else false. + + + + Find the next table formula or table Range end index i.e last index of '[' + + formula to find index + location of start index to search the char '[' + locatio of end index + + + + Returns the number of days since 01 Jan 1900. + + Year, month, and day. + Number of days. + + + + Returns the number of days since 01 Jan 1900. + + Text containing a date. + Number of days. + + + + Returns the day of the serial number date. + + Serial number date. + Day of the given date. + + + + Number of days between 2 dates using 360 day year. + + Serial number date1, serial number date1 and method. + Days between the dates. + + + + returns the fraction of the year represented by the number of whole days between two given dates + + startDate, endDate, basis (optional) + returns the fraction of the year + + + + Returns the number of days between two dates. + + startDate, endDate + Returns the number of days + + + + returns the date of given date after the specific month + + startDate, months + returns the date + + + + Returns the last date of the date after the specific month of given date. + + startDate, month + return the date. + + + + Returns the week number of a specific date + + serial_number,start_day of week (optional) + 1 or omitted - Sunday + 2 Monday + 11 Monday + 12 Tuesday + 13 Wednesday + 14 Thursday + 15 Friday + 16 Saturday + 17 Sunday + 21 Monday + returns the week number + + + + Returns ISO week number of the year for a given date + + date + returns ISO week number + + + + returns the date of the given date after the number of working days + + startDate, days, holidays (optional) + returns the date + + + + Returns the value of ComputeNetworkDays + + arguments + + + + + Returns the number of whole workdays between two dates, week end and holidays are not consider as working days + + start_date, end_date,weekend (optional), holidays (optional) + return the work days + + + + Returns the serial number of the given date before or after a specified number of workdays + + startDate, days, weekend (optional) , holidays (optional) + return the serial number of specific date. + + + + Returns the hour of the given time. + + Given time. + Hour of given time. + + + + Returns the minute of the given time. + + Given time. + Minute of given time. + + + + Returns the second of the given time. + + Given time. + Second of given time. + + + + Returns the month of the given date. + + given time + Month of given date. + + + + Returns the current date and time as a date serial number. + + Parameter Ignored. + Current date and time as serial number. + + + + Returns the current date as a date serial number. + + Parameter Ignored. + Current date as date serial number. + + + + Returns a fraction of a day. + + Hour, minute, and second. + Fraction of a day. + + + + Returns a fraction of a day. + + Time as a text string. + Fraction of a day. + + + + Day of the week. + + Serial number date1 and return_type. + Days between the dates. + + + + Returns the year of the given date. + + Given date. + Month of given date. + + + + Returns the number of days or months or years between two dates. + + Start date, end date and unit. + The number of days, months, or years between two dates. + + + + Calculates the Output to the concerned base. + + Data to be converted. + Base of the Given Data + Base to be obtained. + The data concerning to the base in 'to' parameter + + + + Computes the Binary value for the given Decimal Number. + + Data to be converted. + Returns the calculated Binary value. + + + + Computes the Octal value for the given Decimal Number. + + data to be converted. + Returns the calculated Octal value. + + + + Computes the Hexadecimal value for the given Decimal Number. + + Data to be converted. + Returns the calculated Hexadecimal value. + + + + Computes the Octal Number for the given binary NUmber. + + Input BinaryNumber + The resultant Octal Number + + + + Computes the Decimal Number for the given binary NUmber. + + Input BinaryNumber + The resultant Decimal Number + + + + + + + + + + + Computes the Binary value for the given Hexadecimal Data. + + Data to be converted. + Returns the calculated Binary value. + + + + Computes the Octal Equivalent for the given Hexadecimal value + + Data to be converted. + The calculated Octal value for the given. + + + + Computes the Decimal Equivalent for the given Hexadecimal value + + Data to be converted. + The calculated Decimal value for the given. + + + + Computes the Binary value for the given Octal Number. + + Data to be converted. + Returns the calculated Binary value. + + + + Calculates the Hexadecimal equivalent value for the given Octal value + + Data to be converted. + The Converted Hexadecimal value. + + + + Computes the Decimal Equivalent for the given Octal value + + The Value to be converted to Decimal + The calculated value for the given + + + + Gets the Real part of the given Complex number. + + Given complex number. + Real part of the given complex Number. + + + + Gets the Imaginary part of the given Complex number. + + Given complex number. + Imaginary part of the given complex Number. + + + + Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format. + + Input Complex Number + The absolute value (modulus) of given complex number + + + + Computes the Product of the given Complex Numbers + + Input Complex Numbers + The multiplied result of the two complex numbers. + + + + Obtains the complex number for the given real and imaginary part. + + Given real and Imaginary part. + The complex number derived from the real and imaginary part. + + + + Computes the sum of two complex number. + + Parameter that is used for performing sum + The calculated sum of the numbers + + + + Computes the Difference of two complex number. + + Parameter that is used for performing Subtraction + The calculated difference of the numbers + + + + Returns the complex conjugate of a complex number in x + yi or x + yj text format. + + Input Complex Number + The complex conjugate of a complex number in x + yi or x + yj text format. + + + + Computes the Division of the given Complex Numbers + + Input Complex Numbers + The Divided result of the two complex numbers. + + + + Returns the Square Root of the given Complex Number. + + Input Complex Number + The Square Root of the given Complex Number. + + + + Returns the argument (theta), an angle expressed in radians + + Input Complex Number + The argument (theta), an angle expressed in radians + + + + Returns the IMSin of the given Complex Number. + + Input Complex Number + The IMSin of the given Complex Number. + + + + Returns the Hyperbolic Sine value of the given Complex Number. + + Input Complex Number + The Hyperbolic Sine Value of the given Complex Number. + + + + Returns the IMCSC of the given Complex Number. + + Input Complex Number + The IMCSC of the given Complex Number. + + + + Returns the IMCos of the given Complex Number. + + Input Complex Number + The IMCos of the given Complex Number. + + + + Returns the IMSEC of the given Complex Number. + + Input Complex Number + The IMSEC of the given Complex Number. + + + + Returns the IMTan of the given Complex Number. + + Input Complex Number + The IMTan of the given Complex Number. + + + + Returns the IMCot of the given Complex Number. + + Input Complex Number + The IMCot of the given Complex Number. + + + + Returns the IMCSCH of the given Complex Number. + + Input Complex Number + The IMCSCH of the given Complex Number. + + + + Returns the Hyperbolic Cos value of the given Complex Number. + + Input Complex Number + The Hyperbolic Cos Value of the given Complex Number. + + + + Returns the IMTanH of the given Complex Number. + + Input Complex Number + The IMTanH of the given Complex Number. + + + + Returns the IMCotH of the given Complex Number. + + Input Complex Number + The IMCotH of the given Complex Number. + + + + Returns the IMSecH of the given Complex Number. + + Input Complex Number + The IMSecH of the given Complex Number. + + + + Returns the LOG10 value of the given Complex Number. + + Input Complex Number + The Log10 of the given Complex Number. + + + + Returns the Log2 of the given Complex Number. + + Input Complex Number + The Log2 of the given Complex Number. + + + + Returns the LOG value of the given Complex Number. + + Input Complex Number + The Log of the given Complex Number. + + + + Returns the Exponent of the given Complex Number. + + Input Complex Number + The Exponent of the given Complex Number. + + + + Returns the power of the given Complex Number. + + Input Complex Number + The power of the given Complex Number. + + + + Computes the Difference of two complex number. + + Parameter that is used for performing Subtraction + The difference of two complex numbers in x + yi or x + yj text format. + + + + Computes the Bit OR of the given two numbers. + + Input Numbersfor which the OR operations has to be performed. + Bit OR value of the given two numbers. + + + + Computes the Bit XoR of the given two numbers. + + Input Numbersfor which the OR operations has to be performed. + Bit OR value of the given two numbers. + + + + Computes the Bit AND of the given two numbers. + + Input Numbersfor which the AND operations has to be performed. + Bit AND value of the given two numbers. + + + + Computes the Bit Left Shift of the given number. + + Input Numbersfor which the OR operations has to be performed. + Bit Left Shift value of the given number. + + + + Computes the Bit Right Shift of the given number. + + Input Numbersfor which the Bit Right Shift operations has to be performed. + Bit Right Shift value of the given number. + + + + Returns the error function . + + Input Number + The error function. + + + + Returns the Complement of error function . + + Input Number + The Complement of error function. + + + + Returns the error function . + + Input Number + The error function. + + + + Return the value of the ComputeBesselI + + arguments + + + + + Return the value of besseli0 + + value + + + + + Returns the BesselJ function of order n of the specified number. + + Input Number + The BesselJ of the Number. + + + + Returns the Bessel function of order 1 of the specified number. + + + + + + + Returns the Bessel function of order 0 of the specified number. + + + + + + + Returns the BesselY function of order n of the specified number. + + Input Number + The BesselY of the Number. + + + + Returns the Bessel function of the second kind, of order 0 of the specified number. + + + + + + + Returns the Bessel function of the second kind, of order 1 of the specified number. + + + + + + + Returns the value of ComputebesselK + + arguments list + + + + + Returns the value of ComputeConversion + + arguments list + + + + + Clears all look up caches used in HLookUp and VLookUp calculations so they will be recreated the + next time one of these functions is used. + + + + + Returns the value of Clearsheet + + Icalcdata + + + + Use this method to reset internal error strings if you make changes to . + + + + + This method used to find the sheet id of the parsed grid. + + Intsance of ICalcData + The sheet id of the grid + + + + Used to find the determinant internally for matrix function + + double array + array length + double value + + + + Returns the Probabilitydistribution of the normal distribution. + + Value at which the distribution is evaluated. + Mean of the distribution. + Standard deviation of the distribution. + + + + find the cofactor of matrix + + + array length + return the inverse matrix + return success state + + + + To find the inverse of matrix + + matrix + cofactor matrix + matrix length + Inveser matrix + Inverse Matrix + + + + Chi-squared probability density function. + + The value at which the PDF is evaluated. + Degress of freedom, or number independent standard normal distributions. + + + + + Returns the inverse of the CDF of the normal distribution. + + Cumulative probability of the distribution. 0 <= p >= 1. + Mean of the distribution. + Standard deviation of the distribution. + + + + Returns the inverse of the CDF of the standard normal distribution. + + Cumulative probability of the distribution. p is between 0 and 1. + + + + Computes the net present value an investment. + + Delimited string containing the rate as percentage per period + and a list of invested values. + Net present value. + + + + Computes the payment for a loan. + + Delimited string containing the rate as percentage per period, + number of periods, present value, future value, and payment type (0 = end of period, 1 = start of period). + Payment amount. + + + + Computes the principal payment for a period. + + Delimited string containing the rate as percentage per period, the period, + number of periods, present value, future value, and payment type (0 = end of period, 1 = start of period). + Principal payment. + + + + Computes the present value of an investment. + + Delimited string containing the rate as percentage per period, + number of periods, payment per period, future value, and payment type (0 = end of period, 1 = start of period). + Present value. + + + + Compute the effective annual interest rate. + + the nominal annual interest rate and the number of compounding periods per year + The effective annual interest rate. + + + + Computes the internal rate of return of a series of cash flows. + + Delimited string containing a range of cells and an initial guess. + Internal rate of return. + + This IRR calculation uses Newton's method to approximate a root of + f(r) = Sum( values[i]/(1+r)^i) = 0 + where the Sum index is i = 1 to the number of values. The algorithm returns a value if + the relative difference between root approximations is less than 1e-7. It fails if this + accuracy is not attained in 20 iterations. + + + + + Computes the straight-line depreciation of an asset per period. + + Delimited string containing the cost, + salvage value, and life. + Depreciation of the asset. + + + + Computes the sum of years digits depreciation of an asset per period. + + Delimited string containing the cost, + salvage value, life, and period. + Depreciation for the requested period. + + + + Computes the variable declining balance of an asset. + + Delimited string containing the initial cost, + salvage value, life of asset, period of calculation, and factor. + Variable declining balance. + + + + Converts a number to text using currency format. + + Number and the number of digits. + Currency format string. + + + + Converts a number to text using currency format. + + Number and the number of digits. + Currency format string. + + + + Returns the weighted average of the present value of the cash flows + + Number and the number of digits + Number of years + + + + Calculates the accrued interest of a security that pays interest at maturity. + + Number and the number of digits + Accrued interest + + + + Calculates the equivalent interest rate for the growth of an investment. + + Investment periods, present and future value of the investments. + Returns the equivalent interest. + + + + Returns the future value of an initial principal after applying a series of compound interest rates. + + Number and the number of digits + Number of future value + + + + Returns the interest rate for a fully invested security. + + Number and the number of digits + Rate of interest + + + + Returns the discount rate for a security. + + Number and the number of digits + Rate of Discount + + + + Computes the future value of an investment. + + Delimited string containing the rate as percentage per period, + number of periods, payment per period, present value, and payment type (0 = end of period, 1 = start of period). + Future value of the investment. + + + + Computes the interest payment for a period. + + Delimited string containing the rate as percentage per period, the period, + number of periods, present value, future value, and payment type (0 = end of period, 1 = start of period). + Interest payment. + + + + Computes the internal rate of return of a series of cash flows. + + Delimited string containing a range of cells and an initial guess. + Internal rate of return. + + This IRR calculation uses Newton's method to approximate a root of + f(r) = Sum( values[i]/(1+r)^i) = 0 + where the Sum index is i = 1 to the number of values. The algorithm returns a value if + the relative difference between root approximations is less than 1e-5. It fails if this + accuracy is not attained in 20 iterations. + + + + + Computes the internal rate of return for a schedule of possibly non-periodic cash flows. + + A list of two or three arguments. The first argument contains a range of cash flows, the second argument + contains a list of corresponding date serial number values, and the third argument contains an initial guess at the return value. + The internal rate of return. + The computation uses a root finding algorithm. If the algorithm does not converge to a result within 100 iterations, + an error is returned. The convergence requirement is an absolute error of 0.000001. The first date must be the earliest date, + and the dates must be date serial numbers. Also, there must be at least one positive cash flow and at least one negative cash + flow in the cash flow values. + + + + + Computes the extended internal rate of return for a schedule of possibly non-periodic cash flows. + + Which contains the non periodic cashflows. + Which contains the details about the investment days of non-periodic cash flows. + Which denotes the inital guess value. + + Returns the xiir calculation value. + + + + + Computes the extended internal rate of return for a schedule of possibly non-periodic cash flows. + + Which contains the non periodic cashflows. + Which contains the details about the investment days of non-periodic cash flows. + Which denotes the guess value. + + Returns the xiir calculation value. + + + + + Computes the Net Present Value for a schedule of possibly non-periodic cash flows. + + Which contains the non periodic cashflows. + Which contains the details about the investment days of non-periodic cash flows. + Which denotes the guess value. + + Returns the Net Present Value. + + + + + Computes the Net Present Dervative Value for a schedule of possibly non-periodic cash flows. + + Which contains the non periodic cashflows. + Which contains the details about the investment days of non-periodic cash flows. + Which denotes the guess value. + + Returns the Net Present Dervative Value. + + + + + Computes the simple interest payment. + + Delimited string containing the rate as percentage per period, the period, + number of periods, and present value. + Simple interest payment. + + + + Computes the modified internal rate of return of a series of cash flows. + + Delimited string containing a range of cells, + finance interest rate, and a reinvested interest rate. + Modified internal rate of return. + + + + Computes the number of periods an investment. + + Delimited string containing the rate as percentage per period, + payment per period, present value, future value, and payment type (0 = end of period, 1 = start of period). + Number of periods. + + + + Computes the declining balance of an asset. + + Delimited string containing the initial cost, + salvage value, life of asset, period of calculation, and months in the initial year. + Declining balance. + + + + Computes the double declining balance of an asset. + + Delimited string containing the initial cost, + salvage value, life of asset, period of calculation, and factor. + Double declining balance. + + + + Returns the cumulative interest paid for an investment period with a constant interest rate. + + Number and the number of digits + Number of interest rate + + + + Calculates the accrued interest of a security in the case of periodic payments. + + Number and the number of digits + Accrued interest + + + + Returns the cumulative principal paid for an investment period with a constant interest rate. + + Number and the number of digits + Cumulative principal value + + + + Returns the amount received at maturity for a fully invested security. + + Number and the number of digits + Received amount + + + + This function computes the nominal interest rate based on the effective annual interest rate and the number of compounding periods per year. + + + A comma-separated string containing two values. The format should be: effective_rate, npery. + + effective_rate: The effective annual interest rate as a decimal (e.g., 0.053543 for 5.3543%). + npery: The number of compounding periods per year as an integer (e.g., 4 for quarterly compounding). + + + + A string representing the nominal interest rate. If the input is invalid or cannot be parsed, an error message is returned. + + + The nominal interest rate is calculated using the formula: + + nominalRate = npery * (Math.Pow(1 + effectRate, 1.0 / npery) - 1) + + where effectRate is the effective annual interest rate and npery is the number of compounding periods per year. + The method checks that the effective annual interest rate is positive and that the number of compounding periods is at least 1. + If the inputs are invalid (e.g., non-numeric values, negative rates, or invalid period counts), an appropriate error message is returned. + + + + + This function calculates the Modified Duration (MDuration) of a security, similar to the MDuration function in Excel. + This measure indicates how sensitive the bond's price is to changes in interest rates, adjusted for the bond's yield and the frequency of its coupon payments. + + + A comma-separated string of arguments. The format should be: settlement_date, maturity_date, coupon_rate, yield_rate, frequency, [basis]. + + settlement_date: The date when the bond is purchased (format: DATE function or serial number). + maturity_date: The date when the bond matures (format: DATE function or serial number). + coupon_rate: The annual coupon rate of the bond as a decimal (e.g., 0.08 for 8%). + yield_rate: The annual yield of the bond as a decimal (e.g., 0.09 for 9%). + frequency: The number of coupon payments per year (e.g., 1 for annual, 2 for semiannual, 4 for quarterly). + basis: Optional. The day count basis to use (0 for US 30/360, 1 for Actual/Actual, 2 for Actual/360, 3 for Actual/365, 4 for European 30/360). + + + + A string representing the modified duration of the bond, rounded to a reasonable number of decimal places. + If any input is invalid (e.g., incorrect date format, negative rates, or invalid frequency), an error message is returned. + + + + + Calculates the modified duration of a bond given its parameters. + + The bond's settlement date. + The bond's maturity date. + The bond's annual coupon rate. + The bond's annual yield. + The number of coupon payments per year. + The day count basis for the bond's interest calculation. + The modified duration of the bond as a string. + + + + This function computes the number of periods required for an investment to reach a specified future value based on the given interest rate and present value. + + + A comma-separated string of arguments. The format should be: rate, present_value, future_value. + + rate: The interest rate per period as a decimal (e.g., 0.025 for 2.5%). + present_value: The current value of the investment. + future_value: The desired future value of the investment. + + + + A string representing the number of periods required to reach the future value, rounded to two decimal places. + If any input is invalid (e.g., negative values or non-numeric inputs), an error message is returned. + + + + + This function computes the next coupon date after the settlement date for a bond and returns the date as a serial date number. + + + A comma-separated string of arguments. The format should be: settlement_date, maturity_date, frequency, [basis]. + + settlement_date: The date when the bond is purchased (format: DATE function or serial number). + maturity_date: The date when the bond matures (format: DATE function or serial number). + frequency: The number of coupon payments per year (e.g., 1 for annual, 2 for semiannual, 4 for quarterly). + basis: Optional. The day count basis to use (0 for US 30/360, 1 for Actual/Actual, 2 for Actual/360, 3 for Actual/365, 4 for European 30/360). + + + + A string representing the next coupon date after the settlement date, formatted as a serial date number. + If any input is invalid (e.g., incorrect date format, invalid frequency, or if the settlement date is on or after the maturity date), an error message is returned. + + + + + Checks and parses the input arguments for COUP functions. + + A string containing the arguments: settlement date, maturity date, frequency, and optionally, the basis. + Outputs the parsed settlement date. + Outputs the parsed maturity date. + Outputs the parsed coupon payment monthBetweenCoupon + Outputs the parsed day count basis (0-4). + Returns an error message if arguments are invalid, otherwise an empty string. + + + + This function computes the previous coupon date before the settlement date for a bond and returns the date as a serial date number. + + + A comma-separated string of arguments. The format should be: settlement_date, maturity_date, frequency, [basis]. + + settlement_date: The date when the bond is purchased (format: DATE function or serial number). + maturity_date: The date when the bond matures (format: DATE function or serial number). + frequency: The number of coupon payments per year (e.g., 1 for annual, 2 for semiannual, 4 for quarterly). + basis: Optional. The day count basis to use (0 for US 30/360, 1 for Actual/Actual, 2 for Actual/360, 3 for Actual/365, 4 for European 30/360). + + + + A string representing the previous coupon date before the settlement date, formatted as a serial date number. + If any input is invalid (e.g., incorrect date format, invalid frequency, or if the settlement date is on or after the maturity date), an error message is returned. + + + + + This function computes the number of days from the beginning of the coupon period to the settlement date for a bond. + + + A comma-separated string of arguments. The format should be: settlement_date, maturity_date, frequency, [basis]. + + settlement_date: The date when the bond is purchased (format: DATE function or serial number). + maturity_date: The date when the bond matures (format: DATE function or serial number). + frequency: The number of coupon payments per year (e.g., 1 for annual, 2 for semiannual, 4 for quarterly). + basis: Optional. The day count basis to use (0 for US 30/360, 1 for Actual/Actual, 2 for Actual/360, 3 for Actual/365, 4 for European 30/360). + + + + A string representing the number of days from the beginning of the coupon period to the settlement date. + If any input is invalid (e.g., incorrect date format, invalid frequency, or if the settlement date is on or after the maturity date), an error message is returned. + + + + + Computes the number of days in the coupon period that contains the settlement date. + + The settlement date. + The maturity date. + The coupon frequency (1, 2, or 4). + The day count basis (0 to 4). + A string representing the number of days in the coupon period. + + + + Calculates the number of days between two dates based on the 30/360 day count convention. + + The start date. + The end date. + The day count basis: 0 for US (NASD) 30/360, 4 for European 30/360. + The number of days between the start and end dates, adjusted according to the specified 30/360 basis. + + + + This function computes the number of days from the settlement date to the next coupon date for a bond. + + + A comma-separated string of arguments. The format should be: settlement_date, maturity_date, frequency, [basis]. + + settlement_date: The date when the bond is purchased (format: DATE function or serial number). + maturity_date: The date when the bond matures (format: DATE function or serial number). + frequency: The number of coupon payments per year (e.g., 1 for annual, 2 for semiannual, 4 for quarterly). + basis: Optional. The day count basis to use (0 for US 30/360, 1 for Actual/Actual, 2 for Actual/360, 3 for Actual/365, 4 for European 30/360). + + + + A string representing the number of days from the settlement date to the next coupon date. + If any input is invalid (e.g., incorrect date format, invalid frequency, or if the settlement date is on or after the maturity date), an error message is returned. + + + + + This function calculates the total number of days in the coupon period that contains the settlement date for a bond. + + + A comma-separated string of arguments. The format should be: settlement_date, maturity_date, frequency, [basis]. + + settlement_date: The date when the bond is purchased (format: DATE function or serial number). + maturity_date: The date when the bond matures (format: DATE function or serial number). + frequency: The number of coupon payments per year (e.g., 1 for annual, 2 for semiannual, 4 for quarterly). + basis: Optional. The day count basis to use (0 for US 30/360, 1 for Actual/Actual, 2 for Actual/360, 3 for Actual/365, 4 for European 30/360). + + + + A string representing the total number of days in the coupon period that contains the settlement date. If any input + is invalid (e.g., incorrect date format, invalid frequency, or if the settlement date is on or after the maturity date), + an error message is returned. + + + + + This function calculates the number of coupons payable between the settlement date and the maturity date. + + + A string containing the input arguments separated by commas. The format should be: "settlement, maturity, frequency, [basis]" + + + settlement: The settlement date of the security, represented as a date string. + + + maturity: The maturity date of the security, represented as a date string. + + + frequency: The number of coupon payments per year (1 for annual, 2 for semi-annual, 4 for quarterly). + + + basis [optional]: The day count basis to use (0 = US (NASD) 30/360, 1 = Actual/actual, 2 = Actual/360, 3 = Actual/365, 4 = European 30/360). If omitted, the default is 0. + + + + + A string representing the number of coupons payable between the settlement date and maturity date, rounded up to the nearest whole coupon. + Returns an error message if the input arguments are invalid or if an error occurs during the calculation. + + + + + + Check and parse the input arguments for Treasury bill formula. + + + + + This function computes the linear depreciation (AMORLINC) for an asset over each accounting period. + + + A comma-separated string containing the input arguments in the following format: "cost, datePurchased, firstPeriod, salvage, period, rate, [basis]". + + + cost: The initial cost of the asset. + + + datePurchased: The date the asset was purchased, provided in "yyyy-MM-dd" format. + + + firstPeriod: The end date of the first depreciation period, provided in "yyyy-MM-dd" format. + + + salvage: The expected salvage value of the asset at the end of its useful life. + + + period: The total number of periods over which the asset will be depreciated. + + + rate: The depreciation rate applied for each period. + + + + basis [optional]: The day count basis to use + (0 = US (NASD) 30/360, + 1 = Actual/actual, + 2 = Actual/360, + 3 = Actual/365, + 4 = European 30/360). + If omitted, the default is 0. + + + + + + A string representing the calculated depreciation for the specified period. If the input parameters are invalid, an error message is returned. + + + + + + This function calculates the price discount of a security based on its settlement date, maturity date, discount rate, redemption value, and day count basis. + + + A comma-separated containing the input arguments in the format: "settlement, maturity, discount, redemption, [basis]" + + + settlement: The settlement date of the security, represented as a date string (yyyy-MM-dd) or serial number. + + + maturity: The maturity date of the security, represented as a date string (yyyy-MM-dd) or serial number. + + + discount: The discount rate of the security, represented as a decimal value (e.g., 0.05 for 5%). Must be greater than 0. + + + redemption: The redemption value of the security, represented as a decimal value. Must be greater than 0. + + + + basis [optional]: The day count basis to use + (0 = US (NASD) 30/360, + 1 = Actual/actual, + 2 = Actual/360, + 3 = Actual/365, + 4 = European 30/360). + If omitted, the default is 0. + + + + + + A string representing the calculated price discount. Returns an error message if the input arguments are invalid or if an error occurs during the calculation. + + + + + Parses and validates input arguments for both yield and price discount methods. + + Input arguments as a string. + Array of parsed argument values. + The settlement date of the security. + The maturity date of the security. + Price or discount value, depending on the calculation. + The redemption value of the security. + The day count basis to use. + Indicates whether the method is calculating yield (true) or price (false). + Returns an error string if any issues are encountered; otherwise, returns an empty string. + + + + Determine number of days between two dates based on the day count basis. + + + + + Get the year basis for day count. + + + + + This function calculates the price per $100 face value for a Treasury bill based on the settlement date, maturity date, and discount rate. + + + A comma-separated string containing the input arguments in the format: "settlement, maturity, discount". + + + + settlement: The Treasury bill's settlement date in "yyyy-MM-dd" format. + This is the date the T-bill is purchased. + + + + + maturity: The Treasury bill's maturity date in "yyyy-MM-dd" format. + This is the date the T-bill matures, and the face value is repaid. + + + + + discount: The T-bill's discount rate expressed as a percentage + (e.g., 5.5 for 5.5%). + + + + + + A string representing the calculated price per $100 face value for the Treasury bill + If input parameters are invalid or calculation errors occur, an error message will be returned. + + + + + This function calculates and returns the yield for a Treasury bill based on the settlement date, maturity date, and price per $100 face value. + + + A comma-separated string containing the input arguments in the format: "settlement, maturity, pr". + + + + settlement: The settlement date of the Treasury bill in "yyyy-MM-dd" format. + This is the date on which the T-bill is purchased by the buyer. + + + + + maturity: The maturity date of the Treasury bill in "yyyy-MM-dd" format. + This is the date on which the T-bill expires and its face value is paid to the holder. + + + + + pr: The price of the Treasury bill per $100 face value, represented as a numeric value. + + + + + + A string representing the calculated yield of the Treasury bill as a percentage. + If the input arguments are invalid or an error occurs during calculation, an appropriate error message is returned. + + + + + This function Computes and returns the price per $100 face value of a security that pays periodic interest. + + + A comma-separated string containing the numeric input values for which the price is to be calculated. + The format should be: "settlement, maturity, rate, yld, redemption, frequency, [basis]". + + + + settlement: The settlement date of the security in "yyyy-MM-dd" format. + This is the date after the issue date when the security is traded to the buyer. + + + + + maturity: The maturity date of the security in "yyyy-MM-dd" format. + This is the date on which the security expires, and its face value is paid to the holder. + + + + + rate: The annual coupon rate of the security, represented as a decimal value + (e.g., 0.05 for 5%). + + + + + yld: The annual yield of the security, represented as a decimal value + (e.g., 0.04 for 4%). + + + + + redemption: The redemption value of the security per $100 face value, typically + represented as 100 or another numeric value. + + + + + frequency: The number of coupon payments per year. Use: + + 1 for annual payments + 2 for semiannual payments + 4 for quarterly payments + + + + + + basis [optional]: The day-count basis to use for the calculation. Valid values are: + + 0 = US (NASD) 30/360 (default) + 1 = Actual/Actual + 2 = Actual/360 + 3 = Actual/365 + 4 = European 30/360 + + If omitted, the default is 0 (30/360). + + + + + + A string representing the price per $100 face value of a security that pays periodic interest. + If the input values are invalid or if an error occurs during the calculation, an appropriate + error message is returned. + + + + + Parses and validates input arguments for yield and price calculations. + Extracts dates, rates, and other parameters, ensuring they meet the required constraints. + Returns an error message string if validation fails, or an empty string upon success. + + Array of input argument strings. + Output: Annual coupon rate as a percentage. + Output: Price of the bond. + Output: Redemption value of the bond. + Output: Number of coupon payments per year (1, 2, or 4). + Output: Day count basis (0 to 4). + Output: Serial number representing the settlement date. + Output: Serial number representing the maturity date. + + An empty string if validation succeeds, or an error message string if it fails. + + + + + Calculates the price of a bond when the number of coupons is greater than one. + Incorporates periodic coupon payments, discounting, and redemption value. + + Number of days from the beginning of the coupon period to the settlement date. + Total number of days in the coupon period. + Annual coupon rate as a percentage. + Yield to maturity as a percentage. + Redemption value of the bond. + Number of coupon payments per year. + Number of remaining coupon payments. + The computed bond price. + + + + Computes the power of a number with optimization for near-integer exponents. + Reduces computation time by checking if the exponent is close to an integer. + + Base number. + Exponent value. + The computed power of the base number raised to the given exponent. + + + + This function calculates the yield of a security that pays periodic interest. + + + A comma-separated string containing the input arguments in the format: "settlement, maturity, rate, price, redemption, frequency, [basis]". + + + + settlement: The settlement date of the security, specified in "yyyy-MM-dd" format or as a serial number. This is the date when the security is traded to the buyer. + + + + + maturity: The maturity date of the security, specified in "yyyy-MM-dd" format or as a serial number. This is the date when the security expires, and its face value is paid to the holder. + + + + + rate: The annual coupon rate of the security, expressed as a decimal (e.g., 0.05 for 5%). + + + + + price: The price of the security per $100 face value, typically a numeric value. + + + + + redemption: The redemption value of the security per $100 face value, typically a numeric value. + + + + + frequency: The number of coupon payments per year. Acceptable values are: + + 1 for annual payments. + 2 for semi-annual payments. + 4 for quarterly payments. + + + + + + basis (optional): The day count basis used for the calculation. Defaults to 0 (NASD 30/360). Acceptable values are: + + 0: NASD 30/360. + 1: Actual/Actual. + 2: Actual/360. + 3: Actual/365. + 4: European 30/360. + + + + + + + A string representing the calculated yield of the security as a percentage. If the input parameters are invalid, an error message is returned. + + + + + Calculates the yield for a bond with less than one coupon payment remaining. + + The calculated yield. + + + + Estimates the yield of a security using an iterative approach for cases with more than one coupon payment. + + + + + This function calculates the annual yield of a security that pays interest at maturity based on its settlement date, maturity date, issue date, coupon rate, price, and day count basis. + + + A comma-separated string containing the input arguments in the following format: "settlement, maturity, issue, rate, price, [basis]". + + + + settlement: The settlement date of the security, specified in "yyyy-MM-dd" format or as a serial number. This is the date when the security is traded to the buyer. + + + + + maturity: The maturity date of the security, specified in "yyyy-MM-dd" format or as a serial number. This is the date when the security expires, and its face value is paid to the holder. + + + + issue: The issue date of the security, specified in "yyyy-MM-dd" format or as a serial number. This is the date when the security is first issued. + + + rate: The annual coupon rate of the security, represented as a decimal value (e.g., 0.05 for 5%).This value must be greater than 0. + + + price: The price of the security per $100 face value. This value must be greater than 0. + + + + basis [optional]: The day count basis to use for the calculation. Defaults to 0 (US NASD 30/360) if omitted. Acceptable values are: + (0 = US (NASD) 30/360, + 1 = Actual/actual, + 2 = Actual/360, + 3 = Actual/365, + 4 = European 30/360). + + + + + + A string representing the calculated yield value at the maturity date. If the input arguments are invalid, an error message is returned. + + + + + This method parses the input arguments for YIELDMAT and PRICEMAT functions and extracts the required values. + + Returns an error string if validation fails, or an empty string if successful. + + + + Calculates the price of a security that pays interest at maturity, based on its settlement date, maturity date, issue date, coupon rate, yield, and day count basis. + + + A comma-separated string containing the input arguments in the following format: "settlement, maturity, issue, rate, yield, [basis]". + + + + settlement: The settlement date of the security. + This is the date when the security is traded to the buyer. + It should be provided as a date string in "yyyy-MM-dd" format or as a serial number. + + + + + maturity: The maturity date of the security. + This is the date when the security expires, and its face value is paid to the holder. + It should be provided as a date string in "yyyy-MM-dd" format or as a serial number. + + + + + issue: The issue date of the security. + This is the date when the security was first issued. + It should be provided as a date string in "yyyy-MM-dd" format or as a serial number. + + + + + rate: The annual coupon rate of the security, represented as a decimal value (e.g., 0.05 for 5%). + This value must be greater than 0. + + + + + yield: The annual yield of the security, represented as a decimal value (e.g., 0.06 for 6%). + This value must be greater than 0. + + + + + basis [optional]: The day count basis to use for the calculation. + Defaults to 0 (US NASD 30/360) if omitted. + Acceptable values are: + + 0 = US (NASD) 30/360 + 1 = Actual/actual + 2 = Actual/360 + 3 = Actual/365 + 4 = European 30/360 + + + + + + + A string representing the calculated price of the security. + If the input arguments are invalid, an error message is returned. + + + + + This function calculates the yield discount of a security based on its settlement date, maturity date, price, redemption value, and day count basis. + + + A comma-separated string containing the input arguments in the following format: "settlement, maturity, price, redemption, [basis]". + + + + settlement: The settlement date of the security. + This is the date when the security is traded to the buyer. + It should be provided as a date string in "yyyy-MM-dd" format or as a serial number. + + + + + maturity: The maturity date of the security. + This is the date when the security expires, and its face value is paid to the holder. + It should be provided as a date string in "yyyy-MM-dd" format or as a serial number. + + + + + price: The price of the security, represented as a decimal value per $100 face value. + This value must be greater than 0. + + + + + redemption: The redemption value of the security, represented as a decimal value per $100 face value. + This value must be greater than 0. + + + + + basis [optional]: The day count basis to use for the calculation. + Defaults to 0 (US NASD 30/360) if omitted. + Acceptable values are: + + 0 = US (NASD) 30/360 + 1 = Actual/actual + 2 = Actual/360 + 3 = Actual/365 + 4 = European 30/360 + + + + + + + A string representing the calculated annual yield discount. If the input arguments are invalid, an error message is returned. + + + + + This function calculates the Net Present Value (NPV) of a series of cash flows occurring at irregular intervals using a specified discount rate. + + + A comma-separated string of arguments in the format: rate, values, dates. + + + rate: The discount rate applied to the cash flows.It is used to discount future cash flows to their present value. + + + + values: A series of cash flow amounts corresponding to the payment dates. + The first payment is optional and typically represents a cost or initial investment, and should be negative if it is a payment. + All subsequent payments are discounted based on a 365-day year. + The series must include at least one positive value (income) and one negative value (expense). + + + + + dates: A series of dates corresponding to the cash flow payments. + The first date represents the starting point of the cash flow schedule.Subsequent dates must occur after the first date, although they can be in any order.. + + + + + + Returns the calculated Net Present Value (NPV) as a string based on the provided discount rate, cash flows, and payment dates. + If an error occurs, such as invalid input format or mismatched values and dates, an error message is returned. + + + + + This method compute and return the Values and Dates array.If error string finds retrun error string. + + + + + Computes and populates a values array based on the provided input string. + If an error is encountered during processing, an error string is returned. + + + The input string to be processed. + + + A reference to a list where valid numeric values will be added. + + + A reference to a string where the error message will be set if the input string is invalid. + + + + + Computes and populates a values array based on the provided input string. + If an error is encountered during processing, an error string is returned. + + + The input string to be processed. + + + A reference to a list where valid numeric values will be added. + + + A reference to a string where the error message will be set if the input string is invalid. + + + + + This function calculates the price per $100 face value of a security that has an odd (short or long) last coupon period. + + + A comma-separated string containing the input arguments in the format: + "settlement, maturity, issue, rate, yld, redemption, frequency, [basis]". + + + + settlement: The settlement date of the security, specified in "yyyy-MM-dd" format or as a serial number. + This is the date the buyer purchases the security. + + + + + maturity: The maturity date of the security, specified in "yyyy-MM-dd" format or as a serial number. + This is the date the security expires. + + + + + last_interest: The security's last coupon date, specified in "yyyy-MM-dd" format or as a serial number. + This is the date of the most recent coupon payment prior to the settlement date. + + + + + rate: The annual coupon rate of the security, expressed as a percentage (e.g., 5% is represented as 5.0). + + + + + yld: The annual yield of the security, expressed as a percentage (e.g., 5% is represented as 5.0). + + + + + redemption: The redemption value of the security per $100 face value. + Typically, this is 100 if the security is redeemed at par. + + + + + frequency: The number of coupon payments per year. Valid values are: + + 1: Annual payments. + 2: Semi-annual payments. + 4: Quarterly payments. + + + + + + basis (optional): The day count basis for the calculation. Defaults to 0 (NASD 30/360). Valid values are: + + 0: NASD 30/360. + 1: Actual/Actual. + 2: Actual/360. + 3: Actual/365. + 4: European 30/360. + + + + + + + A string representing the calculated price of the security with an odd last period. + Returns an error message if the input parameters are invalid or if validation fails. + + + + + Parses and validates input arguments for the ODDLPRICE and ODDLYIELD functions. + + A string containing the input arguments for ODDLPRICE or ODDLYIELD. + Returns an error message if validation fails, or an empty string if successful. + + + + Calculates the non-negative day difference between two dates using a day count basis, with additional logic for day count convention. + + The positive difference in days between start and end dates as a double. + + + + Calculates the non-negative difference in days between two dates based on the specified day count basis. + + The positive difference in days between start and end dates as a double. + + + + This function calculates the yield of a security with an odd (short or long) last coupon period. + + + A comma-separated string containing the input arguments in the format: + "settlement, maturity, issue, rate, yld, redemption, frequency, [basis]". + + + + settlement: The settlement date of the security, specified in "yyyy-MM-dd" format or as a serial number. + This is the date the buyer purchases the security. + + + + + maturity: The maturity date of the security, sepcified in "yyyy-MM-dd" format or as a serial number. + This is the date the security expires. + + + + + issue: The issue date of the security, sepcified in "yyyy-MM-dd" format or as a serial number. + This is the date the security was originally issued. + + + + + rate: The annual coupon rate of the security, expressed as a percentage (e.g., 5% is represented as 5.0). + + + + + pr: The price of the security per $100 face value, expressed as a percentage (e.g., a price of $95 is represented as 95.0). + + + + + redemption: The redemption value of the security per $100 face value. + Typically, this is 100 if the security is redeemed at par. + + + + + frequency: The number of coupon payments per year. Valid values are: + + 1: Annual payments. + 2: Semi-annual payments. + 4: Quarterly payments. + + + + + + basis (optional): The day count basis for the calculation. Defaults to 0 (NASD 30/360). Valid values are: + + 0: NASD 30/360. + 1: Actual/Actual. + 2: Actual/360. + 3: Actual/365. + 4: European 30/360. + + + + + + + A string representing the computed yield of the security with an odd last period. + Returns an error message if the input parameters are invalid or if validation fails. + + + + + This function calculates the depreciation for an asset using the AMORDEGRC method, an accelerated depreciation approach. + The method applies a declining balance approach where the depreciation rate increases based on the asset's lifespan. + + + A comma-separated string containing the input arguments in the format: "cost, purchaseDate, firstPeriodEndDate, salvageValue, period, rate, [basis], [lifetime]". + + + + cost: The initial cost of the asset. + + + + + purchaseDate: The date of purchase, sepcified in "yyyy-MM-dd" format or as a serial number. + + + + + firstPeriodEndDate: The end date of the first period, sepcified in "yyyy-MM-dd" format or as a serial number. + + + + + salvageValue: The salvage value of the asset at the end of its useful life. + + + + + period: The period for which depreciation is to be calculated (e.g., the number of years). + + + + + rate: The depreciation rate of the asset. + + + + + basis (optional): The day count basis to use for the calculation. Defaults to 0 (NASD 30/360). Acceptable values are: + + 0: NASD 30/360. + 1: Actual/Actual. + 2: Actual/360. + 3: Actual/365. + 4: European 30/360. + + + + + + lifetime (optional): The total lifetime of the asset in periods. If omitted, it defaults to the standard asset lifetime. + + + + + + A formatted string containing the calculated depreciation value for the specified period. If the input parameters are invalid, an error message is returned. + + + + + Performs the AMORDEGRC depreciation calculation for an asset based on cost, dates, salvage value, depreciation period, and rate. + + String representation of the calculated depreciation amount. + + + + Determines the depreciation coefficient based on the asset's lifetime. + + Depreciation coefficient as a multiplier (1.0, 1.5, 2.0, or 2.5). + + + + Adjusts the date to ensure proper handling of the first period depreciation based on the day count basis. + + The adjusted date. + + + + Calculates the AMORDEGRC depreciation for a given period. + + The depreciation value for the specified period. + + + + This function calculates the price per $100 face value of a security with an odd first period + + + A comma-separated string containing the input arguments in the format: + "settlement, maturity, issue, first_coupon, rate, yld, redemption, frequency, [basis]". + + + + settlement: The settlement date of the security, in "yyyy-MM-dd" format or as a serial number. + + + + + maturity: The maturity date of the security, in "yyyy-MM-dd" format or as a serial number. + + + + + issue: The issue date of the security, in "yyyy-MM-dd" format or as a serial number. + + + + + first_coupon: The date of the first coupon payment, in "yyyy-MM-dd" format or as a serial number. + + + + + rate: The annual coupon rate of the security. + + + + + yld: The annual yield of the security. + + + + + redemption: The redemption value of the security per $100 face value. + + + + + frequency: The number of coupon payments per year. Acceptable values are: + + 1 for annual payments. + 2 for semi-annual payments. + 4 for quarterly payments. + + + + + + basis (optional): The day count basis to use for the calculation. Defaults to 0 (NASD 30/360). Acceptable values are: + + 0: NASD 30/360. + 1: Actual/Actual. + 2: Actual/360. + 3: Actual/365. + 4: European 30/360. + + + + + + + A formatted string of the calculated price of the security with an odd first period. If the input parameters are invalid, an error message is returned. + + + + + Parses and validates input arguments for the ODDFPRICE and ODDFYIELD formulae. + + + + + Calculates the odd first coupon price for a bond based on the given parameters. + + + + + Calculates the adjustment factors for the odd first coupon period in a bond price calculation. + + A function that calculates cumulative adjustment values for principal and interest components. + + + + Aggregates values over a specified range, applying a collector function to accumulate results. + + An array containing the accumulated results. + + + + Calculates an aggregated result by applying a specified function to a range of integers, + accumulating the result as a double value. The function iterates from the specified start to end values, + using a seed value as the initial result and aggregating using the provided collector function. + + The final accumulated result as a double after applying the collector function across the specified range. + + + + Generates a sequence of integers between a specified start and end, inclusive. + + An IEnumerable containing integers from start to end. + + + + Calculates the number of coupon periods between two dates based on the specified interval in months. + + The number of coupon periods between startDate and endDate. + + + + This function calculates the yield of a security that has an odd (short or long) first period. + + + A comma-separated string containing the input arguments in the format: "settlement, maturity, issue, first_coupon, rate, yld, redemption, frequency, [basis]". + + + + settlement: The settlement date of the security, in the provided format "yyyy-MM-dd" or as a serial number. + + + + + maturity: The maturity date of the security, in the provided format "yyyy-MM-dd" or as a serial number. + + + + + issue: The issue date of the security, in the provided format "yyyy-MM-dd" or as a serial number. + + + + + first_coupon: The date of the first coupon payment, in the provided format "yyyy-MM-dd" or as a serial number. + + + + + rate: The annual coupon rate of the security. + + + + + pr: The annual price of the security. + + + + + redemption: The redemption value of the security per $100 face value. + + + + + frequency: The number of coupon payments per year. Acceptable values are: + + 1 for annual payments. + 2 for semi-annual payments. + 4 for quarterly payments. + + + + + + basis (optional): The day count basis to use for the calculation. Defaults to 0 (NASD 30/360). Acceptable values are: + + 0: NASD 30/360. + 1: Actual/Actual. + 2: Actual/360. + 3: Actual/365. + 4: European 30/360. + + + + + + + A formatted string of the calculated yield of the security with an odd first period. If the input parameters are invalid, an error message is returned. + + + + + Finds the root of a function using a combination of Newton's and Bisection methods. + + + + + Determines bounds that contain a root of the given function by expanding outward from an initial guess. + + + + + this function used to obtain the address of a cell in a worksheet, given specified row and column numbers + + The argList contain the row and column postion and type of reference + Address of the given row and column + + + + Return the information about cell + + content, reference + Cell information + + + + Returns the current operation environment information + + Type + environment information + + + + Returns the interger value for the datatype of given text + + text + integer value + + + + Return the value of ComputeIsFormula + + arguments + + + + + Returns a horizontal table look up value. + + Contains search value, table, return index and match properties. + Matching value found in the table. + For example, =HLOOKUP("Axles",A1:C4,2,TRUE) looks for the exact + match for Axles in A1:C1 and returns the corresponding value in A2:C2. + + + + + Finds the index a specified value in a lookup_range. + + look_value, lookup_range, match_type + The relative index of the lookup_value in the lookup_range. + + Lookup_range should be a either a single row range or a single column range. + If match_type is 0, the relative index of the first exact match (ignoring case) + in the specified range is returned. If match_type is 1, the values in the range + should be in ascending order, and the index of the largest value less than or + equal to the lookup_value is returned. If match_type is -1, the values in the range + should be in descending order, and the index of the smallest value greater than or + equal to the lookup_value is returned. + + + + + Below method is used to returns the cellrange while the lookup vector is cellrange and result vector is cell(eg:=LOOKUP(2,D7:I7,A1)). + + lookup vectors value. + result vectors value. + The default value is false.True when the resultant vector range from GetResultRange is modified. + Returns the cellrange of result vector. + + + + Calculate multiple range lookup with logical operators and retruns calculated lookup range. + + + Calculated lookup range + + + + Returns a value from result table either from a one-row or one-column range or from an array + + Lookup Value, lookup range, result range + Matching value found in the table + + + + To get the result value of lookup formula. + + ResultVector cell range. + lookup value + Set to true if the resultant vector range from is modified or not. + column index. + lookup arguments list. + lookup vector list + Returns the result value of lookup formula. + + + + Returns true Matching value found in the lookup otherwise false. + + >Contains search value + The value you want to look up. + + + + + Returns a vertical table look up value. + + Contains search value, table, return index and match properties. + Matching value found in the table. + For example, =VLOOKUP("Axles",A1:C4,2,TRUE) looks for the exact + match for Axles in A1:A4 and returns the corresponding value in B1:B4. + + + + + Returns the left so many characters in the given string. + + Contains the string and the number of characters. + A left sub string.. + + + + Returns the length of the given string. + + Contains the string. + An integer length. + + + + Returns a substring of the given string. + + Contains the original string, start position of the substring, + and the number of characters in the substring. + A substring. + + + + Returns the right so many characters in the given string. + + Contains the string and the number of characters. + A right substring. + + + + Returns True if the ParseArgumentSeparator character is included in a string. + + The string to be searched. + True or False. + + + + Returns an array of strings from an argument list. + + A delimited argument list. + Array of strings from an argument list. + + + + Returns a single character string. + + List of strings to be concatenated. + A single string. + + + + Returns the reference specified by a text string. References are immediately evaluated to display their contents. + Syntax: INDIRECT(CellRefString, [IsA1Style]) + + Cell reference string. + Cell reference. + + + + Replaces the old text with new in text based on matching. + + Text to be changed. + Text to replace. + Text to be replaced with old_text + The instance to replace + + + + + In a given string, this method substitutes an occurrence of one string with another string. + + A list of 3 or 4 arguments: the original string, the search string, the + replacement string, and optionally, an integer representing the occurrence to be replaced. + + The modified string. + + + + Returns a quoted string from a date or number. + + Value to be converted to a string. + Quoted string. + + + + Returns a number. + + A date or number string. + A number in the given string. + + + + Returns the remainder after dividing one number by another. + + Two numbers in a list. + The remainder. + + + + Truncates a number to an integer. + + Value and number of digits. + Truncated value. + + + + To Peroform arithmetic operations of range. + + + + + To Peroform SumProduct default arithmetic operations. + + values of Array + Sum of the products. + + + + Returns the sum of the products of corresponding values. + + Two cell ranges. + Sum of the products. + + + + Converts a number to text using currency format. + + Number and the number of digits. + Currency format string. + + + + Rounds a number to the specified number of decimals, formats the number + in decimal format using a period and commas, and return the result as text. + + + Number, number of digits, a flag that prevents from include + commas in the returned text. + + Formatted number as string. + + + + Returns the value at the specified index from a list of values. + + A string of the form "Index, Value1, Value2,..." in which the term 'Index' denotes the index of the value to be retrieved. + The selected value. + + + + Converts text to lowercase. + + Value to convert. + Converted string. + + + + Converts text to uppercase. + + Value to convert. + Converted string. + + + + Returns the string or text referred by the given value. + + value to find the referred text - Required + Returns the referred text + + + + Returns the column index of the passed in cell reference. + + Contains zero or one argument. If no argument is passed, returns the column index of the + location of this Column function call, otherwise returns the column index of the passed in cell reference. + The column index. + + + + Returns the row index of the passed in cell reference. + + Contains zero or one argument. If no argument is passed, returns the row index of the + location of this Row function cell, otherwise returns the row index of the passed in cell reference. + The row index. + + This method doesn't return an array of row numbers as the array formula entry is not supported in engine. It is another usecase of this library function. + + + + + Returns a number converted from the provided value. + + Value to be converted. + A number in string format or an error string. + + + + Returns the error value(#N/A). Used internally. + + empty string. + error value. + + + + Returns the error value (#N/A - value not available). + + error value. + + + + Returns a number corresponding to the predefined error values(#NULL!, #VALUE!, #REF!, #NAME?, #NUM!, #N/A, "#GETTING_DATA). Returns #N/A if not or any value enclosed within double quotes. + + + + + Removes all leading and trailing white-space characters. + + Value to trim. + + The string that remains after all leading and trailing white-space characters + were removed. + + + + + Determines whether the value is a logical value. + + Value to be tested. + True if the value is a logical value, False otherwise. + + + + Determines whether the value is the #NA error value. + + Value to be tested. + True if the value is the #NA error value, False otherwise. + + + + Returns True is the string denotes an error except #N/A. + + Value to be tested. + True if the value is an error except #N/A, false otherwise. + + + + Determines whether the value is empty string. + + Value to be tested. + True if the value is empty, False otherwise. + + + + Determines whether the value is string or not. + + Value to be tested. + True if the value is a string, false otherwise. + + + + Determines whether the value is not a string. + + Value to be tested. + True if the value is not a string, false otherwise. + + + + Returns True is the string denotes an error. + + String to be tested. + True if the value is an error. + + + + Checks whether the value is a reference or not. + + value or reference + TRUE or FALSE + + + + Returns the And of all values treated as logical values listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. Each item in the list is considered True if it is nonzero + and False if it is zero. + A string holding the And of all values listed in the argument. + + + + Returns the inclusive Or of all values treated as logical values listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. Each item in the list is considered True if it is nonzero + and False if it is zero. + A string holding the Or of all values listed in the argument. + + + + Flips the logical value represented by the argument. + + + The argument is + treated as a logical expression with a non-zero value considered True and a zero value considered False. + + A string holding either a single argument consisting of a + cell reference, formula, or number. + + Returns 0 if the argument evaluates to a non-zero value. Otherwise, it returns 1. + + + + Returns a range that is the offset of the reference range by rows and cols. + + reference, rows, cols, [height], [width] + A range offset. + The returned range is the range passed in through the reference variable offset + by the number of rows in the rows variable and number of columns in the cols variable. If height and + width are present in the argument list, they determine the number of rows and columns + in the returned range. Otherwise, the dimensions of the returned range match the input range. + + + + + Returns the logical value True. + + Empty string. + Logical True value string. + + + + Returns the logical value False. + + Empty string. + Logical False value string. + + + + Returns the exclusive OR of all values treated as logical values listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. Each item in the list is considered True if it is nonzero + and False if it is zero. + A string holding the exclusive OR of all values listed in the argument. + + + + Returns a value you specify if a formula evaluates to #N/A + otherwise, returns the result of the formula. + + String to be tested. + Returns the computed value. + + + + Computes angle whose cosine is the argument. + + A cell reference, formula, or number. + A string holding an angle whose cosine is the argument. + + + + Returns the Arabic value of Raman numeric + + + + + + + Returns the area of the passed in cell reference range + + Contains one argument - reference + area of the passed in cell reference. + + + + Computes angle whose sine is the argument. + + A cell reference, formula, or number. + A string holding an angle whose sine is the argument. + + + + The inverse of Sinh. + + The given value. + Result of ASinh(value). + + + + Computes angle whose tangent is the argument. + + A cell reference, formula, or number. + A string holding the tangent of the argument. + + + + The ArcTangent of the x and y values. + + x_value and y_value. + Angle whose tangent is y_value/x_value. + + + + The inverse of Tanh. + + |Value| < 1. + Result of ATanh(value). + + + + Computes the smallest whole number greater than or equal to the argument. + + A cell reference, formula, or number. + A string holding the smallest whole number greater than or equal to the argument. + + + + Returns the RoundUp of the given number to the given significance + + Number, significance, mode + RoundUp number + + + + Returns the number of columns of the passed in cell reference. + + Contains one argument - reference + number of columns. + + + + The number of combinations of a given number of items. + + Number, number_items. + The number of combinations. + + + + Returns the value of ComputeCombinA + + arguments + + + + + Computes the natural logarithm of the value in the argument. + + A cell reference, formula, or number. + A string holding the natural logarithm of the value in the argument. + + + + Computes the base 10 logarithm of the value in the argument. + + A cell reference, formula, or number. + A string holding the base 10 logarithm of the value in the argument. + + + + Computes e raised to the value of the argument. + + A cell reference, formula, or number. + A string holding the e raised to the value of the argument. + + + + Returns the square root of product of given number with PI. + + Number + Sqrtpi value of given number + + + + Computes the square root of the argument. + + A cell reference, formula, or number. + A string holding the square root of the argument. + + + + Computes the absolute value of the argument. + + A cell reference, formula, or number. + A string holding the absolute value of the argument. + + + + Computes the cosine of the argument. + + A cell reference, formula, or number. + A string holding the cosine of the argument. + + + + The inverse of Cosh. + + Value >= 1. + Result of ACosh(value). + + + + Returns an evenly distributed random number >= 0 and < 1. + + Ignored. Can be empty. + + A string holding the random number. + + + + + Computes the tangent the argument. + + A cell reference, formula, or number. + A string holding the tangent of the argument. + + + + Computes the hyperbolic tangent of the argument. + + A cell reference, formula, or number. + A string holding the hyperbolic tangent of the argument. + + + + Checks if value of S mets the Criteria or Not. + + Operator + Cell + The String value to be compared + True if Value of S equals Criteria Otherwise False + + + + Checks if value of S mets the Criteria or Not. + + Operator + Cell + The double value to be compare + True if Value of S mets Criteria Otherwise returns False + + + + Sums the cells specified by some criteria. + + The criteria range, the criteria, and the sum range. + A string holding the sum. + + + + Below method used to find the row,col index when the start row or start column is -1. + + Start row of the range. + End row of the range. + Start column of the range. + End column of the range. + + + + Used to compute the value + + arguments + + + + + Returns the arccotangent of a number. + + A cell reference or number + A string containing the arccotangent of a number + + + + Returns the hyperbolic arccotangent of a number. + + A cell reference or number + A string containing the hyperbolic arccotangent of a number + + + + Returns the archyperbolic secant of an angle. + + A cell reference or a number + A string containing the archyperbolic secant of an angle + + + + Retuns the number into text for the given radix base + + + + + + + Computes the hyperbolic cosine of the argument. + + A cell reference, formula, or number. + A string holding the hyperbolic cosine of the argument. + + + + Returns the hyperbolic cosine of a number. + + A cell reference or a number + A string containing the hyperbolic cosine of a number + + + + Returns the cotangent of an angle. + + A cell reference or a number + A string containing the cotangent of an angle + + + + Returns the cosecant of an angle + + a cell reference or number + A string containing the cosecant of an angle + + + + Returns the hyperbolic cosecant of an angle. + + + A string containing the hyperbolic cosecant of an angle + + + + Returns the decimal number of the given text to the given base. + + text,base + Decimal number. + + + + Converts radians into degrees. + + Value in radians. + Degrees for the given radians. + + + + Rounds up to larger in magnitude even number. + + Number to be rounded. + Rounded even value. + + + + Factorial of a given number. + + The given value, x. + Factorial of x. + + + + Returns the Double factorial value for given number. + + number to find FactDouble + FactDouble of given number. + + + + Computes the largest whole number less than or equal to the argument. + + A cell reference, formula, or number. + A string holding the largest whole number less than or equal to the argument. + + + + Returns the Calculated Floor value for the given Input. + + + + + + Return the value of ComputeFormulaText + + arguments + + + + + Returns the largest integer that divide the given numbers without any reminders. + + number1,number2,... + Returns the GCD value of given arguments + + + + Create a shortcut for the link / path + + link,name + shortcut name + + + + Returns the integer value. + + Number to be truncated. + An integer. + + + + Determines whether the value is even or not. + + Value to be tested. + True, if the value is even, false otherwise. + + + + Determines whether the string contains a number or not. + + String to be tested. + True if the string is a number. + + + + Determines whether the value is odd or not. + + Value to be tested. + True, if the value is odd, false otherwise. + + + + returns the smallest positive integer that is a multiple of all given values. + + Number1,Number2,... + The LCM value of given aruments + + + + Computes the natural logarithm of the value in the argument. + + A cell reference, formula, or number. + A string holding the natural logarithm of the value in the argument. + + + + Returns the number of columns of the passed in cell reference. + + Contains one argument - reference + number of columns. + + + + Returns the Inverse of Matrix. + + Matrix + Inverse matrix + + + + Returns the number of columns of the passed in cell reference. + + Contains one argument - reference + number of columns. + + + + Returns the number of columns of the passed in cell reference. + + Contains one argument - reference + number of columns. + + + + Determines the number rounded to the given multiple. + + Number, Multible both are required + Mround value of given number + + + + Determines the Multinominal value of given range of numbers. + + Given numbers + Multinominal value of given range of numbers. + + + + Returns the number of columns of the passed in cell reference. + + Contains one argument - reference + number of columns. + + + + Rounds up to larger in magnitude odd number. + + Number to be rounded. + Rounded odd value. + + + + Returns the number pi. + + Ignored. Can be empty. + A string holding the number pi. + + + + Returns a specified number raised to the specified power. + + String containing two parameters separated by commas: + the first being base number, + the second being the exponent. + A string holding the value of the base number raised to the exponent. + + + + Returns the product of the arguments in the list. + + List of arguments. + Product of the arguments. + + + + Returns the integer portion of division function. + + numerator, denominator to find the quotient + returns integer value. + + + + Converts degrees into radians. + + Value in degrees. + Radians for the given degrees. + + + + Returns the arabic numeral to roman in TEXT format + + Number, Form for style of roman text. + 0 or omitted Classic. + 1 More concise. + 2 More concise. + 3 More concise. + 4 Simplified. + TRUE Classic. + FALSE Simplified. + + Retuns the Roman string of given numeric value based on the style form + + + + Rounds a number to a specified number of digits. + + Number and number of digits. + Rounded number. + + + + Rounds a number to a specified number of digits. + + Number and number of digits. + Rounded number. + + + + Rounds a number to a specified number of digits. + + Number and number of digits. + Rounded number. + + + + Returns the number of rows of the passed in cell reference. + + Contains one argument. + number of rows. + + + + Returns the secant of an angle. + + A cell reference, or number. + A string conaining the secant of an angle + + + + Returns the hyperbolic secant of an angle. + + A cell reference, or number + A string containing the hyperbolic secant of an angle. + + + + return the sheet number of the given value + + SheetName or cell or named range + sheet number + + + + return the sheet number of the given values + + SheetName or cell or named range + sheet number + + + + Returns a number indicating the sign of the argument. + + A cell reference, formula, or number. + A string holding a number representing the sign of the argument. + + + + Computes the sine of the argument. + + A cell reference, formula, or number. + A string holding the sine of the argument. + + + + Computes the hyperbolic sine of the argument. + + A cell reference, formula, or number. + A string holding the hyperbolic sine of the argument. + + + + Returns the sum of all values listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + A string holding the sum of all values listed in the argument. + + + + Returns the sum of all the cells in a range which is statisfy the given multible criteria + + range of cells, criteria1, average_range1,... + returns the sum value of the cells. + + + + Returns the sum of the square of all values listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + A string holding the sum of the squares of all values listed in the argument. + + + + Returns the sum of the differences of squares of the two ranges. + + x_range and y_range. + A string holding sum of the differences of squares. + + + + Returns the sum of the sums of squares of the two ranges. + + x_range and y_range. + A string holding sum of the sums of squares. + + + + Returns the sum of the squares of the differences between two ranges. + + x_range and y_range. + A string holding sum of the squares of the differences. + + + + Returns the vertical range of cells as a horizontal range, or vice versa + + Cell refrences + value + + + + Returns the value of computeTruncate + + arguments + + + + + Returns a random integer number between the specified two numbers. + + StartNumber, EndNumber + Random numberbetween two value + + + + Return the value of ComputeSeriessum + + arguments + + + + + Searches a range or an array, and then returns the item corresponding to the first match it finds. + If no match exists, then XLOOKUP can return the closest (approximate) match. + + + A string containing the arguments separated by commas. + The format should be: "lookup_value, lookup_array, return_array, if_not_found, match_mode, search_mode". + + lookup_value: The value to search for. + lookup_array: The array or range of cells to search within. + return_array: The array or range of cells from which to return a value. + if_not_found: The value to return if no match is found. + + match_mode: [Optional] The match type (default is 0): + + 0 for exact match (default) + -1 for exact match or next smaller item + 1 for exact match or next larger item + 2 for wildcard match + + + + search_mode: [Optional] The search mode (default is 1): + + 1 for search from first to last (default) + -1 for search from last to first + 2 for binary search ascending + -2 for binary search descending + + + + + The item corresponding to the first match it finds. If no match exists, then XLOOKUP can return the closest (approximate) match. + + + + Calculate and retrun the matched value based on match mode and search mode + + The value to search + The range or array where to search. + The range or array from which to return values. + The value to return if no match is found. If omitted, an #N/A error is returned. + The match type to perform: + The direction of search + The matched value + + + + + Returns the range of cells as an array by scanning column wise + + cell range + array of cells + + + + Convert multi criteria lookup range to single range + + multicriteria lookup range + return calculated lookup range + + + + Match the lookup value and return the index based on match mode + + the matched index + + + + Calculate and get the matchMode value from the argument + + argument + the matchMode value + + + + Calculate and get the SearchMode value from the argument + + argument + the SearchMode value + + + + Validate argument type for the possible cases for error string + + argument + >The formula's argument typ + + + + + Returns the relative position of an item in an array or range of cells. + + + A string containing the arguments separated by commas. + The format should be: "lookup_value,lookup_array,match_mode,search_mode". + + lookup_value: The value to search for. + lookup_array: The array or range of cells to search within, provided as a comma-separated string of values. + + match_mode: [Optional] The match type (default is 0): + + 0 for exact match (default) + -1 for exact match or next smallest item + 1 for exact match or next largest item + 2 for wildcard match + + + + search_mode: [Optional] The search mode (default is 1): + + 1 for search from first to last (default) + -1 for search from last to first + 2 for binary search ascending + -2 for binary search descending + + + + + The relative position of an item in an array or range of cells. + + + + + Sort the lookup array in DescendingOrder + + the array in DescendingOrder + + + + Sort the lookup array in AscendingOrder + + the array in AscendingOrder + + + + Match the lookup value and return the index based on match mode + + the matched index + + + + check and match the lookup value when its contains "?" + + TTrue when match or false + + + + Rounds a number down to the nearest integer or to the nearest multiple of significance. + + + A string containing the arguments separated by commas. + The format should be: "number, significance, mode". + + + number: The number to be rounded down. + + + significance: [optional] The multiple to which you want to round. + + + mode: [optional] The direction (toward or away from 0) to round negative numbers. + + + + A number rounded down to the nearest integer or to the nearest multiple of significance. + + + + Validate and retrun the argument as double value. + + + + + Calculate array format argument value. + + + Return calculated array format argument value for interior and direct FloorMath formula + + + + convert string values(number,sign,mode) to double value + + + + + convert string values(number,sign) to double value + + + + + Calculated FloorMath value for the given Input. + + Return round a number down to the nearest integer or to the nearest multiple of significance. + + + + Computes and returns a number that is rounded down to the nearest integer or to the nearest multiple of significance. + + + A string containing the arguments separated by commas. + The format should be: "number, significance". + + + number: The value to be rounded. + + + significance: [optional] The multiple to which the number is to be rounded. + + + + A number that is rounded down to the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded down. However, if the number or the significance is zero, zero is returned. + + + + Returns the Calculated FloorPrecise value for the given Input. + + + + + Returns the Calculated CeilingPrecise value for the given Input. + + + + + Calculate array format argument value. + + + Return calculated array format argument value for interior and direct FloorPrecise formula. + + + + Calculate array format argument value. + + + calculated array format argument value for interior and direct IsoCeiling formula. + + + + Calculate array format argument value. + + + calculated array format argument value for interior and direct CeilingPrecise formula. + + + + Computes and returns a number that is rounded up to the nearest integer or to the nearest multiple of significance. + + + A string containing the arguments separated by commas. + The format should be: "number, significance". + + + number: The value to be rounded. + + + significance: [optional] The multiple to which the number is to be rounded. The default value is 1. + + + + A number that is rounded up to the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up. However, if the number or the significance is zero, zero is returned. This follows the ISO 8601 standard. + + + + Computes and returns a number that is rounded up to the nearest integer or to the nearest multiple of significance. + + + A string containing the arguments separated by commas. + The format should be: "number, significance". + + + number: The value to be rounded. + + + significance: [optional] The multiple to which the number is to be rounded. The default value is 1. + + + + A number that is rounded up to the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up. However, if the number or the significance is zero, zero is returned. + + + + This function appends arrays vertically and in sequence to return a larger array. + + + A string containing the arguments separated by commas. + The format should be: "array1,[array2],..." + + array1, array2, ...: The arrays to append. + + + A single array that has as many columns as all of the source arrays combined and as many rows as the tallest of the source arrays. + + + + This function appends arrays horizontally and in sequence to return a larger array. + + + A string containing the arguments separated by commas. + The format should be: "array1,[array2],..." + + array1, array2, ...: The arrays to append. + + + A single array that has as many columns as all of the source arrays combined and as many rows as the tallest of the source arrays. + + + + Validate the argument for VStack and HStack formula and return array list. + + + + + Compute and return appended array as string value for VStack and HStack formula. + + + + + Compute and append array vertically and return array as string value. + + + + + Compute and append array horizontally and return array as string value. + + + + + This function computes and returns the value of the density function for a standard normal distribution. + + A string representing the numeric input for which PHI is to be calculated. + + A formatted string representing the calculated PHI value. + If the input is invalid, an error message is returned indicating the type of error. + + + + + This function converts a specified monetary amount from one currency to another using predefined Euro conversion rates. + The Euro is used as an intermediary currency for conversions between non-Euro currencies. + + + A comma-separated string containing the input arguments in the format: + "amount, sourceCurrency, targetCurrency, [fullPrecision], [triangulationPrecision]". + + + + amount: The numeric value to be converted. + This value must be a valid floating-point number. + + + + + sourceCurrency: The three-character ISO currency code for the source currency. + This must represent a valid currency included in the predefined Euro conversion table. + + + + + targetCurrency: The three-character ISO currency code for the target currency. + This must represent a valid currency included in the predefined Euro conversion table. + + + + + fullPrecision (optional): A boolean value indicating whether the result should use full precision. + If omitted, the default value is false, meaning the result will be rounded. + + + + + triangulationPrecision (optional): An integer specifying the precision for intermediate Euro calculations. + If omitted, the default value is 3. Values less than 3 are invalid. + + + + + + A string representing the converted amount in the target currency. If the input parameters are invalid, an error message is returned. + + + + + Converts a given monetary amount from one currency to another using predefined Euro conversion rates. + + + The converted monetary amount as double value. + If the conversion is invalid (e.g., unsupported currency codes), the method returns double.NaN. + + + + + Returns the sample covariance between two arrays. + Arrays should be of equal length, and contain more than one element. + + + + + + + Returns the mean of an array. + + Array of data for which we are calculating the mean. + + + + Returns the mean of an array. + + Array of data for which we are calculating the mean. For time series, the last element (index = n-1), is the most recent. + In most applications, the decay factor is between 0 and 1. Weigth on the last element in array is 1.0, the 2nd to last element d, 3rd to last d^2, ... + + + + Returns the inverse of the sum of a geometric series of length n, who's first element is 1. + For decay factor d, S = 1 + d + d^2 + ... + d^(n-1). Return 1/S. + + Decay factor Typically between -1 adn +1. + Number of elements in the geometric series, must be positive. + + + + + Calculates the natural logarithm of gamma function. + + + + + + + Returns the average deviation of all values listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + A string holding the average deviation of all values listed in the argument. + + + + Returns the simple average of all values (including text) listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + A string holding the simple average of all values listed in the argument. + + + + Returns the average of all the cells in a range which is statisfy the given multible criteria + + range of cells, criteria1, average_range1,... + returns the average value of the cells. + + + + Below method used to find the criteria value which is combined with tokens. + + Criteria value with tokens. + Tokens + The criteria value splited from tokens. + + + + Below method used to find whether the criteria is matched with the Tokens "=",">",">=" or not. + + CellRange + Tokens("=",">",">=") + The criteria used to determine which cells to add. + true criteria match or false. + + + + Returns the chi-squared distribution. + + x, degrees of freedom. + The chi-squared distribution. + + + + Returns the growth estimate using the exponential curve y = b * m^x that best fits the given points. Only the first two Excel parameters are used. + + Y_range, x_range. + returns estimated value. + + + + Returns the m and b value used in exponential curve y = b * m^x. + + The set of y-values required in y = b*m^x + The set of x-values in y = b*m^x + output of b + output of m + returns calculated b value. + + + + Returns the natural logarithm of the gamma function. + + The value to be evaluated. + The natural logarithm of the gamma function. + + + + Calculates the statistics for a straight line that explains the relationship between the independent variable and one or more dependent variables + + Parsed range. + an array describing the line. The function uses the least squares method to find the best fit for your data. + + + + Returns the inverse of the chi-squared distribution. + + x, degrees of freedom. + The inverse of the chi-squared distribution. + + + + Returns the Chi Test for independence. + + Actual_range, expected_range. + Result of Chi Test: y-intercept. + + + + Returns the normal distribution. + + x, mean, standarddev, cumulative. + The normal distribution. + + Cumulative should be either + True if you want to return the value of the distribution function or False + if you want to return the value of the density function. The distribution value + is computed interactively using Trapezoidal Rule to six to seven significant digits + or 20 iteration maximum. + + + + + Returns the standard normal cumulative distribution function. The distribution has a mean of 0 (zero) and a standard deviation of one. + Syntax: NORMSDIST(z) + + Z is the value for which you want the distribution. + Standard normal cumulative distribution. + + + + Returns the inverse of normal distribution. + + P, mean, standard deviation. + Returns x such that normal distribution at x is p. + + P should be between 0 and 1. + + + + + Enabled only when ExcelLikeComputations property is set to true. + + + Computes the inverse normal cumulative distribution for the given probability. + + probability + a double value. + + + + Returns the inverse of the standard normal cumulative distribution. The distribution has a mean of zero and a standard deviation of one. + Syntax: NORMSINV(p) + + p is a probability corresponding to the normal distribution. + Inverse of standard normal cumulative distribution. + + p should be between 0 and 1. + + + + + Returns a confidence interval radius. + + Alpha, standard deviation, size. + Returns x such that normal distribution at x is p. + + P should be between 0 and 1. + + + + + Returns the correlation coefficient of the two sets of points. + + range1, range2. + Correlation coefficient. + + + + Returns the count of all values (including text) listed in the argument to + evaluate to a number. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + A string holding the count of all numerical values listed in the argument. + + + + Returns the count of all values (including text) listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + A string holding the count of all values listed in the argument. + + + + Returns the count of blank cells listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + A string holding the count of blank cells listed in the argument. + + + + Counts the cells specified by some criteria. + + The criteria range, the criteria. + Number of cells meeting the criteria. + + + + Calculates the CountIF and CountIFS formula + + The criteria range, the criteria + If true, calculate CountIF formula. Else calculate CountIFS formula. + Number of cells meeting the criteria. + + + + Returns the covariance between the two sets of points. + + range1, range2. + The covariance. + + + + Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value. + + Number of trials, probability, alpha. + Returns the critical value. + + + + Returns the exponential distribution. + + x, lambda, cumulative. + The exponential distribution. + + Cumulative should be either + True if you want to return the value of the distribution function or False + if you want to return the value of the density function. + + + + + Returns the F (Fisher) probability distribution. + + x, degreesfreedom1, degreesfreedom2. + Returns the F probability distribution. + + + + Returns the inverse of F distribution. + + p, degreesfreedom1, degreesfreedom2. + Returns x such that F distribution at x is p. + + P should be between 0 and 1. + + + + + Returns the Fisher transformation of the input variable. + + Input variable x. + Fisher transformation of x. + + X should be between -1 and 1. + + + + + Returns the inverse of Fisher transformation. + + Input variable y. + The value x such that the Fisher transformation y is x. + + + + Returns a forecasted value based on two sets of points using least square fit regression. + + x, rangex, rangey. + Forecasted value. + + + + Returns the kurtosis of the passed in values. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + The kurtosis of the data. + + + + Returns the Kth largest value in the range. + + range, k. + Kth largest value. + + + + Returns the lognormal distribution. + + x, mean, standarddev. + The lognormal distribution. + + + + Returns the inverse of the lognormal distribution. + + p, mean, standarddev. + Returns the value x where the lognormal distribution of x is p. + + + + Returns the maximum value of all values listed in the argument including logical values. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + A string holding the maximum value of all values listed in the argument. + True is treated as 1; False is treated as 0. + + + + + Returns the median value in the range. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + Median value. + + + + Returns the minimum value of all values listed in the argument including logical values. + + A string holding a list (separated by commas) of: + cell references, + formulas, or numbers. + A string holding the minimum value of all values listed in the argument. + True is treated as 1; False is treated as 0. + + + + + Returns the most frequent value in the range. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + The most frequent value. + + + + Returns the negative binomial distribution. + + Number of failures, success threshold, probability, cumulative. + The negative binomial distribution. + + + + Returns the Pearson product moment correlation coefficient. + + Range1, range2. + Pearson product. + + + + Returns the percentile position in the range. + + Range, k. + Percentile position. + K is a value between 0 and 1. + + + + Returns the percentile position in the ranges. + This method used only for contional formatting to calculate the percentile value. + When the argument contains more no of cell reference. + + Ranges, k. + Percentile position. + K is a value between 0 and 1. + + + + Returns the percentage rank in the range. + + Range, x, significant digits. + Percentile position. + Significant digits are optional, defaulting to 3. + + + + The number of permutations of n items taken k at the time. + + n, k + The number of combinations. + + + + Returns the Poisson distribution. + + x, mean, cumulative + Returns the exponential distribution. + + Cumulative should be either + True if you want to return the value of the distribution function or False + if you want to return the value of the density function. + + + + + Returns the probability that a value in the given range occurs. + + xrange1, prange2, lowerbound, upperbound. + The probability. + + + + Returns the quartile position in the range. + + Range, q. + Percentile position. + Q is 0, 1, 2, 3, 4. + + + + Returns the rank of x in the range. + + X, range, order. + Rank of x. + + + + Returns the square of the Pearson product moment correlation coefficient. + + Range1, range2. + Square of the Pearson product. + + + + Returns the skewness of a distribution. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + Skewness of a distribution. + + + + Returns the slope of the least square fit line through the given points. + + Y_range, x_range. + Y-intercept for the given points. + + + + Returns the kth smallest value in the range. + + Range, k. + Kth smallest value. + + + + Returns a normalized value. + + X, mean, stddev. + Normalized value. + + + + Returns the sample standard deviation. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + The sample standard deviation. + + + + Returns the sample standard deviation. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + The sample standard deviation. + Treats True as 1; False as 0. + + + + + Returns the sample standard deviation. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + The sample standard deviation. + Treats True as 1; False as 0. + + + + + Returns the population standard deviation. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + The population standard deviation. + + + + Returns the population standard deviation. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + The population standard deviation. + Treats True as 1; False as 0. + + + + + Returns the standard error of the least square fit line through the given points. + + Y_range, x_range. + Standard error. + + + + Returns the mean of the range after removing points on either extreme. + + Range, percent. + Kth smallest value. + + + + Returns sample variance of the listed values. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + The sample variance. + + + + Returns sample variance of the listed values. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + The sample variance. + True is treated as 1; False is treated as 0. + + + + + Returns population variance of the listed values. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + The population variance. + + + + Returns population variance of the listed values. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + The population variance. + True is treated as 1; False is treated as 0. + + + + + Returns the Weibull distribution. + + X, alpha, beta, cumulative. + The Weibull distribution. + + + + Returns the one-tailed probability value of a Z test. + + Range, mu, sigma. + Kth smallest value. + + + + Calculate muti range and return cell value + + contains multi cell range(eg:A1:A100) + + + + Returns the maximum value of all values listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + A string holding the maximum value of all values listed in the argument. + + + + Returns the subtotal of input range(s). + + A list of cell references(seperated by commas) + Subtotal of range(s) + + + + Returns the minimum value of all values listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + A string holding the minimum value of all values listed in the argument. + + + + Returns the simple average of all values listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + A string holding the simple average of all values listed in the argument. + + + + Returns the harmonic mean of all values listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + The harmonic mean all values listed in the argument. + + + + Returns the hypergeometric distribution. + + Number of sample successes, number of sample, number of population successes, number of population. + Returns the gamma distribution. + + + + Returns the hypergeometric distribution. + + Number of sample successes, number of sample, number of population successes, number of population. + Returns the gamma distribution. + + + + Conditionally computes one of two alternatives depending upon a logical expression. + + + The first argument is + treated as a logical expression with a non-zero value considered True and a zero value considered False. + The value of only one of the alternatives is computed depending upon the logical expression. + + A string holding a list of three arguments. + + Returns a string holding the second argument if the first argument is True (non-zero). Otherwise, it returns a string holding the third argument. + + + + Returns a value you specify if a formula evaluates to an error + otherwise, returns the result of the formula. + + String to be tested. + Retuns the error string + + + + Returns the y-intercept of the least square fit line through the given points. + + y_range, x_range. + y-intercept for the given points. + + + + Returns the binomial distribution. + + Number of successes, number of trials, probability, cumulative. + The binomial distribution. + + + + Returns the skewness of a distribution based on a population a characterization of the degree of asymmetry of a distribution around its mean. + + numbers or names, arrays, or reference that contain numbers + Skewness of a distribution. + + + + Returns population covariance, the average of the products of deviations for each data point pair in two data sets. + + range1, range2. + The covarianceP + + + + Returns the sample covariance, the average of the products of deviations for each data point pair in two data sets. + + range1, range2. + The covariances + + + + Returns the percentile position in the range. + + Range, k. + Percentile position. + K is a value between 0 and 1. + + + + Returns the percentage rank Exc in the range. + + Range, x, significant digits. + Percentile position. + Significant digits are optional, defaulting to 3. + + + + Returns the percentile position in the range. + + Range, k. + Percentile position. + K is a value between 0 and 1. + + + + Returns the percentage rank Inc in the range. + + Range, x, significant digits. + Percentile position. + Significant digits are optional, defaulting to 3. + + + + Returns the sample standard deviation. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + The sample standard deviation. + Treats True as 1; False as 0. + + + + + Returns sample variance of the listed values. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + The sample variance. + + + + Calculates variance based on the entire population (ignores logical values and text in the population). + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + The sample variance. + + + + Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects. + + n, k + The number of combinations. + + + + Returns the normal distribution for the specified mean and standard deviation. + + x, mean, standarddev, cumulative. + The normal distribution. + + Cumulative should be either + True if you want to return the value of the distribution function or False + if you want to return the value of the density function. + + + + + Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation. + + P, mean, standard deviation. + Returns x such that normal distribution at x is p. + + P should be between 0 and 1. + + + + + Returns the standard normal cumulative distribution function. The distribution has a mean of 0 (zero) and a standard deviation of one. + Syntax: NORMSDIST(z) + + Z is the value for which you want the distribution. + Standard normal cumulative distribution. + + + + Returns the PDF of the standard normal distribution. + + Value at which the distribution is evaluated. + + + + Returns the CDF of the standard normal distribution. + + Value at which the distribution is evaluated. + + + + Returns the PDF of the standard normal distribution. + + Value at which the distribution is evaluated. + + + + Returns the CDF of the standard normal distribution. + + Value at which the distribution is evaluated. + + + + Returns the inverse of the CDF of the standard normal distribution. + + Cumulative probability of the distribution. p is between 0 and 1. + + + + Returns the inverse of the standard normal cumulative distribution. The distribution has a mean of zero and a standard deviation of one. + Syntax: NORMSINV(p) + + p is a probability corresponding to the normal distribution. + Inverse of standard normal cumulative distribution. + + p should be between 0 and 1. + + + + + Calculates the Weibull Probability Density Function or the Weibull Cumulative Distribution Function for a supplied set of parameters. + + x, alpha, beta, cumulative. + Returns the calculated weibull distribution. + + cumulative = A logical argument which denotes the type of distribution to be used + TRUE = Weibull Cumulative Distribution Function + FALSE = Weibull Probability Density Function + + + + + Returns the exponential distribution. + + x, lambda, cumulative. + The exponential distribution. + + Cumulative should be either + True if you want to return the value of the distribution function or False + if you want to return the value of the density function. + + + + + Used to calculate the inverse of gamma cummulative distribution + + + + + + + + + Used to calculate the inverse gamma distribution at inital stage. + + + + + + + + + + + + + + Used to calculate the inverse gamma distribution at middle stage. + + + + + + + + + + + + + + Used to calculate the inverse gamma distribution at final stage. + + + + + + + + + + + + + + Used to calculate the upper incomplete integral of inverse gamma function. + + + + + + + + Used to calculate the lower incomplete integral of gamma function. + + + + + + + + Used to calculate the upper incomplete integral of gamma function. + + + + + + + + Used to calculate the CDF(Cummulative Distribution Function) of Gamma distribution. + + Alpha + Beta + + + + + + Used to calculate the PDF(Probability Distribution Function) of Gamma distribution. + + Alpha + Beta + + + + + + Returns the gamma distribution. + + X, alpha, beta, cumulative. + The gamma distribution. + + X, alpha, and beta should be positive real numbers. Cumulative should be either + True if you want to return the value of the distribution function or False + if you want to return the value of the density function. The distribution value + is computed interactively using Trapezoidal Rule to six to seven significant digits + or 20 iteration maximum. + + + + + Returns the inverse of gamma distribution. + + p, alpha, beta + Returns x such that gamma distribution at x is p. + + P, alpha, and beta should be positive real numbers, with p between 0 and 1. + + + + + Returns the geometric mean of all values listed in the argument. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + The geometric mean all values listed in the argument. + + + + Returns the gamma distribution. + + X, alpha, beta, cumulative. + The gamma distribution. + + X, alpha, and beta should be positive real numbers. Cumulative should be either + True if you want to return the value of the distribution function or False + if you want to return the value of the density function. The distribution value + is computed interactively using Trapezoidal Rule to six to seven significant digits + or 20 iteration maximum. + + + + + Returns the inverse of gamma distribution. + + p, alpha, beta + Returns x such that gamma distribution at x is p. + + P, alpha, and beta should be positive real numbers, with p between 0 and 1. + + + + + Returns the natural logarithm of the gamma function. + + The value to be evaluated. + The natural logarithm of the gamma function. + + + + Returns the Student's t-distribution. + + x, degreesfreedom1. + Returns the Student's t-distribution. + + + + Returns the inverse of the CDF of the Student's t distribution. + For k = 3, and 5+ the solution is an approximation. + + Cumulative probability of the distribution. p is between 0 and 1. + Degrees of freedom. + + + + Returns the PDF of Student's t distribution. + + Value at which the distribution is evaluated. + Degrees of freedom. + + + + Returns the CDF of Student's t distribution. + + Value at which the distribution is evaluated. + Degrees of freedom. + + + + Returns the inverse of F distribution. + + p, degreesfreedom1, degreesfreedom2. + Returns x such that F distribution at x is p. + + P should be between 0 and 1. + + + + + Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value. + + Number of trials, probability, alpha. + Returns the critical value. + + + + Returns the inverse of the lognormal distribution. + + p, mean, standarddev. + Returns the value x where the lognormal distribution of x is p. + + + + Returns the lognormal distribution. + + x, mean, standarddev. + The lognormal distribution. + + + + Returns a confidence interval radius. + + Alpha, standard deviation, size. + Returns x such that normal distribution at x is p. + + P should be between 0 and 1. + + + + + Returns the chi-squared distribution. + + x, degrees of freedom. + The chi-squared distribution. + + + + Returns the F probability distribution. + + x, degreesfreedom1, degreesfreedom2. + Returns the F probability distribution. + + + + Returns the PDF of the F distribution. + + Value at which the distribution is evaluated. + Degrees of freedom for numerator chi-sqared distribution. k1 > 0. + Degrees of freedom for denominator chi-sqared distribution. k2 > 0. + + + + Returns the CDF of the F distribution. + + Value at which the distribution is evaluated. + Degrees of freedom for numerator chi-sqared distribution. + Degrees of freedom for denominator chi-sqared distribution. + + + + Euler integral. + + + + + Integral from 0 to infinity of e^(-t) * t^(z-1) dt + + If z > 143 the return value will exceed the double.MaxValue. The function will throw an exception. + + + + To get the CDF of the beta distribution. + + + + + + + + Euler integral. + + + + + Returns the F (Fisher) probability distribution. + + x, degreesfreedom1, degreesfreedom2. + Returns the F probability distribution. + + + + Returns the chi-squared distribution. + + x, degrees of freedom. + The chi-squared distribution. + + + + Returns the inverse of the chi-squared distribution. + + x, degrees of freedom. + The inverse of the chi-squared distribution. + + + + Returns the Chi Test for independence. + + Actual_range, expected_range. + Result of Chi Test: y-intercept. + + + + Returns the inverse of the chi-squared distribution. + + x, degrees of freedom. + The inverse of the chi-squared distribution. + + + + Returns the binomial distribution. + + Number of successes, number of trials, probability, cumulative. + The binomial distribution. + + + + Returns the one-tailed probability value of a Z test. + + Range, mu, sigma. + Kth smallest value. + + + + Returns the rank of x in the range. + + X, range, order. + Rank of x. + + + + Returns the rank of x in the range. + + X, range, order. + Rank of x. + + + + The Irwin-Hall distribution results from the sum on n independent standard uniform variables + + The value at which to evaluate the distribution. + + + + The Irwin-Hall distribution results from the sum on n independent standard uniform variables + + The value at which to evaluate the distribution. + The number of standard uniform variables. + + + + Returns the number of possible combinations of k objects from a set of n object. The order of the chosen objects does not matter. + + Number of objects + Number of objects chosen + + + + Returns n! + 0! = 1,otherwise n! = n * (n-1) * (n-2) * ... * 2 * 1, + + + + + Returns the PDF of the uniform distribution. + + Number of successes, number of trials, probability, cumulative. + The binomial distribution. + + + + Returns the PDF of the uniform distribution. + + Value at which the distribution is evaluated. + Minimum value of the distribution. + Maximum value of the distribution. + + + + Returns the quartile position in the range. + + Range, q. + Percentile position. + Q is 0, 1, 2, 3, 4. + + + + Returns the quartile position in the range. + + Range, q. + Percentile position. + Q is 0, 1, 2, 3, 4. + + + + Returns the negative binomial distribution. + + Number of failures, success threshold, probability, cumulative. + The negative binomial distribution. + + + + Returns the Poisson distribution. + + x, mean, cumulative + Returns the exponential distribution. + + Cumulative should be either + True if you want to return the value of the distribution function or False + if you want to return the value of the density function. + + + + + Compares the given two values + + Two Numbers to be compared. + Returns the result of the comparision in the form of 0 or 1 + + + + Compares the given two values + + Two Numbers to be compared. + Returns the result of the comparision in the form of 0 or 1 + + + + Returns the sum of the squares of the mean deviations. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + Sum of the squares of the mean deviation. + + + + Returns the average of all the cells in a range which is statisfy the given single criteria + + range of cells, criteria, average_range + returns the average value of the cells. + + + + Return the value of ComputeConfidenceT + + arguments + + + + + Returns the inverse of F distribution. + + p, degreesfreedom1, degreesfreedom2. + Returns x such that F distribution at x is p. + + P should be between 0 and 1. + This method is deprecated. Please use the instead. + + + + + Returns the inverse of the CDF of the F distribution. + For k = 3, and 5+ the solution is an approximation. + + Cumulative probability of the distribution. p is between 0 and 1. + Degrees of freedom for numerator chi-sqared distribution. + Degrees of freedom for denominator chi-sqared distribution. + + + + Returns the inverse of the CDF of the normal distribution. + + Cumulative probability of the distribution. 0 <= p >= 1. + Mean of the distribution. + Standard deviation of the distribution. + + + + Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + The most frequent value. + + + + Returns the most frequent value in the range. + + A string holding a list (separated by commas) of + cell references, + formulas, or numbers. + + The most frequent value. + + + + Returns the Student's t-distribution. + + x, degreesfreedom1. + Returns the Student's t-distribution. + + + + Returns the beta distribution. + + x, degreesfreedom1, degreesfreedom2. + Returns the beta distribution. + + + + Returns the Beta cumulative density function. + + Value of the random variable for which the CDF is beign evaluated. x is between 0 and 1. + First shape parameter. + Second shape parameter. + + + + + Returns the Beta probability density function. + + Value of the random variable for which the PDF is beign evaluated. x is between 0 and 1. + Number of trials. + Number of times the event occurs in n trials. + + + + + Calculates the standard normal cumulative distribution function (Gauss) for a given z-value. + This function returns the probability that a value from a standard normal distribution (with a mean of 0 and a standard deviation of 1) is less than or equal to the given z-value. + + + A string containing the arguments separated by commas. The format should be: + "z" + + z: The z-value for which you want to compute the cumulative distribution. + + + + The probability that a value from a standard normal distribution is less than or equal to the given z-value. + + + The Gauss function is used in statistics to determine the likelihood of a value falling within a specific range of a normal distribution. + This can be particularly useful in hypothesis testing or probability estimation scenarios. + + + + + Computes the gamma function for the specified input. + + A string representing the input number for which the gamma function will be calculated. + A string representing the result of the gamma function calculation. + + The gamma function is an extension of the factorial function to real and complex numbers. + + + + + Calculate and return the gamma function value. + + + + + Computes the sample variance for a set of numbers. + + + A string containing a comma-separated list of numbers for which the sample variance will be calculated. + + + A string representing the sample variance of the provided numbers. + + + The sample variance is a measure of the dispersion of data points in a sample, and is calculated by taking the average of the squared deviations from the mean. + + + + + This function calculates how often values occur within a range of values, and then returns a vertical array of numbers. + + + A string containing two arguments separated by a comma. the format should be: data_array, bins_array. + + data_array: The range or array of data values you want to count. + bins_array: The range or array of intervals to group the data values into. + + + + A formatted string with the frequency counts separated by semicolons, or an error message if the input is invalid. + + + + + Calculates the frequency counts of numeric and date values from the provided source and bin arrays. + Text and blank values are ignored during processing. + + An array of strings representing the source and bin data ranges. + A string representing the frequency counts separated by semicolons. + + + + This function computes the probability of a specific outcome or a range of outcomes in a binomial distribution. + + + A comma-separated string containing the input arguments in the format: + "trials, probability_s, number_s, [number_s2]". + + + + trials: The number of independent trials. + This value must be a non-negative integer. (e.g., 0, 1, 2, ...). + + + + + probability_s: The probability of success for each trial, represented as a decimal value. + This value must be a number between 0 and 1 (inclusive). + + + + + number_s: The specific number of successes for which to calculate the probability. + This must be an integer between 0 and trials. + + + + + number_s2 (optional): The upper limit for a range of successes. + If provided, the function calculates the probability for successes between number_s and number_s2 (inclusive). + This value must be an integer greater than or equal to number_s and less than or equal to trials. + + + + + + A string representing the calculated probability for the specified number of successes or success range in the binomial distribution. + If the input parameters are invalid, an error message is returned. + + + + + This function calculates the cumulative Beta probability density function, which evaluates proportions or probabilities over a specified range. + + + A comma-separated string containing the input arguments in the format: "x, alpha, beta, [A], [B]". + + + x: The value at which to evaluate the Beta distribution. Must lie within the interval [A, B]. If A and B are omitted, the default range is [0, 1]. + + + alpha: A positive shape parameter of the Beta distribution, determining its skewness. + + + beta: A positive shape parameter of the Beta distribution, determining its skewness. + + + A: (Optional) The lower bound of the interval. Defaults to 0 if omitted. + + + B: (Optional) The upper bound of the interval. Defaults to 1 if omitted. + + + + + A string representing the calculated cumulative Beta probability density function at the specified value x. Returns an error message if the input arguments are invalid or if x is outside the interval [A, B]. + + + + + This function calculates and returns the t-value corresponding to the given two-tailed probability for the Student's t-distribution. It is commonly used to find critical t-values in hypothesis testing. + + + A comma-separated string containing the input arguments in the format: "Probability, Deg_freedom". + + Probability: The cumulative probability for both tails of the distribution. This value must be a decimal between 0 and 1 (exclusive). + Deg_freedom: The degrees of freedom, typically the sample size minus 1. + This must be a positive integer. + + + + A string representing the t-value corresponding to the specified two-tailed probability and degrees of freedom. + Returns an error message if the input arguments are invalid. + + + + + + Retrieves two arrays of string values parsed from the input argument string. + Validates the inputs and checks for errors before computation. + + The first array of strings parsed from the input arguments. + The second array of strings parsed from the input arguments. + The input argument string containing comma-separated values for two arrays. + A string indicating validation error if any, or an empty string if successful. + Thrown if the number of arguments is incorrect and exceptions are rethrown. + + + + Calculates the F-test p-value based on two arrays of double values representing two data sets. + Assumes that input validation has already been performed by GetValuesOfFTest. + + The first array of doubles representing the first data set. + The second array of doubles representing the second data set. + The p-value of the F-test for the two data sets. + + + + + This function computes and returns the critical t-value for a two-tailed Student's t-distribution based on a specified probability and degrees of freedom. + + + A comma-separated string containing the input arguments in the format: probability, deg_freedom. + + Probability: The cumulative probability for the two-tailed Student's t-distribution. This value must be between 0 and 1 (exclusive of 0 and 1). + Deg_freedom: The number of degrees of freedom that defines the distribution.It must be a positive integer. + + + A string representing the t-value corresponding to the given two-tailed probability and degrees of freedom. + If the input is invalid, an error message or exception may be returned. + + + + + This function computes the critical value (inverse) of the F-distribution for a specified cumulative probability and degrees of freedom. + It is typically used in hypothesis testing or analysis of variance (ANOVA). + + + A comma-separated string containing the input arguments in the format: "p, degreesFreedom1, degreesFreedom2". + + + + p: The cumulative probability for which the F value is to be calculated. This value must be a number between 0 and 1 (exclusive of 0 and 1). + + + + + degreesFreedom1: The degrees of freedom for the numerator. This must be a positive integer. + + + + + degreesFreedom2: The degrees of freedom for the denominator.This must be a positive integer. + + + + + + A string representing the critical F value such that the cumulative probability of the F-distribution equals p. + If the input parameters are invalid, an error message is returned. + + + + + Calculates the inverse of the F-distribution for the given probability and degrees of freedom. + Uses a binary search approach to find the value corresponding to the specified cumulative probability. + + The cumulative probability for which the F value is to be calculated. Must be between 0 and 1. + The degrees of freedom for the numerator. + The degrees of freedom for the denominator. + The F value corresponding to the given cumulative probability. + + + + Calculates the cumulative distribution function (CDF) of the F-distribution. + This computes the probability that a random variable from the F-distribution is less than or equal to a given value. + + The F value for which the cumulative probability is calculated. + The degrees of freedom for the numerator. + The degrees of freedom for the denominator. + The cumulative probability corresponding to the given F value. + + + + This function computes a linear trend line based on a given set of dependent y-values and, optionally, independent x-values, and returns predicted values along the trend line. + This function can also calculate predictions for new X values if provided. + + + A comma-separated string containing the input arguments in the format: "knownY, [knownX], [newX], [const]". + + + knownY: A set of dependent y-values for which a trend line will be calculated.These values must be provided as a comma-separated string.. + + + knownX [optional]: A set of independent x-values corresponding to knownY. These values must be provided as a comma-separated string.If omitted, x-values are assumed to be a sequence starting from 1. + + + newX [optional]: A set of new x-values for which corresponding y-values are to be predicted. These values must be provided as a comma-separated string. If omitted, predictions are made for the given knownX. + + + const [optional]: A boolean value indicating whether the regression line should include a y-intercept.If true (default), the intercept is included. If false, the intercept is forced to be 0. + + + + A comma-separated string of predicted y-values along the trend line. If an error occurs, such as invalid input or mismatched data sets, an error message is returned.. + + + + Calculate and retrun the y-values along that line for the array of new_x's. + + + + + Get the argument values for Trend function and return error string for invalid arguments. + + + + + Adds an intercept column to a matrix, where the intercept column is filled with ones. + + + The input matrix to which the intercept column will be added. A 2D array with dimensions [rows, columns]. + + + A new 2D array with the same number of rows as the input matrix and one additional column. + The first column of the result is filled with ones (intercept column), followed by the original matrix columns. + + + + + Computes the transpose of a given matrix. + + + The input matrix to be transposed. A 2D array where elements are rearranged + such that rows become columns and columns become rows. + + + A 2D array representing the transposed matrix. The resulting matrix will have + dimensions [columns of the input matrix, rows of the input matrix]. + + + + + + Computes the inverse of a square matrix using the Gaussian elimination method. + + + The input matrix to be inverted. It must be a square matrix (same number of rows and columns). + + + a 2D array representing the inverse of the input matrix. If the matrix is singular or non-invertible, + an exception may be thrown due to division by zero or numerical instability. + + + + + Converts a single-column matrix into a one-dimensional vector (array). + + + The input matrix, which must have exactly one column. + + + a one-dimensional array containing the elements of the input matrix's single column. + + + + + Generates an identity matrix of the specified size. + + The size of the identity matrix (number of rows and columns). + + a square 2D array representing the identity matrix, where all diagonal elements are 1, + and all off-diagonal elements are 0. + + + + + Converts a one-dimensional vector (array) into a column matrix. + + The input vector to be converted. + + a 2D array representing the column matrix where each element of the + input vector becomes a row in the single-column matrix. + + + + + Calculate and return double values for xValues,yValues and newXValues. + + + + + + Calculate and return the Student's t-Test probability value. + + + + + Calculates the variance of a dataset. + + A list of double values representing the dataset. + The mean of the dataset. + The variance of the dataset. + + + + Computes the cumulative distribution function (CDF) for Student's t-distribution. + + The t-statistic for which to compute the CDF. + The degrees of freedom associated with the t-distribution. + + A double value representing the cumulative probability associated with the given t-statistic + and degrees of freedom. + s + + + + This function calculates and returns the probability (percentage points) for the Student's t-distribution, given a numeric t-value (x), degrees of freedom, and number of tails. + This function is typically used in hypothesis testing to determine the significance of results. + + + A string containing three arguments separated by commas, in the format: x, deg_freedom, tails. + + X: A numeric value representing the t-statistic (calculated from a statistical test). + Deg_freedom: An integer representing the degrees of freedom, typically calculated as the sample size minus 1. + Tails: Specifies whether to calculate the one-tailed or two-tailed distribution. + Use Tails = 1 for a one-tailed test and Tails = 2 for a two-tailed test. + + + + A string representing the probability (as percentage points) associated with the given inputs:x (t-value), deg_freedom, and the specified number of tails. + This value helps in determining the significance level during hypothesis testing. + + + + + This function computes and returns the two-tailed probability for the Student's t-distribution. + This function calculates the probability of observing a t-value as extreme as the given t-value (in either tail),for a specified degrees of freedom. + + + A string containing two arguments separated by commas, in the format: X, deg_freedom. + + X: The numeric t-value at which to evaluate the distribution. This represents the test statistic. + Deg_freedom: An integer representing the degrees of freedom, usually calculated as the sample size minus 1. + + + + A string representing the two-tailed probability associated with the specified t-value and degrees of freedom. + The result indicates the likelihood of observing a t-value as extreme as X, in both tails of the distribution. + The two-tailed t-distribution is commonly used in hypothesis testing where the alternative hypothesis tests for a difference in either direction (e.g., not equal to a specified value). + Input values should be in the correct format and range to avoid calculation errors. + + + Input: "2.5, 10" + Output: "0.0254" (depending on implementation and precision, result represents a probability). + + + + + This function computes and returns the right-tailed probability for the Student's t-distribution. + This function calculates the probability of observing a t-statistic greater than the given t-value (X), for a specified degrees of freedom. + + + A string containing two arguments separated by commas, in the format: X, deg_freedom. + + X: The numeric t-value at which to evaluate the distribution.This represents the test statistic. + Deg_freedom: An integer representing the degrees of freedom, usually calculated as the sample size minus 1. + + + + A string representing the right-tailed probability (as a percentage) associated with the specified t-value and degrees of freedom. + This value indicates the likelihood of observing a t-value greater than X.The right-tailed t-distribution is commonly used in hypothesis testing for one-sided tests where the alternative hypothesis specifies a direction (e.g., greater than a given value). + Input values should adhere to the expected format and range for accurate results. + Input: "2.5, 10" + Output: "0.0127" (depending on the implementation and precision; result represents a probability). + + + + + This method compute the actual T-distribution probability value by using numeric value and the number of degrees of freedom. + + + + + This method computes the incomplete beta function, which is part of the distribution's calculation, using series and logarithmic expressions. + + + + + This method computes a series used to approximate the incomplete beta function for values of a and b. + + + + + This function computes and returns the fraction expansion of the incomplete beta function + + + + + This function predicts a future value along a linear trend based on existing data using linear regression. + Calculates the forecasted value for a specified independent variable, x,based on the relationship between the provided dependent (known_y's) and independent (known_x's) data sets. + + + A comma-separated string containing three arguments in the format: x, known_y's, known_x's. + + x: The independent variable (data point) for which the prediction is to be made. + known_y's: A space-separated string representing an array or range of dependent values (the values to predict). + known_x's: A space-separated string representing an array or range of independent values corresponding to known_y's. + + + + A string representing the predicted value for the specified x, or an error message if the input is invalid or the calculation cannot be performed. + + + + + Return the value of TranslateText + + value + language + + + This method is deprecated. + + + + + Return the numeric code for first char of text + + text + numeric code + + + + Finds the first occurrence of one string in another string. + + Conatins two or three arguments. The first argument is the string + to find. The second string is the string that is being searched. The third argument + is the start location in the second string for the search. + The location of the found string. + + + + Returns the left so many characters in the given string. + + Contains the string and the number of characters. + A left sub string.. + + + + Used to compute the JIS function + + arguments + + + + + Returns the length of the given string. + + Contains the string. + An integer length. + + + + Returns a substring of the given string. + + Contains the original string, start position of the substring, + and the number of characters in the substring. + A substring. + + + + Returns the right so many characters in the given string. + + Contains the string and the number of characters. + A right substring. + + + + Convert the text to number + + text, + decimal separator,group separator + + + + Returns the text like first letter with upper letter in each word + + Text + proper text + + + + Replace the part of the text with a new text from orginal text + + Text,Start index, Number of char to replace, new text + replaced string + + + + Returns the number of repeated text + + text, repeated count + text + + + + Returns the number of the starting position of the first string from the second string. + + first strring, second string and starting position + index of the string + + + + Returns the Unicode char for the respective numeric value + + Number + unicode char + + + + Returns the corresponding number code for the first char of string. + + text + numeric code + + + + Returns the character whose number code is specified in the argument. + + The number used to retrieve the character. + The character string. + + + + Retuns the text removing the first 32 nonprintable characters(ranging from 0 to 31) in 7-bit ASCII code. + + Text or range holding text including nonprintable characters + Text without nonprintable characters(first 32) + + + + Returns whether or not the two arguments passed in are exactly the same. + + A string holding two arguments (separated by commas) of + cell references, strings, + formulas, or numbers. + True if the arguments are exactly the same ignoring formats, false other wise. + + + + Finds the first occurrence of one string in another string. + + Conatins two or three arguments. The first argument is the string + to find. The second string is the string that is being searched. The third argument + is the start location in the second string for the search. + The location of the found string. + The location count starts at 1. If the third argument is missing, it defaults to 1. + If the first string does not appear in the second string, #VALUE! is returned. The searches are done + in a case sensitive manner. + + + + + Returns the value at a specified row and column from within a given range. + + look_range, row, col + The value. + + Only the array form of this function is supported. + + + + + Returns the number of the starting position of the first string from the second string. + + first strring, second string and starting position + index of the string + + + + Find and return list of unique elements for two dimentional array elements. + + return list of unique elements. + + + + + Validate and return the error string for TextBefore/TextAfter formula. + + validated argument + + + + This function returns text that occurs after given character or string. + + + A string containing the arguments separated by commas. + The format should be: "text,delimiter,instance_num, match_mode, match_end, if_not_found". + + textThe text you are searching within. Wildcard characters not allowed. + delimiterThe text that marks the point after which you want to extract. + instance_num[Optional] The instance of the delimiter after which you want to extract the text.(default is 1). + match_mode[Optional] Determines whether the text search is case-sensitive. The default is case-sensitive. + + 0 - Case sensitive. + 1 - Case insensitive. + + + match_end[Optional] Treats the end of text as a delimiter. By default, the text is an exact match. + + 0 - Don't match the delimiter against the end of the text. + 1 - Match the delimiter against the end of the text. + + + if_not_found[Optional] Value returned if no match is found. By default, #N/A is returned. + + + The text that occurs after given character or string. + + + + Validate and get the argument for TextAfter/TextBefore formula. + + + + + This function returns text that occurs text that occurs before a given character or string + + + A string containing the arguments separated by commas. + The format should be: "text,delimiter,instance_num, match_mode, match_end, if_not_found" + + textThe text you are searching within. Wildcard characters not allowed. + delimiterThe text that marks the point after which you want to extract. + instance_num[Optional] The instance of the delimiter after which you want to extract the text.(default is 1). + match_mode[Optional] Determines whether the text search is case-sensitive. The default is case-sensitive. + + 0 - Case sensitive. + 1 - Case insensitive. + + + match_end[Optional] Treats the end of text as a delimiter. By default, the text is an exact match. + + 0 - Don't match the delimiter against the end of the text. + 1 - Match the delimiter against the end of the text. + + + if_not_found[Optional] Value returned if no match is found. By default, #N/A is returned. + + + The text that occurs before a given character or string. + + + + Find index to returns text when delimiter is character and instance_num is negative that appears after a given character. + + The text you are searching within + The text that marks the point after which you want to extract. + The instance of the delimiter after which you want to extract the text.By default, instance_num = 1 + The index to returns text that appears after a given character. + + + + Find index to returns text when delimiter is word and instance_num is negative that appears after a given character. + + The text you are searching within + The text that marks the point after which you want to extract. + The instance of the delimiter after which you want to extract the text.By default, instance_num = 1. + The index to returns text that appears after a given word. + + + + Find index to returns text when delimiter is word and instance_num is positive that appears after a given character. + + The text you are searching within. + The text that marks the point after which you want to extract. + The instance of the delimiter after which you want to extract the text.By default, instance_num = 1. + The index to returns text that appears after a given word. + + + + Find index to returns text when delimiter is character and instance_num is positive that appears after a given character. + + The text you are searching within + The text that marks the point after which you want to extract. + The instance of the delimiter after which you want to extract the text.By default, instance_num = 1. + The index to returns text that appears after a given character. + + + + This function returns text from any specified value. It passes text values unchanged, and converts non-text values to text. + + + A string containing the arguments separated by commas. + The format should be: "value, format" + + valueThe value to return as text. + formatThe format of the returned data.[optional] + + 0 - Concise format that is easy to read. The text returned will be the same as the text rendered in a cell that has general formatting applied. + 1 - Strict format that includes escape characters and row delimiters. Generates a string that can be parsed when entered into the formula bar. Encapsulates returned strings in quotes except for Booleans, Numbers and Errors. + + + + + Text from any specified value + + + + Returns the text from any specified value. + + The value to return as text. + The format of the returned data. + + + + Calculate array format argument value. + + Return calculated array format argument value for interior and direct VALUETOTEXT formula. + + + + This function returns text from any specified array/range. It passes text values of array unchanged, and converts non-text values to text. + + + A string containing the arguments separated by commas. + The format should be: "array, format" + + arrayThe array to return as text. + formatThe format of the returned data.[optional] + + 0 - Concise format that is easy to read. + The text returned will be the same as the text rendered in a cell that has general formatting applied. + + 1 - Strict format that includes escape characters and row delimiters. + Generates a string that can be parsed when entered into the formula bar. + Encapsulates returned strings in quotes except for Booleans, Numbers and Errors. + + + + + + Text from the specified array/range. + + + + Calculates the final string of the specified condition in the formula from the sepcified range of cells. + + an array of text values from any specified range. + + + + Converts a flat list of cell data into a structured list of rows and columns. + + List of cell data. + Number of columns in the data. + Structured data as a list of lists. + + + + Returns the text from any specified value. + + The value to return as text. + The format of the returned data. + string value after checking with the conditions. + + + + + Validates the argument list and extracts the range, ignore, and scanByColumn values. + + Output parameter that holds the value to be ignored. + Output parameter that indicates whether to scan by column. + Output parameter that holds the range value. + The argument list string to be parsed and validated. + + Returns an error string if there is any validation error, otherwise returns an empty string. + + Thrown when there is an invalid number of arguments or invalid argument value. + + + + Converts the values of a given array range to a single column/row format. + + The range of the array to be converted. + A value indicating whether to ignore certain cells (e.g., blanks or errors). + A boolean indicating whether to scan the range by columns (true) or by rows (false). + A string representing the values of the array converted to a single column/row, separated by the defined separator. + + + + Checks the conditions of the given cell value in the array based on specified criteria. + + The value of the cell to be checked. + A value indicating whether to ignore certain cells (e.g., blanks or errors). + A list to which the cell value will be added if it meets the conditions. + A boolean indicating whether the cell value was added to the list. + + + + Retrieves the totalnumber of columns, totalnumber of rows, and array values from the given array/range. + + Output parameter for the total number of columns. + Output parameter for the total number of rows. + Output parameter for the list of array values. + Input arguments, including range or array values. + + + + + Returns specified columns from an array or range. + + + A string containing the array or range and the column indexes separated by commas. + The format should be: array, col_num1, [col_num2], ... + + + array: The source array or range. + + + col_num1: An integer specifying the first column to return. + + + [col_num2]: [optional] Index numbers of additional columns to return. + + + + A formatted string representing the specified columns from the array or range. + + + + Returns the row/column indexes as a string array from the argument. + + The arguments specifying the range and indexes to choose. + The total number of columns in the range. + The total number of rows in the range. + A boolean indicating whether the indexes are for columns (true) or rows (false). + An output parameter that will contain the computed indexes as an integer array. + A string indicating any error that occurred during the computation; otherwise, an empty string. + + + + Computes and returns a formatted string of column or row values from a range based on specified indexes. + + The range of the array to be processed. + An array of indexes specifying the columns or rows to be chosen. + The total number of columns in the range. + The total number of rows in the range. + A list of the values in the array. + A boolean indicating whether the indexes are for columns (true) or rows (false). + A formatted string representing the chosen column or row values, separated by the defined separator. + + + + Returns specified rows from an array or range. + + + A string containing the array or range and the row indexes separated by commas. + The format should be: array, row_num1, [row_num2], ... + + + array: The source array or range. + + + row_num1: An integer specifying the first row to return. + + + [row_num2]: [optional] Index numbers of additional rows to return. + + + + A formatted string representing the specified rows from the array or range. + + + + Converts a flat list of cell data into a structured list of columns. + + List of cell data + Number of columns in the data + Structured data as a list of lists by columns + + + + This function generates a list of sequential numbers in an array. + + + A string containing the arguments separated by commas. + The format should be: "rows, columns, start, step". + + rows: The number of rows to fill. + columns: The number of columns to fill. If omitted, defaults to 1 column. + start: The starting number in the sequence. If omitted, defaults to 1. + + step: The increment for each subsequent value in the sequence. It can be positive or negative. + + If positive, subsequent values increase, creating an ascending sequence. + If negative, subsequent values decrease, producing a descending sequence. + If omitted, the step defaults to 1. + + + + + Generates and returns an array of sequential numbers. + + + + Generate an array of sequential number + + Generate and return an array of sequential number + + + + This function splits text strings by using column and row delimiters. + + + A string containing the arguments separated by commas. + The format should be: "text, col_delimiter, row_delimiter, ignore_empty, match_mode, pad_with". + + text: The text you want to split. + col_delimiter: The text that marks the point where to spill the text across columns. + row_delimiter [optional]: The text that marks the point where to spill the text down rows. + + ignore_empty [optional]: Specifies whether to ignore empty values or not. Defaults to FALSE. + + FALSE (default) - create empty cells for consecutive delimiters without a value in-between. + TRUE - ignore empty values, i.e., don't create empty cells for two or more consecutive delimiters. + + + + match_mode [optional]: Determines case-sensitivity for the delimiter. Enabled by default. + + 0 (default) - case-sensitive. + 1 - case-insensitive. + + + pad_with [optional]: A value to use in place of missing values in two-dimensional arrays. The default is a #N/A error. + + + Splitted text strings by using column and row delimiters. + + + + Compute and return delimters when delimter contains multiple character{",",";"}. + + delimters when contains multiple character. + + + + splits text strings by a given row and column delimiter across columns or/and rows. + + the text to split + a character(s) that indicates where to split the text across rows. + a character(s) that indicates where to split the text across columns. + specifies whether to ignore empty values or not. + determines case-sensitivity for the delimiter. + a value to use in place of missing values in two-dimensional arrays. + maxColumn count. + list of splitted text. + + + + splits text strings by a column delimiter across columns. + + + + + This function retrieves a specified subset of values from a given array or range based on the number of rows and/or columns provided. + + + A string containing the arguments separated by commas in the following format: + + + array: The array or range from which to retrieve values. + + + + rows: [Optional] The number of rows to return. + A positive value returns rows from the start of the array, while a negative value returns rows from the end. + If omitted, columns must be provided. + + + columns: [Optional] The number of columns to return. + A positive integer returns columns from the start of the array, while a negative integer returns columns from the end. + If omitted, rows must be provided. + + + + A formatted string containing the subset of values from the specified array or range. If the input is invalid, an appropriate error message is returned. + + + + Retrieves values from the given range based on the specified rows and columns. + + The range of cells. + The number of rows to retrieve. + The number of columns to retrieve. + A string containing the retrieved values, separated by a specified separator. + + + + This function removes the specified number of rows and/or columns from the start or end of an array or range. + + + A string containing the arguments separated by commas. The format should be: array, rows, [columns]. + + + + array: The array or range from which values are to be removed. + + + + + rows: [Optional] The number of rows to remove. A positive value removes rows from the start of the array, + and a negative value removes rows from the end of the array. If omitted, columns must be provided. + + + + + columns: [Optional] The number of columns to remove. A positive integer removes columns from the start of the array, + and a negative integer removes columns from the end of the array. If omitted, rows must be provided. + + + + + + A formatted string representing the array after removing the specified rows and/or columns. + If the inputs are invalid, an error message is returned. + + + + + Drops specified rows and/or columns from the array. + + Input range or array. + Number of rows to drop. + Number of columns to drop. + Total number of rows in the array. + Total number of columns in the array. + List of array values. + Resultant string after dropping specified rows and/or columns. + + + + This function expands or pads an array to specified row and column dimensions. + + + A string containing the arguments separated by commas. + The format should be: "array, rows, columns, pad_with". + + array: The array to expand. + rows: The number of rows in the expanded array. If missing, rows will not be expanded. + columns: The number of columns in the expanded array. If missing, columns will not be expanded. + pad_with: The value with which to pad. The default is #N/A. + + + An expanded or padded array with the specified row and column dimensions. + + + + Compute and return the expanded arraay based on pad_with and rows and cols argument. + + + + + This function computes the vector (one-dimensional array) and returns the wrapped values. + + + The input arguments as a single string separated by commas. + The format is: vector, wrap_count, [pad_with] + + + vector: The source one-dimensional array or range. + + + wrap_count: The maximum number of values per row. + + + pad_with [optional]: The value to pad the last row with if there are insufficient items to fill it. + If omitted, the missing values will be padded with #N/A (default). + + + + A string representing the wrapped rows or an error message. + + + + Wraps the rows or columns of an array based on the specified wrap count and padWith. + + The vector of values to be wrapped. + The count at which to wrap the rows or columns. + The value to pad with if necessary. + A boolean indicating whether to wrap rows (true) or columns (false). + A string representing the wrapped rows or columns. + + + + This function computes the vector (one-dimensional array) and returns the wrapped values. + + + The input arguments as a single string separated by commas. + The format is: vector, wrap_count, [pad_with] + + vector: The source one-dimensional array or range. + wrap_count: The maximum number of values per column. + pad_with [optional]: The value to pad the last column with if there are insufficient items to fill it. + If omitted, the missing values will be padded with #N/A (default). + + + A string representing the wrapped columns or an error message. + + + + Checks for error strings in the given arguments and extracts the range, wrap count, and pad width. + + The input arguments as a single string. + The extracted range of values. + The extracted wrap count. + The extracted pad width. + A string representing any error found, or an empty string if no errors are found. + + + + This function sorts the contents of an array or range by columns or rows in ascending or descending order. + + + A string containing the arguments separated by commas. The format should be: "array, sort_index, sort_order, by_col". + + + + array: The array or range to be sorted. + + + + + sort_index [Optional]: The column or row index on which to base the sorting. If omitted, the first column or row is used. + + + + + sort_order [Optional]: Defines the sort order. If omitted, the default is ascending order. + + 1 or omitted - Ascending order (default). + -1 - Descending order. + + + + + + by_col [Optional]: A logical value indicating the direction of sorting. If omitted, the default is to sort by rows. + + FALSE or omitted - Sort by row (default). + TRUE - Sort by column. + + + + + + A string representing the sorted array. + + + + Compute and sort the values from array or range + + Array values specified as a range + Sort index is a column index from the range or array values + Sorting order (1 for ascending, -1 for descending) + Scan by column (true/false) + String of the sorted values + + + + Sorts the structured data by the specified row index and order. + + Structured data as a list of lists + Index of the row to sort by + Order to sort by (1 for ascending, -1 for descending) + Sorted structured data + + + + Sorts the structured data by the specified column and order. + + Structured data as a list of lists + Index of the column to sort by + Order to sort by (1 for ascending, -1 for descending) + Sorted structured data + + + + Compares two values for sorting based on the specified sort order. + + The first value to compare. + The second value to compare. + The sort order (1 for ascending, -1 for descending). + An integer indicating the relative order of the values. + + + + This function sorts the contents of a range or array based on the values in corresponding ranges or arrays. + + + A string containing the arguments separated by commas. + The format should be: "array, by_array1, sort_order1, by_array2, sort_order2,…". + + + array: The array or range to sort. + + + by_array1: The array or range to sort by. + + + sort_order1: The order to use for sorting. Default is ascending. + + 1 for ascending. + -1 for descending. + + + + + A sorted range or array. + + + + Retrieves the values of the specified arrays and performs sorting based on the provided criteria. + + An array of strings representing the arguments for the SORTBY function. + A list of strings representing the sort orders for each byArray. + A list of strings representing the byArrays used for sorting. + A string representing the sorted values. + + + + Performs the sorting for the SORTBY function. + + A list of strings representing the values of the initial array or range. + A list of strings representing the byArrays used for sorting. + A list of strings representing the sort orders for each byArray. + The number of columns in the initial array or range. + A string representing the sorted values. + + + + This function is used to filter a range of data based on the criteria that you specify. + + + The input arguments as a single string, separated by commas. + The format is: array, include, [if_empty] + + + array: The source range or array of values to filter. + + + include: The criteria for filtering, provided as a Boolean array or a condition that results in a Boolean array (e.g., B2:B13=B2"). + + + if_empty [optional]: The value to return if no entries meet the criteria. If omitted, a default error message is returned. + + + + A string representing the filtered values based on the criteria, or an error message if the arguments are invalid or if an error occurs. + + + + This method used to calculate the criteria for Filter formula using include argument and retrun the calculated string. + + + + + This method filters the given array based on specified criteria and returns the results as a formatted string. + + The array to filter. + The criteria for filtering the array. + Additional conditions or logical operators for filtering. + Value to return if no items match the criteria. + Number of columns in the array for filtering. + True if includeArray is horizontal, false if vertical. + A formatted string with the filtered results. + + + + This method converts a numeric value to its equivalent Thai text and adds the currency unit "Baht" for the integer part, and "Satang" for the fractional part if applicable. + + + A string representing a number, a reference to a cell containing a number, or a formula that evaluates to a number. This number will be converted to Thai text with a "Baht" suffix. + + + A string representing the given number in Thai text, followed by "Baht" for the whole number part and "Satang" for the fractional part. + If the input number is zero, it returns "ศูนย์บาทถ้วน". If the input is invalid, it returns an error message. + + + + + Converts the integer part of a number into its equivalent Thai text representation. + + The integer part of the number to convert. + Array of Thai words for ones (1-9). + Array of Thai words for tens (10, 20, etc.). + Array of Thai words for higher units (hundred, thousand, etc.). + A string representing the integer in Thai text. + + + + Return the XML content of the given document + + web link + XML data + + + + Returns the encode url of the given text + + text + returns the EncodeURL + + + + Filter the value from XML document + + XML content + value + + + + Occurs whenever a string needs to be tested to determine whether it should be treated as a formula string and parsed, + or be treated as a non-formula string. This event allows for preprocessing the unparsed formula. + + This event may be raised more than once in the processing of a string into a formula. + + + + + Occurs whenever an unknown function is encountered during the parsing of a formula. + + This event may be raised more than once in the parsing of a formula. + + + + + Occurs whenever an UpdateNamedRange function is encountered during the parsing of a formula. + + This event may be raised more than once in the parsing of a formula. + + + + + Occurs when the formula computes the values. + + This event may be raised more than once in the computation of a formula. + + + + + Occurs whenever an ExternalFormula function is encountered during the parsing of a formula. + + This event may be raised more than once in the parsing of a formula. + + + + + Occurs whenever an ExternalFormula function is encountered during the parsing of a formula. + + This event may be raised more than once in the parsing of a formula. + + + + + Occurs whenever an ExternalFormula function is encountered during the parsing of a formula. + + This event may be raised more than once in the parsing of a formula. + + + + + Gets of sets whether the CalcEngine treats nonempty strings as zeros when they are + encountered during calculations. + + + The default value is true meaning that if a nonempty string is encountered during an arithmetic operation, it will be treated as zero. + + + + + This property is used to return the cell ranges for print area calculation. + + + + + Specifies the maximum number of recursive calls that can be used to compute a cellvalue. + + This property comes into play when you have a calculated formula cell that depends on + another calculated formula that depends on another calculated formula and so on. If the number of + 'depends on another formula' exceeds MaximumRecursiveCalls, you will see a Too Complex message + displayed in the cell. The default value is 100, but you can set it higher or lower depending upon + your expected needs. The purpose of the limit is to avoid a circular reference locking up your + application. + + + + + Indicates whether formulas are immediately calculated as dependent cells are changed. + + Use this property to suspend calculations while a series of changes + are made to dependent cells either by the user or programmatically. When the changes are + complete, set this property to False, and then call Engine.RecalculateRange to recalculate + the affected range. See the sample in GridCellFormulaModel.CalculatingSuspended. + + + + + A read-only property that gets a collection holding the current library functions. + + + This property gives you direct access to all library functions. + The function name serves as the hash key and the function delegate + serves as the hash value. + The function name should contain only letters, digits or an underscore. + You should use the method to add functions + to this collection. Do not use the Add method inherited from Hashtable. + The reason is that the hash key needs to be strictly upper case even though + formula syntax is case insensitive with respect to functions names. + Using the AddFunction method makes sure the hash key is properly set. + + + + + A property that gets/sets whether strings concatenated using the '&' operator should be + returned inside double quote marks. + + + + + A property that is used to identify whether the exception thrown or not while calculating the value. + + + + + Gets any Exception raised during the computation of a library function + provided RethrowLibraryComputationExceptions is set true. + + + Use the method to set this property + to null to indicate that there is no pending library exception within the engine. + + + + + Gets / sets whether the engine Rethrows any exception + raised during the computation of a library function. + + The default value is false. + + + + A property that gets or sets the calculations of the computations to mimic the computations of Excel. + + + + + Gets or sets the maximum calculation stack depth. + + + The default is 50. This is the number of recursive calls that can be made during calculations. + + + + Gets or sets a string array that hold the reserved strings + that will be used for the OR, AND, XOR, IF, THEN, ELSE and NOT logical operators. + + Here is the code that you can use to define this string array. This code + shows the default strings that are used. Note that the string must include a leading + and trailing blank, and must be lower case. In formulas that use these operators, + the formulas themselves are case agnostic. + + engine.ReservedWordOperators = new string[] + { + " or ", //0 + " and ", //1 + " xor ", //2 + " if ", //3 + " then ", //4 + " else ", //5 + " not " //6 + }; + + + + + + A static property that gets/sets character by which string starts with, can be treated as formula. + + + + + Enables / disables using row = 0 in formulas to represent the current row. + + + When this property is set True, entering zero as a row in a formula is + interpreted to be the current row. Using the current row notation allows + you to sort a column in the grid and maintain the relative formula. + After sorting, you do have to call engine.RecalculateRange to allow the + relative formulas to reset themselves. + + + + + Below property is used to find the active function name. + + + + + Gets the cell that is being calculated by the Engine. + + You can use this properly within your custom functions to + identify the item in the ICalcData object being computed. + + + + + Gets or sets whether IF function calculations should specifically avoid + computing the non-used alternative. + + + The default value is false for code legacy consistency. When AllowShortCircuitIFs + is set true, only the necessary alternative of an IF function is computed. To support + this behavior, a change in how nested IF function calculations are done is necessary. + The default way of calculating nested functions is inside-out, with the inner most + functions being computed to a value before the next outer function is evaluated. To + support short circuiting IF functions, nested IF functions need to be computed from + the outside-in to know what alternative needs to be evaluated. This outside-in calculation + pattern only applies to IF functions, and only when AllowShortCircuitIFs is true. + + + + + Gets or sets whether FormulaInfo.calcID is tested before + computing a formula during a call to + + When a value changes, then the Refresh method is called on any other + formula that had a dependency on the changed value. During the Refresh call, + the default behavior is to recompute all formulas (AlwaysComputeDuringRefresh = true). + If you are using to strictly control when new values + should be used, then you should set this property to false. For example, if you are + only using exclusively to retrieve computed values, + then setting AlwaysComputeDuringRefresh = false + may be more efficient as it will only recompute the value once during the calculations. + + + + A property that gets/sets whether Formula returns its FormulaValue instead of repeated calculation + + Use this property to return the FormulaValue when a cell contain more depency cells. + + + + + Gets or sets whether Invalid Formula is returned when the calculation stack is not fully exhausted during a calculation. + + + If you enter a formula like "=(1+2)(9+8)", Essential Calculate will compute this formula as 17, ignoring the dangling + 3 value on its calculation stack. If you want this situation flagged as a Invalid Formula, set this CheckDanglingStack property + to true. The default value is false for backward compatibility purposes. + + + + + Used with row ranges to possibly provide the upperlimit on the number of columns in the ICalcData object. + + + Essential Calculate supports column ranges of the form 2:4 as in =SUM(2:4) to represent all cells in rows + 2, 3 and 4 from a ICalcData object. To get a value for the number of columns, the CalcEngine first checks to + see if the ICalcData object supports the ISheetData interface. If this interface is supported, the column + count used to determine the range is obtained through this interface. If the ICalcData object does not support + ISupportColumnCount, then the value of ColumnMaxCount is used provided ColumnMaxCount > 0. If not, the fixed value 50 + is used. + + + + + Gets or sets whether the IF function implementation is called when is true. + The default behavior is to not call the IF Function code in the library, but instead, work directly with the + IF clauses. + + + + + Gets or sets whether must be called on every cells whenever + the is triggered. + The default value is false. + + + When a value changes, then the Refresh method is called recursively every time + the grid_ValuChanged is called. Setting this ForceRefreshCall to false will call + Refresh for only those cells where the calculated value is actually modified. + + + + + A read-only property that gets the collection of FormulaInfo objects being used by the CalcEngine. + + + + + Gets or sets whether leading zeros are preserved in a call to . + + + If the value of arg is "0123" or a cell reference like A1 where A1 holds 0123, then the default behavior + is for GetValueFromArg(arg) to return 123, stripping away any leading zeros. If you want calls to + GetValueFromArg to preserve the leading zeros, then set GetValueFromArgPreserveLeadingZeros to true. + + + + + Gets or sets the maximum number of iterative calls that can be made on a cell. + will be set to true when you set IterationMaxCount to any value other than zero. + + + Essential Calculate supports an iterative process to solve equations of the + form x=f(x). Here you should think of x as being a cell reference like B2 for example. Setting + IterationMaxCount to some value other than zero allows the engine to iteratively compute + f(x) using the previous iteration's calculated value for x. The initial value is either 0 + or the last saved value for a formula in that cell (if the calculation has been performed previously). + The iterations continue until either the iteration count exceeds IterationMaxCount, or two + successive iteration return values have a relative difference less than IterationMaxTolerance. + For example, to have an initial value of 1, you can enter a formula =1 into the cell, and then + enter the self referencing formula into the same cell. This will make the iterative calculations start + at 1 instead of 0. + must be set to true in order for the Iterative Calculation + support to function For this reason, ThrowCircularException will be automatically set to true + when you set a non-zero value to IterationMaxCount. + The default value is 0 indicating that iterative calculation support is turned off. + + + + + Gets or sets the success tolerance used by the CalcEngine's iterative calculation support. + + + Essential Calculate supports an iterative process to solve equations of the + form x=f(x). Here you should think of x as being a cell reference like B2 for example. Setting + IterationMaxCount to some value other than zero allows the engine to iteratively compute + f(x) using the previous iteration's calculated value for x. The initial value is either 0 + or the last saved value for a formula in that cell (if the calculation has been performed previously). + The iterations continue until either the iteration count exceeds IterationMaxCount, or two + successive iteration return values have a relative difference less than IterationMaxTolerance. + The default value is 0.001. + + + + + Gets or sets a value indicating whether editing a cell’s value will update dependent cells.  + + The default value is False. + + If enabled, editing a cell's value will not update dependent cells based on the edited value. + + + + + Used with column ranges to possibly provide the upperlimit on the number of rows in the ICalcData object. + + + Essential Calculate supports column ranges of the form A:D as in =SUM(A:D) to represent all cells in columns + A, B, C and D from a ICalcData object. To get a value for the number of rows, the CalcEngine first checks to + see if the ICalcData object supports the ISheetData interface. If this interface is supported, the row + count used to determine the range is obtained through this interface. If the ICalcData object does not support + ISupportRowCount, then the value of RowMaxCount is used provided RowMaxCount > 0. If not, the fixed value 50 + is used. + + + + + Gets or sets whether OR, AND, XOR and IF THEN ELSE logical + operators are supported. + + + The default value is false for backward compatibility. + + + + + Gets or sets whether ranges can be used as binary operands. + + + If this property is true, Essential Calculate recognizes ranges such + as B1:B5 and A4:E4 as operands of binary operators. So, if you + set the formula = A1:A5 + B1:B5 into cell C4, the calculation + will retrieve the values in A4 and B4 to be used in place of the + corresponding ranges A1:A5 and B1:B5. Note that such ranges must + either have one column wide or one row tall. This fact is used to + make the corresponding lookup determined by where the host cell that holds + the formula is located. This host cell + must either be in the same row or column as some cell in range. + + The default value is false. + + + + + Gets or sets whether sheet range notation is supported. + + + Excel supports sheet range notation such as + = SUM( sheet1:sheet3!A1 ) + Sum( sheet1:sheet3!B1:B4 ). + For backward compatibility with earlier versions that did + not support this sheet range notation, you can set + this SupportsSheetRanges false. + + This implementation replaces a sheet range (sheet1:sheet3!B1:B4) with + list of ranges (sheet1!B1:B4,sheet2!B1:B4,sheet3!B1:B4). + + + + + Gets / sets whether the CalcQuick should throw an exception when a circular calculation is encountered. + + If this property is True, the CalcQuick will throw an exception + when it detects a circular calculation. If ThrowCircularException is False, then + no exception is thrown and the calculation will loop recursively until Engine.MaximumRecursiveCalls + is exceeded. + + + + + A property that gets / sets whether the CalcEngine should track dependencies. + + If you are using the CalEngine in a manner where you always + call PullUpdatedValue to access the computations, then setting UseDependencies + to False will make things more efficient as any requested computed value will + be fully computed every time it is retrieved. In this situation, the CalcEngine + does not need to track dependencies. + + + + + For internal use. + + + + + Gets or sets a value indicating whether [preserve formula]. + + true if [preserve formula]; otherwise, false. + + + + A static property that gets/sets character to be recognized by the parsing code as the delimiter for arguments in a named formula's argument list + + + + + A static property that gets/sets the character to be recognized by the parsing engine as decimal separator for numbers. + + + + + A static property that gets/sets the character to be recognized by the parsing engine as decimal separator for date. + + + + + A property that gets/sets list of # error strings recognized by Excel. + + + + + A read-only property that gets a mapping between a cell and a list of formula cells that depend on it. + + + The key is the given cell, and the value is a ArrayList of cells containing + formulas that reference this cell. + + Here is code that will list formula cells affected by changing the given cell. + + public void DisplayAllAffectedCells() + { + CalcEngine engine = ((GridFormulaCellModel)this.gridControl1.CellModels["FormulaCell"]).Engine; + foreach(object o in engine.DependentCells.Keys) + { + string s1 = o as string; + Console.Write(s1 + " affects "); + ArrayList ht = (ArrayList) engine.DependentCells[s1]; + foreach(object o1 in ht) + { + string s2 = o1 as string; + Console.Write(s2 + " "); + } + Console.WriteLine(""); + } + } + + + Public Sub DisplayAllAffectedCells() + Dim engine As GridCalcEngine = CType(Me.gridControl1.CellModels("FormulaCell"), GridFormulaCellModel).Engine + Dim o As Object + For Each o In engine.DependentCells.Keys + Dim s1 As String = CStr(o) + Console.Write((s1 + " affects ")) + Dim ht As ArrayList = CType(engine.DependentCells(s1), ArrayList) + Dim o1 As Object + For Each o1 In ht + Dim s2 As String = CStr(o1) + Console.Write((s2 + " ")) + Next o1 + Console.WriteLine("") + Next o + End Sub 'DisplayAllAffectedCells + + + + + + A read-only property that gets a mapping between a formula cell and a list of cells upon which it depends. + + + The key is the given formula cell and the value is a Hashtable of cells that this + formula cell references. + + Here is code that will lists formula cells affected by changing a given cell: + + public void DisplayAllFormulaDependencies() + { + GridCalcEngine engine = ((GridFormulaCellModel)this.gridControl1.CellModels["FormulaCell"]).Engine; + foreach(object o in engine.DependentFormulaCells.Keys) + { + string s1 = o as string; + Console.Write(s1 + " depends upon "); + Hashtable ht = (Hashtable) engine.DependentFormulaCells[s1]; + foreach(object o1 in ht.Keys) + { + string s2 = o1 as string; + Console.Write(s2 + " "); + } + Console.WriteLine(""); + } + } + + + Public Sub DisplayAllFormulaDependencies() + Dim engine As GridCalcEngine = CType(Me.gridControl1.CellModels("FormulaCell"), GridFormulaCellModel).Engine + + Dim o As Object + For Each o In engine.DependentFormulaCells.Keys + Dim s1 As String = CStr(o) + Console.Write((s1 + " depends upon ")) + Dim ht As Hashtable = CType(engine.DependentFormulaCells(s1), Hashtable) + Dim o1 As Object + For Each o1 In ht.Keys + Dim s2 As String = CStr(o1) + Console.Write((s2 + " ")) + Next o1 + Console.WriteLine("") + Next o + End Sub 'DisplayAllFormulaDependencies + + + + + + A property that gets/sets the current named ranges. + + + + + Gets the weekend type + + + + + Gets or sets whether dates can be used as operands in calculations. The default value is false. + + + + + Gets / sets whether the engine throws an exception when + parsing fails with an unknown function error. + + + + + The List holds the formats of a Chinese Language. + + + + + Gets or sets whether lookup tables used in the VLookUp and HLookUp functions are cached. + + + Depending upon your use case, caching look up tables can greatly speed up calculations involving HLookUp + and VLookUp. If you make multiple calls to these functions passing in the same look up tables, and if these + look up tables are relatively static (don't dynamically change as the look ups are taking place), then caching + these tables will likely improve performance. + + + + + Delegate used to define functions that you add to the function library. + + Resultant value. + + + + Specifies the options for checking the formula error strings. + + + + + Formula contains null arguments. For Example:PI,RANDOM...etc + + + + + Formula contains range argument. For example:MEDIAN,...etc + + + + + Formula contains two text arguments with Number argument. For example:FIND,SEARCH...etc + + + + + Formula contains number and text arguments. For example:LEFT,RIGHT...etc + + + + + Formula contains number arguments only. For example:ABS,ROUND,ROUNDDOWN,LOG...etc + + + + + Formula contains text arguments only. For example:ARABIC,CLEAN...etc + + + + + Formula contains Date argument. For example:DISC,...etc + + + + + Compares 2 strings based on their length. + + 0, if both strings are equal; positive value if second string is greater; neagative value if first string is greater. + + + + Event delegate for ExternalFormulaEventArgs event. + + The CalcEngine. + The for this event. + + + + The event args for the ExternalFormulaEventArgs event, which is raised whenever the CalcEngine calculate external reference formula. + + + + + Event delegate for ExternalFormulaEventArgs event. + + The CalcEngine. + The for this event. + + + + The event args for the ExternalFormulaEventArgs event, which is raised whenever the CalcEngine is trying to get external worksheet from external reference formula. + + + + + Event delegate for ExternalFormulaEventArgs event. + + The CalcEngine. + The for this event. + + + + The event args for the ExternalFormulaEventArgs event, which is raised whenever the CalcEngine is trying to get external named range address from external reference formula. + + + + + Event delegate for the FormulaParsing event + + + + + Used by the event, FormulaParsingEventArgs holds a reference + to the string that is to be parsed. The FormulaParsing event allows the listener to preprocess + the string that is being parsed. + + + Please note that this event may be raised more than once as a string is parsed. + + Here is code snippets that show how to tell a engine to also treat any text in a formula cell + that begins with a minus(-) or a plus(+) as formulas. The default behavior is to treat only text beginning + with equal(=) as formulas. + + //subscribe to the event before any formulas are loaded into the grid... + Engine.FormulaParsing += new FormulaParsingEventHandler(Engine_FormulaParsing); + + //Here is the handler code that adds an = if necessary so any string beginning with +, - or = + //is treated as a formula. + void Engine_FormulaParsing(object sender, FormulaParsingEventArgs e) + { + //allow cells starting with + and - to be treated as formula cells. + if (e.Text.StartsWith("-")) + e.Text = "=" + e.Text; + else if (e.Text.StartsWith("+")) + e.Text = "=" + e.Text.Substring(1); + } + + + + + + Holds a reference to the string that is to be parsed.. + + The formula that is to be parsed. + + + + Default constructor. + + + + + A property that gets/sets the formula about to be parsed. + + + + + Event delegate for UnknownFunction event. + + The CalcEngine. + The for this event. + + + + The event args for the UnknownFunction event which is raised whenever the CalcEngine encounters a function + that is does not know. + + + + + Gets the name of the unknown function. + + + + + Gets the location of the missing function. + + + + + Event delegate for UpdateNamedRange event. + + The CalcEngine. + The for this event. + + + + The event args for the UpdateNamedRange event, which is raised whenever the CalcEngine calculate the intersection range of two named range . + + + + + Represents the method that will handle FormulaComputed event. + + Source of this event. + An instance of that contains the event data. + + + + Represents a class which holds the properties of FormulaComputed event. + + + + + Initializes a new instance of the FormulaComputedEventArgs class. + + Currently calculated formula. + The CalculatedValue for the formula. + The currently calculating cell address. + Returns true if the currently calculating formula is interior formula;else false. + + + + Gets the currently calculated formula name. + + + + + Gets or sets the value for the calculated formula. + + + + + Gets the currently calculated formula's cell reference. + + + + + Gets the value whether the currently calculated formula is interior formula or not. + + Returns true if the currently calculated formula is interior formula;else false. + + + + Gets the value whether to handle the calculation of the formula. + + To handle the calculation of the formula. + + + + The CustomComparer class provides a mechanism for comparing two strings based on a custom comparison logic. + It implements the interface to allow sorting or ordering operations on collections + of strings using the specified comparison logic. + + + This class is particularly useful when you need to perform custom sorting or ordering of strings in a collection, + such as a list or array. The comparison logic is provided via a delegate, which + allows flexibility in defining how two strings should be compared. + + + + + Initializes a new instance of the class with the specified comparison logic. + + A delegate that defines the logic for comparing two strings. + + + + Compares two strings and returns a value indicating whether one is less than, equal to, or greater than the other. + + The first string to compare. + The second string to compare. + + A signed integer that indicates the relative values of and : + + Less than zero: is less than . + Zero: equals . + Greater than zero: is greater than . + + + + + + Encapsulates the properties that are needed to support multiple families of crossed-referenced grids. + This class is for internal use only. + + + + + Holds mapping from parent object to sheet token. + + + + + Holds mapping from sheet token to parent object. + + + + + Holds mapping from parent object to sheet name. + + + + + Holds mapping from sheet name to parent object. + + + + + Performs the calculation of LINEST formula. + + + + + Gets or sets the instance of . + + + + + Initialize the object for parsing operations. + + An instance of . + + + + + This method is used to split the range and logical value when the range contains logical value. + + Range with logical value(ex:\u0092C1:C3\"1,2\"m\u0092) + Spilt the range ex("C1:C3") + Split the logical value ex("\"1,2\"m") + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + A class that allows you to quickly add calculation support for controls on a form, or usercontrol. + + + To use CalcQuick, you instantiate an instance of the class. Then just by indexing the + class object with string names to identify a formula object, you can have calculation support + in your form. Alternatively, you can add a collection of Control-derived objects and the + CalcQuick object will bind the Control.Text property allowing you to use the Control/Name property + to reference other controls in a formula. + + + Here is code that uses three TextBoxes, the first showing a value for an angle in degrees, + and the other two displaying the sine and cosine of this angle. In this code, the calculations + are done on the click of a button: + + CalcQuick calculator = null; + private void AngleForm_Load(object sender, System.EventArgs e) + { + //TextBox Angle = new TextBox(); + this.Angle.Name = "Angle"; + this.Angle.Text = "30"; + //cosTB = new TextBox(); + this.cosTB.Name = "cosTB"; + this.cosTB.Text = "= cos([Angle] * pi() / 180) "; + //sinTB = new TextBox(); + this.sinTB.Name = "sinTB"; + this.sinTB.Text = "= sin([Angle] * pi() / 180) "; + // Instantiate the CalcQuick object: + this.calculator = new CalcQuick(); + } + // Perform a manual calculation: + private void ComputeButton_Click(object sender, System.EventArgs e) + { + // Let the calculator know the values/formulas + // by using an indexer on the calculator object. + // Here we are using the TextBox.Name as the indexer key + // provided to the calculator object. This is not required. + // The only restriction for the indexer key values is that they + // be unique nonempty strings: + this.calculator["Angle"] = this.Angle.Text; + this.calculator["cosTB"] = this.cosTB.Text; + this.calculator["sinTB"] = this.sinTB.Text; + // Mark the calculator dirty: + this.calculator.SetDirty(); + // Now as the values are retrieved from the calculator, they + // will be the newly calculated values: + this.cosTB.Text = this.calculator["cosTB"]; + this.sinTB.Text = this.calculator["sinTB"]; + } + + + Dim calculator As CalcQuick = Nothing + Private Sub AngleForm_Load(sender As Object, e As System.EventArgs) + 'TextBox Angle = new TextBox(); + Me.Angle.Name = "Angle" + Me.Angle.Text = "30" + 'cosTB = new TextBox(); + Me.cosTB.Name = "cosTB" + Me.cosTB.Text = "= cos([Angle] * pi() / 180) " + + 'sinTB = new TextBox(); + Me.sinTB.Name = "sinTB" + Me.sinTB.Text = "= sin([Angle] * pi() / 180) " + + 'Instantiate the CalcQuick object: + Me.calculator = New CalcQuick() + End Sub 'AngleForm_Load + + 'Perform a manual calculation: + Private Sub ComputeButton_Click(sender As Object, e As System.EventArgs) + 'Let the calculator know the values/formulas + 'by using an indexer on the calculator object. + 'Here we are using the TextBox.Name as the indexer key + 'provided to the calculator object. This is not required. + 'The only restriction for the indexer key values is that they + 'be unique nonempty strings: + Me.calculator("Angle") = Me.Angle.Text + Me.calculator("cosTB") = Me.cosTB.Text + Me.calculator("sinTB") = Me.sinTB.Text + + 'Mark the calculator dirty: + Me.calculator.SetDirty() + + 'Now as the values are retrieved from the calculator, they + 'will be the newly calculated values: + Me.cosTB.Text = Me.calculator("cosTB") + Me.sinTB.Text = Me.calculator("sinTB") + End Sub 'ComputeButton_Click + + Here is code that uses the same three TextBoxes as above, but this time + the code is set up to automatically compute things as you change the + value in the Angle TextBox. There is no longer a need for a button handler + to trigger setting / getting values. + + CalcQuick calculator = null; + + private void AngleForm_Load(object sender, System.EventArgs e) + { + //TextBox Angle = new TextBox(); + this.Angle.Name = "Angle"; + this.Angle.Text = "30"; + + //cosTB = new TextBox(); + this.cosTB.Name = "cosTB"; + this.cosTB.Text = "= cos([Angle] * pi() / 180) "; + + //sinTB = new TextBox(); + this.sinTB.Name = "sinTB"; + this.sinTB.Text = "= sin([Angle] * pi() / 180) "; + + // Instantiate the CalcQuick object: + this.calculator = new CalcQuick(); + } + + // Perform a manual calculation: + private void ComputeButton_Click(object sender, System.EventArgs e) + { + // Let the calculator know the values/formulas + // by using an indexer on the calculator object. + // Here we are using the TextBox.Name as the indexer key + // provided to the calculator object. This is not required. + // The only restriction for the indexer key values is that they + // be unique nonempty strings: + this.calculator["Angle"] = this.Angle.Text; + this.calculator["cosTB"] = this.cosTB.Text; + this.calculator["sinTB"] = this.sinTB.Text; + + // Mark the calculator dirty: + this.calculator.SetDirty(); + + // Now as the values are retrieved from the calculator, they + // will be the newly calculated values: + this.cosTB.Text = this.calculator["cosTB"]; + this.sinTB.Text = this.calculator["sinTB"]; + } + + + Dim calculator As CalcQuick = Nothing + + Private Sub AngleForm_Load(sender As Object, e As System.EventArgs) + 'TextBox Angle = new TextBox(); + Me.Angle.Name = "Angle" + Me.Angle.Text = "30" + + 'cosTB = new TextBox(); + Me.cosTB.Name = "cosTB" + Me.cosTB.Text = "= cos([Angle] * pi() / 180) " + + 'sinTB = new TextBox(); + Me.sinTB.Name = "sinTB" + Me.sinTB.Text = "= sin([Angle] * pi() / 180) " + + 'Instantiate the CalcQuick object: + Me.calculator = New CalcQuick() + End Sub 'AngleForm_Load + + 'Perform a manual calculation: + Private Sub ComputeButton_Click(sender As Object, e As System.EventArgs) + 'Let the calculator know the values/formulas + 'by using an indexer on the calculator object. + 'Here we are using the TextBox.Name as the indexer key + 'provided to the calculator object. This is not required. + 'The only restriction for the indexer key values is that they + 'be unique nonempty strings: + Me.calculator("Angle") = Me.Angle.Text + Me.calculator("cosTB") = Me.cosTB.Text + Me.calculator("sinTB") = Me.sinTB.Text + + 'Mark the calculator dirty: + Me.calculator.SetDirty() + + 'Now as the values are retrieved from the calculator, they + 'will be the newly calculated values: + Me.cosTB.Text = Me.calculator("cosTB") + Me.sinTB.Text = Me.calculator("sinTB") + End Sub 'ComputeButton_Click + + + + + + Used in conjunction with . + + + Essential Calculate supports column ranges of the form A:D as in =SUM(A:D) to represent all cells in columns + A, B, C and D from a ICalcData object. To get a value for the number of rows, the CalcEngine first checks to + see if the ICalcData object supports the ISheetData interface. If this interface is supported, the row + count used to determine the range is obtained through this interface. If the ICalcData object does not support + ISheetData, then the value of is used provided RowMaxCount > 0. + and the index of first and last rows and columns + is used. + + + + + ICalcData defines the minimal interface that a data object must support in order to use + this formula engine. + + + + + A method that gets the data value from the specified row and column. + + 1-based index specifying the row index of the requested value. + + 1-based index specifying the column index of the requested data. + The data value at the given row and column index. + + + + A method that sets the data value to the specified row and column. + + The value. + One-based index specifying the row index of the value. + One-based index specifying the column index of the value. + + + + A method that wires the ParentObject after the CalcEngine object is created or when a + RegisterGridAsSheet call is made. + + This method is a callback to the ParentObject so it can have a chance + to subscribe to any change events it may need to implement ValueChanged properly. + + + + + Event for value changed + + + + + Get the idex of the first row in UsedRange + + index of first row + + + + get the index of the last row in UsedRange + + index of last row + + + + Gets the row count. + + Number of rows + + + + Gets the first column index. + + Index of first column + + + + Gets the last column index / column count. + + Index of last column + + + + Gets the column count. + + Number of columns + + + + Returns the value as false + + + + + Default constructor: + + Use this constructor when you want to have + several CalcQuick objects that access the same + static members of the CalcEngine. + + + + + Constructor that resets the CalcEngine object. + + + Indicates whether the static members of the CalcEngine class will be cleared. + + + + A method to reset all the keys registered with CalcQuickBase object. + + + + + Creates the object used by this CalQuick object. + + Returns an instance of a CalcEngine object. + You can override this method and return a derived CalcEngine object use + by the derived CalcQuick object. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + A method that parses and computes a well-formed algebraic expression passed in. + + The text of the formula. + The computed value. + You would use this method if you have a formula string which + contains only constants or library function references. Such formulas + do not depend upon other values. If you have registered a variable through + an indexer, then that variable can be used in a formula expression passed into this + method. This method will return the Exception text if an exception is thrown + during the computation. + + + + + A method that returns the formula string associated with the key passed in from a FormulaInfo object. + + The Hashtable key associated with the FormulaInfo object. + The formula string may be the empty string if no formula is stored with this key. + + + + A method to get the value of the cell referred. For internal CalcQuick use only. + + Row index. + Column index. + (row, col) data. + + CalcQuick does not expose a (row, col) data access model. + But since CalcEngine requires such a model, CalcQuick uses + a row, col access model internally, but only exposes the + formula Key model to access values. + + + + + Initializes any structures needed by this instance. + + + Indicates whether the static members of the CalcEngine class will be cleared. + + + + A method that parses and computes a well-formed algebraic expression passed in. + + The text of the formula. + The computed value. + You would use this method if you have a formula string which + contains only constants or library function references. Such formulas + do not depend upon other values. If you have registered a variable through + an indexer, then that variable can be used in a formula expression passed into this + method. + + + + + A method that recompute any formulas stored in the CalcQuick instance. + + + This method only has is used when AutoCalc is False. It loops through + all FormulaInfo objects stored in the CalcQuick object and recomputes + any formulas. + + + + + A method to force all calculations to be performed the next time the CalcQuick object is + accessed with an indexer requesting the value. + + + Each FormulaInfo object contained in the CalcQuick instance + has a calculation index that is checked any time the computed value is needed. If this index + is current, no calculation is done, and the last computed value is returned. If this index + is not current, the calculation is redone before the value is returned. Calling this method + guarantees that no FormulaInfo object's calculation indexes will be current. + + + + + A method to set value to the specified cell. For internal CalcQuick use only. + + + + + Loops through and updates all formula items that depend + on the FormulaInfo object pointed to by the key. + + Identifies FormulaInfo object that triggered the update. + + + + A method that wires the ParentObject after the CalcQuick object is created. For internal CalcQuick use only. + + + + + Get the idex of the first row in UsedRange + + index of first row + + + + get the index of the last row in UsedRange + + index of last row + + + + This API supports the .NET Framework infrastructure and is not intended to be used directly from your code + + + + + + Gets the first column index. + + Index of first column + + + + Gets the last column index / column count. + + Index of last column + + + + This API supports the .NET Framework infrastructure and is not intended to be used directly from your code + + + + + + For internal CalcQuick use only. + + + + + Occurs when one of the FormulaInfo objects being + maintained by the CalcQuick instance has changed. + + + + + A property that gets/sets the auto calculation mode of the CalcQuick. + + + By default, the CalcQuick will not update other values when you change + a FormulaInfo object. By default, you explicitly call SetDirty() + of the CalcQuick instance to force calculations to be done the next time + they are required. Setting AutoCalc to True tells the CalcQuick to maintain + the dependency information necessary to automatically update + dependent formulas when values that affect these formulas change. + + + + + Gets or sets whether formulas should be checked for syntax during key substitutions. Default is true. + + + Prior to version 4.4, no syntax checking was performed during the initial parsing process of substituting + for keys (variable names enclosed in square brackets). This early syntax checking support has been added to + catch cases where a keys was not preceded (or followed) properly in the formula. This CheckKeys property + is available for backward compatibility. To maintain the exact parsing algorithm found in versions + prior to 4.4, set this property to false. + + + + + Maintains a set of modified flags indicating whether + any control has had a value changed. + + + + + Maintains a collection of FormulaInfo objects. + + + This Hashtable serves as the data store for the + CalcQuick instance. The keys are the strings used + to identify formulas and the values are FormulaInfo + objects that hold the information on each formula or value. + + + + + Determines whether the CalcEngine object of this CalcQuick should be disposed on disposing this object. + Default value is true. + + + + + A read-only property that gets the reference to the CalcEngine object being used by this CalcQuick instance. + + + + + A property that gets/sets character by which string starts with, are treated as + formulas when indexing a CalcQuick object. + + If you use the technique of indexing the CalcQuick object + to set a varaible value, then you indicate that the value should be a + formula by starting the string with this character. If you do not want + to require your formulas to start with this character, then you will not + be able to use the indexing technique. Instead, you will have to call + ParseAndCompute directly to handle formulas not starting with this + character. + + + + Maintains a mapping between the string key and the row + used in a CalcSheet to identify a FormulaInfo object. + + + + + Maintains a mapping between the string key and a + vector of numbers entered using a brace expression. + + + + + Maintains a mapping between the string key and the control + which is being used to identify a FormulaInfo object. + + + + + Maintains a mapping between the row used in a CalcSheet + and the string key used to identify a FormulaInfo object. + + + + + Gets / sets formula values for CalcQuick. + + The indexer used to identify the formula. + + Using an indexer on the CalcQuick instance is the primary method + of setting a value to be used in a CalcQuick object. The string + used as the indexer is the key that you use to reference this formula + value in other formulas used in this CalcQuick instance. + + + + + Gets / sets whether the CalcQuick should throw an exception when a circular calculation is encountered. + + If this property is True, the CalcQuick will throw an exception + when it detects a circular calculation. If ThrowCircularException is False, then + no exception is thrown and the calculation will loop recursively until Engine.MaximumRecursiveCalls + is exceeded. + + + + + An event handler that represents the method to handle the event. + + + This event is raised whenever an indexer is used on the CalcQuick object to assign + it a value or when a value is assigned as the result of a calculation being done. + + + + + Event argument class for the event. + + + + + The only constructor for QuickValueSetEventArgs. + + This is the object that is used as the key value in the Hashtable to + identify the formula information. It is also the string you use in formulas (enclosed in brackets) + to reference a formula from another formula. + New value being assigned. + Indicates the reason the event is being raised. See FormulaInfoSetAction. + + + + The reason the event was raised. + + + + + A property that gets/sets the Hashtable lookup object for the FormulaInfo object being changed. + + + + + A property that gets/sets the new value being set. + + + + + Flags the reason that quickValueSet was raised. + + When QuickValueSet event is raised, it passes an + argument of FormulaInfoSetAction to indicate what was being assigned + to the CalcQuick object using an indexer. + + + + A formula (string starting with FormulaCharacter) was assigned. + + + + + Something other than a formula was assigned. + + + + + A calculated value was assigned. + + + + + Typed Hashtable returning FormulaInfo objects. + + + + + Gets or sets the FormulaInfo with the specified obj. + + The key to identify the given FormulaInfo. + FormulaInfo + + + + CalcSheet represents a single worksheet in a workbook. + + + A CalcSheet plays the role of an Excel Worksheet. It maintains its own internal data object + to hold FormulaInfo objects used by the CalcEngine in its calculation work. The CalcSheet accesses + the raw data / formulas that you want to use in the calculations via the ICalcData interface. + + + + + Default constructor. + + + + + Constructor that initializes an internal object array to + hold data. + + Number of rows in the data object. + Number of columns in the data object. + + + + Constructor used during serialization. + + + + + Creates a CalcSheet from a delimited text file + created by WriteSheetToFile. + + The file name. + A CalcSheet instantiated with the file content. + + + + Supports serialization. + + Serialization information. + Describes source and destination of the given stream.. + + + + Returns the value at the row and column. + + One-based row index. + One based column index. + The cell value. + + + + Raises the CalculatedValueChanged event. + + Includes the row, col, and value of the change. + This event should be raised any time a value changes. + + + + Raises the ValueChanged event. + + Includes the row, col, and value of the change. + This event should be raised any time a value changes. + + + + Creates a CalcSheet object from the content of a StreamReader. + + The StreamReader. + The newly created CalcSheet object. + + + + A Virtual method to save the value through the ICalcData.SetValueRowCol implementation method + and raise the ValueChanged event. + + The row index, one-based. + The column index, one-based. + The value. + + + + A Virtual method to set a value at a given row and column. + + Value to be set. + One-based row index. + One-based column index. + + + + A Virtual method that can be used to handle subscribing to any base object events necessary for implementing the + ValueChanged event. + + For example, when implementing ICalcData on a DataGrid-derived object, + you need to know when something in the DataGrid changes so you can raise the + required ICalcData.ValueChanged event. In WireParentObject, the DataGrid can + subscribe to its DataSource's change event to handle this requirement. If the + DataSource is a DataTable, then the DataTable.ColumnChanged event can fulfill + the requirement. + + + + Get the idex of the first row in UsedRange + + index of first row + + + + get the index of the last row in UsedRange + + index of last row + + + + This API supports the .NET Framework infrastructure and is not intended to be used directly from your code + + + + + + Gets the first column index. + + Index of first column + + + + Gets the last column index / column count. + + Index of last column + + + + This API supports the .NET Framework infrastructure and is not intended to be used directly from your code + + + + + + Writes a delimited file. + + The output file name. + The static Delimiter member specifies the field delimiter. + Rows are delimited by Environment.NewLine characters. + This method serializes formulas instead of computed values. To + write a file containing computed values, use the WriteValuesToFile method. + + + + Writes this CalcSheet object to the given StreamWriter. + + The StreamWriter. + Indicates whether to serialize formulas (False) + or computed values (True). + + + + Writes this CalcSheet object with formulas serialized to the given StreamWriter. + + The StreamWriter. + + + + Serializes the data with computed values to a delimited + text file. + + The file name. + The static Delimiter member specifies the field delimiter. + Rows are delimited by Environment.NewLine characters. + This method serializes computed values instead of formulas. To + write a file containing formulas, use the WriteSheetToFile method. + + + + This event is raised in SetValueRowCol. + + + + + This event should be raised by the implementer of ICalcData whenever a value changes. + + + + + Gets / sets a flag that indicates whether to compute dependent values + as cells change. + + + + + A read-only property that gets the column count. + + + + + Gets / sets the field delimiter for the + WriteSheetToFile method. + + The default value is tab. + + + + A read-only property that gets the CalcEngine object used by this CalcSheet. + + + + + Enables or disables saving changes within the CalcSheet. + + + + + A property that gets / sets the name used to refer to this sheet. + + + + + A read-only property that gets the row count. + + + + + Gets / sets a value through the ICalcData.GetValueRowCol + and ICalcData.SetValueRowCol implementation methods. + + The row index. + The column index. + + + + Calls SecurityPermission.Demand to find out if SecurityPermission is available. + + True if SecurityPermission is available. + + + + CalcWorkbook holds a collection of objects. + + + + + ArrayList of strings holding the CalcSheets names. + + + + + Initializes a new instance of the CalcWorkbook class. + + The calc sheets. + Hashtable of key, value pairs for Namedrange values. + + + + Initializes a new from a serialization stream. + + An object that holds all the data needed to serialize or deserialize this instance. + Describes the source and destination of the serialized stream specified by info. + + + + A Virtual method to calculate all formulas in this workbook. + + + + + Removes all formulas in the given CalcSheet. + + The CalcSheet. + + + + Implements the ISerializable interface and returns the data needed to serialize the workbook. + + A SerializationInfo object containing the information required to serialize the cell model. + A StreamingContext object containing the source and destination of the serialized stream. + + + + A method that gets the integer ID of a CalcSheet. + + The CalcSheet name. + The integer ID. + + + + Creates a CalcWorkbook from a file written using WriteSSS. + + Pathname of the file. + A CalcWorkbook object. + + + + Writes a tab-delimited file holding the Workbook information. + + The pathname of the file to be written. + + + + Gets or sets an Arraylist of CalcSheet objects used in this workbook. + + + + + Array of CalcSheets objects used in this workbook. + + + + + Gets/Sets the CalcEngine object. + + + The setter only sets once, and only if InitCalcWorkbook has been called + with a zero CalcSheet count. + + + + + Number of CalcSheets in this workbook. + + + + + Gets / sets a CalcSheet object with the given name. + + The sheet name. + + + + Gets / sets a CalcSheet object with the given index. + + The sheet index. + + + + Wrapper ArrayList that holds a collection of CalcSheets. + + + + + Default constructor. + + + + + Creates an CalcSheetList instance owned by the given workbook with the given CalcSheet list. + + list of CalcSheets + The Workbook + + + + A method that adds a new CalcSheet. + + The CalcSheet to be added. + The index of the added CalcSheet. + + + + Not supported. + + + + + Not supported. + + + + + Returns the index for a CalcSheet. + + The name of the CalcSheet. + The index of the CalcSheet. + + + + A method that removes a CalcSheet. + + The CalcSheet to be removed. + + + + Removes a CalcSheet. + + The index of the CalcSheet to be removed. + + + + The CalcSheets in this collection. + + Returns a CalcSheet[]. + + + + Gets or sets the CalcSheet at the given index. + + The sheet index. + + + + Gets or sets the CalcSheet with a given name. + + The sheet name. + + + + An event handler that represents the method to handle the + event. + + The source of the event. + A that contains the event data. + + + + A class containing data for the ICalcData.ValueChanged event. + + + + + The constructor. + + One-based row index for the value. + One-based col index for the value. + the value at the specified row,col. + + + + A property that gets/sets One-base column index. + + + + + A property that gets/sets One-based row index. + + + + + A property that gets/sets the value. + + + + + Specifies options for caching look up tables in HLookUp and VLookUp functions. + + + + + No caching is done. + + + + + Tables will be cached only for VLookUp. + + + + + Tables will be cached only for HLookUp. + + + + + Tables will be cached for both VLookUp and HLookUp. + + + + + Tables will be optimized for searching for exact matches. Set this flag if you expect your searches to find exact matches. + + + + + RangeInfo represents a rectangle array of cells that may contain formulas, strings, or numbers + that may be referenced by other formulas. + + + + + Constructs a RangeInfo instance with the given top, left, bottom and right values. + + Top row index of this range. + Left column index of this range. + Bottom row index of this range. + Right column index of this range. + The range values must be one-based indexes. + + + + A method to retrieve a range based on the numeric arguments passed in. + + Top row index of this range. + Left column index of this range. + Bottom row index of this range. + Right column index of this range. + A RangeInfo object. + The range values must be one-based indexes. + + + + GetAlphaLabel is a method that retrieves a string value for the column whose numerical index is passed in. + + Number index such as 1, 5, 27. + Corresponding alphabets label like A, E, AA. + + + + A property that gets/sets the bottom row index of this range. + + + + + A property that gets/sets the left column index of this range. + + + + + A property that gets/sets the right row index of this range. + + + + + A property that gets/sets the top row index of this range. + + + + + Represents a collection of charts. + + + + + Defines a new name. + + Name of the new chart's sheet. + Newly created chart object. + + + + Returns the number of objects in the collection. Read-only Long. + + + + + Returns a single Chart object from a Charts collection + + + + + Returns a single Chart object from a Charts collection. + + + + + Collection of the Charts object. + + + + + This is the base class for all collections. + + + + + List with collection items. + + + + + Initializes a new instance of the class with the default initial capacity. + + + + + Initializes a new instance of the class with the specified capacity. + + The number of elements that the new list can initially store. + + + + Removes all objects from the System.Collections.CollectionBase instance. + + + + + Inserts an element into the list at the specified index. + + The zero-based index at which item should be inserted. + The object to insert. The value can be null for reference types. + + + + Returns an enumerator that iterates through this instance. + + An enumerator for this instance. + + + + Performs additional custom processes when clearing the contents of this instance. + + + + + Performs additional custom processes after clearing the contents of this instance. + + + + + Performs additional custom processes before inserting a new element into this instance. + + The zero-based index at which to insert value. + The new value of the element at index. + + + + Performs additional custom processes after inserting a new element into this instance. + + The zero-based index at which to insert value. + The new value of the element at index. + + + + Performs additional custom processes when removing an element from this instance. + + The zero-based index at which value can be found. + The value of the element to remove from index. + + + + Performs additional custom processes after removing an element from this instance. + + The zero-based index at which value can be found. + The value of the element to remove from index. + + + + Performs additional custom processes before setting a value in this instance. + + The zero-based index at which oldValue can be found. + The value to replace with newValue. + The new value of the element at index. + + + + Performs additional custom processes after setting a value in this instance. + + The zero-based index at which oldValue can be found. + The value to replace with newValue. + The new value of the element at index. + + + + Removes the element at the specified index of this instance. + + The zero-based index of the element to remove. + + + + Gets or sets the number of elements that the System.Collections.CollectionBase can contain. + + + + + Gets the number of elements contained in the System.Collections.CollectionBase instance. + + + + + Gets the list of elements in the instance. + + + + + Gets the list of elements in the instance. + + + + + Interface that contains parent application. + + + + + Parent object for this object. + + + + + Supports cloning, which creates a new instance of a class + with the same value as an existing instance. + + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + A new object that is a copy of this instance. + + + + An Application object that represents the Excel application. + + + + + The parent object for the specified object. + + + + + If True, events will not be raised; if False, events will be raised. + + + + + Default constructor. To prevent class creation by default constructor. + + + + + Creates collection and sets its Application and Parent values. + + + Application object that represents the Excel application. + + Parent object of this collection. + + + + This method raises the Changed event. + + + + + OnClear is invoked before Clear behavior. + + + + + OnClear is invoked after Clear behavior. + + + + + Performs additional processes before inserting + a new element into the collection. + + The zero-based index at which to insert value. + The new value of the element at index. + + + + Performs additional processes after inserting + a new element into the collection. + + The zero-based index at which to insert value. + The new value of the element at index. + + + + Performs additional processes before removing + an element from the collection. + + + The zero-based index at which the value can be found. + + + The value of the element to remove from index. + + + + + Performs additional processes after removing + an element from the collection. + + The zero-based index at which the value can be found. + The value of the element to remove from index. + + + + Performs additional processes before setting + a value in the collection. + + + The zero-based index at which oldValue can be found. + + The value to replace with newValue. + The new value of the element at index. + + + + Performs additional processes after setting a value in the collection. + + The zero-based index at which oldValue can be found. + The value to replace with newValue. + The new value of the element at the index. + + + + Method used to find parent within a specific type. + + Parent type to search. + Found parent if was parent was found or NULL otherwise. + + When there is cycle in object tree. + + + + + Method used to find parent within a specific type. + + Parent type to search. + Indicates whether to look into subclasses. + Found parent if was parent was found or NULL otherwise. + + When there is cycle in object tree. + + + + + Sets parent object for class. + + Parent object for sets. + + + + Creates copy of the collection. + + Parent object for the new collection. + A copy of the collection. + + + + Enlarges internal storage if necessary. + + Required size. + + + + Generates default name. + + Names collection. + Start string. + Returns string with new name. + + + + Generates default name. + + Names collection. + Start string. + Returns string with new name. + + + + Generate default name. + + Start string. + Collection with names. + Returns new name. + + + + Generates ID. + + Shape collection. + Returns new id. + + + + Read-only. An Application object that represents the Excel application. + + + + + Read-only. The parent object for the specified object. + + + + + Gets / sets whether class can raise events. + + + + + Application object. Read-only. + + + + + Change in the collection. + + + + + Raised by class before real cleaning of collection. + + + + + Raised by class after collection clean process. + + + + + Raised by class before item will be added into the collection. + + + + + Raised by class after item is added to the collection. + + + + + Raised by class before real item is removed from the collection. + + + + + Raised by class after item is removed from the collection storage + + + + + Raised by class before item is replaced in the collection. + + + + + Raised by class after item is replaced in the collection. + + + + + Delegate for Clear event. + + + + + Delegate for Change event. + + + + + Delegate for Set event. + + + + + Default start of the chart name. + + + + + Name-to-Chart dictionary. + + + + + Represent the current workbook. + + + + + Creates chart collection. + + Application object for the collection. + Parent object for the collection. + + + + Adds specified chart to the collection. + + Chart that should be added to the collection. + Added chart object. + + + + Defines a new name. + + Name of the new chart's sheet. + Newly created chart object. + + + + Sets all parents. + + + If one of the parent objects cannot be found. + + + + + Performs additional operations before Clear method execution. + + + + + Adds chart into internal collections. + + Chart to add. + + + + Returns a single Chart object from a Charts collection. + + + + + Class used for format constants. + + + + + Number of hours in a day. + + + + + Number of minutes in a hour. + + + + + Number of minutes in a day. + + + + + Number of seconds in a minute. + + + + + Number of seconds in a day. + + + + + This class gives access to the XlsIO IApplication interface. + + + + + Storage of XlsIO Application object which provides an IApplication interface + + + + + Indicates if the class was disposed. + TRUE - If the class was disposed, otherwise FALSE + + + + + TRUE - Throw exception when object is disposed and it's data was + not saved, otherwise FALSE + + + + + Default constructor. + + + + + Destructor. + + + + + Releases all resources used by the object. + + + Thrown when ThrowNotSavedOnDestoy property is set to TRUE and XlsIO + object data was not saved. + + + + + Checks whether license is valid. + + + + + Interface to the XlsIO Application which gives + access to all supported functions. + + + + + Dispose will throw an ExcelWorkbookNotSavedException when the workbook is not saved + and this property is set to TRUE. Default value is FALSE. + + + + + Checks whether security permission can be granted. Read-only. + + + + + Exception that will be thrown when the user tries to dispose XlsIO + application without saving it. + + + + + Creates new ExcelWorkbookNotSavedException. + + Text that showed after rising. + + + + Initializes a new instance of the Exception class with + a specified error message and a reference to the inner + exception that is the cause of this exception. + + + The error message that explains the reason for the exception. + + + The exception that is the cause of the current exception. + If the innerException parameter is not a null reference + (Nothing in Visual Basic), the current exception is raised + in a catch block that handles the inner exception. + + + + + Represents config xls class. + + + + + Creates xls config object. + + + + + Gets Copyright string. Read-only. + + + + + Class used for format parsing. + + + + + This is the base class for all Implementation's classes. + + + + + Reference to Application object. + + + + + Reference to parent Object. + + + + + Counter which can be used for calculating references. + + + + + Flag which indicates if the object was disposed or not. + + + + + Default constructor. Object cannot be constructed without setting Application + and parent references. + + + + + Main class constructor. Application and Parent properties are set. + + Reference to Application instance. + + Reference to the Parent object which will host this object + + + If specified application or parent is null. + + + + + Destructor. Call dispose method of current object. + + + + + This method is used to find parent with specific type. + + Parent type to locate. + The found parent or NULL if parent was not found. + + When there is cycle in object tree. + + + + + This method is used to find parent with specific type. + + Parent type to locate. + Indicates whether to search subtypes. + The found parent or NULL if parent was not found. + + When there is cycle in object tree. + + + + + This method is used to find parent with specific type. + + Start object for search operation. + Parent type to locate. + The found parent or NULL if parent was not found. + + + + This method is used to find parent with specific type. + + Start object for search operation. + Parent type to locate. + Indicates whether to search subtypes. + The found parent or NULL if parent was not found. + + + + Finds parent objects. + + Array of parents type. + Returns array of found parent objects. + + + + Find parent of object. + + Array of parents type. + Returns found parent object. + + + + Sets parent of the object. + + New parent for this object. + + + + Checks whether object was disposed and throws exception if it was. + + + + + Increase the quantity of reference. User must use this method when + new wrapper on object is created or reference on object stored. + + New state of Reference count value. + + + + Decrease quantity of Reference. User must call this method + when freeing resources. + + New state of Reference count value. + + + + Dispose object and free resources. + + + + + Method which can be overridden by users to take any specific actions when + object is disposed. + + + + + Reference to Application which hosts all objects. Read-only. + + + + + Reference to Parent object. Read-only. + + + + + Reference to Application which hosts all objects. Read-only. + + + + + Get quantity of instance references. + + + + + Constant Exponential symbol + + + + + constant Hash Symbol + + + + + List with all known format tokens. + + + + + Initializes a new instance of the FormatParserImpl class. + + Represents current application. + Represents parent object. + + + + Parses format string. + + String to parse. + Collection with parsed tokens. + + + + Class used for Format Section. + + + + + Return this value when element wasn't found. + + + + + Thousand separator. + + + + + Minus sign. + + + + + Default round off digit. + + + + + Table for token type detection. Value in TokenType arrays must be sorted. + + + + + Break tokens when locating hour token. + + + + + Break tokens when locating second token. + + + + + Possible digit tokens in the millisecond token. + + + + + Date Tokens + + + + + Time Tokens + + + + + Array of tokens. + + + + + Indicates whether format is prepared. + + + + + Position of decimal separator. + + + + + Position of E/E+ or E- signs in format string. + + + + + Last digit. + + + + + Indicates whether there are groups after last digit. + + + + + Number of digits in decimal fraction part. + + + + + Number of digits in integer part of number. + + + + + Position where fraction sign '/' was met for the first time. + + + + + Indicates whether number format contains fraction sign. + + + + + Start of the fraction numerator group. + + + + + End of the fraction denumerator group. + + + + + Length of the denumerator. + + + + + End position of the integer value. + + + + + End position of the decimal value. + + + + + Condition token. + + + + + Culture token. Used to display values. + + + + + Section format type. + + + + + Indicates whether we digits must be grouped. + + + + + Indicates whether more than one decimal point was met in the format string. + + + + + Indicates whether we should use system + + + + + Initializes a new instance of the FormatSection class. + + Represents current application. + Represents parent object. + + + + Initializes a new instance of the FormatSection class based on array of tokens. + + Represents current application. + Represents parent object. + Array of section's tokens. + + + + Prepares format if necessary. + + + + + Checks whether digits must be grouped. + + True if digits must be grouped, otherwise returns false. + + + + Prepares tokens and sets iternal position pointers. + + + + + Prepares insignificant digits that are present in decimal fraction part of this section. + + + + + Searches for corresponding hour token. + + Start index to search. + Corresponding hour token. + + + + Applies format to the value. + + Value to apply format to. + Indicates whether to show reserved symbols. + String representation of the value. + + + + Applies format to the value. + + Value to apply format to. + Indicates whether to show reserved symbols. + String representation of the value. + + + + Assigns position to the variable and checks if it wasn't assigned + before (throws ForamtException if it was). + + Variable to assign. + Current position. + + + + Applies part of the format tokens to the value. + + Value to apply format to. + Indicates whether to show reserved symbols. + Start format token. + End format token. + Indicates whether token index should be increased after each step. + String representation of the value. + + + + Applies part of the format tokens to the value. + + Value to apply format to. + Indicates whether to show reserved symbols. + Start format token. + End format token. + Indicates whether token index should be increased after each step. + Indicates whether to group digit tokens. + Indicates whether we should add negative sign before first digit token. + String representation of the value. + + + + Applies digit token to the value. + + Represents a digit token to apply. + Digit index. + Represents Start index of the range. + Represents Value to apply digit token to. + Represents digit counter. + Represents the StringBuilder to add value to. + Boolean value indicating direction of the apply cycle. + Boolean value indicating whether we should show hidden symbols. + Boolean value indicating whether digits are grouped. + Value of the digit count. + + + + Applies digit token to the value. + + Digit index. + Represents start index. + Represents digit counter. + Represents result of token string. + Represents the StringBuilder to add value to. + Boolean value indicating direction of the apply cycle. + Boolean value indicating whether digits are grouped. + Number of digits. + + + + Adds value to a StringBuilder. + + The StringBuilder to add value to. + Indicates whether we should call append method or insert. + Value to add. + + + + Checks whether iPos is inside range of correct values. + + End token index. + Indicates whether position is increasing each cycle. + Current position. + Value indicating whether iPos in inside of range of valid values. + + + + Locates last digit of the decimal fraction. + + Value of last decimal digit. + + + + Locates last group symbols. + + Start index to search. + Value indicating whether groups are present after last decimal digit. + + + + Applies last groups tokens. + + Value to apply to. + Indicates whether to show hidden symbols (reserved place). + + + + Prepares value for format application. + + Value to apply to. + Indicates whether to show hidden symbols (reserved place). + + + + Calculates number of fraction digits. + + Number of fraction digits. + + + + Calculates number of digits in the integer part of format string. + + Number of digits in the integer part of format string. + + + + Calculates number of digits in the specified range. + + Start index of the range. + End index of the range. + Number of digits in the specified range. + + + + Searches for block of digits that correspond to the fraction. + + + + + Searches for start of the group of digits. + + Start position to search. + Direction of the search: true - from left to right, false - from right to left. + Position of the start of the group. + + + + Indicates whether range contains any digits. + + Start range index. + End range index. + Value indicating whether range contains any digits. + + + + Checks whether value value meets the condition. + + Value to check. + True if value meets the condition; otherwise returns False. + + + + Tries to detect format type. + + + + + Checks whether section contains only specified token types. + + Array with possible tokens. + Value indicating whether the section contains only specified token types. + + + + Check whether this token is really minute token and substitutes it by Month if necessary. + + Token index to check. + + + + Searches for required time token. + + Start token index. + Types of tokens that could stop search process. + Indicates whether we have to increase token index on each iteration. + Types of token to search. + Index of the found token or -1 if token was not found. + + + + Sets to all second tokens. + + + + + Indicates whether type of specified token is in the array of tokens. + + Array of tokens to check. + Token type to locate. + True if token type is in the array of possible tokens. + + + + Splits value into integer and decimal parts. + + Value to split. + Return fraction value. + Integer value. + + + + Rounds value. + + Represents value to be rounded. + Rounded Value. + + + + Creates a new object that is a copy of the current instance. + + Represents parent object. + A new object that is a copy of this instance. + + + + Indicate whether the format string in time format + + + + + Indicate whether the format string in date format + + + + + Returns single token from the section. Read-only. + + + + + Gets the number of tokens in the section. + + + + + Gets a value indicating whether section contains condition. Read-only. + + + + + Gets the section type. + + + + + Gets the culture used for conversion. Read-only. + + + + + Gets the number of digits after "." sign. Read-only. + + + + + Class used for Section Collection. + + + + + Two many sections error message. + + + + + Maximum number of sections in "conditional mode". + + + + + Maximum number of secionts in "non-conditional mode"; + + + + + Index of section with positive number format. + + + + + Index of section with negative number format. + + + + + Index of section with positive number format. + + + + + Index of section with positive number format. + + + + + Indicates whether format contains conditions. + + + + + Initializes a new instance of the FormatSectionCollection class to prevent creation without arguments. + + Represents current application. + Represents parent object. + + + + Initializes a new instance of the FormatSectionCollection class. + + Represents current application. + Represents parent object. + List to parse. + + + + Returns format type for a specified value. + + Value to get format type for. + Format type for the specified value. + + + + Returns format type for a specified value. + + Value to get format type for. + Format type for the specified value. + + + + Splits array of tokens by SectionSeparator. + + List to parse. + + + + Applies format to the value. + + Value to apply format to. + Indicates whether to show reserved symbols. + String representation of the value. + + + + Applies format to the value. + + Value to apply format to. + Indicates whether to show reserved symbols. + String representation of the value. + + + + Returns section for formatting with specified index. + + Section index. + Format section that should be to the value. + + + + Returns section that corresponds to the specified value. + + Value to search section for. + If section is found then returns it, otherwise returns Null. + + + + Searches for section that should be used for zero number formatting. + + Section that should be used for zero number formatting. + + + + Returns text section. + + Text format section. + + + + Indicate whether the format string in time format + + + + + Indicate whether the format string in date format + + + + + Creates a new object that is a copy of the current instance. + + Represents parent object. + A new object that is a copy of this instance. + + + + Contains Am Pm Token descriptions. + + + + + Base class for formula tokens. + + + + + Default regular expressions options: + + + + + Part of format. + + + + + Initializes a new instance of the FormatTokenBase class + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Tries to parse format string using regular expression. + + Regular expression to use. + Format string to parse. + Start index. + Position after parsing. + + + + Tries to parse format string using regular expression. + + Regular expression to use. + Format string to parse. + Start index. + Output regular expression match. + Position after parsing. + + + + Applies format to the value. + + Value to format. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Applies format to the value. + + Value to format. + Formatted value. + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of this instance. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Searches for string from strings array in the format starting from the specified position. + + Array of strings to check. + String format to search in. + Start index in the format. + Indicates whether to ignore case. + String index or -1 if not found. + + + + This method is called after format string was changed. + + + + + Gets or sets format of the token. + + + + + Gets type of the token. Read-only. + + + + + Start of the token. + + + + + Start of the token. + + + + + Edge between AM and PM symbols. + + + + + AM symbol. + + + + + PM symbol. + + + + + Length of the token. + + + + + Initializes a new instance of the AmPmToken class + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Checks the AMPM is other pattern. + + + + + + + Returns type of the token. Read-only. + + + + + Class used for Asterix Token. + + + + + Default start character. + + + + + Initializes a new instance of the AsterixToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for Character Token. + + + + + Start of the token. + + + + + Initializes a new instance of the CharacterToken class + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for Color Tokens. + + + + + Class used for parsing Brackets. + + + + + Start character of the token. + + + + + End character of the token. + + + + + Initializes a new instance of the InBracketToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Tries to parse format string. + + Format string to parse. + Position of the first bracket. + Position to start parsing at. + Position of the end bracket. + Position after parsed block. + + + + Reserved keyword for color definition in excel number format. + + + + + Minimum possible color index. + + + + + Maximum possible color index. + + + + + Color increment. + + + + + Regex for color selecting. + + + + + Possible color values. + + + + + Color index. + + + + + Initializes a new instance of the ColorToken class + + + + + Tries to parse format string. + + Format string to parse. + Position of the first bracket. + Position to start parsing at. + Position of the end bracket. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Searches for color in the array of known colors. + + Format string. + Start index. + Index in the array of known colors or -1 if color was not found. + + + + Tries to get color number from format string. + + Format string + Index to start looking from. + End index of the token. + Extracted color index or -1 if color was not found. + + + + Returns type of the token. Read-only. + + + + + Class used for Condition Tokens. + + + + + All compare operations. + + + + + Indicates whether token should be formatted using am/pm time format. + + + + + Applied compare operation. + + + + + Initializes a new instance of the ConditionToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position of the first bracket. + Position to start parsing at. + Position of the end bracket. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Checks value with the condition. + + Value to check. + Value that indicates whether the condition is true for the value. + + + + Returns type of the token. Read-only. + + + + + Possible compare operators. + + + + + Class used for Culture Tokens. + + + + + Group in regular expression with locale id. + + + + + Group in regular expression with characters. + + + + + LocaleId value that indicates that we should use system settings instead of provided number format. + + + + + Regular expression for hours part of the format: + + + + + Locale id of the desired culture. + + + + + Character specifying the culture. + + + + + Initializes a new instance of the CultureToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Gets the culture info. Read-only. + + + + + Gets a value indicating whether we should ignore all following format tokens and use system date format. Read-only. + + + + + Class used for describing Day Tokens. + + + + + Regular expression for minutes part of the format: + + + + + Format string in lower case. + + + + + Initializes a new instance of the DayToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for describing DecimalSeparatorToken. + + + + + Class used for character token. + + + + + Initializes a new instance of the SingleCharToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Gets format character. Read-only. + + + + + Format character. + + + + + Initializes a new instance of the DecimalPointToken class. + + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Format character. Read-only. + + + + + Returns type of the token. Read-only. + + + + + Class used for describing Digit Tokens. + + + + + Indicates whether this digit is last in the sequence of digits + and all significant numbers should be displayed. + + + + + Initializes a new instance of the DigitToken class. + + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Gets single digit from number and updates number. + + Number to get digit from. + Extracted digit. + + + + Returns string representation according to the current format and digit value. + + Value after removing current digit. + Digit to convert into string. + Indicates whether to show hidden symbols. + Converted value. + + + + Gets or sets a value indicating whether this digit is last in the sequence of digits + and all significant numbers should be displayed. Read-only. + + + + + Class used for Fraction tokens. + + + + + Format character. + + + + + Initializes a new instance of the FractionToken class. + + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Returns type of the token. Read-only. + + + + + Class used for organizing General Tokens. + + + + + Format string. + + + + + Initializes a new instance of the GeneralToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for 24 hour Token. + + + + + Regular expression for hours part of the format: + + + + + Initializes a new instance of the Hour24Token class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for Hour Token. + + + + + Long format. + + + + + Regular expression for hours part of the format: + + + + + Indicates whether token should be formatted using am/pm time format. + + + + + Initializes a new instance of the HourToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Gets or sets a value indicating whether token should be formatted using am/pm time format. + + + + + Class used for Significant Digit Tokens. + + + + + Format character. + + + + + Indicates that we shouldn't show string value if digit is zero. + + + + + Initializes a new instance of the InsignificantDigitToken class. + + + + + Returns string representation according to the current format and digit value. + + Value after removing specified digit. + Digit to convert into string. + Indicates whether to show hidden symbols. + Converted value. + + + + Returns type of the token. Read-only. + + + + + Format character. Read-only. + + + + + Gets or sets a value indicating whether to show string value if digit is zero. + + + + + Class used for MilliSecond Token. + + + + + Long format. + + + + + Represents Dot. + + + + + Default OleDateValue + + + + + Maximum OleDateValue + + + + + Maximum format length. + + + + + Initializes a new instance of the MilliSecondToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for Minute Token. + + + + + Long type of the format. + + + + + Default OleDateValue + + + + + Maximum OleDateValue + + + + + Regular expression for minutes part of the format: + + + + + Initializes a new instance of the MinuteToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + This method is called after format string was changed. + + + + + Returns type of the token. Read-only. + + + + + Class used for organizing Minutes since midnight. + + + + + Regular expression for hours part of the format: + + + + + Initializes a new instance of the MinuteTotalToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for Month Token. + + + + + Short year format. + + + + + Length of the format for full name of the month. + + + + + Length of the format for full name of the month. + + + + + Length of the format for full name of the month. + + + + + Format for long number month representation. + + + + + Regular expression for minutes part of the format: + + + + + Initializes a new instance of the MonthToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + This method is called after format string was changed. + + + + + Returns type of the token. Read-only. + + + + + Class used for Percent Token. + + + + + Format character. + + + + + Initializes a new instance of the PercentToken class. + + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Format character. Read-only. + + + + + Class used for placing reserved digit token. + + + + + Format character. + + + + + String to display when digit is 0 and ShowHiddenSymbols is set to False. + + + + + Initializes a new instance of the PlaceReservedDigitToken class. + + + + + Returns string representation according to the current format and digit value. + + Value after removing specified digit. + Digit to convert into string. + Indicates whether to show hidden symbols. + Converted value. + + + + Returns type of the token. Read-only. + + + + + Format character. Read-only. + + + + + Class used for reserved place format token. + + + + + Start of the token. + + + + + Space symbol. + + + + + Initializes a new instance of the ReservedPlaceToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for Scientific Token. + + + + + Short form without plus sign. + + + + + One of the possible formats. + + + + + Used format index. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for Seconds Token. + + + + + Long type of the format. + + + + + Half of possible milliseconds. + + + + + Default OleDateValue + + + + + Maximum OleDateValue + + + + + Regular expression for minutes part of the format: + + + + + Indicates whether number of seconds must be rounded. + + + + + Initializes a new instance of the SecondToken class + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Gets or sets a value indicating whether number of seconds must be rounded. + + + + + Class used for second total token. + + + + + Regular expression for hours part of the format: + + + + + Initializes a new instance of the SecondTotalToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for separator token. + + + + + Default string representation of the separator. + + + + + Initializes a new instance of the SectionSeparatorToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for Significant Digit Token. + + + + + Format character. + + + + + Initializes a new instance of the SignificantDigitToken class. + + + + + Returns type of the token. Read-only. + + + + + Format character. Read-only. + + + + + Class used for String Token. + + + + + Regular expression for minutes part of the format: + + + + + Initializes a new instance of the StringToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for Text Token. + + + + + Format character for text token. + + + + + Initializes a new instance of the TextToken class. + + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Format character. Read-only. + + + + + Class used for thousands separator token. + + + + + Format character. + + + + + Indicates whether this separator is placed immediately after last digit token. + + + + + Initializes a new instance of the ThousandsSeparatorToken class. + + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Prepares value to display. + + Value to prepare. + Prepared value. + + + + Format character. Read-only. + + + + + Returns type of the token. Read-only. + + + + + Gets or sets a value indicating whether this separator is placed immediately + after last digit token. Read-only. + + + + + Class used for UnknownToken. + + + + + Initializes a new instance of the UnknownToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Class used for YearToken. + + + + + Short year format. + + + + + Regular expression for minutes part of the format: + + + + + Initializes a new instance of the YearToken class. + + + + + Tries to parse format string. + + Format string to parse. + Position to start parsing at. + Position after parsed block. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Culture used to convert value into text. + Parent section. + Formatted value. + + + + Applies format to the value. + + Value to format. + Indicates whether to put in result hidden symbols. + Formatted value. + + + + Returns type of the token. Read-only. + + + + + Represents possible token types. + + + + + Represents unknown format token. + + + + + Represents section format token. + + + + + Represents hour format token. + + + + + Represents hours in 24 hours format format token. + + + + + Represents minute format token. + + + + + Represents total minutes format token. + + + + + Represents second format token. + + + + + Represents total seconds format token. + + + + + Represents year format token. + + + + + Represents month format token. + + + + + Represents day format token. + + + + + Represents string format token. + + + + + Represents reserved place format token. + + + + + Represents character format token. + + + + + Represents am/pm format token. + + + + + Represents color format token. + + + + + Represents condition format token. + + + + + Represents text format token. + + + + + Represents significant digit format token. + + + + + Represents insignificant digit format token. + + + + + Represents place reserved digit format token. + + + + + Represents percent format token. + + + + + Represents scientific format token. + + + + + Represents general format token. + + + + + Represents thousands separator format token. + + + + + Represents decimal point format token. + + + + + Represents asterix format token. + + + + + Represents fraction format token. + + + + + Represents millisecond format token. + + + + + Represents culture token. + + + + + Represents common fraction. Used to apply number format to the value. + + + + + Maximum number of digits. + + + + + Maximum accuracy. + + + + + Fraction numerator. + + + + + Fraction denumerator. + + + + + Initializes a new instance of the Fraction class. + + Represents numerator of the fraction. + Represents denominator of the fraction. + + + + Initializes a new instance of the Fraction class. + + Represents numerator of the fraction. + + + + Initializes a new instance of the Fraction class. + + Represents first term of the fraction. + Represents second term of the fraction. + Fraction of the numerator and denominator. + + + + Converts fraction to double value. + + Fraction to convert. + Double value equal to the fraction. + + + + Converts List into fraction. + + List to convert. + Converted value. + + + + Converts long into fraction. + + Value to convert. + Converted value. + + + + Swaps numerator and denumerator. + + Current fraction after reverse. + + + + Converts number to fraction using required digits number. + + Value to convert. + Maximum number of digits. + Optimal fraction. + + + + Returns maximum common divisor of two numbers using Euclid method. + + First number. + Second number. + Maximum common divisor of two numbers. + + + + Returns absolute difference between fraction and double. + + Fraction for difference evaluation. + Double value for difference evaluation. + Evaluated difference. + + + + Adds next number to List with continued fraction. + + List with continued fraction. + Remainder of the fraction. + Remainder after adding next number to the fraction. + + + + Returns string representation of the Fraction. + + String representation of the Fraction. + + + + Gets or sets the fraction numerator. + + + + + Gets or sets the fraction denumerator. + + + + + Gets the number of digits in the denumerator. + + + + + Summary description for AddInFunctionImpl. + + + + + Index to extern workbook. + + + + + Name index in the extern workbook. + + + + + Parent workbook. + + + + + Searches for all necessary parents. + + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + A new object that is a copy of this instance. + + + + XlsIO Application interface declaration. + + + + + Represents the Excel application. + + + + + Saves changes to the active workbook. + + File name of result file. + + + + Check whether the file version is supported by XlsIO. + + File full path that contains workbook. + + + + + Check whether the file version is supported by XlsIO. + + File stream that contains workbook. + + + + + Converts units. + + Value to convert. + Form option. + To option. + Returns converted result. + + + + Returns an object that represents the active sheet (the sheet on + top) in the active workbook or in the specified window or workbook. + Returns Nothing if no sheet is active. Read-only. + + + + + Returns a Workbook object that represents the workbook in the active + window (the window on top). Read-only. Returns Nothing if there are + no windows open or if either the Info window or the Clipboard window + is the active window. + + + + + Returns a Workbooks collection that represents all the open workbooks. + Read-only. + + + + + Returns or sets the number of sheets that Microsoft Excel + automatically inserts into new workbooks. Read/write Long. + + + + + Sets or returns the character used for the decimal separator as a + String. Read/write. + + + + + Returns or sets the default path that Microsoft Excel uses when it + opens files. Read/write String. + + + + + Returns the path separator character ("\"). Read-only String. + + + + + Returns or sets the standard (default) height of all the rows in the worksheet, + in points. This value is used only for newly created worksheets. + Read/write Double. + + + + + Returns or sets the standard (default) height option flag, which defines that + standard (default) row height and book default font height do not match. + This value is used only for newly created worksheets. Read/write Bool. + + + + + Returns or sets the standard (default) width of all the columns in the + worksheet. This value is used only for newly created worksheets. + Read/write Double. + + + + + Indicates whether to optimize fonts count. This option will + take effect only on workbooks that will be added after setting + this property. + WARNING: Setting this property to True can decrease performance significantly, + but will reduce resulting file size. + + + + + Indicates whether to optimize Import data. This option will + take effect only on Import methods that are available with the worksheet + WARNING: Setting this property to True can decrease memory significantly, + but will increase the performance of data import . + + + + + Gets / sets row separator for array parsing. + + + + + Formula arguments separator. + + + + + Represents CSV Separator. Using for Auto recognize file type. + + + + + Returns or sets the name of the standard font. Read/write String. + + + + + Returns or sets the standard font size, in points. Read/write. + + + + + Indicates whether to try fast record parsing. + + + + + Gets / sets memory allocation block for single row. Each row will allocate memory block + that can be divided on this number. Smaller value means smaller memory usage but slower + speed when changing cell's value. Default value is 128. That is enough to allocate 9 string records, + or 9 integer numbers (or floating numbers with 1 or 2 digits after decimal point) or 7 double numbers. + + + + + Indicates whether XlsIO should delete destination file before saving into it. + Default value is TRUE. + + + + + Gets / sets default excel version. This value is used in create methods. + + + + + Indicates whether we should use native storage (standard windows COM object) + or our .Net implementation to open excel 97-2003 files. + + + + + Changes data provider type for all operations after it. + + + + + Indicates whether to preserve the datatypes for the CSV file formats. + + + + + Represents the chart to image converter instance. + + + + + When workbook is read from stream and position of the stream changed, + this event is raised. + + + + + This event is fired when user tries to open password protected workbook + without specifying password. It is used to obtain password. + + + + + This event is fired when user specified wrong password when trying to open + password protected workbook. It is used to obtain correct password. + + + + + Width of the zero character. + + + + + Build number. + + + + + Default font size. + + + + + Default quantity of decimal digits after separator. + + + + + Default sheets in the new workbook. + + + + + Default font name. + + + + + Name of the object "Microsoft Excel". + + + + + Name of the switch. + + + + + Switch description. + + + + + Argument separator. + + + + + Row separator. + + + + + Represents size of biff file header. + + + + + Represents xml header. + + + + + Represents xml header. + + + + + Represents default buffer size for auto recognize. + + + + + Path separator. + + + + + Represents default header for .xls and .xlt files. + + + + + Array of Proportions. + + + + + Minimum cell size. + + + + + Represents the Graphic. + + + + + Switch indicating whether to show debug information. + + + + + Flag for debug message. + + + + + All types in the assembly (in order to increase performance). + + + + + Parent object + + + + + Indicates is debug info enabled. + + + + + XlsIO Static Members. + + + + + + + + + + Indicates whether seprator value is changed or not. + + + + + Default styles names. Index means outline level value. + + + + + Table with paper sizes. + + + + + Range representing active cell of the active worksheet of the active workbook. + + + + + Active worksheet. + + + + + Active workbook. + + + + + Collection of all workbooks in the application. + + + + + All data entered after this field is set to True will be formatted + with the number of fixed decimal places set by the FixedDecimalPlaces + property. + + + + + True (default) if the system separators of Microsoft Excel are + enabled. + + + + + Standard font size, in points. + + + + + Number of fixed decimal places used when the FixedDecimal + property is set to True. + + + + + The number of sheets that Microsoft Excel automatically + inserts into new workbooks. + + + + + The character used for the decimal separator as a String. + + + + + Name of the standard font. + + + + + The character used for the thousands separator as a String. + + + + + The name of the current user. + + + + + If this value is True and if some cells have reference + to the same style, changes will influence all these cells. + False otherwise + + + + + Storage of SkipExtendedRecords property value. + + + + + Standard row height - height of the rows that do not have specified row height. + + + + + Standard (default) height option flag, which defines that standard (default) + row height and book default font height do not match. + + + + + Standard column width. + + + + + Indicates whether to optimize fonts count. This option will + take effect only on workbooks that will be added after setting + this property. + WARNING: Setting this property to True can decrease performance significantly, + but will reduce resulting file size. + + + + + Indicates whether to optimize Import data. This option will + take effect only on Import methods that are available with the worksheet + WARNING: Setting this property to True can decrease memory significantly, + but will increase the performance of data import . + + + + + Row separator for array parsing. + + + + + Formula arguments separator. + + + + + Represents CSV Separator. + + + + + Indicates whether to try fast record parsing. + + + + + Memory allocation block for single row. + + + + + Indicates whether XlsIO should delete destination file before saving into it. + Default value is TRUE. + + + + + Represents the Graphic. + + + + + Default excel version for new workbooks. + + + + + + + + + + Indicates whether evaluation license expired. + + + + + Indicates whether the dafault font is changed or not. + + + + + Indicates whether workbook is in parsing process. + + + + + Static constructor. + + + + + Default constructor. + + + + + This method initializes inner collections of workbooks. + + + + + Check whether the file version is supported by XlsIO. + + File full path that contains workbook + + + + + Check whether the file version is supported by XlsIO. + + File stream that contains workbook + + + + + Gets file type based on stream data. + + Represents data stream. + Represents type of the file for open operation. + Returns defined open type (cannot return automatic). + + + + Detects is csv or xml file type. + + Represents data stream. + MemoryStream with data from the file that will be used for file type detection. + Represents start position in stream. + Parsed workbook if detected or null. + + + + Indicates is surrogate value. + + Value for search. + Represents current separator. + Indicates is compare with separator content, or not. + + + + + Saves changes to the active workbook. + + File name of result file. + + + + Creates a new Workbook. + + Parent object for the new workbook. + Stream to read. + Current separator + Number of first row to write. + Number of first column to write. + Excel version. + Filename is used to generate worksheet name + Created workbook. + + + + Creates a new Workbook. + + Parent object for the new workbook. + Stream with workbook's data. + Excel version. + Newly created workbook. + + + + Creates a new Workbook. + + Parent object for the new workbook. + Name of the file with workbook. + Parse options. + Indicates whether to open workbook in read-only mode. + Password to decrypt. + Excel version. + Newly created workbook. + + + + Creates a new Workbook. + + Parent object for the new workbook. + Number of sheets in the new workbook. + Excel version. + Newly created workbook. + + + + Creates a new Workbook. + + Parent object for the new workbook. + Name of the file with workbook. + Excel version. + Newly created workbook. + + + + Creates a new Workbook. + + Parent object for the new workbook. + Name of the file with workbook. + Parse options. + Excel version. + Newly created workbook. + + + + Creates a new Worksheet. + + Parent object for the new worksheet. + Newly created worksheet. + + + + Creates a new Range. + + Parent object for the new range. + Newly created range. + + + + Creates new range for a single cell. + + Parent object for the new range. + Column index for the new range. + Row index for the new range. + Newly created range. + + + + Creates a new Range. + + Parent object for the new range. + First column of the range. + First row of the range. + Last column of the range. + Last row of the range. + Newly created range. + + + + Creates a new Range. + + Parent object for the new range. + Range record to parse. + Indicates whether styles should be ignored. + Newly created range. + + + + Creates a new Style. + + Parent object for the new style object. + Name of the new style. + Newly created style. + + + + Creates a new Style. + + Parent object for the new style object. + Name of the new style. + Base style for this style. + Newly created style. + + + + Creates a new Style. + + Parent object for the new style object. + Style record with style information. + Newly created style. + + + + Creates a new Style. + + Parent object for the new style object. + Name of the new style.> + Indicates whether built in style should be created. + + + + + Creates new font. + + Parent object for the new font. + Newly created font. + + + + Method creates a font object based on native font and register it in the workbook. + ] + Parent object for the new font. + Native font to get settings from. + Newly created font. + + + + Creates new font. + + Base font for the new one. + Newly created font. + + + + Creates new font. + + Parent object for the new font. + Font record that contains font information. + Newly created font. + + + + Creates new font. + + Parent object for the new font. + Font object that contains font information. + Newly created font. + + + + This method should be called before creating font. + Sets default font name and size. + + + + + Creates new instance of RangesCollection. + + Parent object for the collection. + Newly created collection. + + + + Creates intptr data provider. + + New instance of created data provider. + + + + + + + + + + Create image from stream. + + + + + + + Creates new instance of the textbox shape. + + Parent shapes collection. + Created textbox shape. + + + + Checks and apply the seperators to the current culture. + (ie.. DecimalSeperator, ThousandSeperators). + + Current Culture with the new Seperators. + + + + Get the current culture; + + Old cultrue + New cultrue + CultureInfo + + + + Sets active workbook. + + Workbook that becomes active. + + + + Sets active worksheet. + + Worksheet that becomes active. + + + + Sets active cell. + + Range that becomes active. + + + + Converts to pixels. + + Value to convert. + MeasureUnits. + Returns converted result. + + + + Converts from pixel. + + Pixel to convert. + Convert options. + Returns converted result. + + + + Converts units. + + Value to convert. + Form option. + To option. + Returns converted result. + + + + Converts units. + + Value to convert. + Form option. + To option. + Returns converted result. + + + + Raising progress event. + + Position. + Full size. + + + + Measures string. + + String to measure. + Font to measure. + Rect size. + Returns new size. + + + + Switch indicating whether to show debug information. Read-only. + + + + + Indicates whether debug info is enabled. Read-only. + + + + + Indicates is use unsafe code. Static property. + + + + + Changes data provider type for all operations after it. Static property. + + + + + If True, no changes were made since last save. + + + + + Returns standard row height in units used by RowRecord. + + + + + Indicates whether evaluation license expired. + + + + + Returns an object that represents the active sheet (the sheet on + top) in the active workbook or in the specified window or workbook. + Returns NULL (Nothing in VB) if no sheet is active. Read-only. + + + + + Returns a Workbook object that represents the workbook in the active + window (the window on top). Read-only. Returns NULL (Nothing in VB) if there are + no windows open or if either the Info window or the Clipboard window + is the active window. + + + + + Used without an object qualifier, this property returns an Application + object that represents the Microsoft Excel application. Used with an + object qualifier, this property returns an Application object that + represents the creator of the specified object (you can use this property + with an OLE Automation object to return that object's application). + Read-only. + + + + + Returns a Workbooks collection that represents all the open workbooks. + Read-only. + + + + + Returns the parent object for the specified object. Read-only. + + + + + Returns or sets the standard font size, in points. Read/write. + + + + + Returns or sets the number of sheets that Microsoft Excel + automatically inserts into new workbooks. Read/write Long. + + + + + Sets or returns the character used for the decimal separator as a + String. Read/write. + + + + + Returns or sets the default path that Microsoft Excel uses when it + opens files. Read/write String. + + + + + Returns the path separator character ("\"). Read-only String. + + + + + Returns or sets the name of the standard font. Read/write String. + + + + + Returns or sets the standard (default) height of all the rows in the worksheet, + in points. Read/write Double. + + + + + Returns or sets the standard (default) height option flag, which defines that + standard (default) row height and book default font height do not match. + Read/write Bool. + + + + + Returns or sets the standard (default) width of all the columns in the + worksheet. Read/write Double. + + + + + Indicates whether to optimize fonts count. This option will + take effect only on workbooks that will be added after setting + this property. + WARNING: Setting this property to True can decrease performance significantly, + but will reduce resulting file size. + + + + + Indicates whether to optimize Import data. This option will + take effect only on Import methods that are available with the worksheet + WARNING: Setting this property to True can decrease memory significantly, + but will increase the performance of data import . + + + + + Gets / sets row separator for array parsing. + + + + + Formula arguments separator. + + + + + Represents CSV Separator. + + + + + Indicates whether to try fast record parsing. + + + + + Gets / sets memory allocation block for single row. Each row will allocate memory block + that can be divided on this number. Smaller value means smaller memory usage but slower + speed when changing cell's value. Default value is 128. That is enough to allocate 9 string records, + or 9 integer numbers (or floating numbers with 1 or 2 digits after decimal point) or 7 double numbers. + + + + + Indicates whether XlsIO should delete destination file before saving into it. + Default value is TRUE. + + + + + Gets / sets default excel version. This value is used in create methods. + + + + + Indicates whether we should use native storage (standard windows COM object) + or our .Net implementation to open excel 97-2003 files. + + + + + Changes data provider type for all operations after it. Static property. + + + + + Indicates whether to preserve the datatypes for the CSV file formats. + + + + + Indicates whether workbook is in parsing process. + + + + + Represents the Chart to Image Converter instance. + Returns null if it is not instantiated. + + + + + Progress event handler. + + + + + This event is fired when user tries to open password protected workbook + without specifying password. It is used to obtain password. + + + + + This event is fired when user specified wrong password when trying to open + password protected workbook. It is used to obtain correct password. + + + + + Default size of autofilter arrow width. + + + + + This text should be added to value of the header of the table to equal the width of the dropdown symbol. + + + + + Intializes the AutoFit Manager + + + + + + + + + + Measures to fit column. + + The graphics. + The first row. + The last row. + The first column. + The last column. + + + + Measures the character ranges. + + The graphics. + The style with text. + The param num. + The rect F. + + + + + Measures the character ranges. + + The graphics. + The style. + The STR text. + The num. + The rect F. + + + + + Collection of DisplayText with matching fonts. + This class used to improve the AutoFitToColumn method + Performance. + + + + + Represents the border of an object. + + + + + Represents the border of an object. + + + + + Returns or sets the primary color of the object. + Read/write ExcelKnownColors. + + + + + Returns or sets the primary color of the object. + Read/write ExcelKnownColors. + + + + + Returns color of the border. + + + + + Returns or sets the line style for the border. Read/write OfficeLineStyle. + + + + + This property is used only by Diagonal borders. For any other border + index property will have no influence. + + + + + Maximum color index that requires modification in order to let MS Excel edit styles. + + + + + Increment for color value in order to let MS Excel edit styles. + + + + + Index of the border. + + + + + Extended format that contains this border. + + + + + Creates a class instance and sets its Application and Parent properties. + + Application object for the Border. + Parent object for the Border. + + + + Creates border with specified index. + + Application object for the border. + Parent object for the border. + Index of border that should be created. + + + + Creates border from ExtendedFormat with specified border index. + + Application object for the border. + Parent object for the border. + + ExtendedFormat that contains all information about required border. + + Border index of the border. + + + + Determines whether the specified Object is equal to the current Object. + + The Object to compare with the current Object. + true if the specified Object is equal to the current Object; otherwise, false. + + + + Serves as a hash function for a particular type, suitable for use + in hashing algorithms and data structures like a hash table. + + A hash code for the current object. + + + + Normalizes border color to let MS Excel edit style. + + Color to normalize. + New color value. + + + + Returns or sets the primary color of the object, as shown in the + following table. Use the RGB function to create a color value. + Read/write Long. + + + + + Returns or sets the primary color of the object, as shown in the + following table. Use the RGB function to create a color value. + Read/write Long. + + + + + Returns or sets the primary color of the object, as shown in the + following table. Use the RGB function to create a color value. + Read/write Color. + + + + + Returns or sets the line style for the border. Read/write OfficeLineStyle. + + + + + This property is used only by Diagonal borders. For any other border + index property will have no influence. + + + + + Returns border index. Read-only. + + + + + Returns parent workbook. Read-only. + + + + + This class represents border for multicell range. + + + + + Cells of the range. + + + + + Border index. + + + + + Parent workbook. + + + + + Creates wrapper for specified range and border index. + + Range for which this wrapper is created. + Border index. + + + + Creates wrapper for specified range and border index. + + Range for which this wrapper is created. + Border index. + + + + Returns or sets the primary color of the object. + Read/write ExcelKnownColors. + + + + + Returns or sets the primary color of the object, as shown in the + following table. Use the RGB function to create a color value. + + + + + Returns or sets the primary color of the object, as shown in the + following table. Use the RGB function to create a color value. + Read/write Long. + + + + + Returns or sets the line style for the border. Read/write OfficeLineStyle. + + + + + This property is used only by Diagonal borders. For any other border + index property will have no influence. + + + + + Worksheet calculation options block. + + + + + Represents the Calculation options in a Excel Workbook. + + + + + Indicates whether R1C1 reference mode is turned on. + + + + + Correct records. + + + + + Specifies whether to calculate formulas manually, automatically, or automatically + except for multiple table operations. + + + + + Specifies the maximum number of times the formulas should be iteratively calculated. + This is a fail-safe against mutually recursive formulas locking up + a spreadsheet application. + + + + + Describes which reference mode to use. + + + + + Tells whether to iterate over formula calculations or not + (if a formula is dependent upon another formula's result) + (odd feature for something that can only have 32 elements in a formula). + + + + + Stores the maximum change of the result to the exit of an iteration. + + + + + Defines whether to recalculate before saving (set to 1). + + + + + Initializes new instance and sets application and parent fields. + + Application object for the page setup. + Parent object for the page setup. + + + + Recovers Page setup from the Biff Records array starting from the position specified. + + Biff Records data. + Position of first PageSetup record - PrintHeadersRecord. + Position after extracting calculation options. + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + A new object that is a copy of this instance. + + + + Indicates whether R1C1 reference mode is turned on. + + + + + Summary description for CellStyle. + + + + + This class wraps extended format inside in order to hide from user + creation of new extended formats when user changes any properties + of extended format. + + + + + Common wrapper code. Implements BeginUpdate and EndUpdate methods. + + + + + This interface describes methods for optimized object update. + + + + + This method should be called before several updates to the object will take place. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the chart title + chart.ChartTitle = "This is a chart Title"; + //Invoke the begin update method + chart.ChartTitleArea.BeginUpdate(); + //Set the bold font style + chart.ChartTitleArea.Bold = true; + //Set the color of the text area + chart.ChartTitleArea.Color = OfficeKnownColors.Plum; + //Invoke end update method + chart.ChartTitleArea.EndUpdate(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Set the chart title + chart.ChartTitle = "This is a chart Title" + 'Invoke the begin update method + chart.ChartTitleArea.BeginUpdate() + 'Set the bold font style + chart.ChartTitleArea.Bold = True + 'Set the color of the text area + chart.ChartTitleArea.Color = OfficeKnownColors.Plum + 'Invoke end update method + chart.ChartTitleArea.EndUpdate() + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + This method should be called after several updates to the object took place. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the chart title + chart.ChartTitle = "This is a chart Title"; + //Invoke the begin update method + chart.ChartTitleArea.BeginUpdate(); + //Set the bold font style + chart.ChartTitleArea.Bold = true; + //Set the color of the text area + chart.ChartTitleArea.Color = OfficeKnownColors.Plum; + //Invoke end update method + chart.ChartTitleArea.EndUpdate(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Set the chart title + chart.ChartTitle = "This is a chart Title" + 'Invoke the begin update method + chart.ChartTitleArea.BeginUpdate() + 'Set the bold font style + chart.ChartTitleArea.Bold = True + 'Set the color of the text area + chart.ChartTitleArea.Color = OfficeKnownColors.Plum + 'Invoke end update method + chart.ChartTitleArea.EndUpdate() + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Number of begin update calls that have no corresponding end update. + + + + + This method should be called before several updates to the object will take place. + + + + + This method should be called after several updates to the object. + + + + + Creates a copy of the current object. + + Parent object for the new object. + A copy of the current object. + + + + Returns number of begin update calls that have no corresponding end update. Read-only. + + + + + Summary description for IInternalExtendedFormat. + + + + + Contains the font attributes (font name, size, + color, and so on) for an object. + + + + + Returns borders object for this extended format. + + + + + Gets / Sets index of fill background color. Obsolete, will be removed in next release. + + + + + Gets / Sets fill background color. Obsolete, will be removed in next release. + + + + + Gets / Sets index of fill foreground color. Obsolete, will be removed in next release. + + + + + Gets / Sets fill foreground color. Obsolete, will be removed in next release. + + + + + Gets / Sets fill pattern. + + + + + Returns font object for this extended format. + + + + + True if formula is hidden. + + + + + Horizontal alignment. + + + + + True if the style includes the AddIndent, HorizontalAlignment, + VerticalAlignment, WrapText, and Orientation properties. + Read / write Boolean. + + + + + True if the style includes the Color, ColorIndex, LineStyle, + and Weight border properties. Read / write Boolean. + + + + + True if the style includes the Background, Bold, Color, + ColorIndex, FontStyle, Italic, Name, OutlineFont, Shadow, + Size, Strikethrough, Subscript, Superscript, and Underline + font properties. Read / write Boolean. + + + + + True if the style includes the NumberFormat property. + Read / write Boolean. + + + + + True if the style includes the Color, ColorIndex, + InvertIfNegative, Pattern, PatternColor, and PatternColorIndex + interior properties. Read / write Boolean. + + + + + True if the style includes the FormulaHidden and Locked protection + properties. Read / write Boolean. + + + + + Indent level. + + + + + If true then first symbol in cell is apostrophe. + + + + + True if cell is locked. + + + + + For far east languages. Supported only for format. Always 0 for US. + + + + + Returns or sets the format code for the object. Read / write String. + + + + + Gets / Sets format index. + + + + + Returns or sets the format code for the object as a string in the + language of the user. Read / write String. + + + + + Text direction, the reading order for far east versions. + + + + + Text rotation angle: + 0 Not rotated + 1-90 1 to 90 degrees counterclockwise + 91-180 1 to 90 degrees clockwise + 255 Letters are stacked top-to-bottom, but not rotated. + + Thrown when value is more than 0xFF. + + + + True - shrink content to fit into cell. + + + + + Vertical alignment. + + + + + True - Text is wrapped at right border. + + + + + Returns or sets the color of the interior pattern as an index into the current color palette. + + + + + Returns or sets the color of the interior pattern as an Color value. + + + + + Returns or sets the color of the interior. The color is specified as + an index value into the current color palette. + + + + + Returns or sets the cell shading color. + + + + + Gets value indicating whether format was modified, compared to parent format. + + + + + Returns the Cell has border + + + + + Starts updating process. + + + + + Ends updating process. + + + + + Get/set BottomBorder color. + + + + + Get/set TopBorder color. + + + + + Get/set LeftBorder color. + + + + + Get/set RightBorder color. + + + + + Get/set DiagonalUpBorder color. + + + + + Gets / sets line style of the left border. + + + + + Gets / sets line style of the right border. + + + + + Gets / sets line style of the top border. + + + + + Gets / sets line style of the bottom border. + + + + + Gets / sets line style of the diagonal border. + + + + + Gets / sets line style of the diagonal border. + + + + + Indicates whether DiagonalUp line is visible. + + + + + Indicates whether DiagonalDown line is visible. + + + + + Parent workbook. + + + + + Summary description for IXFIndex. + + + + + Gets format index in m_book.InnerFormats. + + + + + Represents a style description for a range. The Style object contains + all style attributes (font, number format, alignment, and so on) as + properties. There are several built-in styles, including Normal, + Currency, and Percent. Using the Style object is a fast and efficient + way to change several cell-formatting properties on multiple cells at + the same time. + For the Workbook object, the Style object is a member of the Styles + collection. The Styles collection contains all the defined styles for + the workbook + + + + + True if the style is a built-in style. Read-only Boolean. + + + + + Returns or sets the name of the object. Read-only String. + + + + + Indicates whether style is initialized (differs from Normal style). + Read-only. + + + + + Returns interior object for this extended format. + + + + + Extended format with style settings. + + + + + Parent workbook. + + + + + Font wrapper. + + + + + Borders collection. + + + + + Interior wrapper. + + + + + Creates new instance of extended format wrapper. + + + + + Creates new instance of extended format wrapper. + + Parent workbook. + Index of extended format to wrap. + + + + Sets solid fill pattern when changing + + + + + Creates inner extended format. + + Index to extended format to wrap. + + + + Updates inner extended format's font wrapper. + + + + + Searches for all necessary parent objects. + + Parent object. + + + + Sets Saved flag of the parent workbook to the False. + Called when any changes occurred in the style. + + + + + Event handler for font AfterChange event. + + Event sender. + Event arguments. + + + + Event handler for interior AfterChange event. + + Event sender. + Event arguments. + + + + This method is called after changes in NumberFormat. + + + + + + + + + + + + This method is called before reading any value. Can be used + to update wrapped object before read operation. + + + + + Gets style object either from parent or from this instance if it has no parent. + + Parent style object. + + + + This method should be called before several updates to the object will take place. + + + + + This method should be called after several updates to the object took place. + + + + + Returns parent workbook. Read-only. + + + + + Gets / Sets fill pattern. + + + + + Gets format index in m_book.InnerFormats. + + + + + Gets / Sets index of fill background color. + + + + + Gets / Sets fill background color. + + + + + Gets / Sets index of fill foreground color. + + + + + Gets / Sets fill foreground color. + + + + + Gets / Sets format index. + + + + + Horizontal alignment. + + + + + True if the style includes the AddIndent, HorizontalAlignment, + VerticalAlignment, WrapText, and Orientation properties. + Read / write Boolean. + + + + + True if the style includes the Color, ColorIndex, LineStyle, + and Weight border properties. Read / write Boolean. + + + + + True if the style includes the Background, Bold, Color, + ColorIndex, FontStyle, Italic, Name, OutlineFont, Shadow, + Size, Strikethrough, Subscript, Superscript, and Underline + font properties. Read / write Boolean. + + + + + True if the style includes the NumberFormat property. + Read / write Boolean. + + + + + True if the style includes the Color, ColorIndex, + InvertIfNegative, Pattern, PatternColor, and PatternColorIndex + interior properties. Read / write Boolean. + + + + + True if the style includes the FormulaHidden and Locked protection + properties. Read / write Boolean. + + + + + Indent level. + + + + + True if formula is hidden. + + + + + True if cell is locked. + + + + + For far east languages. Supported only for format. Always 0 for US. + + + + + Returns or sets the format code for the object. Read / write String. + + + + + Returns or sets the format code for the object as a string in the + language of the user. Read / write String. + + + + + Text direction, the reading order for far east versions. + + + + + Text rotation angle: + 0 Not rotated + 1-90 1 to 90 degrees counterclockwise + 91-180 1 to 90 degrees clockwise + 255 Letters are stacked top-to-bottom, but not rotated. + + Thrown when value is more than 0xFF. + + + + True - shrink content to fit into cell. + + + + + Vertical alignment. + + + + + True - Text is wrapped at right border. + + + + + Returns font object for this extended format. + + + + + Returns borders object for this extended format. + + + + + If true then first symbol in cell is apostrophe. + + + + + Returns or sets the color of the interior pattern as an index into the current color palette. + + + + + Returns or sets the color of the interior pattern as an Color value. + + + + + Returns or sets the color of the interior. The color is specified as + an index value into the current color palette. + + + + + Returns or sets the cell shading color. + + + + + Returns interior object for this extended format. + + + + + Gets value indicating whether format was modified, compared to parent format. + + + + + Gets / Sets font index. + + + + + Returns wrapped format. + + + + + Get/set BottomBorder color. + + + + + Get/set TopBorder color. + + + + + Get/set LeftBorder color. + + + + + Get/set RightBorder color. + + + + + Get/set DiagonalUpBorder color. + + + + + Gets / sets line style of the left border. + + + + + Gets / sets line style of the right border. + + + + + Gets / sets line style of the top border. + + + + + Gets / sets line style of the bottom border. + + + + + Gets / sets line style of the diagonal border. + + + + + Gets / sets line style of the diagonal border. + + + + + Indicates whether DiagonalUp line is visible. + + + + + Indicates whether DiagonalDown line is visible. + + + + + Event is raised after changes in number format. + + + + + Reference to Application which hosts all objects. Read-only. + + + + + Reference to Parent object. Read-only. + + + + + Indicates whether style is build in. Read-only. + + + + + Returns name of the style. Read-only. + + + + + Indicates whether style is initialized (differs from Normal style). + Read-only. + + + + + Parent range. + + + + + Represents whether to get adjacent or not + + + + + Creates new instance of cell style. + + Parent range. + Index of extended format to wrap. + + + + This method is called before changes in extended format. + + + + + This method is called after changes in extended format. + + + + + Searches for all necessary parent objects. + + Parent object. + + + + This method is called before reading any value. Can be used + to update wrapped object before read operation. + + + + + Gets line style of the left border. + + + + + + + Gets line style of the right border. + + + + + + + Gets line style of the top border. + + + + + + + Get line style of the bottom border. + + + + + + + Gets line color of the left border. + + + + + + + Gets line color of the right border. + + + + + + + Gets line color of the top border. + + + + + + + Get line color of the bottom border. + + + + + + + Gets left adjecent cell. + + + + + + Gets rigth adjecent cell. + + + + + + Gets top adjecent cell. + + + + + + Gets bottom adjecent cell. + + + + + + Gets relative cell. + + + + + + + + Get/set LeftBorder color. + + + + + Get/set RightBorder color. + + + + + Get/set TopBorder color. + + + + + Get/set BottomBorder color. + + + + + Gets / sets line style of the left border. + + + + + Gets / sets line style of the right border. + + + + + Gets / sets line style of the top border. + + + + + Gets / sets line style of the top border. + + + + + Gets or sets a boolean value + whether to get adjacent or not + + + + + Class used for Chart Axis implementation. + + + + + Represents an axis in a chart. + + + + + Gets or sets the format code for the axis values. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + //Set the number format of axis + chartAxis.NumberFormat = "Number"; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + 'Set the number format of axis + chartAxis.NumberFormat = "Number" + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets the axis type. Read-only. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Get the chart axis type, read only + OfficeAxisType axisType = chartAxis.AxisType; + //Enable reverse plot order + chartAxis.ReversePlotOrder = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Get the chart axis type, read only + Dim axisType As OfficeAxisType = chartAxis.AxisType + 'Enable reverse plot order + chartAxis.ReversePlotOrder = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the axis title. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + chartAxis.ReversePlotOrder = true; + //Set the text rotation angle + chartAxis.TextRotationAngle = 30; + //Set the title + chartAxis.Title = "Chart Axis"; + //Set the font style for title area + chartAxis.TitleArea.Bold = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + chartAxis.ReversePlotOrder = True + 'Set the text rotation angle + chartAxis.TextRotationAngle = 30 + 'Set the title + chartAxis.Title = "Chart Axis" + 'Set the font style for title area + chartAxis.TitleArea.Bold = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the text rotation angle. Should be integer value between -90 and 90. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + chartAxis.ReversePlotOrder = true; + //Set the text rotation angle + chartAxis.TextRotationAngle = 50; + //Set the title + chartAxis.Title = "Chart Axis"; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + chartAxis.ReversePlotOrder = True + 'Set the text rotation angle + chartAxis.TextRotationAngle = 30 + 'Set the title + chartAxis.Title = "Chart Axis" + 'Set the font style for title area + chartAxis.TitleArea.Bold = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets text area for the axis title. Read-only. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + chartAxis.ReversePlotOrder = true; + //Set the text rotation angle + chartAxis.TextRotationAngle = 30; + //Set the title + chartAxis.Title = "Chart Axis"; + //Set the font style for title area + chartAxis.TitleArea.Bold = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + chartAxis.ReversePlotOrder = True + 'Set the text rotation angle + chartAxis.TextRotationAngle = 30 + 'Set the title + chartAxis.Title = "Chart Axis" + 'Set the font style for title area + chartAxis.TitleArea.Bold = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets a Font object that represents character formatting. Read-only. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Set auto tick label spacing + chartAxis.AutoTickLabelSpacing = true; + //Set the border of chart axis + chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium; + //Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200; + //Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Set auto tick label spacing + chartAxis.AutoTickLabelSpacing = True + 'Set the border of chart axis + chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium + 'Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200 + 'Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets the major gridlines for the axis. Read-only + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Set major gridline + chartAxis.HasMajorGridLines = true; + //Get the major gridline of chart axis, read only + IOfficeChartGridLine gridline = chartAxis.MajorGridLines; + //Set border of major grid line + gridline.Border.AutoFormat = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Set major gridline + chartAxis.HasMajorGridLines = True + 'Get the major gridline of chart axis, read only + Dim gridline As IOfficeChartGridLine = chartAxis.MajorGridLines + 'Set border of major grid line + gridline.Border.AutoFormat = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the minor gridlines for the axis. Read-only + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Set minor gridline + chartAxis.HasMinorGridLines = true; + //Get the minor gridline of chart axis, read only + IOfficeChartGridLine gridline = chartAxis.MinorGridLines; + //Set border of minor grid line + gridline.Border.AutoFormat = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Set minor gridline + chartAxis.HasMinorGridLines = True + 'Get the minor gridline of chart axis, read only + Dim gridline As IOfficeChartGridLine = chartAxis.MinorGridLines + 'Set border of minor grid line + gridline.Border.AutoFormat = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates the axis has minor gridlines. + + True If the axis has minor gridlines.Otherwise False + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200; + //Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender; + //Set the minor grid lines + chartAxis.HasMinorGridLines = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200 + 'Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender + 'Set the minor grid lines + chartAxis.HasMinorGridLines = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates the axis has major gridlines. + + True If the axis has major gridlines.Otherwise False + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Set minor gridline + chartAxis.HasMinorGridLines = true; + //Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender; + //Set the major gridlines + chartAxis.HasMajorGridLines = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Set minor gridline + chartAxis.HasMinorGridLines = True + 'Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender + 'Set the major gridlines + chartAxis.HasMajorGridLines = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the type of minor tick mark for the axis. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Set the border of chart axis + chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium; + //Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200; + //Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender; + //Set the minor tick mark + chartAxis.MinorTickMark = OfficeTickMark.TickMark_Outside; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Set the border of chart axis + chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium + 'Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200 + 'Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender + 'Set the minor tick mark + chartAxis.MinorTickMark = OfficeTickMark.TickMark_Outside + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the type of major tick mark for the axis. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Set the border of chart axis + chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium; + //Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200; + //Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender; + //Set the major tick mark + chartAxis.MajorTickMark = OfficeTickMark.TickMark_Inside; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Set the border of chart axis + chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium + 'Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200 + 'Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender + 'Set the major tick mark + chartAxis.MajorTickMark = OfficeTickMark.TickMark_Inside + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets border of the axis. Read-only. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Set auto tick label spacing + chartAxis.AutoTickLabelSpacing = true; + //Set the border of chart axis + chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium; + //Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200; + //Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Set auto tick label spacing + chartAxis.AutoTickLabelSpacing = True + 'Set the border of chart axis + chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium + 'Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200 + 'Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets a value that indicates the tick label position is automatic or not + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Set auto tick label spacing + chartAxis.AutoTickLabelSpacing = true; + //Set the border of chart axis + chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium; + //Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200; + //Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Set auto tick label spacing + chartAxis.AutoTickLabelSpacing = True + 'Set the border of chart axis + chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium + 'Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200 + 'Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the position of tick-mark labels on the axis. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Set the tick label position + chartAxis.TickLabelPosition = OfficeTickLabelPosition.TickLabelPosition_NextToAxis; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Set the tick label position + chartAxis.TickLabelPosition = OfficeTickLabelPosition.TickLabelPosition_NextToAxis + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates axis is visible or not. + + True If axis visible. Otherwise False + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Hide the visibility of chart axis + chartAxis.Visible = false; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Hide the visibility of chart axis + chartAxis.Visible = False + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets How to plots data points in the axis.True if plots data points from last to first. + + True if plots data points from last to first.Otherwise False + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Get the chart axis type, read only + OfficeAxisType axisType = chartAxis.AxisType; + //Enable reverse plot order + chartAxis.ReversePlotOrder = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Get the chart axis type, read only + Dim axisType As OfficeAxisType = chartAxis.AxisType + 'Enable reverse plot order + chartAxis.ReversePlotOrder = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets shadow formatting properties for the chart element. Read-only + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Get the shadow od axis + IShadow shadow = chartAxis.Shadow; + //Set the shadow color + shadow.ShadowColor = Color.Brown; + //Set the shadow angle + shadow.Angle = 87; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Get the shadow od axis + Dim shadow As IShadow = chartAxis.Shadow + 'Set the shadow color + shadow.ShadowColor = Color.Brown + 'Set the shadow angle + shadow.Angle = 87 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the 3-D�effect formatting properties for the specified chart. Read-only + + The three_ D. + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create an instance of chart axis + IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; + //Set the border of chart axis + chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium; + //Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200; + //Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) + 'Create an instance of chart axis + Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis + 'Set auto tick label spacing + chartAxis.AutoTickLabelSpacing = True + 'Set the border of chart axis + chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium + 'Set 3D options for chart + chartAxis.Chart3DOptions.BevelBottomWidth = 200 + 'Set the font color for chart axis + chartAxis.Font.Color = OfficeKnownColors.Lavender + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Represents default number format index; + + + + + Represents index to general format. + + + + + True if chart category label text wrapped, false as default. + + + + + Type of the axis. + + + + + True if this is the primary axis; false if secondary. + + + + + Text area for the axis title. + + + + + Chart tick record for this axis. + + + + + Represents Shadow + + + + + Indicates whether line format is present. + + + + + Font used for axis drawing. + + + + + Font used to store the default font used with axis drawing. + + + + + Represents major grid. + + + + + Represents minor grid. + + + + + Represents if axis has major gridlines. + + + + + Represents if axis has minor gridlines. + + + + + Represents parent axis. + + + + + Represents format index. + + + + + Represents border axis. + + + + + Represents text direction. + + + + + Axis id. + + + + + Inidicates whether axis was deleted. + + + + + Indicates whether tick label spacing value is automatically evaluated. + + + + + Indicates whether TickMarkSpacing has automatic value. + + + + + Stores label alignment setting. + + + + + Stores label text alignment setting. + + + + + Represents the 3D features + + + + + Represents the TextArea Paragraph + + + + + Represents the frame format of Axis + + + + + Creates axis of specified type and specified IsPrimary value. + + Application object for the axis. + Parent object for the axis. + Type of the new axis. + + True if primary axis should be created; otherwise False. + + + + + Finds parent objects. + + + + + Sets some important variables to the initial state. + + + + + Initializes internal tick record. + + + + + Clone current object. + + Parent object. + Dictionary with new indexes. + Dictionary with new worksheet names. + Returns cloned object. + + + + Updates surface tick record. + + Represents value type. + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Initializes frame format. + + + + + Creates frame format. + + Newly created frame format. + + + + Set the border on this object + + the input border + + + + Gets and sets the indicate whether the chart category label text wrapped, false default. + + + + + Type of the axis. + + + + + True if this is primary axis; False if secondary. + + + + + Title of the axis. + + + + + Text rotation angle. Should be integer value between -90 and 90. + + + + + Gets value indicating whether text rotation angle is autoselected. + + + + + Returns text area for the axis title. Read-only. + + + + + Returns font used for axis text displaying. Read-only. + + + + + Gets or Sets the value indicating whether the aixs font settings are applied from the chart default font settings. + + + + + Returns major gridLines. Read-only. + + + + + Returns minor gridLines. Read-only. + + + + + Gets or sets if axis has minor gridlines. + + + + + Gets or sets if axis has major gridlines. + + + + + Returns chart parent axis. Read-only. + + + + + Gets or sets format index. + + + + + Gets or sets number format string. + + + + + Represents minor tick marks. + + + + + Represents major tick marks. + + + + + Represents chart border. Read-only. + + + + + Represents tick label position. + + + + + Indicates is axis is visible. + + + + + Represents alignment for the tick label. + + + + + True if plots data points from last to first. + + + + + Returns axis id. + + + + + Returns parent chart object. Read-only. + + + + + Gets or Sets the value indicating whether axis was deleted. + + + + + Represents the Shadow.Read-only + + + + + Represents Shadow Propertes.Read-Only + + + + + This property indicates whether the shadow object has been created + + + + + Gets the chart3 D options. + + The chart3 D options. + + + + Gets the chart3 D properties. + + The chart3 D properties. + + + + This property Indicates whether the Shadow object has been created(which includes the 3D properties) + + + + + Return frame format of Axis. Read-only. + + + + + Indicates wheather the axis has title + + + + + Represents the TextArea Paragraph + + + + + Represents the Default Text Settings + + + + + Represents label text alignment setting + + + + + Creates title area. Read-only. + + + + + Returns parent workbook. Read-only. + + + + + Represents chart border object. + + + + + Represents the border of an object. + + + + + Gets or sets the Color of the line. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the chart area border + IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; + //Enable auto line color + chartAreaBorder.IsAutoLineColor = false; + //Set the line color + chartAreaBorder.LineColor = System.Drawing.Color.CornflowerBlue; + //Set the line pattern + chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot; + //Set the line weight + chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide; + //Set the transparency of border + chartAreaBorder.Transparency = 0.8; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the chart area border + Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border + 'Enable auto line color + chartAreaBorder.IsAutoLineColor = False + 'Set the line color + chartAreaBorder.LineColor = System.Drawing.Color.CornflowerBlue + 'Set the line pattern + chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot + 'Set the line weight + chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide + 'Set the transparency of border + chartAreaBorder.Transparency = 0.8 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the Line pattern for the border. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the chart area border + IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; + //Enable auto line color + chartAreaBorder.IsAutoLineColor = false; + //Set the line color + chartAreaBorder.LineColor = System.Drawing.Color.CornflowerBlue; + //Set the line pattern + chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot; + //Set the line weight + chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide; + //Set the transparency of border + chartAreaBorder.Transparency = 0.8; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the chart area border + Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border + 'Enable auto line color + chartAreaBorder.IsAutoLineColor = False + 'Set the line color + chartAreaBorder.LineColor = System.Drawing.Color.CornflowerBlue + 'Set the line pattern + chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot + 'Set the line weight + chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide + 'Set the transparency of border + chartAreaBorder.Transparency = 0.8 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the Weight of the line. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the chart area border + IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; + //Enable auto line color + chartAreaBorder.IsAutoLineColor = false; + //Set the line color + chartAreaBorder.LineColor = System.Drawing.Color.CornflowerBlue; + //Set the line pattern + chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot; + //Set the line weight + chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide; + //Set the transparency of border + chartAreaBorder.Transparency = 0.8; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the chart area border + Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border + 'Enable auto line color + chartAreaBorder.IsAutoLineColor = False + 'Set the line color + chartAreaBorder.LineColor = System.Drawing.Color.CornflowerBlue + 'Set the line pattern + chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot + 'Set the line weight + chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide + 'Set the transparency of border + chartAreaBorder.Transparency = 0.8 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates the border format as automatic or custom. + + True if border has automatic format.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the chart area border + IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; + //Set the auto format + chartAreaBorder.AutoFormat = false; + //Set the color index of chart area border + chartAreaBorder.ColorIndex = OfficeKnownColors.Light_orange; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the chart area border + Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border + 'Set the auto format + chartAreaBorder.AutoFormat = False + 'Set the color index of chart area border + chartAreaBorder.ColorIndex = OfficeKnownColors.Light_orange + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets whether the line color is automatic. + + True if the line color is auto.Otherwise False + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the chart area border + IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; + //Enable auto line color + chartAreaBorder.IsAutoLineColor = false; + //Set the line color + //chartAreaBorder.LineColor = Color.Chocolate; + //Set the line pattern + chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot; + //Set the line weight + chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide; + //Set the transparency of border + chartAreaBorder.Transparency = 0.8; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the chart area border + Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border + 'Enable auto line color + chartAreaBorder.IsAutoLineColor = False + 'Set the line color + 'chartAreaBorder.LineColor = Color.Chocolate; + 'Set the line pattern + chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot + 'Set the line weight + chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide + 'Set the transparency of border + chartAreaBorder.Transparency = 0.8 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the color of the border. + + The color is specified as an index value into the current color palette. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the chart area border + IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; + //Set the color index of chart area border + chartAreaBorder.ColorIndex = OfficeKnownColors.Light_orange; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the chart area border + Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border + 'Set the color index of chart area border + chartAreaBorder.ColorIndex = OfficeKnownColors.Light_orange + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the transparency level of the specified Solid color shaded fill as a floating-point + value from 0.0 (Clear) through 1.0(Opaque) + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the chart area border + IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; + //Set the color index of chart area border + chartAreaBorder.ColorIndex = OfficeKnownColors.Light_orange; + //Set the transparency of border + chartAreaBorder.Transparency = 0.8; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the chart area border + Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border + 'Set the color index of chart area border + chartAreaBorder.ColorIndex = OfficeKnownColors.Light_orange + 'Set the transparency of border + chartAreaBorder.Transparency = 0.8 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Get or set the begin arrow style. + + + + + Get or set the end arrow style. + + + + + Get or set the begin arrow length. + + + + + Get or set end arrow length. + + + + + Represents default color index. + + + + + Line format. + + + + + Represents parent workbook. + + + + + Represents parent Series format. + + + + + Represents line color. + + + + + Represents the default transparency level for the solid type + + + + + Preserve Gradient Stops (Supported in Excel 2007 and higher) + + + + + border edge join type + + + + + Represents begin arrow style. + + + + + Represents end arrow style. + + + + + Represents begin arrow length. + + + + + Represents end arrow length. + + + + + + + + + + Indicates the cap styles of the line + + + + + Indicated the line style. + + + + + Creates new instance of class. + + Represents current application. + Represents parent object. + + + + Creates new instance of class. + + Represents current application. + Represents parent object. + Represents line record. + + + + Parsing current object. + + Records offset. + Position in offset. + + + + Finds parent objects. + + + + + Updates internal record for Excel97 file format. + + + + + Check whether the serie Format is available, if it update auto color + Only to be called on auto format is false + + + + + Clones current object. + + Represents parent object. + Returns cloned object. + + + + Makes complete copy of the current object and updates its parent. + + Parent object to set. + Cloned object. + + + + Color of line. + + + + + Get or set the BeginArrowType + + + + + Indicates the cap styles of the line + + + + + Get or set the EndArrowType + + + + + Get or set the BeginArrowSize + + + + + Get or set the EndArrowSize + + + + + Line pattern. + + + + + Weight of line. + + + + + preserve fill and gradient stops (Supported in Excel 2007 and higher) + + + + + indicates whether the line filled with gradient fill + + + + + Border edge join type + + + + + If true - default format; otherwise custom. + + + + + True to draw tick labels on this axis. + + + + + Custom format for line color. + + + + + Line color index. + + + + + Returns border color object. Read-only. + + + + + Returns the transparency level of the specified Solid color shaded fill as a floating-point + value from 0.0 (light) through 1.0(dark) + + + + + Gets or sets the line weight string. + + The line weight string. + + + + Gets or sets the line style type. + + + + + Represents the chart category + + + + + Gets or sets the category filter. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Get the categories of chart + IOfficeChartCategories categories = chart.Categories; + //Get the name of the category + string name = categories[0].Name; + //Set the category filter + categories[0].IsFiltered = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Get the categories of chart + Dim categories As IOfficeChartCategories = chart.Categories + 'Get the name of the category + Dim name As String = categories(0).Name + 'Set the category filter + categories(0).IsFiltered = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the category name.Read-only. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Get the category from the category collection + IOfficeChartCategory category = chart.Categories[0]; + //Get the name of the category + string name = category.Name; + //Get the category label, read only + IOfficeDataRange dataRange = category.CategoryLabel; + //Set the value + dataRange.SetValue(2, 1, "2ndRow, 1stCol"); + dataRange.SetValue(2, 4, 290); + //Get the values of category + IOfficeDataRange values = category.Values; + //Set the value + values.SetValue(3, 2, 120); + values.SetValue(5, 2, 320); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Get the category from the category collection + Dim category As IOfficeChartCategory = chart.Categories(0) + 'Get the name of the category + Dim name As String = category.Name + 'Get the category label, read only + Dim dataRange As IOfficeDataRange = category.CategoryLabel + 'Set the value + dataRange.SetValue(2, 1, "2ndRow, 1stCol") + dataRange.SetValue(2, 4, 290) + 'Get the values of category + Dim values As IOfficeDataRange = category.Values + 'Set the value + values.SetValue(3, 2, 120) + values.SetValue(5, 2, 320) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the category labels of the category. Read-only. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Get the category from the category collection + IOfficeChartCategory category = chart.Categories[0]; + //Get the name of the category + string name = category.Name; + //Get the category label, read only + IOfficeDataRange dataRange = category.CategoryLabel; + //Set the value + dataRange.SetValue(2, 1, "2ndRow, 1stCol"); + dataRange.SetValue(2, 4, 290); + //Get the values of category + IOfficeDataRange values = category.Values; + //Set the value + values.SetValue(3, 2, 120); + values.SetValue(5, 2, 320); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Get the category from the category collection + Dim category As IOfficeChartCategory = chart.Categories(0) + 'Get the name of the category + Dim name As String = category.Name + 'Get the category label, read only + Dim dataRange As IOfficeDataRange = category.CategoryLabel + 'Set the value + dataRange.SetValue(2, 1, "2ndRow, 1stCol") + dataRange.SetValue(2, 4, 290) + 'Get the values of category + Dim values As IOfficeDataRange = category.Values + 'Set the value + values.SetValue(3, 2, 120) + values.SetValue(5, 2, 320) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the category values.Read-only. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Get the category from the category collection + IOfficeChartCategory category = chart.Categories[0]; + //Get the name of the category + string name = category.Name; + //Get the category label, read only + IOfficeDataRange dataRange = category.CategoryLabel; + //Set the value + dataRange.SetValue(2, 1, "2ndRow, 1stCol"); + dataRange.SetValue(2, 4, 290); + //Get the values of category + IOfficeDataRange values = category.Values; + //Set the value + values.SetValue(3, 2, 120); + values.SetValue(5, 2, 320); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Get the category from the category collection + Dim category As IOfficeChartCategory = chart.Categories(0) + 'Get the name of the category + Dim name As String = category.Name + 'Get the category label, read only + Dim dataRange As IOfficeDataRange = category.CategoryLabel + 'Set the value + dataRange.SetValue(2, 1, "2ndRow, 1stCol") + dataRange.SetValue(2, 4, 290) + 'Get the values of category + Dim values As IOfficeDataRange = category.Values + 'Set the value + values.SetValue(3, 2, 120) + values.SetValue(5, 2, 320) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Represents the Filterd Category + + + + + Represents the category labels + + + + + Represents the category labels + + + + + Represents the category values + + + + + Represents the category values + + + + + Represents the categoryname. + + + + + Class used for Chart Category Axis implementation. + + + + + Class used for Chart Value Axis implementation. + + + + + Represents the chart value axis. + + + + + Gets or sets the minimum value on the value axis. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Diable auto major + chart.PrimaryValueAxis.IsAutoMin = false; + //Disable auto max + chart.PrimaryValueAxis.IsAutoMinor = false; + //Set the major unit + chart.PrimaryValueAxis.MinorUnit = 24.34; + //Set the maximum value + chart.PrimaryValueAxis.MinimumValue = 60; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the maximum value on the value axis. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Diable auto major + chart.PrimaryValueAxis.IsAutoMajor = false; + //Disable auto max + chart.PrimaryValueAxis.IsAutoMax = false; + //Set the major unit + chart.PrimaryValueAxis.MajorUnit = 24.34; + //Set the maximum value + chart.PrimaryValueAxis.MaximumValue = 60; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the major units on the value axis. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Diable auto major + chart.PrimaryValueAxis.IsAutoMajor = false; + //Disable auto max + chart.PrimaryValueAxis.IsAutoMax = false; + //Set the major unit + chart.PrimaryValueAxis.MajorUnit = 24.34; + //Set the maximum value + chart.PrimaryValueAxis.MaximumValue = 60; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the minor units on the value axis. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Diable auto major + chart.PrimaryValueAxis.IsAutoMin = false; + //Disable auto max + chart.PrimaryValueAxis.IsAutoMinor = false; + //Set the major unit + chart.PrimaryValueAxis.MinorUnit = 24.34; + //Set the maximum value + chart.PrimaryValueAxis.MinimumValue = 60; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the point on the value axis where the category axis crosses it. Applies only to the value axis. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the crosses At + chart.PrimaryValueAxis.CrossesAt = 1.2; + //Set the display unit + chart.PrimaryValueAxis.DisplayUnit = OfficeChartDisplayUnit.Hundreds; + //Set the display unit custom + chart.PrimaryValueAxis.DisplayUnitCustom = 12.34; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or set a value that indicates whether automatically calculates the minimum value for the value axis. + + Trueif Essential Presentation calculates the minimum value for the value axis.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Diable auto major + chart.PrimaryValueAxis.IsAutoMin = false; + //Disable auto max + chart.PrimaryValueAxis.IsAutoMinor = false; + //Set the major unit + chart.PrimaryValueAxis.MinorUnit = 24.34; + //Set the maximum value + chart.PrimaryValueAxis.MinimumValue = 60; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or set a value that indicates whether automatically calculates the maximum value for the value axis. + + Trueif Essential Presentation calculates the maximum value for the value axis.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Diable auto major + chart.PrimaryValueAxis.IsAutoMajor = false; + //Disable auto max + chart.PrimaryValueAxis.IsAutoMax = false; + //Set the major unit + chart.PrimaryValueAxis.MajorUnit = 24.34; + //Set the maximum value + chart.PrimaryValueAxis.MaximumValue = 60; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or set a value that indicates whether automatically calculates the major units for the value axis. + + Trueif Essential Presentation calculates the major units for the value axis.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Diable auto major + chart.PrimaryValueAxis.IsAutoMajor = false; + //Disable auto max + chart.PrimaryValueAxis.IsAutoMax = false; + //Set the major unit + chart.PrimaryValueAxis.MajorUnit = 24.34; + //Set the maximum value + chart.PrimaryValueAxis.MaximumValue = 60; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or set a value that indicates whether automatically calculates the minor units for the value axis. + + Trueif Essential Presentation calculates the minor units for the value axis.Otherwise False. + + + + Gets or sets a value that indicates whether the automatic category crossing point selected on the value axis or not. + + Trueif automatically category crossing point selected on the value axis.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Disable the auto cross + chart.PrimaryValueAxis.IsAutoCross = false; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a value that indicates whether the Logarithmic scale is using or not. + + Trueif using logarithmic scale.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the log scale + chart.PrimaryValueAxis.IsLogScale = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Returns or sets the base of the logarithm when you are using log scales. The default value is 10. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range (start row, start column, end row, end column) of chart series + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range (start row, start column, end row, end column) of chart series + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the log scale and log base + chart.PrimaryValueAxis.IsLogScale = true; + chart.PrimaryValueAxis.LogBase = 2; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a value that indicates whether category axis to cross at maximum value or not. + + Trueif category axis to cross at maximum value.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Disable the auto cross + chart.PrimaryValueAxis.IsAutoCross = false; + //Set the Max cross + chart.PrimaryValueAxis.IsMaxCross = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the value of the displayed units. while DisplayUnit type is custom. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the crosses At + chart.PrimaryValueAxis.CrossesAt = 1.2; + //Set the display unit + chart.PrimaryValueAxis.DisplayUnit = OfficeChartDisplayUnit.Hundreds; + //Set the display unit custom + chart.PrimaryValueAxis.DisplayUnitCustom = 12.34; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the unit label for the value axis. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the crosses At + chart.PrimaryValueAxis.CrossesAt = 1.2; + //Set the display unit + chart.PrimaryValueAxis.DisplayUnit = OfficeChartDisplayUnit.Hundreds; + //Set the display unit custom + chart.PrimaryValueAxis.DisplayUnitCustom = 12.34; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a value that indicates whether the label is displayed on the value axis or not. + + if the label is displayed on the value axis.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the display unit + chart.PrimaryValueAxis.DisplayUnit = OfficeChartDisplayUnit.MillionMillions; + //Hide the display unit label + chart.PrimaryValueAxis.HasDisplayUnitLabel = false; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets the DisplayUnitLabel object for the value axis. + Gets a Null reference if the HasDisplayUnitLabel property is set to False. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the display unit + chart.PrimaryValueAxis.DisplayUnit = OfficeChartDisplayUnit.MillionMillions; + //Set the italic font style for the lable + chart.PrimaryValueAxis.DisplayUnitLabel.Italic = true; + //Set the RGB color of the label + chart.PrimaryValueAxis.DisplayUnitLabel.RGBColor = System.Drawing.Color.Bisque; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Represents logarithmic scale. + + + + + Represents reverse plot order. + + + + + Represents maximum value. + + + + + Represents minimum value. + + + + + Represents the log base + + + + + Represents array of display units values. + Index - display units index, value - double value. + + + + + Indicates is has display unit label. + + + + + Chart value record. + + + + + Represents log base. Default value is 10. + + + + + Represents custom unit to display. + + + + + Represents display unit. + + + + + Represents display Unit label. + + + + + Indicates whether tick label spacing value is automatically evaluated. + + + + + Represents the indicate whether the chart axis auto cross value change or not. + + + + + Represents the indicate whether the chart axis auto cross value change or not in loading. + + + + + Represents the display unit is percentage. + + + + + Creates primary axis of specified type. + + Application object for the axis. + Parent object for the axis. + Type of the new axis. + + + + Creates axis of specified type and specified IsPrimary value. + + Application object for the axis. + Parent object for the axis. + Type of the new axis. + + True if primary axis should be created; otherwise False. + + + + + Initializes internal variables. + + + + + Checks if everything is ok with ChartValueRangeRecord. + + True if check succeeded. + + + + Checks if everything is ok with ChartValueRangeRecord. + + Indicates whether we should throw an exception in the case of check failed. + True if check succeeded. + + + + Clone current object. + + Parent object. + Dictionary with new indexes. + Dictionary with new worksheet names. + Returns cloned object. + + + + Creates display unit label. + + + + + Maximum value on axis. + + + + + Maximum value on axis. + + + + + Value of major increment. + + + + + Value of minor increment. + + + + + Represents the point on the axis another axis crosses it. + + + + + Represents the point on the axis another axis crosses it. + + + + + Automatic minimum selected. + + + + + Automatic maximum selected. + + + + + Represents whether the label spacing is automatic or not + + + + + Automatic major selected. + + + + + Automatic minor selected. + + + + + Automatic category crossing point selected. + + + + + Get or set the indicates whether the chart axis auto cross value change or not. + + + + + Get or set the indicates whether the chart axis auto cross value change or not in loading. + + + + + Logarithmic scale. + + + + + Returns or sets the base of the logarithm when you are using log scales. The default value is 10. + + + + + True if plots data points from last to first. + + + + + Category axis to cross at maximum value. + + + + + Gets or sets the ChartValueRangeRecord. + + + + + Represents custom unit to display. + + + + + Returns or sets the unit label for the specified axis. + + + + + True if the label is displayed on the specified axis. + + + + + Returns the DisplayUnitLabel object for the specified axis. + Returns Null if the HasDisplayUnitLabel property is set to False. Read-only. + + + + + Gets text link for this axis. + + + + + Represents the chart Category Axis. + + + + + Gets or sets the number of categories or series between tick-mark labels. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the primary category axis of chart + IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; + //Set the category labels + categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy"; + //Set the tick label spacing + categoryAxis.TickLabelSpacing = 2; + //Set the tick mark spacing + categoryAxis.TickMarkSpacing = 2; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the primary category axis of chart + Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis + 'Set the category labels + categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy" + 'Set the tick label spacing + categoryAxis.TickLabelSpacing = 2 + 'Set the tick mark spacing + categoryAxis.TickMarkSpacing = 2 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates whether the tick label spacing is automatic. + + True if the tick label spacing is automatic.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the primary category axis of chart + IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; + //Set the auto tick label spacing + categoryAxis.AutoTickLabelSpacing = false; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the primary category axis of chart + Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis + 'Set the auto tick label spacing + categoryAxis.AutoTickLabelSpacing = False + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the number of categories or series between tick marks. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the primary category axis of chart + IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; + //Set the category labels + categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy"; + //Set the tick label spacing + categoryAxis.TickLabelSpacing = 2; + //Set the tick mark spacing + categoryAxis.TickMarkSpacing = 2; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the primary category axis of chart + Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis + 'Set the category labels + categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy" + 'Set the tick label spacing + categoryAxis.TickLabelSpacing = 2 + 'Set the tick mark spacing + categoryAxis.TickMarkSpacing = 2 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets true - cuts unused plot area. Default for area, surface charts. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the primary category axis of chart + IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; + //Set the category labels + categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy"; + //Set the tick label spacing + categoryAxis.TickLabelSpacing = 2; + //Set the tick mark spacing + categoryAxis.TickMarkSpacing = 2; + //Set IsBetween, default is true + categoryAxis.IsBetween = false; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the primary category axis of chart + Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis + 'Set the category labels + categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy" + 'Set the tick label spacing + categoryAxis.TickLabelSpacing = 2 + 'Set the tick mark spacing + categoryAxis.TickMarkSpacing = 2 + 'Set IsBetween, default is true + categoryAxis.IsBetween = False + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets Category labels for the chart. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the primary category axis of chart + IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; + //Set the category labels + categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy"; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the primary category axis of chart + Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis + 'Set the category labels + categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy" + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Get or set the Directly category lables for the chart. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 1, "Jan"); + chart.ChartData.SetValue(1, 2, "Feb"); + chart.ChartData.SetValue(1, 3, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "10"); + chart.ChartData.SetValue(2, 2, "20"); + chart.ChartData.SetValue(2, 3, "30"); + ///'Sets the data range of chart + chart.DataRange = chart.ChartData(1, 1, 2, 2) + //Get the primary category axis of chart + IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; + //Set the category labels + categoryAxis.DirectCategoryLabels = = new object[] { "Oct", "Nov", "Dec" };; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the category axis type. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the primary category axis of chart + IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; + //Set the category labels + categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy"; + //Set the category type + categoryAxis.CategoryType = OfficeCategoryType.Category; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the primary category axis of chart + Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis + 'Set the category labels + categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy" + 'Set the category type + categoryAxis.CategoryType = OfficeCategoryType.Category + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the distance between the labels and axis line. + The value can be from 0 through 1000. + + + + + Gets or sets the base unit for the category axis + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the primary category axis of chart + IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; + //Set the category labels + categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy"; + //Set the base unit + categoryAxis.BaseUnit = OfficeChartBaseUnit.Month; + //Set the base unit for the category axis, default is true + categoryAxis.BaseUnitIsAuto = false; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the primary category axis of chart + Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis + 'Set the category labels + categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy" + 'Set the base unit + categoryAxis.BaseUnit = OfficeChartBaseUnit.Month + 'Set the base unit for the category axis, default is true + categoryAxis.BaseUnitIsAuto = False + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets True if use automatic base units for the category axis. The default is true. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the primary category axis of chart + IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; + //Set the category labels + categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy"; + //Set the base unit + categoryAxis.BaseUnit = OfficeChartBaseUnit.Month; + //Set the base unit for the category axis, default is true + categoryAxis.BaseUnitIsAuto = false; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the primary category axis of chart + Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis + 'Set the category labels + categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy" + 'Set the base unit + categoryAxis.BaseUnit = OfficeChartBaseUnit.Month + 'Set the base unit for the category axis, default is true + categoryAxis.BaseUnitIsAuto = False + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the major unit scale value for the category axis + when the CategoryType property is set to TimeScale. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the primary category axis of chart + IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; + //Set the category labels + categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy"; + //Set the base unit + categoryAxis.BaseUnit = OfficeChartBaseUnit.Month; + //Set the major unit scale + categoryAxis.MajorUnitScale = OfficeChartBaseUnit.Month; + //Set the minor unit scale + categoryAxis.MinorUnitScale = OfficeChartBaseUnit.Month; + //Set the minor unit + categoryAxis.MinorUnit = 10; + //Set the major unit + categoryAxis.MajorUnit = 10; + //Set the offset value + categoryAxis.Offset = 450; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the primary category axis of chart + Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis + 'Set the category labels + categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy" + 'Set the base unit + categoryAxis.BaseUnit = OfficeChartBaseUnit.Month + 'Set the major unit scale + categoryAxis.MajorUnitScale = OfficeChartBaseUnit.Month + 'Set the minor unit scale + categoryAxis.MinorUnitScale = OfficeChartBaseUnit.Month + 'Set the minor unit + categoryAxis.MinorUnit = 10 + 'Set the major unit + categoryAxis.MajorUnit = 10 + 'Set the offset value + categoryAxis.Offset = 450 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the minor unit scale value for the category axis + when the CategoryType property is set to TimeScale. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the primary category axis of chart + IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; + //Set the category labels + categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy"; + //Set the base unit + categoryAxis.BaseUnit = OfficeChartBaseUnit.Month; + //Set the major unit scale + categoryAxis.MajorUnitScale = OfficeChartBaseUnit.Month; + //Set the minor unit scale + categoryAxis.MinorUnitScale = OfficeChartBaseUnit.Month; + //Set the minor unit + categoryAxis.MinorUnit = 10; + //Set the major unit + categoryAxis.MajorUnit = 10; + //Set the offset value + categoryAxis.Offset = 450; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "9/21/2015") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "9/24/2015") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "9/28/2015") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the primary category axis of chart + Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis + 'Set the category labels + categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Set the number format of axis + categoryAxis.NumberFormat = "m/d/yyyy" + 'Set the base unit + categoryAxis.BaseUnit = OfficeChartBaseUnit.Month + 'Set the major unit scale + categoryAxis.MajorUnitScale = OfficeChartBaseUnit.Month + 'Set the minor unit scale + categoryAxis.MinorUnitScale = OfficeChartBaseUnit.Month + 'Set the minor unit + categoryAxis.MinorUnit = 10 + 'Set the major unit + categoryAxis.MajorUnit = 10 + 'Set the offset value + categoryAxis.Offset = 450 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + True if multi-Level category axis is not allowed. otherwise False. + + + + + True if bins generated by category values. otherwise False + + Applies only to Histogram and Pareto charts. + + + + True if bins generated are automatic. otherwise False + + Applies only to Histogram and Pareto charts. + + + + Gets / Sets the Number of Bins in the axis + + Applies only to Histogram and Pareto charts.Can be a value from 1 through 31999. + + + + Get or Set the number of data points in each range. + + Applies only to Histogram and Pareto charts. + + + + Get or Set the UnderFlow Bin value + + Applies only to Histogram and Pareto charts. + + + + Get or Set the OverFlow Bin value + + Applies only to Histogram and Pareto charts. + + + + Error message for not supported property. + + + + + Represents default offset. + + + + + Represents month count. + + + + + Represents min axis data. + + + + + boolean value used for tick label spacing + + + + + boolean value used for ChartAxisOffsetRecord + + + + + Object that holds the information required for Histogram series + + + + + ChartCatserRangeRecord that describes this axis. + + + + + UnknownRecord that describes label intervals of this axis. + + + + + Represents time scale data. + + + + + Represents category axis type. + + + + + Represents default axis offset. + + + + + Indicates whether tick label spacing value is automatically evaluated. + + + + + Indicates whether multi level label is allowed or not + + + + + Represents to serialize NoMultiLvlLbl attribute or not + + + + + Represents to serialize majorUnitScale is Auto + + + + + Represents to serialize minorUnitScale is Auto + + + + + Represents the date time axis value change or not + + + + + Creates primary axis of specified type. + + Application object for the axis. + Parent object for the axis. + Type of the new axis. + + + + Creates axis of specified type and specified IsPrimary value. + + Application object for the axis. + Parent object for the axis. + Type of the new axis. + + True if primary axis should be created; otherwise False. + + + + + Initializes internal variables. + + + + + Checks if everything is ok with ChartValueRangeRecord. + + Indicates whether we should throw an exception in the case of check failed. + True if check succeeded. + + + + Clones current object. + + Parent object. + Dictionary with new indexes. + Dictionary with new worksheet names. + Returns cloned object. + + + + Checks for time scale axis mode. Otherwise rise exception. + + + + + Swap the values from category axis properties + + + + + Value axis crosses at the far right category (in a line, bar, + column, scatter, or area chart; 2D charts only). + + + + + Represents the point on the axis another axis crosses it. + + + + + Represents the date time axis value change or not + + + + + Represents whether the label spacing is present or not + + + + + Represents whether the label spacing is automatic or not + + + + + Represents the number of categories or series between tick-mark labels. + + + + + Represents the number of categories or series between tick-mark labels. + + + + + Represents the number of categories or series between tick marks. + + + + + Represents the number of categories or series between tick marks. + + + + + Creates title area. Read-only. + + + + + If false - cuts unused plot area. Default for area, surface charts. + + + + + True if plots data points from last to first. + + + + + Category labels for the chart. + + + + + Category labels for the chart. + + + + + Get or set the Directly category lables for the chart. + + + + + Entered directly category labels for the chart. + + + + + Represents axis category type. + + + + + Represents distance between the labels and axis line. + The value can be from 0 through 1000. + + + + + Represents base unit for the specified category axis. + + + + + True if use automatic base units for the specified category axis. + + + + + True if use automatic major units for the specified category axis. + + + + + True if use automatic major units for the specified category axis. + + + + + Automatic major selected. + + + + + Automatic minor selected. + + + + + Automatic category crossing point selected. + + + + + Automatic maximum selected. + + + + + Automatic minimum selected. + + + + + Value of major increment. + + + + + Value of minor increment. + + + + + Represents the major unit scale value for the category axis + when the CategoryType property is set to TimeScale. + + + + + Represents the minor unit scale value for the category axis + when the CategoryType property is set to TimeScale. + + + + + Represents whether axis labels allow multi level string or not + + + + + True if bins generated by category values. otherwise False + + Applies only to Histogram and Pareto charts. + + + + True if bins generated are automatic. otherwise False + + Applies only to Histogram and Pareto charts. + + + + Get or set the Number of Bins in the axis + + Applies only to Histogram and Pareto charts.Can be a value from 1 through 31999. + + + + Get or Set the number of data points in each range. + + Applies only to Histogram and Pareto charts. + + + + Get or Set the UnderFlow Bin value + + Applies only to Histogram and Pareto charts. + + + + Get or Set the OverFlow Bin value + + Applies only to Histogram and Pareto charts. + + + + returns an Object that holds the information required for Histogram series + + + + + Returns ChartCatserRangeRecord record. Read-only. + + + + + Indicates is chart bubble or scatter. Using series start type. + + + + + Indicates is category axis type is category. Read-only. + + + + + Represents the collection of IOfficeChartCategory + + + + + Gets the number of objects in the collection. Read-only Long. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[1].Charts[0] as IPresentationChart; + //Get the categories of chart + IOfficeChartCategories categories = chart.Categories; + //Get the count of categories + int count = categories.Count; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(1).Charts(0), IPresentationChart) + 'Get the categories of chart + Dim categories As IOfficeChartCategories = chart.Categories + 'Get the count of categories + Dim count As Integer = categories.Count + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets a single instance at the specified index from the collection. Read-only. + + The zero-based index of the element. + Returns the particular category based on the index. + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Get the categories of chart + IOfficeChartCategories categories = chart.Categories; + //Get the name of the category + string name = categories[0].Name; + //Set the category filter + categories[0].IsFiltered = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Get the categories of chart + Dim categories As IOfficeChartCategories = chart.Categories + 'Get the name of the category + Dim name As String = categories(0).Name + 'Set the category filter + categories(0).IsFiltered = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets a single instance with the specified index from the collection. Read-only. + + Name of the category + Returns the particular category based on the given name. + + + + Creates collection. + + Application object for the collection. + Parent object for the collection. + + + + Performs additional operations before the Clear method. + + + + + Clone current instance. + + Parent object. + Returns cloned instance. + + + + Represents access to the linked or embedded data associated with a chart. + + + + + Sets the value in the specified row and column index of the cell with the integer value. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IOfficeChart chart = slide.Shapes[0] as IOfficeChart; + //Get the chart data + IOfficeChartData chartData = chart.ChartData; + //Get the category label, read only + IOfficeDataRange dataRange = chartData[2, 2, 4, 5]; + //Set the cell with an integer + dataRange.SetValue(2, 4, 290); + //Set the cell with double value + dataRange.SetValue(3, 3, 23.34); + //Set the cell with a string + dataRange.SetValue(3, 1, "ChartData - 3R1C"); + //Set the cell with an object + object value = "@!@#"; + dataRange.SetValue(2, 1, "value"); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IOfficeChart = TryCast(slide.Shapes(0), IOfficeChart) + 'Get the chart data + Dim chartData As IOfficeChartData = chart.ChartData + 'Get the category label, read only + Dim dataRange As IOfficeDataRange = chartData(2, 2, 4, 5) + 'Set the cell with an integer + dataRange.SetValue(2, 4, 290) + 'Set the cell with double value + dataRange.SetValue(3, 3, 23.34) + 'Set the cell with a string + dataRange.SetValue(3, 1, "ChartData - 3R1C") + 'Set the cell with an object + Dim value As Object = "@!@#" + dataRange.SetValue(2, 1, "value") + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Sets the specified value at the specified row and column index. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IOfficeChart chart = slide.Shapes[0] as IOfficeChart; + //Get the chart data + IOfficeChartData chartData = chart.ChartData; + //Get the category label, read only + IOfficeDataRange dataRange = chartData[2, 2, 4, 5]; + //Set the cell with an integer + dataRange.SetValue(2, 4, 290); + //Set the cell with double value + dataRange.SetValue(3, 3, 23.34); + //Set the cell with a string + dataRange.SetValue(3, 1, "ChartData - 3R1C"); + //Set the cell with an object + object value = "@!@#"; + dataRange.SetValue(2, 1, "value"); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IOfficeChart = TryCast(slide.Shapes(0), IOfficeChart) + 'Get the chart data + Dim chartData As IOfficeChartData = chart.ChartData + 'Get the category label, read only + Dim dataRange As IOfficeDataRange = chartData(2, 2, 4, 5) + 'Set the cell with an integer + dataRange.SetValue(2, 4, 290) + 'Set the cell with double value + dataRange.SetValue(3, 3, 23.34) + 'Set the cell with a string + dataRange.SetValue(3, 1, "ChartData - 3R1C") + 'Set the cell with an object + Dim value As Object = "@!@#" + dataRange.SetValue(2, 1, "value") + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Sets the value in the specified row and column index of the cell with the string value. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IOfficeChart chart = slide.Shapes[0] as IOfficeChart; + //Get the chart data + IOfficeChartData chartData = chart.ChartData; + //Get the category label, read only + IOfficeDataRange dataRange = chartData[2, 2, 4, 5]; + //Set the cell with an integer + dataRange.SetValue(2, 4, 290); + //Set the cell with double value + dataRange.SetValue(3, 3, 23.34); + //Set the cell with a string + dataRange.SetValue(3, 1, "ChartData - 3R1C"); + //Set the cell with an object + object value = "@!@#"; + dataRange.SetValue(2, 1, "value"); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IOfficeChart = TryCast(slide.Shapes(0), IOfficeChart) + 'Get the chart data + Dim chartData As IOfficeChartData = chart.ChartData + 'Get the category label, read only + Dim dataRange As IOfficeDataRange = chartData(2, 2, 4, 5) + 'Set the cell with an integer + dataRange.SetValue(2, 4, 290) + 'Set the cell with double value + dataRange.SetValue(3, 3, 23.34) + 'Set the cell with a string + dataRange.SetValue(3, 1, "ChartData - 3R1C") + 'Set the cell with an object + Dim value As Object = "@!@#" + dataRange.SetValue(2, 1, "value") + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Sets the value in the specified row and column index of the cell with the object value. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IOfficeChart chart = slide.Shapes[0] as IOfficeChart; + //Get the chart data + IOfficeChartData chartData = chart.ChartData; + //Get the category label, read only + IOfficeDataRange dataRange = chartData[2, 2, 4, 5]; + //Set the cell with an integer + dataRange.SetValue(2, 4, 290); + //Set the cell with double value + dataRange.SetValue(3, 3, 23.34); + //Set the cell with a string + dataRange.SetValue(3, 1, "ChartData - 3R1C"); + //Set the cell with an object + object value = "@!@#"; + dataRange.SetValue(2, 1, "value"); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IOfficeChart = TryCast(slide.Shapes(0), IOfficeChart) + 'Get the chart data + Dim chartData As IOfficeChartData = chart.ChartData + 'Get the category label, read only + Dim dataRange As IOfficeDataRange = chartData(2, 2, 4, 5) + 'Set the cell with an integer + dataRange.SetValue(2, 4, 290) + 'Set the cell with double value + dataRange.SetValue(3, 3, 23.34) + 'Set the cell with a string + dataRange.SetValue(3, 1, "ChartData - 3R1C") + 'Set the cell with an object + Dim value As Object = "@!@#" + dataRange.SetValue(2, 1, "value") + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Sets the chart data in the specified two dimensional object array. + + Represents the two dimensional chart data + + + + Sets the chart data in the specified row and column index with the two dimensional object array. + + Represents the two dimensional chart data + Row of the first cell where array should be imported. + Column of the first cell where array should be imported. + + + + Sets the chart data in the specified row and column index with the IEnumerable object data. + + IEnumerable object with desired data + Row of the first cell where array should be imported. + Column of the first cell where array should be imported. + + + + + Returns the cell value at the specified row and column index. + + One-based row index of the cell to get value from. + One-based column index of the cell to get value from. + Returns value corresponding to the cell. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IOfficeChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie – start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie – start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series – start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the chart data + IOfficeChartData chartData = chart.ChartData; + //Get the value of a particular cell from the chart data + object value = chartData.GetValue(2, 3); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with postion and size + Dim chart As IOfficeChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie – start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie – start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series – start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the chart data + Dim chartData As IOfficeChartData = chart.ChartData + 'Get the value of a particular cell from the chart data + Dim value As Object = chartData.GetValue(2, 3) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Clears the chart data. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IOfficeChart chart = slide.Shapes[0] as IOfficeChart; + //Get the chart data + IOfficeChartData chartData = chart.ChartData; + //Clear the chart data + chartData.Clear(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IOfficeChart = TryCast(slide.Shapes(0), IOfficeChart) + 'Get the chart data + Dim chartData As IOfficeChartData = chart.ChartData + 'Clear the chart data + chartData.Clear() + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the particular data range from the chart data. + + Represents the first row of the chart data. + Represents the first column of the chart data. + Represents the last row of the chart data. + Represents the last column of the chart data. + Returns the data range specified from the chart data. + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IOfficeChart chart = slide.Shapes[0] as IOfficeChart; + //Get the chart data + IOfficeChartData chartData = chart.ChartData; + //Get the category label, read only + IOfficeDataRange dataRange = chartData[2, 2, 4, 5]; + //Set the cell with an integer + dataRange.SetValue(2, 4, 290); + //Set the cell with double value + dataRange.SetValue(3, 3, 23.34); + //Set the cell with a string + dataRange.SetValue(3, 1, "ChartData - 3R1C"); + //Set the cell with an object + object value = "@!@#"; + dataRange.SetValue(2, 1, "value"); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IOfficeChart = TryCast(slide.Shapes(0), IOfficeChart) + 'Get the chart data + Dim chartData As IOfficeChartData = chart.ChartData + 'Get the category label, read only + Dim dataRange As IOfficeDataRange = chartData(2, 2, 4, 5) + 'Set the cell with an integer + dataRange.SetValue(2, 4, 290) + 'Set the cell with double value + dataRange.SetValue(3, 3, 23.34) + 'Set the cell with a string + dataRange.SetValue(3, 1, "ChartData - 3R1C") + 'Set the cell with an object + Dim value As Object = "@!@#" + dataRange.SetValue(2, 1, "value") + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Retruns the internal worksheet referred from the chart range + + + + + Class used for Chart Data Labels implementation. + + + + + Represents the chart data labels for the serie. + + + + + Represents the Text Area in a chart. + + + + + Represents character formatting for text or a bullet. + + + + + Generates .Net font object corresponding to the current font. + + Generated .Net font. + + + + Gets or sets a value that Determines whether the font in the specified text is bold. + + Trueif text is bold.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the chart title + chart.ChartTitle = "This is a chart Title"; + //Set the bold font style + chart.ChartTitleArea.Bold = true; + //Set the color of chart title area + chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; + //Set the font name + chart.ChartTitleArea.FontName = "Calibri"; + //Get if the chart area is auto color + bool autoColor = chart.ChartTitleArea.IsAutoColor; + //Set the italic font style + chart.ChartTitleArea.Italic = true; + //Set the underline property + chart.ChartTitleArea.Underline = OfficeUnderline.Double; + //Set the alignment + chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the primary color of the object. Read / write OfficeKnownColors. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the chart title + chart.ChartTitle = "This is a chart Title"; + //Set the bold font style + chart.ChartTitleArea.Bold = true; + //Set the color of chart title area + chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; + //Set the font name + chart.ChartTitleArea.FontName = "Calibri"; + //Get if the chart area is auto color + bool autoColor = chart.ChartTitleArea.IsAutoColor; + //Set the italic font style + chart.ChartTitleArea.Italic = true; + //Set the underline property + chart.ChartTitleArea.Underline = OfficeUnderline.Double; + //Set the alignment + chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets / sets font color. Searches for the closest color in + the presentation palette. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the chart title + chart.ChartTitle = "This is a chart Title"; + //Set the size of text area + chart.ChartTitleArea.Size = 32; + //Set the RGB color + chart.ChartTitleArea.RGBColor = System.Drawing.Color.Peru; + //Set strike through + chart.ChartTitleArea.Strikethrough = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a value that determines the font style is italic or not. + + Trueif font style is italic.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the chart title + chart.ChartTitle = "This is a chart Title"; + //Set the bold font style + chart.ChartTitleArea.Bold = true; + //Set the color of chart title area + chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; + //Set the font name + chart.ChartTitleArea.FontName = "Calibri"; + //Get if the chart area is auto color + bool autoColor = chart.ChartTitleArea.IsAutoColor; + //Set the italic font style + chart.ChartTitleArea.Italic = true; + //Set the underline property + chart.ChartTitleArea.Underline = OfficeUnderline.Double; + //Set the alignment + chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a value that indicates the font is an outline font. + + Trueif the font is an outline font.Otherwise False. + + + + Gets or sets a value that indicates the font is a shadow font. + + Trueif the font is a shadow font.Otherwise False. + + + + Gets or sets the character size, in points. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the chart title + chart.ChartTitle = "This is a chart Title"; + //Set the size of text area + chart.ChartTitleArea.Size = 32; + //Set the RGB color + chart.ChartTitleArea.RGBColor = System.Drawing.Color.Peru; + //Set strike through + chart.ChartTitleArea.Strikethrough = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a value that indicates the font is struck through with a horizontal line or not. + + Trueif the font is struck through with a horizontal line.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the chart title + chart.ChartTitle = "This is a chart Title"; + //Set the size of text area + chart.ChartTitleArea.Size = 32; + //Set the RGB color + chart.ChartTitleArea.RGBColor = System.Drawing.Color.Peru; + //Set strike through + chart.ChartTitleArea.Strikethrough = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a value that Determines whether the text is subscript or not.The default is false. + + Trueif the text is subscript.Otherwise False. + + + + Gets or sets a value that Determines whether the text is superscript or not.The default is false. + + Trueif the text is superscript.Otherwise False. + + + + Gets or sets the type of underline applied to the font. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the chart title + chart.ChartTitle = "This is a chart Title"; + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the bold font style + chart.ChartTitleArea.Bold = true; + //Set the color of chart title area + chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; + //Set the font name + chart.ChartTitleArea.FontName = "Calibri"; + //Get if the chart area is auto color + bool autoColor = chart.ChartTitleArea.IsAutoColor; + //Set the italic font style + chart.ChartTitleArea.Italic = true; + //Set the underline property + chart.ChartTitleArea.Underline = OfficeUnderline.Double; + //Set the alignment + chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the name of the font. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the chart title + chart.ChartTitle = "This is a chart Title"; + //Set the bold font style + chart.ChartTitleArea.Bold = true; + //Set the color of chart title area + chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; + //Set the font name + chart.ChartTitleArea.FontName = "Calibri"; + //Get if the chart area is auto color + bool autoColor = chart.ChartTitleArea.IsAutoColor; + //Set the italic font style + chart.ChartTitleArea.Italic = true; + //Set the underline property + chart.ChartTitleArea.Underline = OfficeUnderline.Double; + //Set the alignment + chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a value of the font vertical alignment. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the chart title + chart.ChartTitle = "This is a chart Title"; + //Set the bold font style + chart.ChartTitleArea.Bold = true; + //Set the color of chart title area + chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; + //Set the font name + chart.ChartTitleArea.FontName = "Calibri"; + //Get if the chart area is auto color + bool autoColor = chart.ChartTitleArea.IsAutoColor; + //Set the italic font style + chart.ChartTitleArea.Italic = true; + //Set the underline property + chart.ChartTitleArea.Underline = OfficeUnderline.Double; + //Set the alignment + chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets a value that Indicates whether color is automatically selected. Read-only. + + Trueif the color is automatically selected.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the chart title + chart.ChartTitle = "This is a chart Title"; + //Set the bold font style + chart.ChartTitleArea.Bold = true; + //Set the color of chart title area + chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; + //Set the font name + chart.ChartTitleArea.FontName = "Calibri"; + //Get if the chart area is auto color + bool autoColor = chart.ChartTitleArea.IsAutoColor; + //Set the italic font style + chart.ChartTitleArea.Italic = true; + //Set the underline property + chart.ChartTitleArea.Underline = OfficeUnderline.Double; + //Set the alignment + chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Area's text. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the size of title text area + chart.ChartTitleArea.Size = 26; + //Set the border color of frame format + chart.ChartTitleArea.FrameFormat.Border.LineColor = System.Drawing.Color.Peru; + //Set the text for chart title + chart.ChartTitleArea.Text = "The Chart Title"; + //Set the text rotation angle + chart.ChartTitleArea.TextRotationAngle = 45; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Set the size of title text area + chart.ChartTitleArea.Size = 26 + 'Set the border color of frame format + chart.ChartTitleArea.FrameFormat.Border.LineColor = System.Drawing.Color.Peru + 'Set the text for chart title + chart.ChartTitleArea.Text = "The Chart Title" + 'Set the text rotation angle + chart.ChartTitleArea.TextRotationAngle = 45 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that represents rotation angle of the text area. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the size of title text area + chart.ChartTitleArea.Size = 26; + //Set the border color of frame format + chart.ChartTitleArea.FrameFormat.Border.LineColor = System.Drawing.Color.Peru; + //Set the text for chart title + chart.ChartTitleArea.Text = "The Chart Title"; + //Set the text rotation angle + chart.ChartTitleArea.TextRotationAngle = 45; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Set the size of title text area + chart.ChartTitleArea.Size = 26 + 'Set the border color of frame format + chart.ChartTitleArea.FrameFormat.Border.LineColor = System.Drawing.Color.Peru + 'Set the text for chart title + chart.ChartTitleArea.Text = "The Chart Title" + 'Set the text rotation angle + chart.ChartTitleArea.TextRotationAngle = 45 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the object that represents fill,line and effects formatting of the text area.Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the chart title + chart.ChartTitle = "The Chart Title"; + //Set the size of title text area + chart.ChartTitleArea.Size = 26; + //Set the border color of frame format + chart.ChartTitleArea.FrameFormat.Border.LineColor = System.Drawing.Color.Peru; + //Set the line pattern + chart.ChartTitleArea.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot; + //Set the line weight + chart.ChartTitleArea.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Medium; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Set the chart title + chart.ChartTitle = "The Chart Title" + 'Set the size of title text area + chart.ChartTitleArea.Size = 26 + 'Set the border color of frame format + chart.ChartTitleArea.FrameFormat.Border.LineColor = System.Drawing.Color.Peru + 'Set the line pattern + chart.ChartTitleArea.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot + 'Set the line weight + chart.ChartTitleArea.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Medium + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the object that represents layout settings of the text area. + + + + + Gets or sets a value that indicates to show the series name for the data labels on a chart. + + Trueto show the series name.Falseto hide the series name. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie data labels + IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; + //Set the serie name + dataLabels.IsSeriesName = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie data labels + Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels + 'Set the serie name + dataLabels.IsSeriesName = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates to display the category name for the data labels on a chart. + + Trueto display the category name.Falseto hide the category name. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie data labels + IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; + //Set the serie name + dataLabels.IsSeriesName = true; + //Set the category name + dataLabels.IsCategoryName = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie data labels + Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels + 'Set the serie name + dataLabels.IsSeriesName = True + 'Set the category name + dataLabels.IsCategoryName = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates to display a chart's data label values. + + Trueto display a chart's data label values.Falseto hide a chart's data label values. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie data labels + IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; + //Set the value for data labels + dataLabels.IsValue = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie data labels + Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels + 'Set the value for data labels + dataLabels.IsValue = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates to display the percentage value for the data labels on a chart. + + Trueto display the percentage value.Falseto hide the percentage value. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type as Pie chart + chart.ChartType = OfficeChartType.Pie; + //Get the serie data labels + IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; + //Set the data label as percentage + dataLabels.IsPercentage = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type as Pie chart + chart.ChartType = OfficeChartType.Pie + 'Get the serie data labels + Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels + 'Set the data label as percentage + dataLabels.IsPercentage = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the format string of the data label. + + + Number format is specified by the formatCode attribute.To know more about the possible formatCode + see NumberFormat. + + + + //Create an instance equivalent to PowerPoint presentation + IPresentation presentation = Presentation.Create(); + //Add a blank slide + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart of specific size and position + IPresentationChart chart = slide.Charts.AddChart(100, 100, 300, 400); + chart.ChartData.SetValue(1, 2, 1); + chart.ChartData.SetValue(1, 3, 2); + chart.ChartData.SetValue(1, 4, 3); + chart.ChartData.SetValue(2, 1, "Blue"); + chart.ChartData.SetValue(2, 2, 0.4); + chart.ChartData.SetValue(2, 3, 0.5); + chart.ChartData.SetValue(2, 4, 1.2); + chart.ChartData.SetValue(3, 1, "Red"); + chart.ChartData.SetValue(3, 2, 2.6); + chart.ChartData.SetValue(3, 3, 3.6); + chart.ChartData.SetValue(3, 4, 2.1); + chart.ChartData.SetValue(4, 1, "Orange"); + chart.ChartData.SetValue(4, 2, 1.1); + chart.ChartData.SetValue(4, 3, 0.6); + chart.ChartData.SetValue(4, 4, 1.2); + chart.ChartData.SetValue(5, 1, "Light Blue"); + chart.ChartData.SetValue(5, 2, 2.1); + chart.ChartData.SetValue(5, 3, 3.4); + chart.ChartData.SetValue(5, 4, 1.1); + IOfficeChartSerie serieJan = chart.Series.Add("1"); + //Sets the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 5, 2]; + IOfficeChartSerie serieFeb = chart.Series.Add("2"); + //Sets the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 5, 3]; + //Creates a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("3"); + //Sets the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 5, 4]; + //Set chart data range + chart.DataRange = chart.ChartData[2, 1, 5, 4]; + //Specifies the chart type + chart.ChartType = OfficeChartType.Bar_Stacked; + chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.IsValue = true; + //Set the number format of the data label in percentage, round off to two decimal places + chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.NumberFormat = "0.00%"; + //Save the presentation + presentation.Save("sample.pptx"); + //Close the Presentation + presentation.Close(); + + + 'Create an instance equivalent to PowerPoint presentation + Dim presentationDocument As IPresentation = Presentation.Create() + 'Add a blank slide + Dim slide As ISlide = presentationDocument.Slides.Add(SlideLayoutType.Blank) + 'Add chart of specific size and position + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 100, 300, 400) + chart.ChartData.SetValue(1, 2, 1) + chart.ChartData.SetValue(1, 3, 2) + chart.ChartData.SetValue(1, 4, 3) + chart.ChartData.SetValue(2, 1, "Blue") + chart.ChartData.SetValue(2, 2, 0.4) + chart.ChartData.SetValue(2, 3, 0.5) + chart.ChartData.SetValue(2, 4, 1.2) + chart.ChartData.SetValue(3, 1, "Red") + chart.ChartData.SetValue(3, 2, 2.6) + chart.ChartData.SetValue(3, 3, 3.6) + chart.ChartData.SetValue(3, 4, 2.1) + chart.ChartData.SetValue(4, 1, "Orange") + chart.ChartData.SetValue(4, 2, 1.1) + chart.ChartData.SetValue(4, 3, 0.6) + chart.ChartData.SetValue(4, 4, 1.2) + chart.ChartData.SetValue(5, 1, "Light Blue") + chart.ChartData.SetValue(5, 2, 2.1) + chart.ChartData.SetValue(5, 3, 3.4) + chart.ChartData.SetValue(5, 4, 1.1) + Dim serieJan As IOfficeChartSerie = chart.Series.Add("1") + 'Sets the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 5, 2) + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("2") + 'Sets the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 5, 3) + 'Creates a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("3") + 'Sets the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 5, 4) + 'Set chart data range + chart.DataRange = chart.ChartData(2, 1, 5, 4) + 'Specifies the chart type + chart.ChartType = OfficeChartType.Bar_Stacked + chart.Series(0).DataPoints.DefaultDataPoint.DataLabels.IsValue = True + 'Set the number format of the data label in percentage, round off to two decimal places. + chart.Series(0).DataPoints.DefaultDataPoint.DataLabels.NumberFormat = "0.00%" + 'Save the presentation + presentationDocument.Save("sample.pptx") + 'Close the Presentation + presentationDocument.Close() + + + + + + Gets or sets a value that indicates to show bubble size for the data labels of a chart. + + True to show the bubble size. False to hide the bubble size. + + + + Gets or sets the delimiter for data labels. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie data labels + IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; + //Set the position of data labels + dataLabels.Delimiter = "L"; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie data labels + Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels + 'Set the position of data labels + dataLabels.Delimiter = "L" + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates the data label legend key is visible. + + Trueto show the legend key.Falseto hide the legend key. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie data labels + IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; + //Set the serie name + dataLabels.IsSeriesName = true; + //Set the legend key for data labels + dataLabels.IsLegendKey = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie data labels + Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels + 'Set the serie name + dataLabels.IsSeriesName = True + 'Set the legend key for data labels + dataLabels.IsLegendKey = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates Leader Lines is in data labels. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type as Pie chart + chart.ChartType = OfficeChartType.Pie; + //Get the serie data labels + IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; + //Set the leader lines + dataLabels.ShowLeaderLines = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type as Pie chart + chart.ChartType = OfficeChartType.Pie + 'Get the serie data labels + Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels + 'Set the leader lines + dataLabels.ShowLeaderLines = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the position of the data labels. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie data labels + IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; + //Set the serie name + dataLabels.IsSeriesName = true; + //Set the legend key for data labels + dataLabels.IsLegendKey = true; + //Set the position of data labels + dataLabels.Position = OfficeDataLabelPosition.Outside; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie data labels + Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels + 'Set the serie name + dataLabels.IsSeriesName = True + 'Set the legend key for data labels + dataLabels.IsLegendKey = True + 'Set the position of data labels + dataLabels.Position = OfficeDataLabelPosition.Outside + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates to show the value from cells for the data labels on a chart. + + Trueto show the value from cells range.Falseto hide the value form cells range. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie data labels + IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; + //Set the value form cells to datalabels. + dataLabels.IsValueFromCells = true; + //Set teh value form cells range in datalabels. + dataLabels.ValueFromCellsRange=chart.ChartData[3,5,3,7]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie data labels + Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels + 'Set value form cells to DataLables. + 'Set value from cells range in Datalabels' + dataLabels.IsValueFromCells = true; + dataLabels.ValueFromCellsRange=chart.ChartData[3,5,3,7]; + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates to value from cells range for the data labels on a chart. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie data labels + IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; + //Set the value form cells to datalabels. + dataLabels.IsValueFromCells = true; + //Set teh value form cells range in datalabels. + dataLabels.ValueFromCellsRange=chart.ChartData[3,5,3,7]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie data labels + Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels + 'Set value form cells to DataLables. + 'Set value from cells range in Datalabels' + dataLabels.IsValueFromCells = true; + dataLabels.ValueFromCellsRange=chart.ChartData[3,5,3,7]; + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Summary description for IInternalFont. + + + + + Returns font index. Read-only. + + + + + Returns FontImpl for current font. Read-only. + + + + + Returns textarea's color object. Read-only. + + + + + Gets value indicating whether TextRotation was changed. Read-only. + + + + + Represents the Legend Paragraph + + + + + Represents the Default Fontname + + + + + Represents the Default Language + + + + + Represents the Default size + + + + + Represent the value form cells range in datalabels. + + + + + Represent the highlight color is applied for the datalabels. + + + + + Represent the indicates whether to check the condition. + + + + + Parent Series. + + + + + Parent chart + + + + + Text area. + + + + + Parent data point; + + + + + Represents Excel 2007 layout data + + + + + boolean containing delete value + + + + + Represents the TextArea Paragraph + + + + + Indicats whether to show text properties or not + + + + + Indicats whether to show text size properties or not + + + + + Indicats whether to show text bold properties or not + + + + + Indicats whether to show text italic properties or not + + + + + Indicates if data labels are linked to source + + + + + Indicates whether to show leader lines or not + + + + + The array stores the cache information + + + + + Indicates whether the font is changed or not + + + + + Indicates if the data label is created by the user + + + + + Initializes new instance of data label and sets its parent and application objects. + + Application object. + Parent object + Data point index. + + + + Searches for all necessary parent objects. + + boolean value indicates whether the parent is chart or serie + + + + Set data labels to individual data points + + value to set + name of the data label + + + + Generates the font object corresponding to the current font. + + The generated supported font. + + + + Sets the format string of the data label. + + + + + Update datalabel text. + + ChartDataLabel object + Indicating whether value from cells value display to datalabels. + + + + Updates Series index. + + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + New font indexes. + New worksheet names. + A new object that is a copy of this instance. + + + + This method should be called before several updates to the object will take place. + + + + + This method should be called after several updates to the object took place. + + + + + Gets and sets boolean value indicating whether display to value from cells value to datalabels. + + + + + Gets and sets indicating whether value from cells range in datalables. + + + + + Gets and sets indicating whether value from cells range in datalables. + + + + + Indicates whether series name is in data labels. + + + + + Indicates whether category name is in data labels. + + + + + Indicates whether value is in data labels. + + + + + Indicates whether percentage is in data labels. + + + + + Indicates if data labels are linked to source. + + + + + Indicates whether bubble size is in data labels. + + + + + Delimiter. + + + + + Indicates whether legend key is in data labels. + + + + + Indicates whether Leader Lines is in data labels. + + + + + Represents data labels position. + + + + + Area's text. + + + + + Text rotation angle. + + + + + Return format of the text area. + + + + + True if the font is bold. Read / write Boolean. + + + + + Returns or sets the primary color of the object. + Read / write ExcelKnownColors. + + + + + True if the Highlight color is applied. Read / write Boolean. + + + + + Gets / sets font color. Searches for the closest color in + the workbook palette. + + + + + True if the font style is italic. Read / write Boolean. + + + + + True if the font is an outline font. Read / write Boolean. + + + + + True if the font is a shadow font or if the object has + a shadow. Read / write Boolean. + + + + + Returns or sets the size of the font. Read / write Variant. + + + + + True if the font is struck through with a horizontal line. + Read / write Boolean + + + + + True if the font is formatted as subscript. + False by default. Read / write Boolean. + + + + + True if the font is formatted as superscript. False by default. + Read/write Boolean + + + + + Returns or sets the type of underline applied to the font. Can + be one of the following ExcelUnderlineStyle constants. + Read / write OfficeUnderline. + + + + + Returns or sets the font name. Read / write string. + + + + + Gets / sets font vertical alignment. + + + + + Indicates whether color is automatically selected. Read-only. + + + + + Gets / sets text area. + + + + + Gets corresponding data format. Read-only. + + + + + Gets or sets Excel 2007 layout data + + + + + Gets or sets whether to delete or not. + + + + + Gets value indicating whether TextRotation was changed. Read-only. + + + + + Represents the Legend Paragraph + + + + + Gets or sets the format string of the data label. + + + Number format is specified by the formatCode attribute.To know more about the possible formatCode + see NumberFormat. + + + + //Create an instance equivalent to PowerPoint presentation + IPresentation presentation = Presentation.Create(); + //Add a blank slide + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart of specific size and position + IPresentationChart chart = slide.Charts.AddChart(100, 100, 300, 400); + chart.ChartData.SetValue(1, 2, 1); + chart.ChartData.SetValue(1, 3, 2); + chart.ChartData.SetValue(1, 4, 3); + chart.ChartData.SetValue(2, 1, "Blue"); + chart.ChartData.SetValue(2, 2, 0.4); + chart.ChartData.SetValue(2, 3, 0.5); + chart.ChartData.SetValue(2, 4, 1.2); + chart.ChartData.SetValue(3, 1, "Red"); + chart.ChartData.SetValue(3, 2, 2.6); + chart.ChartData.SetValue(3, 3, 3.6); + chart.ChartData.SetValue(3, 4, 2.1); + chart.ChartData.SetValue(4, 1, "Orange"); + chart.ChartData.SetValue(4, 2, 1.1); + chart.ChartData.SetValue(4, 3, 0.6); + chart.ChartData.SetValue(4, 4, 1.2); + chart.ChartData.SetValue(5, 1, "Light Blue"); + chart.ChartData.SetValue(5, 2, 2.1); + chart.ChartData.SetValue(5, 3, 3.4); + chart.ChartData.SetValue(5, 4, 1.1); + IOfficeChartSerie serieJan = chart.Series.Add("1"); + //Sets the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 5, 2]; + IOfficeChartSerie serieFeb = chart.Series.Add("2"); + //Sets the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 5, 3]; + //Creates a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("3"); + //Sets the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 5, 4]; + //Set chart data range + chart.DataRange = chart.ChartData[2, 1, 5, 4]; + //Specifies the chart type + chart.ChartType = OfficeChartType.Bar_Stacked; + chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.IsValue = true; + //Set the number format of the data label in percentage, round off to two decimal places + chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.NumberFormat = "0.00%"; + //Save the presentation + presentation.Save("sample.pptx"); + //Close the Presentation + presentation.Close(); + + + 'Create an instance equivalent to PowerPoint presentation + Dim presentationDocument As IPresentation = Presentation.Create() + 'Add a blank slide + Dim slide As ISlide = presentationDocument.Slides.Add(SlideLayoutType.Blank) + 'Add chart of specific size and position + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 100, 300, 400) + chart.ChartData.SetValue(1, 2, 1) + chart.ChartData.SetValue(1, 3, 2) + chart.ChartData.SetValue(1, 4, 3) + chart.ChartData.SetValue(2, 1, "Blue") + chart.ChartData.SetValue(2, 2, 0.4) + chart.ChartData.SetValue(2, 3, 0.5) + chart.ChartData.SetValue(2, 4, 1.2) + chart.ChartData.SetValue(3, 1, "Red") + chart.ChartData.SetValue(3, 2, 2.6) + chart.ChartData.SetValue(3, 3, 3.6) + chart.ChartData.SetValue(3, 4, 2.1) + chart.ChartData.SetValue(4, 1, "Orange") + chart.ChartData.SetValue(4, 2, 1.1) + chart.ChartData.SetValue(4, 3, 0.6) + chart.ChartData.SetValue(4, 4, 1.2) + chart.ChartData.SetValue(5, 1, "Light Blue") + chart.ChartData.SetValue(5, 2, 2.1) + chart.ChartData.SetValue(5, 3, 3.4) + chart.ChartData.SetValue(5, 4, 1.1) + Dim serieJan As IOfficeChartSerie = chart.Series.Add("1") + 'Sets the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 5, 2) + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("2") + 'Sets the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 5, 3) + 'Creates a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("3") + 'Sets the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 5, 4) + 'Set chart data range + chart.DataRange = chart.ChartData(2, 1, 5, 4) + 'Specifies the chart type + chart.ChartType = OfficeChartType.Bar_Stacked + chart.Series(0).DataPoints.DefaultDataPoint.DataLabels.IsValue = True + 'Set the number format of the data label in percentage, round off to two decimal places + chart.Series(0).DataPoints.DefaultDataPoint.DataLabels.NumberFormat = "0.00%" + 'Save the presentation + presentationDocument.Save("sample.pptx") + 'Close the Presentation + presentationDocument.Close() + + + + + + Gets or sets a value indicating whether this instance is formula. + + + true if this instance is formula; otherwise, false. + + + + + Gets or sets a value indicating whether to show text properties or not + + + + + Gets or sets a value indicating whether to show text size properties or not + + + + + Gets or sets a value indicating whether to show text bold properties or not + + + + + Gets or sets a value indicating whether to show text italic properties or not + + + + + Gets or sets the Text Rotation + + + + + Indicates if the data label is created by the user + + + + + Indicates whether the serie type is pie + + + + + Parent Workbook + + + + + Gets / Sets the string array + + + + + Gets or sets the Chart serie. + + + + + Data labels color. Read-only. + + + + + Returns font index. Read-only. + + + + + Returns FontImpl for current font. Read-only. + + + + + Indicates whether the font is changed or not + + + + + Represents single data point in the collection. + + + + + Represents single data point in the chart. + + + + + Gets the data label associated with the data point. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Bar_Stacked_3D; + //Get the serie data point + IOfficeChartDataPoint dataPoint = chart.Series[0].DataPoints.DefaultDataPoint; + //Get the data labels of data point + IOfficeChartDataLabels dataLabels = dataPoint.DataLabels; + //Set the position of the data label + dataLabels.Position = OfficeDataLabelPosition.Center; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Bar_Stacked_3D + 'Get the serie data point + Dim dataPoint As IOfficeChartDataPoint = chart.Series(0).DataPoints.DefaultDataPoint + 'Get the data labels of data point + Dim dataLabels As IOfficeChartDataLabels = dataPoint.DataLabels + 'Set the position of the data label + dataLabels.Position = OfficeDataLabelPosition.Center + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets index of the point in the points collection. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Bar_Stacked_3D; + //Get the serie data point + IOfficeChartDataPoint dataPoint = chart.Series[0].DataPoints.DefaultDataPoint; + //Gets the index of data point from points collection + int index = dataPoint.Index; + //Check if the point is default data point + bool isDefault = dataPoint.IsDefault; + //Set the default marker type + dataPoint.IsDefaultmarkertype = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Bar_Stacked_3D + 'Get the serie data point + Dim dataPoint As IOfficeChartDataPoint = chart.Series(0).DataPoints.DefaultDataPoint + 'Gets the index of data point from points collection + Dim index As Integer = dataPoint.Index + 'Check if the point is default data point + Dim isDefault As Boolean = dataPoint.IsDefault + 'Set the default marker type + dataPoint.IsDefaultmarkertype = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the data format of chart serie. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Bar_Stacked_3D; + //Get the serie data point + IOfficeChartDataPoint dataPoint = chart.Series[0].DataPoints.DefaultDataPoint; + //Get the data format of the data point, read only + IOfficeChartSerieDataFormat dataFormat = dataPoint.DataFormat; + //Set the BarShapeTop + dataFormat.BarShapeTop = OfficeTopFormat.Trunc; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Bar_Stacked_3D + 'Get the serie data point + Dim dataPoint As IOfficeChartDataPoint = chart.Series(0).DataPoints.DefaultDataPoint + 'Get the data format of the data point, read only + Dim dataFormat As IOfficeChartSerieDataFormat = dataPoint.DataFormat + 'Set the BarShapeTop + dataFormat.BarShapeTop = OfficeTopFormat.Trunc + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets whether this data point is default data point. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Bar_Stacked_3D; + //Get the serie data point + IOfficeChartDataPoint dataPoint = chart.Series[0].DataPoints.DefaultDataPoint; + //Gets the index of data point from points collection + int index = dataPoint.Index; + //Check if the point is default data point + bool isDefault = dataPoint.IsDefault; + //Set the default marker type + dataPoint.IsDefaultmarkertype = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Bar_Stacked_3D + 'Get the serie data point + Dim dataPoint As IOfficeChartDataPoint = chart.Series(0).DataPoints.DefaultDataPoint + 'Gets the index of data point from points collection + Dim index As Integer = dataPoint.Index + 'Check if the point is default data point + Dim isDefault As Boolean = dataPoint.IsDefault + 'Set the default marker type + dataPoint.IsDefaultmarkertype = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets whether marker type is default. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Bar_Stacked_3D; + //Get the serie data point + IOfficeChartDataPoint dataPoint = chart.Series[0].DataPoints.DefaultDataPoint; + //Gets the index of data point from points collection + int index = dataPoint.Index; + //Check if the point is default data point + bool isDefault = dataPoint.IsDefault; + //Set the default marker type + dataPoint.IsDefaultmarkertype = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Bar_Stacked_3D + 'Get the serie data point + Dim dataPoint As IOfficeChartDataPoint = chart.Series(0).DataPoints.DefaultDataPoint + 'Gets the index of data point from points collection + Dim index As Integer = dataPoint.Index + 'Check if the point is default data point + Dim isDefault As Boolean = dataPoint.IsDefault + 'Set the default marker type + dataPoint.IsDefaultmarkertype = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Data labels. + + + + + Point index. + + + + + Data format. + + + + + Represents parent chart. + + + + + Represents whether the series has datapoint or not + + + + + Represent whether it's having the seperate seperate marker + + + + + Indicates whether bubbles have a 3-D effect applied to them or not + + + + + Represents the amount the data shall be moved from the center of the pie. + + + + + Represents whether the pie has explosion + + + + + Initializes new instance and sets its application and parent objects. + + Application object. + Parent object. + Index of the data point. + + + + Creates data labels object if necessary. + + + + + Creates a new object that is a copy of the current instance. + + Parent object for the cloned object. + New font indexes. + Dictionary with new worksheet names. + A new object that is a copy of this instance. + + + + Updates Series index. + + + + + Changes data format to create ChartStockHighLowClose chart type. + + + + + Changes data format to create ChartStockHighLowClose chart type. + + + + + Changes intimate bubble series. + + Type to change. + + + + Updates current data format. + + Represents data format for update. + + + + Clears data formats. + + Represents format to update. + + + + Returns data labels object for the data point. Read-only. + + + + + Returns data format. Read-only. + + + + + Gets /sets inner data format. + + + + + Gets / sets index of the point in the points collection. + + + + + Returns data format or null. + + + + + Indicates whether this data point is default data point. Read-only. + + + + + Indicates whether data labels object was created for this data point. Read-only. + + + + + Indicates whether the series has datapoint or not. + + + + + Indicate It's having the seperate marker type + + + + + Indicates whether bubbles have a 3-D effect applied to them or not + + + + + Gets or sets the amount the data shall be moved from the center of the pie. + + + + + Gets the boolean value which represents whether the pie has explosion + + + + + True if the data point is considered as Subtotals or Totals. otherwise False. + + Applies only to Waterfall charts. + + + + Represents collection of data points in the chart series. + + + + + Represents a collection of data point in the series. + + + + + Gets the default data points of the chart. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IOfficeChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the series data points + IOfficeChartDataPoints dataPoints = chart.Series[0].DataPoints; + //Get the default data point, read only + IOfficeChartDataPoint dataPoint = dataPoints.DefaultDataPoint; + //Get the data labels of data point + IOfficeChartDataLabels dataLabels = dataPoint.DataLabels; + //Set the position of the data label + dataLabels.Position = OfficeDataLabelPosition.Center; + //Set the series name + dataLabels.IsSeriesName = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IOfficeChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the series data points + Dim dataPoints As IOfficeChartDataPoints = chart.Series(0).DataPoints + 'Get the default data point, read only + Dim dataPoint As IOfficeChartDataPoint = dataPoints.DefaultDataPoint + 'Get the data labels of data point + Dim dataLabels As IOfficeChartDataLabels = dataPoint.DataLabels + 'Set the position of the data label + dataLabels.Position = OfficeDataLabelPosition.Center + 'Set the series name + dataLabels.IsSeriesName = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets single data point by its index. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IOfficeChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the series data points + IOfficeChartDataPoints dataPoints = chart.Series[0].DataPoints; + //Get the data point using the index, read only + IOfficeChartDataPoint dataPoint = dataPoints[0]; + //Get the data labels of data point + IOfficeChartDataLabels dataLabels = dataPoint.DataLabels; + //Set the position of the data label + dataLabels.Position = OfficeDataLabelPosition.Center; + //Set the series name + dataLabels.IsSeriesName = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IOfficeChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the series data points + Dim dataPoints As IOfficeChartDataPoints = chart.Series(0).DataPoints + 'Get the data point using the index, read only + Dim dataPoint As IOfficeChartDataPoint = dataPoints(0) + 'Get the data labels of data point + Dim dataLabels As IOfficeChartDataLabels = dataPoint.DataLabels + 'Set the position of the data label + dataLabels.Position = OfficeDataLabelPosition.Center + 'Set the series name + dataLabels.IsSeriesName = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Format for data points without explicit format. + + + + + Collection of used data points, key - int index, value - data point. + + + + + Parent chart series. + + + + + Parent chart + + + + + Initializes new instance of the collection and sets its parent and application properties. + + Application object. + Parent object. + + + + Finds parent objects. + + + + + Finds parent objects for chart common data points + + + + + Creates a new object that is a copy of the current instance. + + Parent object for the cloned object. + Parent workbook. + Dictionary with new font indexes. + Dictionary with new worksheet names. + A new object that is a copy of this instance. + + + + Adds new data point to the collection. + + Data point to add. + + + + Removes all elements from the collection. + + + + + Check for data labels on data points + + retuns true,if single data point have data labels,otherwise false + + + + Updates index of the parent Series. + + + + + Clears all series data formats. + + Represents format to update. + + + + Clear the data points and the formats of the individual and default data points are preserved + + + + + Returns an enumerator that iterates through a collection. + + An IEnumerator object that can be used to iterate through the collection. + + + + Returns single entry from the collection. Read-only. + + + + + Returns default data point which describes formats for data points without format. Read-only. + + + + + Indicates whether workbook is loading. Read-only. + + + + + Gets the default data format or null. Read-only. + + + + + Returns number of defined (created) data points. Read-only. + + + + + Represents a range of values of the chart. + + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Returns the cell value. + + One-based row index of the cell to get value from. + One-based column index of the cell to get value from. + Returns value corresponding to the cell. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie – start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie – start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Get data from the chart using specific RowIndex and columnIndex + object value = chart.DataRange.GetValue(2, 3); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Returns the cell value. + + One-based row index of the cell to get value from. + One-based column index of the cell to get value from. + If true returns formula value otherwise returns formula. + if true returns the value of formula. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie – start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie – start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Get data from the chart using specific RowIndex and columnIndex + object value = chart.DataRange.GetValue(2, 3,true); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets a first row of the range. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to slide + IPresentationChart chart = slide.Shapes.AddChart(100, 120, 500, 300); + //Sets the data range of chart + chart.DataRange = chart.ChartData[1, 2, 4, 3]; + //Set data to the chart- RowIndex, columnIndex and data + chart.ChartData.SetValue(1, 2, "2012"); + chart.ChartData.SetValue(2, 2, 330); + chart.ChartData.SetValue(3, 2, 490); + chart.ChartData.SetValue(4, 2, 700); + //Set the chart type + chart.ChartType = OfficeChartType.Area; + //Get the first and last row + int _firstRow = chart.DataRange.FirstRow; + int _lastRow = chart.DataRange.LastRow; + //Get the first and last column + int _firstColumn = chart.DataRange.FirstColumn; + int _lastColumn = chart.DataRange.LastColumn; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets a last row of the range. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to slide + IPresentationChart chart = slide.Shapes.AddChart(100, 120, 500, 300); + //Sets the data range of chart + chart.DataRange = chart.ChartData[1, 2, 4, 3]; + //Set data to the chart- RowIndex, columnIndex and data + chart.ChartData.SetValue(1, 2, "2012"); + chart.ChartData.SetValue(2, 2, 330); + chart.ChartData.SetValue(3, 2, 490); + chart.ChartData.SetValue(4, 2, 700); + //Set the chart type + chart.ChartType = OfficeChartType.Area; + //Get the first and last row + int _firstRow = chart.DataRange.FirstRow; + int _lastRow = chart.DataRange.LastRow; + //Get the first and last column + int _firstColumn = chart.DataRange.FirstColumn; + int _lastColumn = chart.DataRange.LastColumn; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets a first column of the range. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to slide + IPresentationChart chart = slide.Shapes.AddChart(100, 120, 500, 300); + //Sets the data range of chart + chart.DataRange = chart.ChartData[1, 2, 4, 3]; + //Set data to the chart- RowIndex, columnIndex and data + chart.ChartData.SetValue(1, 2, "2012"); + chart.ChartData.SetValue(2, 2, 330); + chart.ChartData.SetValue(3, 2, 490); + chart.ChartData.SetValue(4, 2, 700); + //Set the chart type + chart.ChartType = OfficeChartType.Area; + //Get the first and last row + int _firstRow = chart.DataRange.FirstRow; + int _lastRow = chart.DataRange.LastRow; + //Get the first and last column + int _firstColumn = chart.DataRange.FirstColumn; + int _lastColumn = chart.DataRange.LastColumn; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets a last column of the range. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to slide + IPresentationChart chart = slide.Shapes.AddChart(100, 120, 500, 300); + //Sets the data range of chart + chart.DataRange = chart.ChartData[1, 2, 4, 3]; + //Set data to the chart- RowIndex, columnIndex and data + chart.ChartData.SetValue(1, 2, "2012"); + chart.ChartData.SetValue(2, 2, 330); + chart.ChartData.SetValue(3, 2, 490); + chart.ChartData.SetValue(4, 2, 700); + //Set the chart type + chart.ChartType = OfficeChartType.Area; + //Get the first and last row + int _firstRow = chart.DataRange.FirstRow; + int _lastRow = chart.DataRange.LastRow; + //Get the first and last column + int _firstColumn = chart.DataRange.FirstColumn; + int _lastColumn = chart.DataRange.LastColumn; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + One-based row index of the cell to get value from. + One-based column index of the cell to get value from. + + + One-based row index of the cell to get value from. + One-based column index of the cell to get value from. + If true returns formula value otherwise returns formula. + + + + Retruns the internal worksheet referred from the chart range + + + + + Class used for Chart DataTable implementation. + + + + + Represents the data table of the chart. + + + + + Gets or sets a value that indicates the chart data table has horizontal cell borders or not. + + Trueif the chart data table has horizontal cell borders.OtherwiseFalse. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Enable the chart data table + chart.HasDataTable = true; + //Get the data table of chart + IOfficeChartDataTable datatable = chart.DataTable; + //Set the horizontal border + datatable.HasHorzBorder = true; + //Set the vertical border + datatable.HasVertBorder = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Enable the chart data table + chart.HasDataTable = True + 'Get the data table of chart + Dim datatable As IOfficeChartDataTable = chart.DataTable + 'Set the horizontal border + datatable.HasHorzBorder = True + 'Set the vertical border + datatable.HasVertBorder = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates the chart data table has vertical cell borders or not. + + Trueif the chart data table has vertical cell borders.OtherwiseFalse. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Enable the chart data table + chart.HasDataTable = true; + //Get the data table of chart + IOfficeChartDataTable datatable = chart.DataTable; + //Set the horizontal border + datatable.HasHorzBorder = true; + //Set the vertical border + datatable.HasVertBorder = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Enable the chart data table + chart.HasDataTable = True + 'Get the data table of chart + Dim datatable As IOfficeChartDataTable = chart.DataTable + 'Set the horizontal border + datatable.HasHorzBorder = True + 'Set the vertical border + datatable.HasVertBorder = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates the chart data table has borders or not. + + Trueif the chart data table has borders.OtherwiseFalse. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Enable the chart data table + chart.HasDataTable = true; + //Get the data table of chart + IOfficeChartDataTable datatable = chart.DataTable; + //Set the borders + datatable.HasBorders = true; + //Set the horizontal border + datatable.HasHorzBorder = true; + //Set the vertical border + datatable.HasVertBorder = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Enable the chart data table + chart.HasDataTable = True + 'Get the data table of chart + Dim datatable As IOfficeChartDataTable = chart.DataTable + 'Set the horizontal border + datatable.HasHorzBorder = True + 'Set the vertical border + datatable.HasVertBorder = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates the chart data table show series keys or not. + + Trueif the chart data table show series keys.OtherwiseFalse. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Enable the chart data table + chart.HasDataTable = true; + //Get the data table of chart + IOfficeChartDataTable datatable = chart.DataTable; + //Set the horizontal border + datatable.HasHorzBorder = true; + //Set the vertical border + datatable.HasVertBorder = true; + //Set the series keys + datatable.ShowSeriesKeys = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Enable the chart data table + chart.HasDataTable = True + 'Get the data table of chart + Dim datatable As IOfficeChartDataTable = chart.DataTable + 'Set the horizontal border + datatable.HasHorzBorder = True + 'Set the vertical border + datatable.HasVertBorder = True + 'Set the series keys + datatable.ShowSeriesKeys = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets text area of the data table. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Enable the chart data table + chart.HasDataTable = true; + //Get the data table of chart + IOfficeChartDataTable datatable = chart.DataTable; + //Get the text area of data table + IOfficeChartTextArea textArea = datatable.TextArea; + //Set the color of text area + textArea.Color = OfficeKnownColors.Violet; + //Set the font name + textArea.FontName = "Helvetica"; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Enable the chart data table + chart.HasDataTable = True + 'Get the data table of chart + Dim datatable As IOfficeChartDataTable = chart.DataTable + 'Get the text area of data table + Dim textArea As IOfficeChartTextArea = datatable.TextArea + 'Set the color of text area + textArea.Color = OfficeKnownColors.Violet + 'Set the font name + textArea.FontName = "Helvetica" + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + This record stores options for the chart data table. + + + + + Records that were read (if data table was not created but loaded). + + + + + Represents chart text record and sub records. + + + + + Represents data table has shape properties or not. + + + + + This is used to hold data table's shape properties. + + + + + Creates default data table. + + Application object for the new data table. + Parent object for the new data table. + + + + Clone current Record. + + Parent object for create new instance. + Returns clone of current object. + + + + True if data table has horizontal border. + + + + + True if data table has vertical border. + + + + + True if data table has borders. + + + + + True if there is series keys in the data table. + + + + + Return text area of data table. + + + + + Represents ChartDropBar record and another records. + + + + + Represents ChartDropBarImpl. + + + + + Represents the options for area: area fill and border formatting. + + + + + Gets whether interior object was created. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie format + IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; + //Get the line properties of chart fill + IOfficeChartBorder line = chartFill.LineProperties; + //Check interior object, read only + bool interior = chartFill.HasInterior; + //Check for 3D properties, read only + bool _3DProperties = chartFill.Has3dProperties; + //Check the line properties, read only + bool lineProps = chartFill.HasLineProperties; + //Check the shadow properties, read only + bool shadowProps = chartFill.HasShadowProperties; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie format + Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat + 'Get the line properties of chart fill + Dim line As IOfficeChartBorder = chartFill.LineProperties + 'Check interior object, read only + Dim interior As Boolean = chartFill.HasInterior + 'Check for 3D properties, read only + Dim _3DProperties As Boolean = chartFill.Has3dProperties + 'Check the line properties, read only + Dim lineProps As Boolean = chartFill.HasLineProperties + 'Check the shadow properties, read only + Dim shadowProps As Boolean = chartFill.HasShadowProperties + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets whether line formatting object was created. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie format + IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; + //Get the line properties of chart fill + IOfficeChartBorder line = chartFill.LineProperties; + //Check interior object, read only + bool interior = chartFill.HasInterior; + //Check for 3D properties, read only + bool _3DProperties = chartFill.Has3dProperties; + //Check the line properties, read only + bool lineProps = chartFill.HasLineProperties; + //Check the shadow properties, read only + bool shadowProps = chartFill.HasShadowProperties; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie format + Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat + 'Get the line properties of chart fill + Dim line As IOfficeChartBorder = chartFill.LineProperties + 'Check interior object, read only + Dim interior As Boolean = chartFill.HasInterior + 'Check for 3D properties, read only + Dim _3DProperties As Boolean = chartFill.Has3dProperties + 'Check the line properties, read only + Dim lineProps As Boolean = chartFill.HasLineProperties + 'Check the shadow properties, read only + Dim shadowProps As Boolean = chartFill.HasShadowProperties + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets a value indicating whether [has3d properties]. + + true if [has3d properties]; otherwise, false. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie format + IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; + //Get the line properties of chart fill + IOfficeChartBorder line = chartFill.LineProperties; + //Check interior object, read only + bool interior = chartFill.HasInterior; + //Check for 3D properties, read only + bool _3DProperties = chartFill.Has3dProperties; + //Check the line properties, read only + bool lineProps = chartFill.HasLineProperties; + //Check the shadow properties, read only + bool shadowProps = chartFill.HasShadowProperties; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie format + Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat + 'Get the line properties of chart fill + Dim line As IOfficeChartBorder = chartFill.LineProperties + 'Check interior object, read only + Dim interior As Boolean = chartFill.HasInterior + 'Check for 3D properties, read only + Dim _3DProperties As Boolean = chartFill.Has3dProperties + 'Check the line properties, read only + Dim lineProps As Boolean = chartFill.HasLineProperties + 'Check the shadow properties, read only + Dim shadowProps As Boolean = chartFill.HasShadowProperties + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets a value indicating whether this instance has shadow properties. + + + true if this instance has shadow properties; otherwise, false. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie format + IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; + //Get the line properties of chart fill + IOfficeChartBorder line = chartFill.LineProperties; + //Check interior object, read only + bool interior = chartFill.HasInterior; + //Check for 3D properties, read only + bool _3DProperties = chartFill.Has3dProperties; + //Check the line properties, read only + bool lineProps = chartFill.HasLineProperties; + //Check the shadow properties, read only + bool shadowProps = chartFill.HasShadowProperties; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie format + Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat + 'Get the line properties of chart fill + Dim line As IOfficeChartBorder = chartFill.LineProperties + 'Check interior object, read only + Dim interior As Boolean = chartFill.HasInterior + 'Check for 3D properties, read only + Dim _3DProperties As Boolean = chartFill.Has3dProperties + 'Check the line properties, read only + Dim lineProps As Boolean = chartFill.HasLineProperties + 'Check the shadow properties, read only + Dim shadowProps As Boolean = chartFill.HasShadowProperties + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets object, that represents line properties. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie format + IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; + //Get the line properties of chart fill + IOfficeChartBorder line = chartFill.LineProperties; + //Set the line color + line.LineColor = System.Drawing.Color.DarkGreen; + //Set the line weight + line.LineWeight = OfficeChartLineWeight.Wide; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie format + Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat + 'Get the line properties of chart fill + Dim line As IOfficeChartBorder = chartFill.LineProperties + 'Set the line color + line.LineColor = System.Drawing.Color.DarkGreen + 'Set the line weight + line.LineWeight = OfficeChartLineWeight.Wide + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets object, that represents area properties. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie format + IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; + //Get the interior of chart fill + IOfficeChartInterior _interior = chartFill.Interior; + //Enable the automatic format + _interior.UseAutomaticFormat = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie format + Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat + 'Get the interior of chart fill + Dim _interior As IOfficeChartInterior = chartFill.Interior + 'Enable the automatic format + _interior.UseAutomaticFormat = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets fill options. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie format + IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; + //Get the line properties of chart fill, read only + IOfficeFill fill = chartFill.Fill; + //set the fill type as pattern + fill.FillType = OfficeFillType.Pattern; + //Set the back color + fill.BackColor = Color.Red; + //Set the fore color + fill.ForeColor = Color.Yellow; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie format + Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat + 'Get the line properties of chart fill, read only + Dim fill As IOfficeFill = chartFill.Fill + 'set the fill type as pattern + fill.FillType = OfficeFillType.Pattern + 'Set the back color + fill.BackColor = System.Drawing.Color.Red + 'Set the fore color + fill.ForeColor = System.Drawing.Color.Yellow + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the chart3 D properties. + + The chart3 D properties. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie format + IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; + //Get the shadow properties + IThreeDFormat _3Dimension = chartFill.ThreeD; + //Set the 3D properties + _3Dimension.BevelBottom = Office2007ChartBevelProperties.HardEdge; + _3Dimension.BevelBottomHeight = 140; + _3Dimension.BevelBottomWidth = 67; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie format + Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat + 'Get the shadow properties + Dim _3Dimension As IThreeDFormat = chartFill.ThreeD + 'Set the 3D properties + _3Dimension.BevelBottom = Office2007ChartBevelProperties.HardEdge + _3Dimension.BevelBottomHeight = 140 + _3Dimension.BevelBottomWidth = 67 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the shadow properties. + + The shadow properties. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the serie format + IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; + //Get the shadow properties + IShadow shadow = chartFill.Shadow; + //Set the custom shadow style + shadow.HasCustomShadowStyle = true; + //set the shadow color + shadow.ShadowColor = System.Drawing.Color.Green; + //Set the shadow with inner preset + shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalBottomRight; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the serie format + Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat + 'Get the shadow properties + Dim shadow As IShadow = chartFill.Shadow + 'Set the custom shadow style + shadow.HasCustomShadowStyle = True + 'set the shadow color + shadow.ShadowColor = System.Drawing.Color.Green + 'Set the shadow with inner preset + shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalBottomRight + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the drop bar gap width (0 to 100%). + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Get the chart serie option + IOfficeChartFormat chartFormat = chart.Series[0].SerieFormat.CommonSerieOptions; + //Get the First Drop Bar + IOfficeChartDropBar dropBar = chartFormat.FirstDropBar; + //Set the gap width of data series in chart + dropBar.Gap = 100; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation__1.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Get the chart serie option + Dim chartFormat As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions + 'Get the First Drop Bar + Dim dropBar As IOfficeChartDropBar = chartFormat.FirstDropBar + 'Set the gap width of data series in chart + dropBar.Gap = 100 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Represents interface, that synchronize chart fill color properties and interior colors. + + + + + Represents foreground color. + + + + + Represents background color. + + + + + Represents pattern. + + + + + Represents is automatic format. + + + + + Represents fill properties. + + + + + Represents visible. + + + + + Represents chart drop bar record. + + + + + Represents drop bar line format. + + + + + Represents drop bar area format. + + + + + Represents parent workBook. + + + + + Represents drop bar filling options. + + + + + Represents the 3D features + + + + + Represents Shadow + + + + + Initialize new instance. + + Current application. + Parent object. + + + + Sets parent objects. + + + + + Clones current object. + + Parent object. + Returns cloned object. + + + + This property indicates whether interior object was created. Read-only. + + + + + Represents the Shadow.Read-only + + + + + Gets a value indicating whether this instance has shadow properties. + + + true if this instance has shadow properties; otherwise, false. + + + + + Gets the chart3 D options. + + The chart3 D options. + + + + This property Indicates whether the Shadow object has been created(which includes the 3D properties) + + + + + This property indicates whether border formatting object was created. Read-only. + + + + + Drop bar gap width. + + + + + Returns interior object. Read-only. + + + + + Returns object, that represents line properties. Read-only. + + + + + Represents fill options. Read-only. + + + + + Represents foreground color. + + + + + Represents background color. + + + + + Represents pattern. + + + + + Represents if use automatic format. + + + + + Represents visibility. + + + + + Represents chart error bars. + + + + + Represents the error bars on a chart series. + + + + + Clears the formatting of the error bars. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Enable error bar X for a serie + chart.Series[0].HasErrorBarsX = true; + //Get the error bar X + IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; + //Set the type + errorBars.Type = OfficeErrorBarType.StandardDeviation; + //Set the cap for errorbars + errorBars.HasCap = true; + //Set the include property + errorBars.Include = OfficeErrorBarInclude.Minus; + //Clear formats + errorBars.ClearFormats(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Enable error bar X for a serie + chart.Series(0).HasErrorBarsX = True + 'Get the error bar X + Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX + 'Set the type + errorBars.Type = OfficeErrorBarType.StandardDeviation + 'Set the cap for errorbars + errorBars.HasCap = True + 'Set the include property + errorBars.Include = OfficeErrorBarInclude.Minus + 'Clear formats + errorBars.ClearFormats() + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Deletes the error bars. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Enable error bar X for a serie + chart.Series[0].HasErrorBarsX = true; + //Get the error bar X + IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; + //Set the type + errorBars.Type = OfficeErrorBarType.StandardDeviation; + //Set the cap for errorbars + errorBars.HasCap = true; + //Set the include property + errorBars.Include = OfficeErrorBarInclude.Minus; + //Delete the error bars + errorBars.Delete(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Enable error bar X for a serie + chart.Series(0).HasErrorBarsX = True + 'Get the error bar X + Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX + 'Set the type + errorBars.Type = OfficeErrorBarType.StandardDeviation + 'Set the cap for errorbars + errorBars.HasCap = True + 'Set the include property + errorBars.Include = OfficeErrorBarInclude.Minus + 'Delete the error bars + errorBars.Delete() + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the border object of the error bars. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Enable error bar X for a serie + chart.Series[0].HasErrorBarsX = true; + //Get the error bar X + IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; + //set the border line color + errorBars.Border.LineColor = System.Drawing.Color.BlueViolet; + //Set the border line weight + errorBars.Border.LineWeight = OfficeChartLineWeight.Wide; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Enable error bar X for a serie + chart.Series(0).HasErrorBarsX = True + 'Get the error bar X + Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX + 'set the border line color + errorBars.Border.LineColor = System.Drawing.Color.BlueViolet + 'Set the border line weight + errorBars.Border.LineWeight = OfficeChartLineWeight.Wide + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets error bar include type. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Enable error bar X for a serie + chart.Series[0].HasErrorBarsX = true; + //Get the error bar X + IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; + //Set the type + errorBars.Type = OfficeErrorBarType.StandardDeviation; + //Set the cap for errorbars + errorBars.HasCap = true; + //Set the include property + errorBars.Include = OfficeErrorBarInclude.Minus; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Enable error bar X for a serie + chart.Series(0).HasErrorBarsX = True + 'Get the error bar X + Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX + 'Set the type + errorBars.Type = OfficeErrorBarType.StandardDeviation + 'Set the cap for errorbars + errorBars.HasCap = True + 'Set the include property + errorBars.Include = OfficeErrorBarInclude.Minus + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the value that indicates error bars has cap or not. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Enable error bar X for a serie + chart.Series[0].HasErrorBarsX = true; + //Get the error bar X + IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; + //Set the type + errorBars.Type = OfficeErrorBarType.StandardDeviation; + //Set the cap for errorbars + errorBars.HasCap = true; + //Set the include property + errorBars.Include = OfficeErrorBarInclude.Minus; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Enable error bar X for a serie + chart.Series(0).HasErrorBarsX = True + 'Get the error bar X + Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX + 'Set the type + errorBars.Type = OfficeErrorBarType.StandardDeviation + 'Set the cap for errorbars + errorBars.HasCap = True + 'Set the include property + errorBars.Include = OfficeErrorBarInclude.Minus + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets chart error bar type. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Enable error bar X for a serie + chart.Series[0].HasErrorBarsX = true; + //Get the error bar X + IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; + //set the border line color + errorBars.Border.LineColor = System.Drawing.Color.BlueViolet; + //Set the border line weight + errorBars.Border.LineWeight = OfficeChartLineWeight.Wide; + //Set the type + errorBars.Type = OfficeErrorBarType.StandardDeviation; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Enable error bar X for a serie + chart.Series(0).HasErrorBarsX = True + 'Get the error bar X + Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX + 'set the border line color + errorBars.Border.LineColor = System.Drawing.Color.BlueViolet + 'Set the border line weight + errorBars.Border.LineWeight = OfficeChartLineWeight.Wide + 'Set the type + errorBars.Type = OfficeErrorBarType.StandardDeviation + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets number value. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Enable error bar X for a serie + chart.Series[0].HasErrorBarsX = true; + //Get the error bar X + IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; + //Set the include property + errorBars.Include = OfficeErrorBarInclude.Minus; + //Set the number value + errorBars.NumberValue = 12.78; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Enable error bar X for a serie + chart.Series(0).HasErrorBarsX = True + 'Get the error bar X + Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX + 'Set the include property + errorBars.Include = OfficeErrorBarInclude.Minus + 'Set the number value + errorBars.NumberValue = 12.78 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets custom plus value. + + + + + Gets or sets custom minus value. + + + + + Gets shadow formatting properties for the error bars. + + The shadow. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Enable error bar X for a serie + chart.Series[0].HasErrorBarsX = true; + //Get the error bar X + IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; + //Set the shadow color + errorBars.Shadow.ShadowColor = System.Drawing.Color.Brown; + //Set the inner preset of shadow + errorBars.Shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalBottomRight; + //Set the size of the shadow + errorBars.Shadow.Size = 34; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Enable error bar X for a serie + chart.Series(0).HasErrorBarsX = True + 'Get the error bar X + Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX + 'Set the shadow color + errorBars.Shadow.ShadowColor = System.Drawing.Color.Brown + 'Set the inner preset of shadow + errorBars.Shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalBottomRight + 'Set the size of the shadow + errorBars.Shadow.Size = 34 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the 3-D�effect formatting properties for the error bars. Read-only + + The chart3 D options. + + + + Represents default value for X error bar. + + + + + Represents default value for Y axis. + + + + + Represents border object. + + + + + Represents error bar record. + + + + + Represents Shadow + + + + + Represents error include. + + + + + Represents parent Series. + + + + + Represents positive range of custom values. + + + + + Represents negative range of custom values. + + + + + Indicates that is on Y axis. + + + + + ChartAI record containing referred range. + + + + + Preserved marker formta record + + + + + Represents the 3D features + + + + + Represents the chart ErrorBar plus range values + + + + + Represents the chart ErrorBar minus range values + + + + + Creates new instance of error bars implementation. + + Application object. + Represents parent object. + Indicates if it's Y axis bar. + + + + Finds parent objects. + + + + + Clears current error bar. + + + + + Deletes current error bar. + + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Checks include value. + + Represents include value. + Returns true if class support current inclure; otherwise false. + + + + Clones current object. + + Represents parent object for new cloned instance. + Represents new names. + Returns cloned object. + + + + Represents border object. Read-only. + + + + + Represents error bar include type. + + + + + Indicates if error bar has cap. + + + + + Represents excel error bar type. + + + + + Represents number value. + + + + + Gets or sets a value indicating whether this instance is plus number literal. + + + true if this instance is plus number literal; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is minus number literal. + + + true if this instance is minus number literal; otherwise, false. + + + + + Represents custom positive value. + + + + + Represents custom positive value. + + + + + Represents custom negative value. + + + + + Represents custom negative value. + + + + + Represents the Shadow.Read-only + + + + + Gets the chart3 D options. + + The chart3 D options. + + + + Represents the chart ErrorBar plus range values + + + + + Represents the chart ErrorBar minus range values + + + + + Represents fill format in chart object. + + + + + Represents fill format in shape object. + + + + + Represents fill formatting for a shape. + + + + + Fills the specified shape with one large image. + + The name of the picture file. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the picture fill type for plot area + chart.PlotArea.Fill.UserPicture("Image.gif"); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Fills the specified shape with one large image. + + Represents user defined image. + The name of the picture file. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create instance for image + System.Drawing.Image image = System.Drawing.Image.FromFile("Image.gif"); + //Set the picture fill type for chart area + chart.ChartArea.Fill.UserPicture(image, "Image"); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Fills the specified shape with small tiles of an image. + + Represents user defined texture. + Represents name of user defined texture. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create instance for image + System.Drawing.Image image = System.Drawing.Image.FromFile("Image.gif"); + //Set the texture fill type for chart area + chart.ChartArea.Fill.UserTexture(image, "Image"); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Fills the specified shape with small tiles of an image. + + Path to image. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the texture fill type for plot area + chart.PlotArea.Fill.UserTexture("Image.gif"); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Sets the specified fill to a pattern. + + The pattern to be used for the specified fill. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the pattern fill for chart area + chart.ChartArea.Fill.Patterned(OfficeGradientPattern.Pat_50_Percent); + //Set the fore color + chart.ChartArea.Fill.ForeColor = System.Drawing.Color.PowderBlue; + //Set the back color + chart.ChartArea.Fill.BackColor = System.Drawing.Color.Pink; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Sets the specified fill to a preset gradient. + + Represents preset gradient type. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the preset gradient + chart.ChartArea.Fill.PresetGradient(OfficeGradientPreset.Grad_Early_Sunset); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Sets the specified fill to a preset gradient. + + Represents preset gradient type. + Represents gradient style, for preset gradient. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the preset gradient + chart.ChartArea.Fill.PresetGradient(OfficeGradientPreset.Grad_Parchment, OfficeGradientStyle.Horizontal); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Sets the specified fill to a preset gradient. + + Represents preset gradient type. + Represents gradient style, for preset gradient. + Represents gradient variant for preset gradient. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the preset gradient + chart.ChartArea.Fill.PresetGradient(OfficeGradientPreset.Grad_Fire, OfficeGradientStyle.FromCorner, OfficeGradientVariants.ShadingVariants_1); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Sets the specified fill format to a preset texture. + + Represents texture to set. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the preset texture + chart.ChartArea.Fill.PresetTextured(OfficeTexture.Canvas); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Sets the specified fill to a two-color gradient. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the gradient color + chart.ChartArea.Fill.TwoColorGradient(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Sets the specified fill to a two-color gradient. + + Represents shading style. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the gradient color + chart.ChartArea.Fill.TwoColorGradient(OfficeGradientStyle.Horizontal); + //Set the fore color index + chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.BlueCustom; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Sets the specified fill to a two-color gradient. + + Represents shading style. + Represents shading variant. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the gradient color + chart.ChartArea.Fill.TwoColorGradient(OfficeGradientStyle.Vertical, OfficeGradientVariants.ShadingVariants_2); + //Set the fore color index + chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.BlueCustom; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Sets the specified fill to a one-color gradient. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type as texture + chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; + //Se the specified fill to one color gradient + chart.ChartArea.Fill.OneColorGradient(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Sets the specified fill to a one-color gradient. + + Represents shading style. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type as texture + chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; + //Se the specified fill to one color gradient + chart.ChartArea.Fill.OneColorGradient(OfficeGradientStyle.Vertical, OfficeGradientVariants.ShadingVariants_2); + //Set the fill type for plot area + chart.PlotArea.Fill.FillType = OfficeFillType.Gradient; + //Set the fore color for plot area + chart.PlotArea.Fill.ForeColor = System.Drawing.Color.PowderBlue; + //Se the specified fill to one color gradient + chart.PlotArea.Fill.OneColorGradient(OfficeGradientStyle.Diagonl_Up); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Sets the specified fill to a one-color gradient. + + Represents shading style. + Represents shading variant. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type as texture + chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; + //Se the specified fill to one color gradient + chart.ChartArea.Fill.OneColorGradient(OfficeGradientStyle.Vertical, OfficeGradientVariants.ShadingVariants_2); + //Set the fill type for plot area + chart.PlotArea.Fill.FillType = OfficeFillType.Gradient; + //Set the fore color for plot area + chart.PlotArea.Fill.ForeColor = System.Drawing.Color.PowderBlue; + //Se the specified fill to one color gradient + chart.PlotArea.Fill.OneColorGradient(OfficeGradientStyle.Diagonl_Up); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Sets the specified fill to a uniform color. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the solid fill for chart area + chart.ChartArea.Fill.Solid(); + //Set the fore color for chart area + chart.ChartArea.Fill.ForeColor = System.Drawing.Color.PowderBlue; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the fill type for the shape. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type of the chart area + chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; + //Set the gradient color type + chart.ChartArea.Fill.GradientColorType = OfficeGradientColor.TwoColor; + //Set the Back and fore colors + chart.ChartArea.Fill.BackColor = System.Drawing.Color.FromArgb(205, 217, 234); + chart.ChartArea.Fill.ForeColor = System.Drawing.Color.White; + //Set the gradient style + chart.ChartArea.Fill.GradientStyle = OfficeGradientStyle.FromCorner; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the gradient style for the specified fill. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type of the chart area + chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; + //Set the gradient color type + chart.ChartArea.Fill.GradientColorType = OfficeGradientColor.TwoColor; + //Set the Back and fore colors + chart.ChartArea.Fill.BackColor = System.Drawing.Color.FromArgb(205, 217, 234); + chart.ChartArea.Fill.ForeColor = System.Drawing.Color.White; + //Set the gradient style + chart.ChartArea.Fill.GradientStyle = OfficeGradientStyle.FromCorner; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the gradient variant type for the specified fill. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type of the chart area + chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; + //Set the fore color index of the fill + chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.Brown; + //Set the gradient variant + chart.ChartArea.Fill.GradientVariant = OfficeGradientVariants.ShadingVariants_2; + //Set the preset gradient type + chart.ChartArea.Fill.PresetGradientType = OfficeGradientPreset.Grad_Desert; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the degree of transparency of the specified fill as + a value from 0.0 (opaque) through 1.0 (clear). + + + + + Gets or sets the degree of transparency of the specified fill as + a value from 0.0 (opaque) through 1.0 (clear). + + + + + Gets or sets the gradient color type for the specified fill. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type of the chart area + chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; + //Set the gradient color type + chart.ChartArea.Fill.GradientColorType = OfficeGradientColor.TwoColor; + //Set the Back and fore colors + chart.ChartArea.Fill.BackColor = System.Drawing.Color.FromArgb(205, 217, 234); + chart.ChartArea.Fill.ForeColor = System.Drawing.Color.White; + //Set the gradient style + chart.ChartArea.Fill.GradientStyle = OfficeGradientStyle.FromCorner; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a value that represents the pattern applied to the specified fill. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type of the chart area + chart.ChartArea.Fill.FillType = OfficeFillType.Pattern; + //Set the back anf fore color of the pattern + chart.ChartArea.Fill.BackColor = System.Drawing.Color.Green; + chart.ChartArea.Fill.ForeColor = System.Drawing.Color.Blue; + //Set the pattern + chart.ChartArea.Fill.Pattern = OfficeGradientPattern.Pat_30_Percent; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets texture of the specified fill. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type as texture + chart.ChartArea.Fill.FillType = OfficeFillType.Texture; + //Set the texture type + chart.ChartArea.Fill.Texture = OfficeTexture.Blue_Tissue_Paper; + //Set the horizontal scale + chart.ChartArea.Fill.TextureHorizontalScale = 6.7F; + //Set the offset X + chart.ChartArea.Fill.TextureOffsetX = 50.40F; + //Set the offset Y + chart.ChartArea.Fill.TextureOffsetY = 67.54F; + //Set the vertical scale + chart.ChartArea.Fill.TextureVerticalScale = 4.5F; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a index value that represents a background color of the specified fill or patterned line. + + + + + Gets or sets a index value that represents a foreground color of the specified fill or patterned line. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type of the chart area + chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; + //Set the gradient color type + chart.ChartArea.Fill.GradientColorType = OfficeGradientColor.OneColor; + //Set the gradient degree + chart.ChartArea.Fill.GradientDegree = 0.67; + //Set the gradient style + chart.ChartArea.Fill.GradientStyle = OfficeGradientStyle.Horizontal; + //Set the fore color index of the fill + chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.Blue_grey; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a value that represents background color of the specified fill.This property is only for the pattern type fill. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type of the chart area + chart.ChartArea.Fill.FillType = OfficeFillType.Pattern; + //Set the back anf fore color of the pattern + chart.ChartArea.Fill.BackColor = System.Drawing.Color.Green; + chart.ChartArea.Fill.ForeColor = System.Drawing.Color.Blue; + //Set the pattern + chart.ChartArea.Fill.Pattern = OfficeGradientPattern.Pat_30_Percent; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a value that represents foreground color of the specified fill. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type of the chart area + chart.ChartArea.Fill.FillType = OfficeFillType.Pattern; + //Set the back anf fore color of the pattern + chart.ChartArea.Fill.BackColor = System.Drawing.Color.Green; + chart.ChartArea.Fill.ForeColor = System.Drawing.Color.Blue; + //Set the pattern + chart.ChartArea.Fill.Pattern = OfficeGradientPattern.Pat_30_Percent; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the preset gradient type for the specified fill. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type of the chart area + chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; + //Set the fore color index of the fill + chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.Brown; + //Set the gradient variant + chart.ChartArea.Fill.GradientVariant = OfficeGradientVariants.ShadingVariants_2; + //Set the preset gradient type + chart.ChartArea.Fill.PresetGradientType = OfficeGradientPreset.Grad_Desert; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or Sets the Transparency for specified picture_only. + + + + + Gets a instance that represents user defined picture or texture. Read-only. + + + + + Gets a user defined picture or texture name. Read-only. + + + + + Gets or sets a value that indicates whether the fill style is visible or not. + + Trueif visible.Otherwise False. + + + + Gets or sets the value that represents gradient degree of the specified one-color shaded fill as a floating-point + value from 0.0 (dark) through 1.0 (light) + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type of the chart area + chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; + //Set the gradient color type + chart.ChartArea.Fill.GradientColorType = OfficeGradientColor.OneColor; + //Set the gradient degree + chart.ChartArea.Fill.GradientDegree = 0.67; + //Set the gradient style + chart.ChartArea.Fill.GradientStyle = OfficeGradientStyle.Horizontal; + //chart.ChartArea.Fill.BackColorIndex = OfficeKnownColors.Blue; + chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.Blue_grey; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets a value that represents transparency level of the specified Solid color shaded fill as a floating-point + value from 0.0 (Clear) through 1.0(Opaque) + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type of the chart area + chart.ChartArea.Fill.FillType = OfficeFillType.SolidColor; + //chart.ChartArea.Fill.BackColorIndex = OfficeKnownColors.Blue; + chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.Blue_grey; + //Set the transparency of the fill + chart.ChartArea.Fill.Transparency = 0.5; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the vertical scaling factor for the texture fill. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type as texture + chart.ChartArea.Fill.FillType = OfficeFillType.Texture; + //Set the texture type + chart.ChartArea.Fill.Texture = OfficeTexture.Blue_Tissue_Paper; + //Set the horizontal scale + chart.ChartArea.Fill.TextureHorizontalScale = 6.7F; + //Set the offset X + chart.ChartArea.Fill.TextureOffsetX = 50.40F; + //Set the offset Y + chart.ChartArea.Fill.TextureOffsetY = 67.54F; + //Set the vertical scale + chart.ChartArea.Fill.TextureVerticalScale = 4.5F; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the horizontal scaling factor for the texture fill. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type as texture + chart.ChartArea.Fill.FillType = OfficeFillType.Texture; + //Set the texture type + chart.ChartArea.Fill.Texture = OfficeTexture.Blue_Tissue_Paper; + //Set the horizontal scale + chart.ChartArea.Fill.TextureHorizontalScale = 6.7F; + //Set the offset X + chart.ChartArea.Fill.TextureOffsetX = 50.40F; + //Set the offset Y + chart.ChartArea.Fill.TextureOffsetY = 67.54F; + //Set the vertical scale + chart.ChartArea.Fill.TextureVerticalScale = 4.5F; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the horizontal offset of the texture from the origin in points. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type as texture + chart.ChartArea.Fill.FillType = OfficeFillType.Texture; + //Set the texture type + chart.ChartArea.Fill.Texture = OfficeTexture.Blue_Tissue_Paper; + //Set the horizontal scale + chart.ChartArea.Fill.TextureHorizontalScale = 6.7F; + //Set the offset X + chart.ChartArea.Fill.TextureOffsetX = 50.40F; + //Set the offset Y + chart.ChartArea.Fill.TextureOffsetY = 67.54F; + //Set the vertical scale + chart.ChartArea.Fill.TextureVerticalScale = 4.5F; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the vertical offset of the texture from the origin in points. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the fill type as texture + chart.ChartArea.Fill.FillType = OfficeFillType.Texture; + //Set the texture type + chart.ChartArea.Fill.Texture = OfficeTexture.Blue_Tissue_Paper; + //Set the horizontal scale + chart.ChartArea.Fill.TextureHorizontalScale = 6.7F; + //Set the offset X + chart.ChartArea.Fill.TextureOffsetX = 50.40F; + //Set the offset Y + chart.ChartArea.Fill.TextureOffsetY = 67.54F; + //Set the vertical scale + chart.ChartArea.Fill.TextureVerticalScale = 4.5F; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Represents background color. + + + + + Represents foreground color. + + + + + Represents whether picture is tiled or stretched. + + + + + It's define Alphamodfix for bilp(tranparency) + + + + + It's define the Texture properties + + + + + Represents gradient fill format. + + + + + Compares the gradient instances to determine the equality. + + Gradient to compare with. + Returns Zero if gradients are equal. + + + + Sets the specified fill to a two-color gradient. + + + + + Sets the specified style to a two-color gradient. + + Represents shading style. + Represents shading variant. + + + + Gets or sets a object that represents background color of the gradient fill. + + + + + Gets or sets the background color for the gradient fill using System.Drawing.Color. + + + + + Gets or sets a index value that represents a background color for the gradient fill. + + + + + Gets or sets a object that represents foreground color for the gradient fill. + + + + + Gets or sets the foreground color for the gradient fill using System.Drawing.Color. + + + + + Gets or sets a index value that represents a foreground color for the gradient fill. + + + + + Gets or sets the gradient shading style type for the gradient fill. + + + + + Gets or sets the gradient shading variant type for the gradient fill. + + + + + Represents default vertical shading style. + + + + + Represents default vertical shading style in Excel 2007 generated xls files. + + + + + Represents default diagonal up shading style. + + + + + Represents default diagonal down shading style. + + + + + Represents color constant. + + + + + Represents default value for one color. + + + + + Represents pattern prefix. + + + + + Represents texture prefix. + + + + + Represents preset gradient prefix. + + + + + Represents pattern enum prefix. + + + + + Represents value, that indicate that fill doesn't visible. + + + + + Represents index, that represents default comment color. + + + + + Represents corner gradient style. + + + + + Represents center gradient style. + + + + + Represents default offset. + + + + + Maximum value for such attributes like Alpha, Tint, Shade. + + + + + Represents horizontal angle of fill. + + + + + Represents vertical angle of fill. + + + + + Represents Diagonal up angle of fill. + + + + + Represents Diagonal down angle of fill. + + + + + Represents default shade variant array value. + + + + + Represents default shade third variant array value. + + + + + Represents default shade variant array value. + + + + + Represents additional data for center variants. + + + + + Represents additional data for corner variants. + + + + + Represents array, that indicate, that current picture is bitmap. + + + + + Represents default comment fill color. + + + + + Represents rectangular structure fill from center. + + + + + Represents rectangular structure fill from corner. + + + + + Dictionary to access to resource data. Key - string, resource id, value - byte[], resource data. + + + + + Represents fill type. + + + + + Represents shading style. + + + + + Represents current shading variants. + + + + + Represents transparency to. + + + + + Represents transparency from. + + + + + Represents gradient style. + + + + + Represents gradient pattern. + + + + + Represents gradient texture. + + + + + Represents parent book. + + + + + Represents background color index. + + + + + Represents foreground color index. + + + + + Represents preset gradient. + + + + + Represents user defined picture of texture. + + + + + Represents picture name. + + + + + Represents if fill style is visible. + + + + + Represents image index. + + + + + Represents gradient degree. + + + + + Represents picture data to parse. + + + + + Indicates if this instance of object is shape fill. + + + + + Represent the fillrectangle + + + + + Represent the source rectangle + + + + + It's define the alphamodfix value + + + + + Preset gradient. + + + + + Indicates whether gradient is supported. + + + + + It's define the texture attributes + + + + + Represents current assembly. + + + + + Represent array, that contain all preset gradient types. + + + + + This collection contains gradient stops collection for preset gradients. + + + + + Initialize all static members. + + + + + Gets picture from resources file by id. + + Represents unique id in resource file. + Returns picture from resource file by unique id. + + + + Parses color. + + Represents parent book. + Color value to parse. + Extracted color. + + + + Parses color. + + Represents parent book. + Color value to parse. + + + + Returns collection of gradient stops that stores specified preset color. + + Gradient preset to return gradient stops collection for. + Corresponding gradient stops collection. + + + + Returns binary data for collection of gradient stops that stores specified preset color. + + Gradient preset to return gradient stops collection for. + Corresponding gradient stops binary data. + + + + Creates new instance of this class. + + Represents current application. + Represents parent object. + + + + Creates new instance of this class. AutoShapeImplementation + + Represents current application. + Represents parent object. + Fill type. + + + + Creates new instance of this class. + + Represents current application. + Represents parent object. + Fill type. + + + + Finds parent objects. + + + + + Sets user defined picture. + + Path to image. + + + + Sets user defined picture. + + Represents user defined image. + Represents name of user defined image. + + + + Sets user defined texture. + + Path to image. + + + + Sets user defined texture. + + Represents user defined texture. + Represents name of user defined texture. + + + + Sets the specified fill to a pattern. + + Pattern to set. + + + + Sets the specified fill to a preset gradient. + + Represents preset gradient type. + + + + Sets the specified fill to a preset gradient. + + Represents preset gradient type. + Represents gradient style, for preset gradient. + + + + Sets the specified fill to a preset gradient. + + Represents preset gradient type. + Represents gradient style, for preset gradient. + Represents gradient variant for preset gradient. + + + + Sets the specified fill format to a preset texture. + + Represents texture to set. + + + + Sets the specified fill to a two-color gradient. + + + + + Sets the specified fill to a two-color gradient. + + Represents shading shading style. + + + + Sets the specified fill to a two-color gradient. + + Represents shading shading style. + Represents shading variant. + + + + Sets the specified fill to a one-color gradient. + + + + + Sets the specified fill to a one-color gradient. + + Represents shading shading style. + + + + Sets the specified fill to a one-color gradient. + + Represents shading shading style. + Represents shading variant. + + + + Sets the specified fill to a uniform color. + + + + + Compares with shape fill impl. + + Shape fill to compare with. + Zero if shape fills are equal. + + + + Parses fill options. + + Record to parse. + Value indicating fill option. + + + + Parses fill type. + + Represents fill type value. + + + + Parses shading style. + + Represents option value byte array. + + + + Parse shading variant. + + Represents variant value. + + + + Parses pattern or texture name. + + Represents addition data, that contain name. + + + + Parses gradient color. + + Represents gradient color value to parse. + + + + Parses preset gradient type. + + Represents data to parse. + + + + Parses picture or user defined texture. + + Represents name of picture. + If true - parses picture otherwise user defined texture. + + + + Updates bitmap header to stream. + + Represents memory stream. + Represents bitmap data. + + + + Parses visible property. + + Represents data value. + + + + Indicates if fill type is gradient. If not throw NotSupportedException. + + + + + Indicates if fill type is user defined texture or picture. If not throw NotSupportedException. + + + + + Indicates if fill type is pattern. If not throw NotSupportedException. + + + + + Indicates if fill type is texture. If not throw NotSupportedException. + + + + + Validates the type of the solid. + + + + + Convert name to byte array. + + Represents name to convert. + Returns converted name in byte array. + + + + Parses gradient degree. + + Represents value to parse. + Returns parsed gradient degree. + + + + Parses corner variants. + + Represents value to parse. + + + + Fills internal collection with preset gradients default data. + + + + + Sets picture to bse collection. + + Image to set. + Represent name of image. + Return index of image. + + + + If need changes visible. + + + + + Clones current object. + + Represents parent object. + Returns cloned methods. + + + + Copies filling settings from. + + Object to copy settings from. + + + + Returns true if colors should be placed in inverted order. + + Gradient style. + Gradient variant. + True if colors should be placed in inverted order. + + + + Evaluates whether colors should be placed in inverted order for DiagonalDown gradient style. + + Gradient variant to check. + True if colors should be placed in inverted order. + + + + Evaluates whether colors should be placed in inverted order for the most + of gradient styles (Horizontal, Vertical, DiagonalUp and FromCenter). + + Represents gradient variant. + Value indicating whether colors placed in inverted order. + + + + Detects whether color sequence should be doubled or not. + + Gradient style. + Gradient variant. + True if color sequence should be doubled. + + + + Detects whether color sequence should be doubled for the most of gradient + styles (all except FromCorner). + + Gradient variant. + True if color sequence should be doubled. + + + + Evaluates gradient angle based on gradient style. + + Gradient style. + Gradient angle, or -1 when gradient style is not linear gradient. + + + + Evaluates fillToRect value for gradient. + + Gradient style. + Gradient variant. + Value of the fillToRect rectangle or Rectangle.Empty if gradient style doesn't need it. + + + + Returns gradient type value based on gradient style. + + Gradient style. + Gradient type value that correspond to the specified gradient style. + + + + Set the group shape property value to all the inner shapes. + + Property value to set. + Property name. + + + + Set the group shape fill visible to all the inner shapes. + + + + + Set ColorObject to BackColorObject. + + ColorObject value to set. + + + + Set ColorObject to ForeColorObject. + + ColorObject value to set. + + + + Returns collection of gradient stops that stores gradient fill settings. Read-only. + + + + + Represents whether picture is tiled or stretched. + + + + + Gets or Sets the fillrect values + + + + + Gets or Sets the sourcerect values + + + + + Gets parsed picture data. + + + + + Represents shape fill type. + + + + + Represents gradient shading style. + + + + + Represents current shading variant. + + + + + Returns or sets the degree of transparency of the specified fill as + a value from 0.0 (opaque) through 1.0 (clear). + + + + + Returns or sets the degree of transparency of the specified fill as + a value from 0.0 (opaque) through 1.0 (clear). + + + + + It Gets or Sets the TransparencyColor value + + + + + Returns the transparency level of the specified Solid color shaded fill as a floating-point + value from 0.0 (opaque) through 1.0(transparent) + + + + + + Represents gradient style. + + + + + Represents gradient pattern + + + + + Represents gradient texture + + + + + Represents background color index. + + + + + Represents foreground color index. + + + + + Represents background color. + + + + + Represents foreground color. + + + + + Represents background color. + + + + + Represents foreground color. + + + + + Represents preset gradient type. + + + + + Represents user defined picture or texture. Read-only. + + + + + Returns user defined picture of texture name. Read-only. + + + + + Represents if fill style visible. + + + + + Returns the gradient degree of the specified one-color shaded fill as a floating-point + value from 0.0 (dark) through 1.0 (light) + + + + + Gets or Sets the TextureVerticalScale for specified fill + + + + + Gets or Sets the TextureHorizontalScale for specified fill + + + + + Gets or Sets the offset X for the specified fill + + + + + Gets or Sets the offset Y for the specified fill + + + + + Define Alignment value + + + + + Define TileFlipping value + + + + + Represents gel record. + + + + + It's define the series color with invertifnegative attribute + + + + + Initialize new instance of fill class. + + Represents current application. + Represents parent object. + + + + Sets picture to bse collection. + + Image to set. + Represent name of image. + Return index of image. + + + + Changes if need visible. + + + + + Returns or sets the degree of transparency of the specified fill as + a value from 0.0 (opaque) through 1.0 (clear). + + + + + Returns or sets the degree of transparency of the specified fill as + a value from 0.0 (opaque) through 1.0 (clear). + + + + + Represents foreground color. + + + + + Represents background color. + + + + + Represents if fill format is visible. + + + + + Represent the invert option's + + + + + Represents collection of ChartFormatImpl. + + + + + Represents default array value. + + + + + Represents capacity of array. + + + + + Represents chart types that need secondary axis. + + + + + Key - ZOrder, value - index. + + + + + Represents parent axis. + + + + + Creates new instance of collection. + + Application object. + Parent object. + + + + Sets parent objects. + + + + + Adds new format. + + Chartformat to add. + Returns just added format. + + + + Checks whether similar format is already present in the collection + and returns it, otherwise it add new format. + + Format that should be placed in the collection. + Format from the collection. + + + + Checks for containing index in collection. + + Index to check. + If contains - returns true; otherwise - false. + + + + Removes formats by instance. + + Removes current instance. + + + + Updates indexes in collection after remove. + + Index of removed format. + + + + Changes Series chart group in all series. + + New index. + Old Index. + + + + Clears current collection. + + + + + Clones current object. + + Parent object. + Returns cloned object. + + + + Sets the value by index. + + Index to set. + Value to set. + + + + Updates formats on adding format. + + Index to updates. + + + + Updates formats on removing. + + Index to update. + + + + Gets format by index, and shallow removes current format. + + Format order. + If true - delete current format. + Format by index. + + + + Shallow adds format to collection. + + Format to add. + + + + Returns single format by DrawingZOrder. Read-only. + + + + + If true - this collection represents formats for primary axis; + otherwise - secondary collection. + + + + + Returns true if this collection is primary and contain series that need + secondary axis. + + + + + Boolean value indicates whether the axis is depends on the bar series + + + + + Boolean value indicates whether the axis is stacked 100 series + + + + + Represent the ChartChartFormatRecord. + + + + + Provides access to the OfficeArt formatting for chart elements. + + + + + Gets or set the color vary for each data point. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the bubble chart from the slide + IPresentationChart chart = presentation.Slides[0].Charts[0]; + //Set the serie format of chart + IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; + //Set the bubble scale + format.BubbleScale = 200; + //Set the vary color + format.IsVaryColor = true; + //Set negative bubbles + format.ShowNegativeBubbles = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the bubble chart from the slide + Dim chart As IPresentationChart = presentation__1.Slides(0).Charts(0) + 'Set the serie format of chart + Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions + 'Set the bubble scale + format.BubbleScale = 200 + 'Set the vary color + format.IsVaryColor = True + 'Set negative bubbles + format.ShowNegativeBubbles = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets Space between bars ( -100 : 100 ). + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Bar_Clustered; + //Set the serie format of chart + IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; + //Set the gap width + format.GapWidth = 200; + //Set the overlap + format.Overlap = -90; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Bar_Clustered + 'Set the serie format of chart + Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions + 'Set the gap width + format.GapWidth = 200 + 'Set the overlap + format.Overlap = -90 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + + Gets or sets Angle of the first pie slice expressed in degrees. ( 0 - 360 ) + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type as Pie + chart.ChartType = OfficeChartType.Pie; + //Set the serie format of chart + IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; + //Set the angle of first slice + format.FirstSliceAngle = 240; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type as Pie + chart.ChartType = OfficeChartType.Pie + 'Set the serie format of chart + Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions + 'Set the angle of first slice + format.FirstSliceAngle = 240 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets Size of center hole in a doughnut chart (as a percentage).( 0 - 90 ) + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type as Doughtnut + chart.ChartType = OfficeChartType.Doughnut; + //Set the serie format of chart + IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; + //Set the doughnut hole size + format.DoughnutHoleSize = 50; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type as Doughtnut + chart.ChartType = OfficeChartType.Doughnut + 'Set the serie format of chart + Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions + 'Set the doughnut hole size + format.DoughnutHoleSize = 50 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets Percent of largest bubble compared to chart in general. ( 0 - 300 ) + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the bubble chart from the slide + IPresentationChart chart = presentation.Slides[0].Charts[0]; + //Set the serie format of chart + IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; + //Set the bubble scale + format.BubbleScale = 200; + //Set the vary color + format.IsVaryColor = true; + //Set negative bubbles + format.ShowNegativeBubbles = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the bubble chart from the slide + Dim chart As IPresentationChart = presentation__1.Slides(0).Charts(0) + 'Set the serie format of chart + Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions + 'Set the bubble scale + format.BubbleScale = 200 + 'Set the vary color + format.IsVaryColor = True + 'Set negative bubbles + format.ShowNegativeBubbles = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value indicates what the bubble size represents in a bubble chart. + + + + + Gets or sets true to show negative bubbles. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the bubble chart from the slide + IPresentationChart chart = presentation.Slides[0].Charts[0]; + //Set the serie format of chart + IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; + //Set the bubble scale + format.BubbleScale = 200; + //Set the vary color + format.IsVaryColor = true; + //Set negative bubbles + format.ShowNegativeBubbles = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the bubble chart from the slide + Dim chart As IPresentationChart = presentation__1.Slides(0).Charts(0) + 'Set the serie format of chart + Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions + 'Set the bubble scale + format.BubbleScale = 200 + 'Set the vary color + format.IsVaryColor = True + 'Set negative bubbles + format.ShowNegativeBubbles = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets true if a radar chart has axis labels. Applies only to radar charts. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type as Radar + chart.ChartType = OfficeChartType.Radar; + //Set the serie format of chart + IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; + //Set the axis labels + format.HasRadarAxisLabels = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type as Radar + chart.ChartType = OfficeChartType.Radar + 'Set the serie format of chart + Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions + 'Set the axis labels + format.HasRadarAxisLabels = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the way the two sections of either a pie of pie chart or a bar + of pie chart are split. + + + + + Gets or sets the threshold value separating the two sections of either a pie of pie chart or a bar of pie chart. + + + + + Gets or sets the size of the secondary section of either a pie of pie chart or a bar of pie chart, + as a percentage of the size of the primary pie. ( 5 - 200 ) + + + + + Gets object that represents first drop bar.Read-only. + + + + + Gets object that represents second drop bar.Read-only. + + + + + Gets series line properties. ( For pie of pie or pie of bar chart types only. ) Read-only. + + + + + + + + + + + Id for bar stacked chart type. + + + + + Represents default series number. + + + + + Represents the ChartChartFormatRecord + + + + + Represents the chart format of some series. + + + + + Represents chart 3d record. + + + + + Represents format link record. + + + + + Represents data labels record. + + + + + Represents chart chart line record. + + + + + Represents data format record and subrecords. + + + + + Represents first drop bar record and subrecords. + + + + + Represents second drop bar record and subrecords. + + + + + Represents series list record. + + + + + Parent chart object. + + + + + Parent axis object. + + + + + Represents chart Series line properties object. + + + + + Represents chart High-low line properties object + + + + + Represents chart Drop line properties object + + + + + Boolean value indicates whether the format is in chart ex type + + + + + Create new instance. + + Current application. + Parent object. + + + + Finds parent objects. + + + + + Gets start Series type. + + Type to extract. + Returns start Series type. + + + + Changed chart type. + + Type to change. + Indicates whether we are in the process of series creation. + + + + Sets drop lines or hi-low lines or series lines: + 0 = drop lines + 1 = hi-low lines + 2 = series lines (lines used in Pie of Pie and Bar of Pie charts) + + + + + Sets null for some records. + + + + + Changes for chart stock. + + + + + Changes type for stock high low close type. + + + + + Changes type for stock open high low close type. + + + + + Change type for stock volume high low close type in primary axis. + + + + + Change type for stock volume high low close type in secondary axis. + + + + + Change type for stock volume open high low close type. + + + + + Changes Series type. + + Type to change. + Indicates whether we are in the process of series creation. + + + + Change Series type as one kind of doughnut. + + Type to change. + + + + Change Series type to one kind of bubble. + + Type to change. + Indicates whether we are in the process of series creation. + + + + Updates bubble series. + + Represents series collection. + + + + Change Series type as one kind of surface. + + Type to change. + Indicates whether we are in the process of series creation. + + + + Change Series type as one kind of radar. + + Type to change. + + + + Change Series type as one kind of bar clustered. + + Type to change. + + + + Change Series type as one kind of bar stacked. + + Type to change. + + + + Change Series type as one kind of line. + + Type to change. + + + + Change Series type as one kind of pie. + + Type to change. + + + + Change Series type as one kind of area. + + Type to change. + + + + Change Series type as one kind of scatter. + + Type to change. + + + + Changes Series type for Cylinder or Pyramid, Cone. + + Type to change. + + + + Clones current object. + + Parent object for clone. + Returns just cloned object. + + + + cloning the removed format from collection + + Parent object for clone + format to be cloned + If true clone the dataformat,else clone others + + + + Vary color for each data point. + + + + + Vary color for each data point. + + + + + Returns data format. Read-only. + + + + + Space between bars ( -100 : 100 ). + + + + + Space between categories (percent of bar width), default = 50. + + + + + True for horizontal bars (bar chart). + False for vertical bars (column chart). + + + + + Stack the displayed values. + + + + + Each category is displayed as a percentage. + + + + + True if this bar has a shadow; otherwise False. + + + + + Stack the displayed values. + + + + + Each category is broken down as a percentage. + + + + + True if this line has a shadow. + + + + + Angle of the first pie slice expressed in degrees. + + + + + 0 = True pie chart + Non-zero = size of center hole in a donut chart (as a percentage). + + + + + True if this pie has a shadow. + + + + + True to show leader lines to data labels. + + + + + Percent of largest bubble compared to chart in general.( 0 - 300 ) + + + + + Returns or sets what the bubble size represents on a bubble chart. + + + + + True if this a bubble series. + + + + + True to show negative bubbles. + + + + + True if bubble series has a shadow. + + + + + Series in this group are stacked. + + + + + Each category is broken down as a percentage. + + + + + This area has a shadow. + + + + + True if chart contains color fill for surface. + + + + + True if this surface chart has shading. + + + + + True if this radar series has a shadow. + + + + + True if a radar chart has axis labels. Applies only to radar charts. + + + + + 0 = normal pie chart + 1 = pie of pie chart + 2 = bar of pie chart + + + + + True to use default split value; otherwise False. + + + + + Returns or sets the way the two sections of either a pie + of pie chart or a bar of pie chart are split. + + + + + Returns or sets the threshold value separating the two sections of either a pie of pie chart or a bar of pie chart. + + + + + For split = 2, what percentage should go to the other pie / bar. + + + + + Returns or sets the size of the secondary section of either a pie of pie chart or + a bar of pie chart, as a percentage of the size of the primary pie. + + + + + Space between the first pie and the second. + + + + + For split = 1, what values should go to the other pie / bar. + + + + + 1 = the second pie / bar has a shadow. + + + + + If true Series has name. + + + + + If true category has name. + + + + + If true has value. + + + + + If true has percentage. + + + + + If true bubble has size. + + + + + Returns delimiter length. + + + + + Represents delimiter. + + + + + Drop lines / hi-lo lines: + 0 = drop lines + 1 = hi-lo lines + 2 = series lines (the lines that connect the columns in a stacked column chart) + + + + + Gets or sets drop lines or hi-low lines or series lines: + 0 = drop lines + 1 = hi-low lines + 2 = series lines (lines used in Pie of Pie and Bar of Pie charts) + + + + + Returns object that represents first drop bar (up bar). + + + + + Returns object that represents second drop bar (down bar). + + + + + Represents series line properties. ( For pie of pie or pie of bar chart types only. ) Read-only. + + + + + Returns or sets the rotation of the 3-D chart view + (the rotation of the plot area around the z-axis, in degrees).(0 to 360 degrees). + + + + + Indicates whether rotation has default value. + + + + + Returns or sets the elevation of the 3-D chart view, in degrees (�90 to +90 degrees). + + + + + Indicates whether elevation has default value. + + + + + Returns or sets the perspective for the 3-D chart view.( 0 - 100 ) + + + + + Returns or sets the height of a 3-D chart as a percentage of the chart width + (between 5 and 500 percent). + + + + + Returns or sets the depth of a 3-D chart as a percentage of the chart width + (between 20 and 2000 percent). + + + + + Returns or sets the distance between the data series in a 3-D chart, as a percentage of the marker width.( 0 - 500 ) + + + + + True if the chart axes are at right angles, independent of chart rotation or elevation. + + + + + 3D columns are clustered or stacked. + + + + + Gets or Sets the chart type as chart ex or not + + + + + True if Microsoft Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart.. + + + + + True if gridlines are drawn two-dimensionally on a 3-D chart. + + + + + Try to convert m_serieFormat to chartBarRecord. + If can - returns chartBarRecord; otherwise rise exception. Read-only. + + + + + Try to convert m_serieFormat to chartLineRecord. + If can - returns chartLineRecord; otherwise rise exception. Read-only. + + + + + Try to convert m_serieFormat to chartPieRecord. + If can - returns chartPieRecord; otherwise rise exception. Read-only. + + + + + Try to convert m_serieFormat to chartScatterRecord. + If can - returns chartScatterRecord; otherwise rise exception. Read-only. + + + + + Try to convert m_serieFormat to chartAreaRecord. + If can - returns chartAreaRecord; otherwise rise exception. Read-only. + + + + + Try to convert m_serieFormat to chartSurfaceRecord. + If can - returns chartSurfaceRecord; otherwise rise exception. Read-only. + + + + + Try to convert m_serieFormat to chartRadarRecord. + If can - returns chartRadarRecord; otherwise rise exception. Read-only. + + + + + Try to convert m_serieFormat to chartRadarAreaRecord. + If can - returns chartRadarAreaRecord; otherwise rise exception. Read-only. + + + + + Try to convert m_serieFormat to chartBoppopRecord. + If can - returns chartBoppopRecord; otherwise rise exception. Read-only. + + + + + Returns data labels record. Read-only. + + + + + Returns chart data format. Read-only. + + + + + Returns chart chart format. Read-only. + + + + + Returns Chart3d record. Read-only. + + + + + If true then belong to primary axis; otherwise to secondary axis. + + + + + If true - format contains chart chart line record. Read-only. + + + + + If true - format contains series line. Read-only. + + + + + If true - format contains drop bar record. Read-only. + + + + + Returns record that represents Series format. Read-only. + + + + + Drawing order (0 = bottom of the z-order). + + + + + Represents type code of major format record type. Read-only. + + + + + If true - Series 3D; otherwise Series 2D. Read-only. + + + + + Returns dataformat or null; Read-only. + + + + + If true - format has marker; otherwise false. Read-only. + + + + + If true - format has line; otherwise false. Read-only. + + + + + If true - format has smoothed line; otherwise false. Read-only. + + + + + Represents High-low lines of Stock and Line Charts. Read-only. + + + + + True if stock, line or area charts has drop lines + + + + + True if stock or line charts has high-low lines + + + + + True if pie of pie or bar of pie charts has series lines + + + + + Class provide the options for Box and Whisker series + + + + + It provide the options used for Box and Whisker series + + + + + Indicates whether the show mean line option is enabled + Bit position - 0 + + + + + Indicates whether the show mean marker option is enabled + Bit position - 1 + + + + + Indicates whether the show inner points option is enabled + Bit position - 2 + + + + + Indicates whether the show outlier points option is enabled + Bit position - 3 + + + + + Indicates quartile calculation is exclusive or inclusive + Bit position - 4 + + + + + Gets / Sets the options for the charts + + + + + Class provide the options for Histogram and Pareto Chart axis + + + + + byte value used as flag and boolean property for the values + + + + + Indicates the number of bins in the axis + + + + + Indicates the bin width for axis + + + + + Indicates the overflow bin value + + + + + Indicates the underflow bin value + + + + + Reset the member values respect to input value + + Input Bit position changed + + + + Clones the value from input object + + input object + + + + Check for the equals an object + + input another histogram object + the boolean value indicates whether the objects are equal or not. + + + + Get or Set the is Automatic Bin member value + Bit Position - 0 + + + + + Get or Set the isBinning by Category member value + Bit position - 1 + + + + + Get or Set the Bin width member value + flag Bit position - 2 + + + + + Get or Set the number of Bins member value + Flag Bit position - 3 + + + + + Get or Set the overflow bin member value + Flag Bit Position - 4 + + + + + Get or Set the underflow bin member value + Flag Bit position - 5 + + + + + Get or Set the value for interval is closed in left or right + Flag Bit position - 6 + + + + + Byte value shows the options used in this class + + + + + + Class used for Chart FrameFormat implementation. + + + + + Represents the formatting settings of the chart element. + + + + + Clear current plot area. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set border settings + chart.PlotArea.Border.AutoFormat = false; + //Set the auto line color + chart.PlotArea.Border.IsAutoLineColor = false; + //Set the border line color + chart.PlotArea.Border.LineColor = System.Drawing.Color.Blue; + //Set the border line pattern + chart.PlotArea.Border.LinePattern = OfficeChartLinePattern.DashDot; + //Set the border line weight + chart.PlotArea.Border.LineWeight = OfficeChartLineWeight.Wide; + //Set the border transparency + chart.PlotArea.Border.Transparency = 0.6; + //Set the plot area�s fill type + chart.PlotArea.Fill.FillType = OfficeFillType.SolidColor; + //Set the plot area�s fill color + chart.PlotArea.Fill.ForeColor = System.Drawing.Color.LightPink; + //Set the plot area shodow presence + chart.PlotArea.Shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalTopLeft; + //Reset the plotarea + chart.PlotArea.Clear(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set border settings + chart.PlotArea.Border.AutoFormat = False + 'Set the auto line color + chart.PlotArea.Border.IsAutoLineColor = False + 'Set the border line color + chart.PlotArea.Border.LineColor = System.Drawing.Color.Blue + 'Set the border line pattern + chart.PlotArea.Border.LinePattern = OfficeChartLinePattern.DashDot + 'Set the border line weight + chart.PlotArea.Border.LineWeight = OfficeChartLineWeight.Wide + 'Set the border transparency + chart.PlotArea.Border.Transparency = 0.6 + 'Set the plot area�s fill type + chart.PlotArea.Fill.FillType = OfficeFillType.SolidColor + 'Set the plot area�s fill color + chart.PlotArea.Fill.ForeColor = System.Drawing.Color.LightPink + 'Set the plot area shodow presence + chart.PlotArea.Shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalTopLeft + 'Reset the plotarea + chart.PlotArea.Clear() + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets flag if border corners is round. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Set the borders with rounded corners + chart.ChartArea.IsBorderCornersRound = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Set the borders with rounded corners + chart.ChartArea.IsBorderCornersRound = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the border of the chart element. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Format Chart Area. + IOfficeChartFrameFormat chartArea = chart.ChartArea; + //Chart Area Border Settings + //Style + chartArea.Border.LinePattern = OfficeChartLinePattern.Solid; + //Color + chartArea.Border.LineColor = System.Drawing.Color.Blue; + //Weight + chartArea.Border.LineWeight = OfficeChartLineWeight.Hairline; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Format Chart Area. + Dim chartArea As IOfficeChartFrameFormat = chart.ChartArea + 'Chart Area Border Settings + 'Style + chartArea.Border.LinePattern = OfficeChartLinePattern.Solid + 'Color + chartArea.Border.LineColor = System.Drawing.Color.Blue + 'Weight + chartArea.Border.LineWeight = OfficeChartLineWeight.Hairline + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the Layout settings of TextArea of the chart element. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get a bubble chart from the slide + IPresentationChart chart = presentation.Slides[0].Charts[0]; + //Format Plot Area + IOfficeChartFrameFormat plotArea = chart.PlotArea; + //Set the height mode + plotArea.Layout.Height = 150; + plotArea.Layout.HeightMode = LayoutModes.factor; + //Set the top mode + plotArea.Layout.Top = 100; + plotArea.Layout.TopMode = LayoutModes.edge; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get a bubble chart from the slide + Dim chart As IPresentationChart = presentation__1.Slides(0).Charts(0) + 'Format Plot Area + Dim plotArea As IOfficeChartFrameFormat = chart.PlotArea + 'Set the height mode + plotArea.Layout.Height = 150 + plotArea.Layout.HeightMode = LayoutModes.factor + 'Set the top mode + plotArea.Layout.Top = 100 + plotArea.Layout.TopMode = LayoutModes.edge + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Chart frame. + + + + + Represents chart border. + + + + + Represents the 3D features + + + + + Represents chart interior. + + + + + Represents Shadow + + + + + Represents fill format. + + + + + Parent chart. + + + + + Represents Excel 2007 layout data. + + + + + Plot area layout + + + + + Creates chart and sets its Application and Parent + properties to specified values. + + Application object for the chart. + Parent object for the chart. + + + + Creates chart and sets its Application and Parent + properties to specified values. + + Application object for the chart. + Parent object for the chart. + Indicates is auto size. + Indicates is interior is gray. + Indicates whether we should set defaults for fill and border properties. + + + + Searches for all necessary parent objects. + + + + + Set variable to the default state. + + Indicates whether MS Excel should calculate size of the frame. + Indicates is default interior is gray. + + + + Updates known colors. + + Color to update. + Returns updated color. + + + + Clears current frame. + + + + + Clone current Record. + + Parent object. + Returns clone of current object. + + + + Gets frame record. Read-only. + + + + + Returns parent workbook. Read-only. + + + + + Gets / sets Excel 2007 layout data. + + + + + This property indicates whether interior object was created. Read-only. + + + + + This property indicates whether border formatting object was created. Read-only. + + + + + Represents chart border. Read-only. + + + + + Represents frame interior. Read-only + + + + + Gets the chart3 D properties. + + The chart3 D properties. + + + + Represents fill gradient format. Read-only. + + + + + This property indicates whether the shadow object has been created + + + + + This property Indicates whether the Shadow object has been created(which includes the 3D properties) + + + + + Gets the shadow properties. + + The shadow properties. + + + + Rectangle style. + + + + + Microsoft Excel calculates size. + + + + + Microsoft Excel calculates position. + + + + + Gets or sets flag if border corners is round. + + + + + Represents chart border. Read-only. + + + + + Represents foreground color. + + + + + Represents background color. + + + + + Represents pattern. + + + + + Represents if use automatic format. + + + + + Represents visibility. + + + + + Contains primary parent axis, secondary parent axis. + + + + + + + + + + + + + + + Represents primary parent axis. + + + + + Represents secondary parent axis. + + + + + Default constructor. + + + + + Creates object and initializes collections. + + Application object. + Parent object for primary collection. + Parent object for secondary collection. + + + + If can - removes format. + + Format to remove. + + + + Changes primary and secondary format collections. + + + + + Helper methods for adding new formats. + + Format to add. + Format order. + Format index. + If true - adds in primary format; otherwise - in secondary. + + + + + Removes format from collection. + + Index to remove. + Order to remove. + If true - removes in primary collection; otherwise - secondary. + + + + Returns collection by parameter. + + If true - returns primary collection; otherwise - secondary. + Returns one of collection. + + + + Clones current instance. + + Parent for primary collection. + Returns just cloned method. + + + + Clones secondary collection. + + Global collection. + Parent object. + + + + Detects chart type. + + Chart series collection. + Returns chart type. + + + + Detects chart type by primary formats only. + + Chart series collection. + Returns chart type. + + + + Clears all format collections. + + + + + Changes not intimate types. + + Type to change. + Current Series type. + Application object. + Chart object. + Returns format for current type. + + + + Change format in axis. + + If true - changes format to primary. otherwise - to secondary. + Format order. + If true - standard add; otherwise - shallow. + Represents new order. + + + + Changes format in axis collection. + + Collection from format gets. + Collection to format sets. + Formats order. + New order to set. + IF true - standard add; otherwise - shallow. + + + + Represents primary format collection. Read-only. + + + + + Represents secondary format collection. Read-only. + + + + + Represents chart grid lines. + + + + + Represents major or minor gridlines on a chart axis. + + + + + Clears current GridLines. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Delete gridline + chart.PrimaryValueAxis.MajorGridLines.Delete(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Delete gridline + chart.PrimaryValueAxis.MajorGridLines.Delete() + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the border of the gridline. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Get the major grid line + IOfficeChartGridLine gridLine = chart.PrimaryValueAxis.MajorGridLines; + //Set the line pattern + gridLine.Border.LinePattern = OfficeChartLinePattern.DarkGray; + //Set the line weight + gridLine.Border.LineWeight = OfficeChartLineWeight.Hairline; + //Set the line color + gridLine.Border.LineColor = System.Drawing.Color.Green; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Get the major grid line + Dim gridLine As IOfficeChartGridLine = chart.PrimaryValueAxis.MajorGridLines + 'Set the line pattern + gridLine.Border.LinePattern = OfficeChartLinePattern.DarkGray + 'Set the line weight + gridLine.Border.LineWeight = OfficeChartLineWeight.Hairline + 'Set the line color + gridLine.Border.LineColor = System.Drawing.Color.Green + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Represents default color index. + + + + + Represents axis line record. + + + + + Represents parent axis. + + + + + Represents Shadow + + + + + Represents parent book. + + + + + Represents chart border. + + + + + Represents the 3D features + + + + + Creates ChartGridLine object. + + Application object. + Parent object. + Represents type of axisline record. + + + + Finds all parent objects. + + + + + Clears the grid lines of the chart. + + + + + Clones current object. + + Parent object. + Returns cloned object. + + + + Gets line border. Read-only. + + + + + Gets line border. Read-only. + + + + + This property indicates whether line formatting object was created. Read-only. + + + + + Represents the Shadow.Read-only + + + + + This property indicates whether the shadow object has been created + + + + + Gets the chart3 D options. + + The chart3 D options. + + + + This property Indicates whether the Shadow object has been created(which includes the 3D properties) + + + + + This property indicates whether interior object was created. Read-only. + + + + + Returns object, that represents area properties. Read-only. + + + + + Represents fill options. Read-only. + + + + + Gets or sets axis line type. + + + + + This class represents the Excel Chart object. + + + + + Base class for all worksheet objects (objects that have own tab in the workbook) + like worksheets and charts. + + + + + Implement objects that contains Name. + + + + + Name of the object. + + + + + Supports parsing, which parses internal records and creates necessary objects. + + + + + Parses internal records. + + + + + Represents an Excel worksheet Tab. + + + + + Makes the current sheet the active sheet. Equivalent to clicking the + sheet's tab. + + + + + Unselects current tab sheet. + + + + + Protects current worksheet. + + Represents password to protect. + Represents params to protect. + + + + Gets / sets tab color. + + + + + Gets / sets tab color. + + + + + Returns parent workbook. Read-only. + + + + + Returns shapes collection. Read-only. + + + + + Indicates whether worksheet is displayed right to left. + + + + + Indicates whether tab of this sheet is selected. Read-only. + + + + + Gets / sets name of the tab sheet. + + + + + Control visibility of worksheet to end user. + + + + + Name used by macros to access workbook items. Read-only. + + + + + Maximum length of the password. + + + + + Default password hash value. + + + + + Min column index. + + + + + Min row index. + + + + + Default tab color. + + + + + Maximum one-based index of the row. + + + + + Maximum one-based index of the column. + + + + + Maximum allowed worksheet name length. + + + + + Records that do not belong to mso part of the worksheet. + + + + + Default tab color. + + + + + Represents a boolean value to parse worksheets on demand + + + + + Represents to parse sheet on demand + + + + + Parent workbook. + + + + + Worksheet's name. + + + + + Indicates whether worksheet was changed and need saving. + + + + + Real worksheet's index in the workbook. + + + + + Starting index for Mso record. + + + + + Current index of the mso drawing object. + + + + + Parse options. + + + + + List with all mso drawing records in the worksheet. + + + + + Collection of all pictures in the worksheet. + + + + + List in which all records which belong to worksheet are stored. + + + + + Collection with all shapes in the worksheet. + + + + + Charts collection. + + + + + True - indicates that record extracted from stream can be used, by this + implementation, otherwise False. + + + + + Zoom of the current window. + + + + + Represents sheet protection record. + + + + + Describes password entered by user to protect worksheet's data. + + + + + Code name. + + + + + Indicates whether worksheet was parsed. + + + + + Indicates whether object is currently being parsed. + + + + + Indicates whether to skip parsing. + + + + + Window two record. + + + + + One field from Worksheet dimension records. + + + + + One field from Worksheet dimension records. + + + + + One field from Worksheet dimension records. + + + + + One field from Worksheet dimension records + + + + + Index of the tab color. + + + + + Contains images used in header and footer. + + + + + Worksheet index. + + + + + Represents sheet protection for support old version. Using for parsing. + + + + + BOF record that will be serialized. + + + + + Indicates whether to keep record inside of internal storage. + + + + + Visibility of worksheet. + + + + + Data holder for 2007 Excel. + + + + + Indicates whether worksheet contains some unknown vml shapes. + + + + + Collection with all textboxes. + + + + + Custom height + + + + + + + + + + Indicate whether sheet contain tab color rgb + + + + + Alogrithm name to protect/unprotect worksheet. + + + + + Hash value to ensure the sheet protected password. + + + + + Random generated Salt for the sheet password. + + + + + Spin count to loop the hash algorithm. + + + + + Initializes new instance and sets its application and parent properties. + + Application object for the new instance. + Parent object for the new instance. + + + + Clears NameChanged event. + + + + + Returns true if visible sheet found. Also sets active sheet index and display tab. + + Workbook objects collection + Object index. + True if visible sheet found + + + + Searches for all necessary parent objects. + + + + + This method is called when Name of the worksheet was changed. + + Event arguments. + + + + This method raises NameChanged event. + + Event arguments. + + + + This method should be called after any changes in the worksheet. + Sets Saved property of the parent workbook to false. + + + + + Initializes all required collections. + + + + + Clear all internal collections. + + Allows to avoid clearing of some properties. + + + + Makes the current sheet the active sheet. Equivalent to clicking the + sheet's tab in MS Excel. + + + + + Selects current tab sheet. + + + + + Unselects current tab sheet if possible. + + + + + Unselects current tab sheet if possible. + + Indicates whether to allow unselect last sheet. + + + + Protects current worksheet. + + Represents password to protect. + Represents params to protect. + + + + Prepares protection options before setting protection. + + + + + + + Unprotects this worksheet without password. + + + + + This method is called after RealIndex property change. + + Old index. + + + + Adds sheet tab to the selected tab. + + + + + Updates formulas after copy operation. + + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + + + + This method should be called immediately after extended format removal. + + Dictionary with updated extended formats. + + + + Creates copy of the current object. + + Parent object for the new object. + Copy of the current object. + + + + Creates copy of the current object. + + Parent object for the new object. + Indicates whether we should clone shapes or not. + Copy of the current object. + + + + Create copy of the shapes collection inside specified worksheet object. + + Object to put shapes into. + + + + Updates style indexes. + + Array with changed style indexes. + + + + Protects worksheet. + + Password hash to use for protection. + Protection options. + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Prepares protection variables. + + + + + Parses dimensions record. + + Record to parse. + + + + Returns hash value for the password string. + + Password to hash. + Hash value for the password string. + + + + Converts character to 15 bits sequence + + Character to convert. + Array of values indicating 15 bit sequence. + + + + Converts bits array to UInt16 value. + + Array to convert. + Converted UInt16 value. + + + + Rotates (cyclic shift) bits in the array specified number of times + + Array to rotate + Number of times to rotate + Rotated array. + + + + Rounds value. + + Value to be rounded. + Represents degree used to round the given value. + Rounded value. + + + + Parses internal records. + + + + + Parses worksheet's data. + + + + + Parses worksheet's data. + + + + + Extracts MsoDrawing records from internal array. + + Index to the first MsoDrawing record. + Parse options. + + + + Combines all MsoBase records into one array. + + Array of records. + + + + Extracts client data for mso records. + + Array of records. + + + + Combines several byte arrays into one. + + Size of the combined data. + List that contains byte arrays to combine. + Combined array. + + + + Copies all data from another worksheet. + + Parent worksheet. + Dictionary with style names. + Dictionary with new worksheet names. + Dictionary with new font indexes. + Copy flags. + + Dictionary with extended format indexes, key - old index, value - new index. + + + + + Copies preserved header/footer images. + + Source worksheet. + Hash with new WorkSheet names. + Dictionary with new font indexes. + + + + Copies all shapes from a source worksheet. + + Source worksheet. + Hash with new WorkSheet names. + Dictionary with new font indexes. + + + + Copies different sheet options. + + Source sheet. + + + + Generates unique name for the parent collection + + Name getter. + Proposed name + Generated unique name. + + + + Gets code name of the tabsheet. + + Tabsheet to get name from. + Code name of the tabsheet. + + + + Gets name of the tabsheet. + + Tabsheet to get name from. + Name of the tabsheet. + + + + Copies tab color from another worksheet. + + Worksheet to copy tab color from. + + + + Checks the worksheet for parse on demand load + + + + + Creates random salt. + + Desired salt length. + Array with random data. + + + + Returns or sets the name of the object. Read / write String. + + + + + Indicates whether worksheet was saved. + + + + + Returns embedded charts collection. Read-only. + + + + + Returns shapes collection. Read-only. + + + + + Shapes collection. + + + + + Returns InnerShapes base collection. + + + + + Header / footer shapes collection. + + + + + Header / footer shapes collection. + + + + + Returns charts collection. Read-only. + + + + + Name used by macros to access workbook items. Read-only. + + + + + Sheet window settings. + + + + + Indicates is current sheet is protected. + + + + + True if objects are protected. Read-only. + + + + + True if the scenarios of the current sheet are protected. Read-only. + + + + + Gets a value indicating whether worksheet is protected with password. + + + + + Indicates whether object was parsed. + + + + + Indicates whether object is currently being parsed. + + + + + Indicates whether worksheet was opened in skip parsing mode. Read-only. + + + + + Indicates whether worksheet type is supported. Read-only. + + + + + Returns parent workbook. Read-only. + + + + + Gets / sets one-based index of the first row of the worksheet. + + + + + Gets / sets one-based index of the first column of the worksheet. + + + + + Gets / sets one-based index of the last row of the worksheet. + + + + + Gets / sets one-based index of the last column of the worksheet. + + + + + Zoom factor of document. Value must be in range from 10 to 400. + + + + + Tab color. + + + + + Tab color. + + + + + Tab color. + + + + + Grid line color. + + + + + Indicates whether gridline color has default value. + + + + + Get parent workbook of current worksheet. + + + + + Indicates whether worksheet is displayed right to left. + + + + + Return page setup. Read-only. + + + + + Indicates whether tab of this sheet is selected. Read-only. + + + + + Returns the index number of the object within the collection of + similar objects. Read-only. + + + + + Gets protected options. Read-only. For sets protection options use "Protect" method. + + + + + Gets protected options. Read-only. For sets protection options use "Protect" method. + + + + + Returns internal BOF record. Read-only. + + + + + Controls end user visibility of worksheet. + + + + + Gets / sets worksheet data holder. + + + + + Gets/sets top visible row of the worksheet. + + + + + Gets/sets left visible column of the worksheet. + + + + + Describes password entered by user to protect worksheet's data. + + + + + Indicates whether worksheet contains some unknown vml shapes. + + + + + Returns inner textboxes collection. Read-only. + + + + + Returns inner textboxes collection. Read-only. + + + + + Returns inner textboxes collection. Read-only. + + + + + Returns number of known vml shapes. Read-only. + + + + + Gets the default protection options for the worksheet. + + + + + Indicates whether Protection property is direct (specified items are + protected) or indirect (specified items are unprotected). + + + + + Inidicates whether protection should be serialized. + + + + + Returns sheet protection record. + + + + + Gets or Sets a boolean value to parse worksheets on demand + + + + + Gets or sets the boolean value to load worksheets on demand + + + + + Indicate whether sheet contain tab color rgb + + + + + Alogrithm name to protect/unprotect worksheet. + + + + + Hash value to ensure the sheet protected password. + + + + + Random generated Salt for the sheet password. + + + + + Spin count to loop the hash algorithm. + + + + + Gets pictures collection in the worksheet. Read-only. + + + + + Returns pictures collection. Read-only. + + + + + This event is raised when name of the worksheet is changed. + + + + + Index of the worksheet in the workbook + (not necessary in Worksheets collection) + + + + + Delegate to be used for getting name information from the worksheet. + + Worksheet to get name from. + Extracted name. + + + + Represents a chart in a document + + + + + Refreshes the chart with the modified excel data. + + + + //Open a presentation containing charts + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the slide from presentation + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Charts[0]; + //Refresh the chart to set worksheet data to current chart + chart.Refresh(); + //Save the presentation + presentation.Save("Sample.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation containing charts + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + 'Get the slide from presentation + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = slide.Charts(0) + 'Refresh the chart to set worksheet data to current chart + chart.Refresh() + 'Save the presentation + presentation.Save("Sample.pptx") + 'Close the presentation + presentation.Close() + + + + + + Converts the chart to image and saves the image in the specified stream. + + The stream to save the image. + + + //Open the presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Initialize the ChartToImageConverter class; this is mandatory + presentation.ChartToImageConverter = new ChartToImageConverter(); + //Set the scaling mode for quality + presentation.ChartToImageConverter.ScalingMode = Syncfusion.OfficeChart.ScalingMode.Best; + //Get the first slide + ISlide slide = presentation.Slides[0]; + //Get the chart in slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Create a stream instance to store the image + MemoryStream stream = new MemoryStream(); + //Save the image to stream + chart.SaveAsImage(stream); + //Save the stream to a file + using (FileStream fileStream = File.Create("ChartImage.png", (int)stream.Length)) + fileStream.Write(stream.ToArray(), 0, stream.ToArray().Length); + //Close the stream + stream.Close(); + //Save the Presentation + presentation.Save("output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open the presentation + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + 'Initialize the ChartToImageConverter class; this is mandatory + presentation.ChartToImageConverter = New ChartToImageConverter() + 'Set the scaling mode for quality + presentation.ChartToImageConverter.ScalingMode = Syncfusion.OfficeChart.ScalingMode.Best + 'Get the first slide + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart in slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Create a stream instance to store the image + Dim stream As New MemoryStream() + 'Save the image to stream + chart.SaveAsImage(stream) + 'Save the stream to a file + Using fileStream As FileStream = File.Create("ChartImage.png", CInt(stream.Length)) + fileStream.Write(stream.ToArray(), 0, stream.ToArray().Length) + End Using + 'Close the stream + stream.Close() + 'Save the Presentation + presentation.Save("output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Sets the chart data with the specified two dimensional object array. + + Represents the two dimensional chart data + + + + //Create a new PowerPoint presentation + IPresentation presentation = Presentation.Create(); + //Add slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to slide + IPresentationChart chart = slide.Charts.AddChart(100, 100, 300, 200); + //Create an instance of object array + object[][] chartData = { new object[3], new object[4] }; + //Invoke setChartData method by passing object array + chart.SetChartData(chartData); + //Set the chart title + chart.ChartTitle = "Chart"; + //Save the Presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a new PowerPoint presentation + Dim presentation As IPresentation = Presentation.Create() + 'Add slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to slide + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 100, 300, 200) + 'Create an instance of object array + Dim chartData As Object()() = {New Object(2) {}, New Object(3) {}} + 'Invoke setChartData method by passing object array + chart.SetChartData(chartData) + 'Set the chart title + chart.ChartTitle = "Chart" + 'Save the Presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Sets the chart data with the specified two dimensional object array, row index and column index. + + Represents the two dimensional chart data + Row of the first cell where array should be imported. + Column of the first cell where array should be imported. + + + //Create a new PowerPoint presentation + IPresentation presentation = Presentation.Create(); + //Add slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to slide + IPresentationChart chart = slide.Charts.AddChart(100, 100, 300, 300); + //Create an instance of object array + object[][] dataRange = { new object[5], new object[5] }; + //Invoke set data Range method + chart.SetDataRange(dataRange, 1, 3); + //Save the Presentation + presentation.Save("output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a new PowerPoint presentation + Dim presentation As IPresentation = Presentation.Create() + 'Add slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to slide + Dim chart As IPresentationChart= slide.Charts.AddChart(100, 100, 300, 300) + 'Create an instance of object array + Dim dataRange As Object()() = {New Object(4) {}, New Object(4) {}} + 'Invoke set data Range method + chart.SetDataRange(dataRange, 1, 3) + 'Save the Presentation + presentation.Save("output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Sets the chart data with the specified enumerable, row index and column index. + + IEnumerable object with desired data + Row of the first cell where array should be imported. + Column of the first cell where array should be imported. + + + + Gets or sets the Chart Type. + Initiate series, ranges and update the ChartType. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Specify the chart type + chart.ChartType = OfficeChartType.Surface_3D; + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Specify the chart title + chart.ChartTitle = "Sales Analysis" + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Specify the chart type + chart.ChartType = OfficeChartType.Surface_3D + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the DataRange for the chart series. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to slide + IPresentationChart chart = slide.Shapes.AddChart(100, 120, 500, 300); + //Sets the data range of chart + chart.DataRange = chart.ChartData[1, 2, 4, 3]; + //Set data to the chart- RowIndex, columnIndex and data + chart.ChartData.SetValue(1, 2, "2012"); + chart.ChartData.SetValue(2, 2, 330); + chart.ChartData.SetValue(3, 2, 490); + chart.ChartData.SetValue(4, 2, 700); + chart.ChartType = OfficeChartType.Area; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to slide + Dim chart As IPresentationChart = slide.Shapes.AddChart(100, 120, 500, 300) + 'Sets the data range of chart + chart.DataRange = chart.ChartData(1, 2, 4, 3) + 'Set data to the chart- RowIndex, columnIndex and data + chart.ChartData.SetValue(1, 2, "2012") + chart.ChartData.SetValue(2, 2, 330) + chart.ChartData.SetValue(3, 2, 490) + chart.ChartData.SetValue(4, 2, 700) + chart.ChartType = OfficeChartType.Area + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets whether series in rows or not. True if series are in rows in DataRange; + False otherwise. + + + + + Gets or sets the Title of the chart. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Specify the chart title + chart.ChartTitle = "Sales Analysis" + 'Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets an object that represents the title area for the chart. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Specify the chart type + chart.ChartType = OfficeChartType.Surface_3D; + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Get the chart title text area + IOfficeChartTextArea textArea = chart.ChartTitleArea; + //Set the background mode of the title area + textArea.BackgroundMode = OfficeChartBackgroundMode.Transparent; + //Set bold font style + textArea.Bold = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Specify the chart title + chart.ChartTitle = "Sales Analysis" + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Specify the chart type + chart.ChartType = OfficeChartType.Surface_3D + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Get the chart title text area + Dim textArea As IOfficeChartTextArea = chart.ChartTitleArea + 'Set the background mode of the title area + textArea.BackgroundMode = OfficeChartBackgroundMode.Transparent + 'Set bold font style + textArea.Bold = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the X coordinate of the upper-left corner + of the chart in points (1/72 inch). + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the x - position of the chart + chart.XPos = 300; + //Set the y - position of the chart + chart.YPos = 140; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the x - position of the chart + chart.XPos = 300 + 'Set the y - position of the chart + chart.YPos = 140 + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the Y coordinate of the upper-left corner + of the chart in points (1/72 inch). + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the x - position of the chart + chart.XPos = 300; + //Set the y - position of the chart + chart.YPos = 140; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the x - position of the chart + chart.XPos = 300 + 'Set the y - position of the chart + chart.YPos = 140 + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the Width of the chart in points (1/72 inch). + + + + //Open the presentation + IPresentation presentation = Presentation.Open("Sample.pptx"); + //Get the first slide + ISlide slide = presentation.Slides[0]; + //Get the chart in slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Modify the chart height + chart.Height = 500; + //Modify the chart width + chart.Width = 700; + //Change the title + chart.ChartTitle = "New title"; + //Change the serie name of first chart serie + chart.Series[0].Name = "Modified serie name"; + //Hiding the category labels + chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone; + //Show Data Table. + chart.HasDataTable = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open the presentation + Dim presentation As IPresentation = Presentation.Open("Sample.pptx") + 'Get the first slide + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart in slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Modify the chart height + chart.Height = 500 + 'Modify the chart width + chart.Width = 700 + 'Change the title + chart.ChartTitle = "New title" + 'Change the serie name of first chart serie + chart.Series(0).Name = "Modified serie name" + 'Hiding the category labels + chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone + 'Show Data Table. + chart.HasDataTable = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the Height of the chart in points (1/72 inch). + + + + //Open the presentation + IPresentation presentation = Presentation.Open("Sample.pptx"); + //Get the first slide + ISlide slide = presentation.Slides[0]; + //Get the chart in slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Modify the chart height + chart.Height = 500; + //Modify the chart width + chart.Width = 700; + //Change the title + chart.ChartTitle = "New title"; + //Change the serie name of first chart serie + chart.Series[0].Name = "Modified serie name"; + //Hiding the category labels + chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone; + //Show Data Table. + chart.HasDataTable = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open the presentation + Dim presentation As IPresentation = Presentation.Open("Sample.pptx") + 'Get the first slide + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart in slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Modify the chart height + chart.Height = 500 + 'Modify the chart width + chart.Width = 700 + 'Change the title + chart.ChartTitle = "New title" + 'Change the serie name of first chart serie + chart.Series(0).Name = "Modified serie name" + 'Hiding the category labels + chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone + 'Show Data Table. + chart.HasDataTable = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets the collection of the all series of this chart. Read-only. + + + + //Open the presentation + IPresentation presentation = Presentation.Open("Sample.pptx"); + //Get the first slide + ISlide slide = presentation.Slides[0]; + //Get the chart in slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Modify the chart height + chart.Height = 500; + //Modify the chart width + chart.Width = 700; + //Change the title + chart.ChartTitle = "New title"; + //Change the serie name of first chart serie + chart.Series[0].Name = "Modified serie name"; + //Hiding the category labels + chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone; + //Show Data Table. + chart.HasDataTable = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open the presentation + Dim presentation As IPresentation = Presentation.Open("Sample.pptx") + 'Get the first slide + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart in slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Modify the chart height + chart.Height = 500 + 'Modify the chart width + chart.Width = 700 + 'Change the title + chart.ChartTitle = "New title" + 'Change the serie name of first chart serie + chart.Series(0).Name = "Modified serie name" + 'Hiding the category labels + chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone + 'Show Data Table. + chart.HasDataTable = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets the primary category axis for the chart. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the primary category axis + IOfficeChartCategoryAxis primaryCategoryAxis = chart.PrimaryCategoryAxis; + //Set the data range of the category axis + primaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the primary category axis + Dim primaryCategoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis + 'Set the data range of the category axis + primaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets the primary value axis for the chart. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the primary value axis + IOfficeChartValueAxis primaryValueAxis = chart.PrimaryValueAxis; + //Set bold font style + primaryValueAxis.Font.Bold = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the primary value axis + Dim primaryValueAxis As IOfficeChartValueAxis = chart.PrimaryValueAxis + 'Set bold font style + primaryValueAxis.Font.Bold = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets the primary series axis for the chart. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Get the primary serie axis + IOfficeChartSeriesAxis primarySerieAxis = chart.PrimarySerieAxis; + //Set the font style of serie axis + primarySerieAxis.Font.Italic = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Get the primary serie axis + Dim primarySerieAxis As IOfficeChartSeriesAxis = chart.PrimarySerieAxis + 'Set the font style of serie axis + primarySerieAxis.Font.Italic = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets the secondary category axis for the chart. Read-only. + + + + //Open a presentation with Combinational chart type + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Get the secondary category axis + IOfficeChartCategoryAxis secondaryCategoryAxis = chart.PrimaryCategoryAxis; + //Set the minor grid lines + secondaryCategoryAxis.HasMinorGridLines = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation with Combinational chart type + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Get the secondary category axis + Dim secondaryCategoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis + 'Set the minor grid lines + secondaryCategoryAxis.HasMinorGridLines = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets the secondary value axis for the chart. Read-only. + + + + //Open a presentation with Combinational chart type + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Get the secondary value axis + IOfficeChartValueAxis secondaryValueAxis = chart.SecondaryValueAxis; + //Set the tick label position + secondaryValueAxis.TickLabelPosition = OfficeTickLabelPosition.TickLabelPosition_NextToAxis; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation with Combinational chart type + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Get the secondary value axis + Dim secondaryValueAxis As IOfficeChartValueAxis = chart.SecondaryValueAxis + 'Set the tick label position + secondaryValueAxis.TickLabelPosition = OfficeTickLabelPosition.TickLabelPosition_NextToAxis + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets an object that represents the complete chart area for the chart. Read-only. + + + + //Create a new presentation + IPresentation presentation = Presentation.Create(); + //Add slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to slide + IPresentationChart chart = slide.Shapes.AddChart(100, 100, 400, 300); + //Set the chart data value + chart.ChartData.SetValue(1, 2, "1"); + chart.ChartData.SetValue(2, 1, "A"); + chart.ChartData.SetValue(2, 2, 20); + //Set chart data range + chart.DataRange = chart.ChartData[2, 2, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Get the chart area + IOfficeChartFrameFormat chartArea = chart.ChartArea; + //Set the line pattern of chart border + chartArea.Border.LinePattern = OfficeChartLinePattern.DashDotDot; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a new presentation + Dim presentation As IPresentation = Presentation.Create() + 'Add slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to slide + Dim chart As IPresentationChart = slide.Shapes.AddChart(100, 100, 400, 300) + 'Set the chart data value + chart.ChartData.SetValue(1, 2, "1") + chart.ChartData.SetValue(2, 1, "A") + chart.ChartData.SetValue(2, 2, 20) + 'Set chart data range + chart.DataRange = chart.ChartData(2, 2, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Column_Clustered + 'Get the chart area + Dim chartArea As IOfficeChartFrameFormat = chart.ChartArea + 'Set the line pattern of chart border + chartArea.Border.LinePattern = OfficeChartLinePattern.DashDotDot + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + + Gets the walls of the 3-D chart. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Set the fill type of wall as pattern + chart.Walls.Fill.FillType = OfficeFillType.Pattern; + //set the back color of the pattern fill + chart.Walls.Fill.BackColor = Color.AliceBlue; + //Set the fore color of the pattern fill + chart.Walls.Fill.ForeColor = Color.Brown; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Set the fill type of wall as pattern + chart.Walls.Fill.FillType = OfficeFillType.Pattern + 'set the back color of the pattern fill + chart.Walls.Fill.BackColor = Color.AliceBlue + 'Set the fore color of the pattern fill + chart.Walls.Fill.ForeColor = Color.Brown + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets an object that allows to individually format the side wall of a 3-D chart. Read-only. + + + + //Open the presentation + IPresentation presentation = Presentation.Open("Sample.pptx"); + //Get the first slide + ISlide slide = presentation.Slides[0]; + //Get the chart in slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Change the chart type to 3D + chart.ChartType = OfficeChartType.Bar_Clustered_3D; + //Set the rotation + chart.Rotation = 80; + //Set the shadow angle + chart.SideWall.Shadow.Angle = 60; + //Set the backwall border weight + chart.BackWall.Border.LineWeight = OfficeChartLineWeight.Narrow; + //Save the presentation + presentation.Save("output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open the presentation + Dim presentation As IPresentation = Presentation.Open("Sample.pptx") + 'Get the first slide + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart in slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Change the chart type to 3D + chart.ChartType = OfficeChartType.Bar_Clustered_3D + 'Set the rotation + chart.Rotation = 80 + 'Set the shadow angle + chart.SideWall.Shadow.Angle = 60 + 'Set the backwall border weight + chart.BackWall.Border.LineWeight = OfficeChartLineWeight.Narrow + 'Save the presentation + presentation.Save("output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets an object that allows to individually format the back wall of a 3-D chart. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Specify the chart type + chart.ChartType = OfficeChartType.Surface_3D; + //Get the back wall of the chart + IOfficeChartWallOrFloor backWall = chart.BackWall; + //Set the line properties of the back wall + backWall.LineProperties.LineWeight = OfficeChartLineWeight.Narrow; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Specify the chart title + chart.ChartTitle = "Sales Analysis" + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Specify the chart type + chart.ChartType = OfficeChartType.Surface_3D + 'Get the back wall of the chart + Dim backWall As IOfficeChartWallOrFloor = chart.BackWall + 'Set the line properties of the back wall + backWall.LineProperties.LineWeight = OfficeChartLineWeight.Narrow + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets the floor of the 3-D chart. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Get the floor of chart + IOfficeChartWallOrFloor floor = chart.Floor; + //Set the filltype of floor as pattern fill + floor.Fill.FillType = OfficeFillType.Pattern; + //Set the back and fore color of the pattern fill + floor.Fill.BackColor = Color.Blue; + floor.Fill.ForeColor = Color.Brown; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Get the floor of chart + Dim floor As IOfficeChartWallOrFloor = chart.Floor + 'Set the filltype of floor as pattern fill + floor.Fill.FillType = OfficeFillType.Pattern + 'Set the back and fore color of the pattern fill + floor.Fill.BackColor = Color.Blue + floor.Fill.ForeColor = Color.Brown + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets the charts dataTable object. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Set the chart with data table + chart.HasDataTable = true; + //Get the data table, read only + IOfficeChartDataTable dataTable = chart.DataTable; + //set borders for data table + dataTable.HasBorders = true; + //Set the show serie keys + dataTable.ShowSeriesKeys = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Set the chart with data table + chart.HasDataTable = True + 'Get the data table, read only + Dim dataTable As IOfficeChartDataTable = chart.DataTable + 'set borders for data table + dataTable.HasBorders = True + 'Set the show serie keys + dataTable.ShowSeriesKeys = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets whether the chart has data table. + + TrueIf the chart has a data table. Otherwise False + + + //Open the presentation + IPresentation presentation = Presentation.Open("Sample.pptx"); + //Get the first slide + ISlide slide = presentation.Slides[0]; + //Get the chart in slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Modify the chart height + chart.Height = 500; + //Modify the chart width + chart.Width = 700; + //Change the title + chart.ChartTitle = "New title"; + //Change the serie name of first chart serie + chart.Series[0].Name = "Modified serie name"; + //Hiding the category labels + chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone; + //Show Data Table. + chart.HasDataTable = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open the presentation + Dim presentation As IPresentation = Presentation.Open("Sample.pptx") + 'Get the first slide + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart in slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Modify the chart height + chart.Height = 500 + 'Modify the chart width + chart.Width = 700 + 'Change the title + chart.ChartTitle = "New title" + 'Change the serie name of first chart serie + chart.Series(0).Name = "Modified serie name" + 'Hiding the category labels + chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone + 'Show Data Table. + chart.HasDataTable = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets the legend for the chart. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to slide + IPresentationChart chart = slide.Shapes.AddChart(100, 120, 500, 300); + //Sets the data range of chart + chart.DataRange = chart.ChartData[1, 2, 4, 3]; + //Set data to the chart- RowIndex, columnIndex and data + chart.ChartData.SetValue(1, 2, "2012"); + chart.ChartData.SetValue(2, 2, 330); + chart.ChartData.SetValue(3, 2, 490); + chart.ChartData.SetValue(4, 2, 700); + chart.ChartType = OfficeChartType.Area; + //Edge: Specifies that the width or Height will be interpreted as right or bottom of the chart element + //Factor: Specifies that the width or Height will be interpreted as the width or height of the chart element + chart.PlotArea.Layout.LeftMode = LayoutModes.auto; + chart.PlotArea.Layout.TopMode = LayoutModes.factor; + //Value in points should not be a negative value if LayoutMode is Edge + //It can be a negative value if the LayoutMode is Factor. + chart.ChartTitleArea.Layout.Left = 10; + chart.ChartTitleArea.Layout.Top = 100; + //Manually positioning chart plot area + chart.PlotArea.Layout.LayoutTarget = LayoutTargets.outer; + chart.PlotArea.Layout.LeftMode = LayoutModes.edge; + chart.PlotArea.Layout.TopMode = LayoutModes.edge; + //Manually positioning chart legend + chart.Legend.Layout.LeftMode = LayoutModes.factor; + chart.Legend.Layout.TopMode = LayoutModes.factor; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to slide + Dim chart As IPresentationChart = slide.Shapes.AddChart(100, 120, 500, 300) + 'Sets the data range of chart + chart.DataRange = chart.ChartData(1, 2, 4, 3) + 'Set data to the chart- RowIndex, columnIndex and data + chart.ChartData.SetValue(1, 2, "2012") + chart.ChartData.SetValue(2, 2, 330) + chart.ChartData.SetValue(3, 2, 490) + chart.ChartData.SetValue(4, 2, 700) + chart.ChartType = OfficeChartType.Area + 'Edge: Specifies that the width or Height will be interpreted as right or bottom of the chart element + 'Factor: Specifies that the width or Height will be interpreted as the width or height of the chart element + chart.PlotArea.Layout.LeftMode = LayoutModes.auto + chart.PlotArea.Layout.TopMode = LayoutModes.factor + 'Value in points should not be a negative value if LayoutMode is Edge + 'It can be a negative value if the LayoutMode is Factor. + chart.ChartTitleArea.Layout.Left = 10 + chart.ChartTitleArea.Layout.Top = 100 + 'Manually positioning chart plot area + chart.PlotArea.Layout.LayoutTarget = LayoutTargets.outer + chart.PlotArea.Layout.LeftMode = LayoutModes.edge + chart.PlotArea.Layout.TopMode = LayoutModes.edge + 'Manually positioning chart legend + chart.Legend.Layout.LeftMode = LayoutModes.factor + chart.Legend.Layout.TopMode = LayoutModes.factor + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets whether the chart has legends. + + TrueIf the chart has a legend. Otherwise False + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Hide the legend + chart.HasLegend = false; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Hide the legend + chart.HasLegend = False + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets whether the chart has title. + + TrueIf the chart has a title. Otherwise False + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Hide the chart title + chart.HasTitle = false; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Hide the chart title + chart.HasTitle = False + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the rotation of the 3-D chart view + (the rotation of the plot area around the z-axis, in degrees).(0 to 360 degrees). + + + + //Open the presentation + IPresentation presentation = Presentation.Open("Sample.pptx"); + //Get the first slide + ISlide slide = presentation.Slides[0]; + //Get the chart in slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //Change the chart type to 3D + chart.ChartType = OfficeChartType.Bar_Clustered_3D; + //Set the rotation + chart.Rotation = 80; + //Set the shadow angle + chart.SideWall.Shadow.Angle = 60; + //Set the backwall border weight + chart.BackWall.Border.LineWeight = OfficeChartLineWeight.Narrow; + //Save the presentation + presentation.Save("output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open the presentation + Dim presentation As IPresentation = Presentation.Open("Sample.pptx") + 'Get the first slide + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart in slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'Change the chart type to 3D + chart.ChartType = OfficeChartType.Bar_Clustered_3D + 'Set the rotation + chart.Rotation = 80 + 'Set the shadow angle + chart.SideWall.Shadow.Angle = 60 + 'Set the backwall border weight + chart.BackWall.Border.LineWeight = OfficeChartLineWeight.Narrow + 'Save the presentation + presentation.Save("output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the elevation of the 3-D chart view, in degrees (�90 to +90 degrees). + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Set the elevation of chart + chart.Elevation = -50; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Set the elevation of chart + chart.Elevation = -50 + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the perspective for the 3-D chart view (0 to 100). + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Set the perspective + chart.Perspective = 100; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Set the perspective of chart + chart.Perspective = 100 + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the height of a 3-D chart as a percentage of the chart width + (between 5 and 500 percent). + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Set the height percent + chart.HeightPercent = 400; + //Set the Depth percent + chart.DepthPercent = 200; + //Set the gap depth of data series + chart.GapDepth = 400; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Set the height percent + chart.HeightPercent = 400 + 'Set the Depth percent + chart.DepthPercent = 200 + 'Set the gap depth of data series + chart.GapDepth = 400 + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the depth of a 3-D chart as a percentage of the chart width + (between 20 and 2000 percent). + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Set the height percent + chart.HeightPercent = 400; + //Set the Depth percent + chart.DepthPercent = 200; + //Set the gap depth of data series + chart.GapDepth = 400; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Set the height percent + chart.HeightPercent = 400 + 'Set the Depth percent + chart.DepthPercent = 200 + 'Set the gap depth of data series + chart.GapDepth = 400 + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets the distance between the data series in a 3-D chart, as a percentage of the marker width.( 0 - 500 ) + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Set the height percent + chart.HeightPercent = 400; + //Set the Depth percent + chart.DepthPercent = 200; + //Set the gap depth of data series + chart.GapDepth = 400; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Set the height percent + chart.HeightPercent = 400 + 'Set the Depth percent + chart.DepthPercent = 200 + 'Set the gap depth of data series + chart.GapDepth = 400 + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets a value that indicates the chart axes are at right angles, independent of chart rotation or elevation. + + Trueif the chart axes are at right angles.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the right angle axes + chart.RightAngleAxes = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the right angle axes + chart.RightAngleAxes = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets whether chart has 3-D scaling. RightAngleAxes property must be true. + + + TrueIf Microsoft Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Set the right angle axes property of the chart + chart.RightAngleAxes = true; + //Set the auto scaling of chart + chart.AutoScaling = true; + //Save the presentation + presentation.Save("sample.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the right angle axes + chart.RightAngleAxes = True + 'Set the auto scaling of chart + chart.AutoScaling = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets if gridlines are drawn two-dimensionally on a 3-D chart. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Set the 2D gridlines for chart + chart.WallsAndGridlines2D = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Set the 2D gridlines for chart + chart.WallsAndGridlines2D = True + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets a value that indicates chart has plot area. + + Trueif chart has plot area. Otherwise False. + + + + Gets or sets the way that blank cells are plotted on a chart. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Set the way blank cells to be plotted + chart.DisplayBlanksAs = OfficeChartPlotEmpty.Interpolated; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Set the way blank cells to be plotted + chart.DisplayBlanksAs = OfficeChartPlotEmpty.Interpolated + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets a value that indicates the visible/hidden cells are plotted. + + True if only visible cells are plottedFalse if both visible and hidden cells are plotted + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Hide the plot visiblity of cells + chart.PlotVisibleOnly = false; + //Hide the chart size with sheet window + chart.SizeWithWindow = false; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Hide the plot visiblity of cells + chart.PlotVisibleOnly = False + 'Hide the chart size with sheet window + chart.SizeWithWindow = False + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets whether the chart size matches with the chart sheet window. True if Microsoft Excel resizes the chart to match the size of the chart sheet window. + False if the chart size isn't attached to the window size. Applies only to chart sheets. + + + + IPresentation presentation = Presentation.Open("Template.pptx"); + ISlide slide = presentation.Slides[0]; + //Get the chart from slide + IPresentationChart chart = slide.Shapes[0] as IPresentationChart; + //set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Hide the plot visiblity of cells + chart.PlotVisibleOnly = false; + //Hide the chart size with sheet window + chart.SizeWithWindow = false; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation As IPresentation = Presentation.Open("Template.pptx") + Dim slide As ISlide = presentation.Slides(0) + 'Get the chart from slide + Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) + 'set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Hide the plot visiblity of cells + chart.PlotVisibleOnly = False + 'Hide the chart size with sheet window + chart.SizeWithWindow = False + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets the collection of the all categories of this chart. Read-only. + + + + + Gets or sets an constant that specifies the source level of the series names. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //set the serie name level + chart.SeriesNameLevel = OfficeSeriesNameLevel.SeriesNameLevelNone; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'set the serie name level + chart.SeriesNameLevel = OfficeSeriesNameLevel.SeriesNameLevelNone + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets an constant that specifies the source level of the chart category labels. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Specify the chart type + chart.ChartType = OfficeChartType.Surface_3D; + //Set the category label level + chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelAll; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Specify the chart title + chart.ChartTitle = "Sales Analysis" + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Specify the chart type + chart.ChartType = OfficeChartType.Surface_3D + 'Set the category label level + chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelAll + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets or sets a style value for the chart. + + + By default is set to 0. Here for example, we set property for style change. + + Chart style value should be between 1 to 48 or 101 to 148. Otherwise style will not be applied. + Not applicable to 2016 charts. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //set the chart style + chart.Style = 14; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'set the chart style + chart.Style = 14 + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + Gets an information about the linked or embedded data associated with a chart. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Specify the chart title + chart.ChartTitle = "Sales Analysis" + 'Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the data range of the category axis + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) + 'Save the presentation + presentation.Save("Output.pptx") + 'Close the presentation + presentation.Close() + + + + + + INamedObject interface declaration - object with name, + index, and ability to serialize. + + + + + Name of the object. + + + + + Index of the object in the collection. + + + + + + + + + + First Series default name. + + + + + Default chart type. + + + + + Prefix for 3D charts. + + + + + Prefix for bar charts. + + + + + Prefix for clustered charts. + + + + + Prefix for contour charts. + + + + + Prefix for exploded charts. + + + + + Prefix for line charts. + + + + + Prefix for charts with markers. + + + + + Prefix for charts with no color. + + + + + Prefix for 100% charts. + + + + + Prefix for charts with smoothed lines. + + + + + Prefix for stacked charts. + + + + + Start of the chart type for area charts. + + + + + Start of the chart type for bar charts. + + + + + Start of the chart type for bubble charts. + + + + + Start of the chart type for column charts. + + + + + Start of the chart type for cone charts. + + + + + Start of the chart type for cylinder charts. + + + + + Start of the chart type for doughnut charts. + + + + + Start of the chart type for line charts. + + + + + Start of the chart type for pie charts. + + + + + Start of the chart type for pyramid charts. + + + + + Start of the chart type for radar charts. + + + + + Start of the chart type for scatter charts. + + + + + Start of the chart type for surface charts. + + + + + Index of the primary axes. + + + + + Si value index. + + + + + Si category index. + + + + + Si bubble index. + + + + + Index of the secondary axes. + + + + + Maximum font count. + + + + + Represents the Defualt Plot Area Top Left X. + + + + + Represents the Default Plot Area Top Left Y. + + + + + Represents the Default Plot Area X Length. + + + + + Represents the Default Plot Area Y Length. + + + + + Represents start types of chart that support data point. + + + + + Represents types of chart that support series axis . + + + + + Represents types of chart that do not support the pivot chart. + + + + + Represents start types of chart that support data table. + + + + + Represents start types of chart that support error bars. + + + + + Represents start types of chart that support trendlines. + + + + + Represents types of charts that contain walls or floor objects. + + + + + Specifies default secondary axis types. + + + + + Represents types of charts that can't be 3d. + + + + + Represents types of charts that are not 3d. + + + + + Represents series type that supports gridlines. + + + + + Represents series type that must be in secondary primary axis. + + + + + Represents + + + + + Represents array that contain start Series types sorted by drawing order. + + + + + Represents chart types that can change as intimate types. + + + + + Represents chart start types that doesn't need plot or walls. + + + + + Represents chart types for pivot chart which need view tag to be rendered. + + + + + 100% charts: + + + + + Stacked charts: + + + + + 3D charts: + + + + + Line charts: + + + + + Bubble charts: + + + + + Charts that can be without category axis: + + + + + Charts that need another color for each value: + + + + + Exploded charts: + + + + + Charts that need series lines: + + + + + Scatter charts: + + + + + Charts with smoothed lines: + + + + + Stock charts: + + + + + Charts with perspective: + + + + + Clustered charts: + + + + + Charts with plot area (by default): + + + + + Legend types that are displayed vertically: + + + + + Unknown bytes. Needed for data labels serialization. + + + + + Charts that have different ways of data labels storage: + + + + + Charts that can have percentage data labels: + + + + + True if the chart file contains theme override file + + + + + Represents the data contained in the ClrMapOvr tag + + + + + Represent the line chart count. + + + + + Represents to parse sheet on demand + + + + + Specifies the contents of this attribute contain an integer between -100 and 100. + + + + + Represents whether datetime axis contains string reference + + + + + Specifies the contents + + + + + Represents whether to serialize gapwidth + + + + + If true than chart contain secondary axis. + + + + + Represents if chart in worksheet. + + + + + Chart type. + + + + + Pivot Chart type. + + + + + DataRange for the chart series. + + + + + True if series are in rows in DataRange; + otherwise False. + + + + + True if has data table; + otherwise False. + + + + + Page setup for the chart. + + + + + X coordinate of the upper-left corner + of the chart in points (1/72 inch). + + + + + Y coordinate of the upper-left corner + of the chart in points (1/72 inch). + + + + + Width of the chart in points (1/72 inch). + + + + + Height of the chart in points (1/72 inch). + + + + + Array of the fonts used in the chart. + + + + + Collection of all the series of this chart. + + + + + Collection of all the categories of this chart. + + + + + Chart's data table. + + + + + Chart sheet properties. + + + + + This record stores scale factors for font scaling. + + + + + Position of the plot area bounding box. The plot-area bounding box + includes the plot area, tick marks, and a small border around + the tick marks. + + + + + Chart frame format. + + + + + Frame for plot area. + + + + + Dictionary that contains information about default text. + Key - Object identifier for the text, + Value - List with text records. + + + + + Title area. + + + + + Represents primary parent axis record and subrecords. + + + + + Represents secondary parent axis record and subrecords. + + + + + Represents legend in chart. + + + + + True if has legend; + otherwise False. + + + + + Represents chart walls/back_walls. + + + + + Represents chart side_walls. + + + + + Represents chart floor. + + + + + Represents chart plot area. + + + + + Indicates if we change chart or Series type. + + + + + Indicates if we change chart or Series type. + + + + + Represents helper array for parse trends. Use only for parsing. + + + + + Represents list with pivot records; + + + + + WindowZoomRecord that was met inside ChartChartRecord block. + + + + + Relations collection. + + + + + Style index for Excel 2007 chart. + + + + + Stream with extracted higlight color data. + + + + + + + + + + Dictionary with error bars which requires future reparsing. + + + + + Preserved band formats. + + + + + Since we don't parse pivot tables we can only preserve pivot source using string variable, this should be remove after we start pivot tables parsing. + + + + + represents the format id of the chart + + + + + Indicates the all button fields in a pivot chart. + + + + + Indicates the Axis button in a pivot chart. + + + + + Indicates the value button in a pivot chart. + + + + + Indicates the legend button in a pivot chart. + + + + + Indicates the filter button in a pivot chart. + + + + + Indicates wheather the chart contains title + + + + + Indicates wheather the chart have both primary and secondary category + + + + + Indicates wheather the chart have both primary and secondary category + + + + + Preserves the Chart's Default Text Property. + TODO: Need to support Chart default text proprety, should be remove after we start to parse. + + + + + Font used for chart drawing. + + + + + Plot area layout + + + + + Collect the filter from category + + + + + Collect the filter from series + + + + + Represents the Excel2013 series name filter + + + + + Represents the Excel2013 category Filter + + + + + Indicates whether the PlotVisOnly attribute exists or not + + + + + Indicates whether the PlotVisOnly attribute exists or not + + + + + Indicates whether Radar series type is changed on parsing + + + + + Indicates whether the chart is copied from another workbook + + + + + Represents the common category label values. + + + + + Represents the category lable reference as range. + + + + + This stream stores xml text with overided themes. + + + + + Contains list of theme colors. + + + + + Indicates that the chart data is cleared or not. + + + + + Boolean value indicates whether the chart style element file (style1.xml) is skipped on parsing + + + + + Preserves the collection of streams hold the color, style and User shapes elements. + + + + + Dictionary with Data Points which has data labels for different chart groups. + + + + + Chart relational items collection + + + + + Represents indicate wheather chart has external workbook or not. + + + + + Represents the chart is created or parsed + + + + + Represents the show data lables over max value. + + + + + short value indicates the chartEx element position + + + + + Boolean value indicates whether the title can be overlay or not + + + + + Boolean value indicates whether the external data need to be updated + Useful only in parsed workbook + + + + + Relation id denotes the external referenced Id + Useful only in parsed workbook + + + + + Contains list of series groups in the chart + + + + + Sets the Worksheet data into the current chart. + + + + + Sets the Worksheet data into the current chart. + + If the value is true then the chart data is recalculated based on the updated value otherwise the same chart data is maintained. + + + + Creates chart and sets its Application and Parent + properties to specified values. + + Application object for the chart. + Parent object for the chart. + + + + Creates chart from the array of BiffRecords. + + Application object for the chart. + Parent object for the chart. + Array of BiffRecords with chart's data. + Position of the first chart's record. + Parse options. + + + + Searches for all necessary parent objects. + + + + + Creates chart title object. + + + + + Parses internal records. + + + + + Parses object's records. + + + + + Saves all chart records in the internal storage (without first BOF record). + + Array with chart records. + Position to the first chart record. + Array that will get all chart records. + Parse options. + + + + Detects type of the chart. + + + When it is not possible to detect chart type. + + + + + Find and Update Category + + + + + + + Update seriesFilter + + + + + + Find the Category Range + + + + + + + + + + Getting the filter from series and categories + + + + + Filter is assigned to the categories/series. + + + + + Get chart title name + + return chart Title name + + + + Returns True if chart is a clustered chart. Read-only. + + + + + Returns True if chart is 100%. Read-only. + + + + + Returns True if chart is a stacked chart. Read-only. + + + + + Indicates whether specified charttype is pie chart. + + Represents chart type to check. + Value indicating whether specified chart type is pie chart. + + + + Creates necessary primary axes. + + Value indicating whether axis is primary. + + + + Initializes all internal collections. + + + + + Checks whether chart support data table. + + + + + Checks whether data table is compatible with specified start type. + + + + + + Initializes collection of default text objects. + + + + + This method is called if DataRange was changed. + + Represents chart type. + + + + Calculate the serie name range by empty spaces + + Input data range to calculate + Input Data Range without series name range + boolean value indicates whether the chart is Office 2016 or not + series name range + + + + Calculate and retruns the range after removing the input series name range + + The complete input range to calculate + Input series name range + Input series name range modified + the axis range + + + + This method is called when IsSeriesInRows is changed. + + + + + Updates series in bubble chart. + + + + + This method is called when chart type is changed. + + Represents chart type. + Value indicating whether series needs to be created. + + + + Updates tick record in surface chart type. + + + + + Updates tick record in radar chart type. + + + + + Updates chart members on type changing. + + Represents new chart type. + + + + Check whether the input chart type is ChartEx type or not + + input chart type + the boolean value indicates whether the chart type is chart ex + + + + Change the chart to chart ex type + + Indicates the old chart type + input chart type to be modified + boolean value indicates whether the series is created or not + + + + Changes Chart type for one of stock types. + + Type to change. + + + + Initializes chart frames. + + + + + Removes chart format. + + Format to remove. + + + + Detects data range by series and category axis. + + Returns detected data range or null if cann't detect. + + + + Detects if series in rows or in column. + + Represents data range. + Returns true if in rows; otherwise in column. + + + + Gets range, that represents series name or category axis by data range. + + Represents data range. + Represents if series in row. + Represents range, that contain series value range. + Returns series name or category axis range, if can; otherwise null. + + + + Validates Series range for min Series count of custom chart type. + + Represents range, that contain Series values. + Represents chart type. + Returns true if can set data range, otherwise false. + + + + Indicates if Series is in data range. + + Represents rec of first Series values. + Represents range of current Series values. + index of this Series in collection. + Represents sheet name. + Returns true if series values is equal. + + + + Gets range, that represents series value range. + + Represents last range. + Represents bubble range. + Represents parent sheet. + Represents name of worksheet in data range. + Returns detected series range. + + + + Gets range, that represents series name values. + + Represents first Series name range. + Represents bubble range. + Represents parent sheet. + Represents sheet name. + Sets out parameter to Series name range. + Value indicating range representing serie name values. + + + + Updates data range rectangle. + + Represents range to update. + Represents rec, that represents current data range. Ref parameter. + Indicates if values is in rows. + Returns true if can update data range; otherwise false. + + + + Detects if series in rows. + + Returns true if series values in row; otherwise - false. + + + + Changes chart type. + + Represents new chart type. + Value indicating whether to create series. + + + + Prepares protection options before setting protection. + + + + + + + Check and update the needed changes for chart to chartEx or chartEx to chart conversion + + previous chart type + new chart type + Value indicating whether to create series. + + + + Clear the stream which is to be ignored on chartEx and chart conversion + + + + + Clones current instance. + + Parent object. + Returns clone of current object. + + + + Clones current instance. + + Hash table with new Worksheet names. + Parent object. + Dictionary with new font indexes. + Returns clone of current object. + + + + Changes primary axis from primary to secondary. + + If parsing - true; otherwise false. + + + + Updates Fbi Font indexes. + + Dictionary with new indexes. + + + + Updates Fontx indexes. + + Dictionary with new indexes. + + + + Chacks for existing gridlines in chart. + + Returns true if can exist; otherwise false. + + + + Check for if any series is bubble_3D,Assign SerieFormat + + Chart to be changed + + + + Sets to default chart grid lines on chart type or Series type changing. + + Represents type to change. + + + + Updates formulas after copy operation. + + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Method saves the chart sheet as image in the stream. + + The stream to save the image. + + + + Indicates whether the chart type is Stock chart + + + + + Creates primary series axis. + + Created axis. + + + + Returns the chart color respect to index on automatic format + + index of the series or data points + total count of series and data points + Indicates whether the parent workbook is binary or not + Indicates whether the color to be taken from color palette only for line,scatter,radar in binary files + the Color of the chart + + + + Get the chart color based on the color index + + input color theme index + the equivalent color based on the theme index + + + + Check whether the formula is valid and returns the boolean value + If returns false, the formula parsing skipped + + input formula value + the boolean value + + + + Gets the chart string for Word comparison. + + + + + + Gets the Biff storage string for Word comparison. + + + + + + + Gets the chart serie string for Word comparison. + + + + + + + Gets the chart legend entry string for Word comparison. + + + + + + + Gets the chart legend record string for Word comparison. + + + + + + + Gets the chart attached label layout record string for Word comparison. + + + + + + + Gets the chart manual layout string for Word comparison. + + + + + + + Gets the chart Legend entries string for Word comparison. + + + + + + + Gets the chart position record string for Word comparison. + + + + + + + Gets the chart marker format record string for Word comparison. + + + + + + + Gets the Gradient stops string for Word comparison. + + + + + + + Gets the Rectangle string for Word comparison. + + + + + + + Gets the chart interior string for Word comparison. + + + + + + + Gets the Shadow string for Word comparison. + + + + + + + Gets the 3D format string for Word comparison. + + + + + + + Gets the Fill string for Word comparison. + + + + + + + Gets the chart Series string for Word comparison. + + + + + + + Gets the chart catrgories string for Word comparison. + + + + + + + Gets the chart data table string for Word comparison. + + + + + + + Gets the chart wall or floor string for Word comparison. + + + + + + + Gets the chart frame format string for Word comparison. + + + + + + + Gets the chart text area string for Word comparison. + + + + + + + Gets the Data range string for Word comparison. + + + + + + + Gets the Work sheet string for Word comparison. + + + + + + + Gets the chart sheet properties record string for Word comparison. + + + + + + + Gets the chart format collection string for Word comparison. + + + + + + + Gets the chart format string for Word comparison. + + + + + + + Gets the chart frame format string for Word comparison. + + + + + + + Gets the chart legend string for Word comparison. + + + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the Font wrapper string for Word comparison. + + + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + Gets the properties text for Chart + + + + + To compare two chart objects whether they have same properties + + + + + + + Compare one data range with another and returns true if equal else false. + + + + + To compare the worksheetImpl object of the chart and return boolean value. + + + + + Compares the ChartFrameFormat of two objects and returns true else false. + + + + + Compares the chart Frame object of two charts with argument as Implementation object. + + + + + Compares the two chart Walls or Floor are equal or not + + + + + Compares two chart series are equal or not. + + + + + Compares the two chart DataTable adn return true if equal else false. + + + + + method checks whether two ChartPosRecord objects are equal in their properties and returns a boolean value + + + + + Method to compare the categories of two chart. + + + + + Method to compare the two fonts are equal or not. + + + + + To compare the two chart category axis , whether they are equal or not. + + + + + To compare the two chart series axis and return whether true or false. + + + + + To compare the two chart Value axis , whether they are equal or not. + + + + + To compare the two chart border objects and return true or false + + + + + To Com[pare two text record objects whether they are equal or not. + + + + + To compare two color object whether they have same color properties. + + + + + Compares two chart ObjectLinkRecord and return a boolean value. + + + + + Compare the two differnet chartAlrunsRecord1 object and return true if equal else false. + + + + + Compare the Label layout records and returns a boolean value false if any properties mismatch else true. + + + + + Compares two ChartAI Record objects and returns a boolean value. + + + + + compares the workbook object with another and return a boolean value. + + + + + To compare the chart layout options and properties object + + + + + Compare the rich Text string of the two objects are same + + + + + To compare the fill objects and return true if equal else false. + + + + + To compare thh Three format options of two chart and return true if equal else falase. + + + + + To compare the shadow properties of two shadow objects are same and return true if equal else false. + + + + + To compare the interior properties of two objects. + + + + + To compare the two gradient stops object have the same properties. + + + + + To compare the HistogramAxis format properties of two objects. + + + + + To compare the chart MarkerFormatRecord of two chart and return a boolean value. + + + + + To compare two diffetent chart Legend entries and return true if equal else false. + + + + + To Compare two manual layout object in the chart and compare the properties and return true if equal else false. + + + + + To Compare two different chart serie Impl objects and return true if equal else false. + + + + + To Compare Two Biff storage objects have same properties and values and return true, else return false + + + + + To Compare two ChartShtpropsRecord objects and return true if equal, otherwise false. + + + + + To compare twp chart format collections objects and return true else return false. + + + + + To Compare the chart format impl objects and return true if equal, otherwise return false. + + + + + To Compare the chart frame format impl objects and check the propeties are same and return true if equal, otherwise return false. + + + + + To Compare the Grid Lines objects adn return true if equal and else false. + + + + + To Compare two Chart PlotGrowthRecord objects are equal or not, if equal return true,else false. + + + + + To Compare two plotAreaLayoutRecord have the same properties and return true if equal else false. + + + + + To Compare two legends are same if equal returns true, else returns false. + + + + + Compare two legend record object and return true if equal or else false. + + + + + + To compare the font wrapper objects in the charts and return true if equal else false. + + + + + Chart relational items collection + + + + + Indicates the DateTime axis contains a string reference or not. + + + + + Specifies the contents of this attribute contain an integer between -100 and 100. + + + + + Represents whether to serialize gapwidth + + + + + Returns or sets the rotation of the 3-D chart view + (the rotation of the plot area around the z-axis, in degrees).(0 to 360 degrees). + + + + + Returns or sets the elevation of the 3-D chart view, in degrees (90 to +90 degrees). + + + + + Returns or sets the perspective for the 3-D chart view.( 0 - 100 ) + + + + + Gets or sets the type of the pivot chart. + + The type of the pivot chart. + + + + It specifies the Format id of the chart + + + + + Gets or sets a value indicating whether [show all field buttons]. + + + true if [show all field buttons]; otherwise, false. + + + + + Gets or sets a value indicating whether [show value field buttons]. + + + true if [show value field buttons]; otherwise, false. + + + + + Gets or sets a value indicating whether [show axis field buttons]. + + + true if [show axis field buttons]; otherwise, false. + + + + + Gets or sets a value indicating whether [show legend field buttons]. + + + true if [show legend field buttons]; otherwise, false. + + + + + Gets or sets a value indicating whether [show report filter field buttons]. + + + true if [show report filter field buttons]; otherwise, false. + + + + + Returns or sets the height of a 3-D chart as a percentage of the chart width + (between 5 and 500 percent). + + + + + Returns or sets the depth of a 3-D chart as a percentage of the chart width + (between 20 and 2000 percent). + + + + + Returns or sets the distance between the data series in a 3-D chart, as a percentage of the marker width.( 0 - 500 ) + + + + + True if the chart axes are at right angles, independent of chart rotation or elevation. + + + + + True if Microsoft Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart.. + + + + + True if gridlines are drawn two-dimensionally on a 3-D chart. + + + + + Type of the chart. + + + + + Represents the Series NameLevel. + + + + + Represents the Cateories NameLevel. + + + + + DataRange for the chart series. + + + + + DataRange for the chart series. + + + + + True if series are in rows in DataRange; + otherwise False. + + + + + Title of the chart. + + + + + Returns object that describes chart title area. Read-only. + + + + + Gets font used for title displaying. Read-only. + + + + + Title of the category axis. + + + + + Indicates wheather the chart have both primary and secondary category + + + + + Indicates wheather the chart have both primary and secondary value + + + + + Title of the value axis. + + + + + Title of the secondary category axis. + + + + + Title of the secondary value axis. + + + + + Title of the series axis. + + + + + Returns primary category axis. Read-only. + + + + + Returns primary value axis. Read-only. + + + + + Returns primary series axis. Read-only. + + + + + Returns secondary category axis. Read-only. + + + + + Returns secondary value axis. Read-only. + + + + + Page setup for the chart. Read-only. + + + + + X coordinate of the upper-left corner + of the chart in points (1/72 inch). + + + + + Y coordinate of the upper-left corner + of the chart in points (1/72 inch). + + + + + Width of the chart in points (1/72 inch). + + + + + Height of the chart in points (1/72 inch). + + + + + Collection of the all series of this chart. Read-only. + + + + + Collection of all categories of this chart.Read-only + + + + + Returns chart format collection in primary axis. + + + + + Returns chart format collection in secondary axis. + + + + + Returns an object that represents the complete chart area for the chart. Read-only. + + + + + Indicates whether chart has chart area. + + + + + Indicates whether chart has plot area. + + + + + Returns plot area frame format. Read-only. + + + + + Returns primary parent axis. + + + + + Returns secondary parent axis. + + + + + Represents chart walls. + + + + + Represents the SideWall + + + + + Represents the BackWall + + + + + Represents chart floor. + + + + + Represents charts dataTable object. + + + + + True if the chart has a data table. + + + + + Represents chart legend. + + + + + True if the chart has a legend object. + + + + + True if the chart has a title. + + + + + Represents the way that blank cells are plotted on a chart. + + + + + True if only visible cells are plotted. False if both visible and hidden cells are plotted. + + + + + Indicates whether to show the PlotVisOnly attribute or not + + + + + True if Microsoft Excel resizes the chart to match the size of the chart sheet window. + False if the chart size isn't attached to the window size. Applies only to chart sheets. + + + + + Indicates whether this chart supports walls and floor. Read-only. + + + + + True if objects are protected. Read-only. + + + + + True if the scenarios of the current sheet are protected. Read-only. + + + + + Gets protected options. Read-only. For sets protection options use "Protect" method. + + + + + Return attached label layout record. Read-only + + + + + Represents the common category label values. + + + + + Represents the category lable reference as range + + + + + Represents the chart is created or parsed + + + + + Indicates the position and alignment of chart title + + + + + Indicates the chart title included in chart + + + + + Gets / Sets the Auto update member variable + + + + + Gets / Sets the ChartEx relation Id member variable + + + + + True if the chart type is treemap or sunburst. Otherwise false + + + + + True if the chart type is histogram or pareto. Otherwise false + + + + + True if the chart contains theme override file + + + + + Represents the data contained in the ClrMapOvr tag + + + + + Get or set indicate wheather the chart has external workbook or not. + + + + + Gets and sets the line chart count. + + + + + Tab color. + + + + + Returns True if chart has a category axis. Read-only. + + + + + Returns True if chart has a value axis. Read-only. + + + + + Returns True if chart has a series axis. Read-only. + + + + + Returns True if chart is stacked. Read-only. + + + + + Returns True if chart is 100%. Read-only. + + + + + Returns True if chart is 3D. Read-only. + + + + + Gets a value indicating whether this instance is pivot chart3 D. + + + true if this instance is pivot chart3 D; otherwise, false. + + + + + Returns True if chart is line. Read-only. + + + + + Returns True if chart needs data format to be saved. Read-only. + + + + + Returns True if chart needs marker format to be saved. Read-only. + + + + + Returns True if chart is a bar chart. Read-only. + + + + + Returns True if chart is a pyramid shape. Read-only. + + + + + Returns True if chart is a conical shape. Read-only. + + + + + Returns True if chart is a cylinder shape. Read-only. + + + + + Returns True if chart is a bubble chart. Read-only. + + + + + Returns True if chart is a doughnut chart. Read-only. + + + + + Returns True if chart should have a different color for each series value. Read-only. + + + + + Returns True if chart is exploded. Read-only. + + + + + Returns True if chart has series lines. Read-only. + + + + + Returns True if chart can have series lines. Read-only. + + + + + Returns True if chart is a scatter chart. Read-only. + + + + + Returns default line pattern for the chart. Read-only. + + + + + Returns True if chart has smoothed lines. Read-only. + + + + + Returns True if this is a stock chart. Read-only. + + + + + Returns True if chart needs drop bars to be saved. Read-only. + + + + + Returns True if chart is a stock chart with volume. Read-only. + + + + + Returns True if chart has perspective. Read-only. + + + + + Returns True if chart is a clustered chart. Read-only. + + + + + Returns True if chart has no plot area. Read-only. + + + + + Returns True if chart is a radar chart. Read-only. + + + + + Returns True if chart is a pie chart. Read-only. + + + + + Returns True if chart has walls. Read-only. + + + + + Returns True if chart has floor. Read-only. + + + + + Gets the serialized axis ids. + + The serialized axis ids. + + + + Returns True if secondary category axis present. Read-only. + + + + + Returns True if secondary value axis present. Read-only. + + + + + Returns True if at least one of the secondary axes is present. Read-only. + + + + + Returns True if chart needs special data labels serialization. + Read-only. + + + + + Returns True if chart can have percentage data labels. Read-only. + + + + + Returns True if chart can have bubble data labels. Read-only. + + + + + Indicates whether chart was manually formatted. + + + + + This record stores scale factors for font scaling. + + + + + Plot are bounding box. Read-only. + + + + + Returns parent workbook. Read-only. + + + + + Returns inner frame format. Read-only. + + + + + Returns inner plot area frame format. Read-only. + + + + + Returns start type of chart type. Read-only. + + + + + Page setup for the chart. Read-only. + + + + + Gets chart options. Read-only. + + + + + Represents if chart is reading from biff stream. Read-only. + + + + + Gets chart format for 3-d charts. Read-only. + + + + + Indicates if we change chart or Series type. + + + + + Resulting chart type after type change operation. + + + + + Returns collection of chart relations. Read-only. + + + + + Style index for chart. + + + + + Gets value indicating whether floor object was created. + + + + + Gets value indicating whether floor object was created. + + + + + Get or set the highlight color stream for data labels + + + + + Gets or sets zoomToFit value. + + + + + Gets the default protection options for the worksheet. + + + + + Gets value indicating whether chart is embeded into worksheet. + + + + + Gets font index from the default font records. + + + + + Gets or sets preserved band formats for surface chart. + + + + + Indicates whether chart has title. + + + + + Preserves the Chart's Default Text Property. + TODO: Need to support Chart default text proprety, should be remove after we start to parse. + + + + + Returns font used for axis text displaying. Read-only. + + + + + Gets or sets to specify the title shall not be shown for this chart. + + + + + Gets or sets the boolean value to load worksheets on demand + + + + + Gets or sets to specify the title shall not be shown for this chart. + + + + + Returns the preserved stream collection of the chart + + + + + Properties for list of chart series groups. + + + + + Provides the data cache information + Used at parsing + + + + + formula referred for category values + + + + + formula referred for series values + + + + + Array of values used in series values + + + + + Array of values used in categories + + + + + Boolean value indicates category values interpreted in row-wise + + + + + Boolean value indicates series values interpreted in row-wise + + + + + format code used in series values + + + + + format code used in category values + + + + + Copy the current properties to chart serie + + series in which properties to be copied + Parent workbook + + + + Gets/Sets formula referred for category values + + + + + Gets / Sets formula referred for series values + + + + + Gets / SetsArray of values used in series values + + + + + Gets/Sets Array of values used in categories + + + + + Gets / SetsBoolean value indicates category values interpreted in row-wise + + + + + Gets / SetsBoolean value indicates series values interpreted in row-wise + + + + + Gets / Sets the format code for series values + + + + + Gets / Sets the format code for series categories + + + + + Represents chart interior. + + + + + Represents the interior of the chart element. + + + + + Gets or sets the foreground color (RGB). + + + + + Gets or sets background color (RGB). + + + + + Gets or sets area pattern. + + + + + Gets or sets index of foreground color. + + + + + Gets or sets the background color index. + + + + + Gets or sets a value that indicates the interior space should use the automatic or custom format. + + Trueif use automatic.Otherwise False. + + + + Gets or sets a value that indicated a foreground and background are swapped when the data value is negative. + + + + + Represents area format record. + + + + + Represents parent book. + + + + + Represents parent Series format. + + + + + Represents series fore color. + + + + + Represents series back color. + + + + + Represents dictionary to convert OfficePattern to excelgradient pattern. + key - OfficePattern, value - OfficeGradientPattern. + + + + + Initialize all static members. + + + + + Creates chart interior instance. + + Represents current application. + Represents parent object. + + + + Finds parent objects. + + + + + Updates foreground color. + + + + + Updated background color. + + + + + Initialize interior for frame format. + + Indicate is autosize interior. + Represents is 3d chart. + Indicates is interior is gray. + + + + Initialize interior for frame format. + + Indicate is autosize interior. + Represents is 3d chart. + Indicates is interior is gray. + Indicates is default color is gray_50. + + + + Clones current object. + + Represents parent object. + Returns cloned object. + + + + Makes copy of the current object and update its parent. + + Represents Parent object to set. + Cloned object. + + + + Foreground color (RGB). + + + + + Background color (RGB). + + + + + Foreground color (RGB). + + + + + Background color (RGB). + + + + + Area pattern. + + + + + Index of foreground color. + + + + + Background color index. + + + + + If true - use automatic format; otherwise custom. + + + + + Foreground and background are swapped when the data value is negative. + + + + + Class used for setting chart elements layout + + + + + Represents the layout of the chart element. + + + + + Gets or sets the manual layout of the chart element. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Get the manual layout + IOfficeChartManualLayout manualLayout = layout.ManualLayout; + //Modify the manual layout left position + manualLayout.Left = 100; + //Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor; + //Modify the manual layout top position + manualLayout.Top = 100; + //Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Get the manual layout + Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout + 'Modify the manual layout left position + manualLayout.Left = 100 + 'Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor + 'Modify the manual layout top position + manualLayout.Top = 100 + 'Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets whether to layout only the plot area. + + + + + Gets or sets how to interpret the Left element for this manual layout + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Modify the legend layout height + layout.Height = 120; + //Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor; + //Modify the legend layout width + layout.Width = 100; + //Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge; + //Modify the legend layout left position + layout.Left = 100; + //Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor; + //Modify the legend layout top position + layout.Top = 100; + //Modify the legend layout top mode + layout.TopMode = LayoutModes.factor; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Modify the legend layout height + layout.Height = 120 + 'Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor + 'Modify the legend layout width + layout.Width = 100 + 'Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge + 'Modify the legend layout left position + layout.Left = 100 + 'Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor + 'Modify the legend layout top position + layout.Top = 100 + 'Modify the legend layout top mode + layout.TopMode = LayoutModes.factor + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets how to interpret the Top element for this manual layout. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Modify the legend layout height + layout.Height = 120; + //Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor; + //Modify the legend layout width + layout.Width = 100; + //Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge; + //Modify the legend layout left position + layout.Left = 100; + //Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor; + //Modify the legend layout top position + layout.Top = 100; + //Modify the legend layout top mode + layout.TopMode = LayoutModes.factor; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Modify the legend layout height + layout.Height = 120 + 'Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor + 'Modify the legend layout width + layout.Width = 100 + 'Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge + 'Modify the legend layout left position + layout.Left = 100 + 'Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor + 'Modify the legend layout top position + layout.Top = 100 + 'Modify the legend layout top mode + layout.TopMode = LayoutModes.factor + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the x location (left) of the chart element as a fraction of the width of the chart. + If Left Mode is Factor, then the position is relative to the default position for the chart element. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Modify the legend layout height + layout.Height = 120; + //Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor; + //Modify the legend layout width + layout.Width = 100; + //Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge; + //Modify the legend layout left position + layout.Left = 100; + //Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor; + //Modify the legend layout top position + layout.Top = 100; + //Modify the legend layout top mode + layout.TopMode = LayoutModes.factor; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Modify the legend layout height + layout.Height = 120 + 'Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor + 'Modify the legend layout width + layout.Width = 100 + 'Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge + 'Modify the legend layout left position + layout.Left = 100 + 'Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor + 'Modify the legend layout top position + layout.Top = 100 + 'Modify the legend layout top mode + layout.TopMode = LayoutModes.factor + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the top of the chart element as a fraction of the height of the chart. + If Top Mode is Factor, then the position is relative to the default position for the chart element. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Modify the legend layout height + layout.Height = 120; + //Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor; + //Modify the legend layout width + layout.Width = 100; + //Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge; + //Modify the legend layout left position + layout.Left = 100; + //Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor; + //Modify the legend layout top position + layout.Top = 100; + //Modify the legend layout top mode + layout.TopMode = LayoutModes.factor; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Modify the legend layout height + layout.Height = 120 + 'Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor + 'Modify the legend layout width + layout.Width = 100 + 'Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge + 'Modify the legend layout left position + layout.Left = 100 + 'Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor + 'Modify the legend layout top position + layout.Top = 100 + 'Modify the legend layout top mode + layout.TopMode = LayoutModes.factor + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets how to interpret the Width element for this manual layout. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Modify the legend layout height + layout.Height = 120; + //Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor; + //Modify the legend layout width + layout.Width = 100; + //Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge; + //Modify the legend layout left position + layout.Left = 100; + //Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor; + //Modify the legend layout top position + layout.Top = 100; + //Modify the legend layout top mode + layout.TopMode = LayoutModes.factor; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Modify the legend layout height + layout.Height = 120 + 'Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor + 'Modify the legend layout width + layout.Width = 100 + 'Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge + 'Modify the legend layout left position + layout.Left = 100 + 'Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor + 'Modify the legend layout top position + layout.Top = 100 + 'Modify the legend layout top mode + layout.TopMode = LayoutModes.factor + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets how to interpret the Height element for this manual layout. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Modify the legend layout height + layout.Height = 120; + //Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor; + //Modify the legend layout width + layout.Width = 100; + //Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge; + //Modify the legend layout left position + layout.Left = 100; + //Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor; + //Modify the legend layout top position + layout.Top = 100; + //Modify the legend layout top mode + layout.TopMode = LayoutModes.factor; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Modify the legend layout height + layout.Height = 120 + 'Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor + 'Modify the legend layout width + layout.Width = 100 + 'Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge + 'Modify the legend layout left position + layout.Left = 100 + 'Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor + 'Modify the legend layout top position + layout.Top = 100 + 'Modify the legend layout top mode + layout.TopMode = LayoutModes.factor + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the width (if Width Mode is Factor) or right (if Width Mode is Edge) of the chart element + as a fraction of the width of the chart. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Modify the legend layout height + layout.Height = 120; + //Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor; + //Modify the legend layout width + layout.Width = 100; + //Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge; + //Modify the legend layout left position + layout.Left = 100; + //Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor; + //Modify the legend layout top position + layout.Top = 100; + //Modify the legend layout top mode + layout.TopMode = LayoutModes.factor; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Modify the legend layout height + layout.Height = 120 + 'Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor + 'Modify the legend layout width + layout.Width = 100 + 'Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge + 'Modify the legend layout left position + layout.Left = 100 + 'Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor + 'Modify the legend layout top position + layout.Top = 100 + 'Modify the legend layout top mode + layout.TopMode = LayoutModes.factor + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the height (if Height Mode is Factor) or bottom (if Height Mode is edge) of the chart + element as a fraction of the height of the chart. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Modify the legend layout height + layout.Height = 120; + //Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor; + //Modify the legend layout width + layout.Width = 100; + //Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge; + //Modify the legend layout left position + layout.Left = 100; + //Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor; + //Modify the legend layout top position + layout.Top = 100; + //Modify the legend layout top mode + layout.TopMode = LayoutModes.factor; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Modify the legend layout height + layout.Height = 120 + 'Modify the legend layout height mode + layout.HeightMode = LayoutModes.factor + 'Modify the legend layout width + layout.Width = 100 + 'Modify the legend layout width mode + layout.WidthMode = LayoutModes.edge + 'Modify the legend layout left position + layout.Left = 100 + 'Modify the legend layout left mode + layout.LeftMode = LayoutModes.factor + 'Modify the legend layout top position + layout.Top = 100 + 'Modify the legend layout top mode + layout.TopMode = LayoutModes.factor + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Parent chart. + + + + + Parent object + + + + + Chart interface + + + + + ChartShape interface + + + + + Manual layout + + + + + Creates chart and sets its Application and Parent + properties to specified values. + + Application object for the chart. + Parent object for the chart. + + + + Creates chart and sets its Application and Parent + properties to specified values. + + Application object for the chart. + Parent object for the chart. + Indicates is auto size. + Indicates is interior is gray. + Indicates whether we should set defaults for fill and border properties. + + + + Searches for all necessary parent objects. + + + + + Set variable to the default state. + + Indicates whether MS Excel should calculate size of the frame. + Indicates is default interior is gray. + + + + Returns parent workbook. Read-only. + + + + + Return the parent object. Read-only. + + + + + Gets or sets the manual layout for the layout + + + + + Gets or sets the layout target + + + + + Gets or sets the left mode (x) value + + + + + Gets or sets the top mode (y) value + + + + + Gets or sets the left (x) value + + + + + Gets or sets the top (y) value + + + + + Gets or sets the Width mode + + + + + Gets or sets the Height mode + + + + + Gets or sets the Width + + + + + Gets or sets the Height + + + + + Indicates whether the manual layout is initialized or not + + + + + Represents collection of ChartLegendEntries in chart legend. + + + + + Represents a collection of all the objects in the specified chart legend. + + + + + Gets the count of legend entries in collection. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the legend entries + IChartLegendEntries legendEntries = chart.Legend.LegendEntries; + //Get the count of the legend entries + int count = legendEntries.Count; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the legend entries + Dim legendEntries As IChartLegendEntries = chart.Legend.LegendEntries + 'Get the count of the legend entries + Dim count As Integer = legendEntries.Count + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets a single instance at the specified index from the collection. Read-only. + + The zero-based index of the element. + Returns the particular legend entry based on the index. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the legend entries + IChartLegendEntries legendEntries = chart.Legend.LegendEntries; + //Get the count of the legend entries + int count = legendEntries.Count; + //Set the bold style for text area + legendEntries[0].TextArea.Bold = true; + //Set the color of the text area + legendEntries[0].TextArea.Color = OfficeKnownColors.Magenta; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the legend entries + Dim legendEntries As IChartLegendEntries = chart.Legend.LegendEntries + 'Get the count of the legend entries + Dim count As Integer = legendEntries.Count + 'Set the bold style for text area + legendEntries(0).TextArea.Bold = True + 'Set the color of the text area + legendEntries(0).TextArea.Color = OfficeKnownColors.Magenta + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Represents global storage for legend entries. + Key - entry index; Value - legend entry. + + + + + Represents parent chart. + + + + + Creates new instance of Legend entry collection. + + Represents current application. + Parent object. + + + + Finds all parent objects. + + + + + Adds legend to collection by index. + + Represents index of new entry in collection.( Zero based ) + Returns added entry. + + + + Adds legend to collection by index. + + Represents index of new entry in collection.( Zero based ) + Represents entry to add. + Returns added entry. + + + + Checks before deleting legend entry. + + Represents index in collection. + If true - can delete; otherwise false. + + + + Updates legend entries collection after removing series. + + Index of legend entry to remove. + + + + Clones current object. + + Parent for cloned object. + Represents list with new font indexes. + Dictionary with new worksheet names. + Returns cloned object. + + + + Clears current collection. + + + + + Represents count of legend entries in collection. Read-only. + + + + + Gets legend entry object by index. Read-only. + + + + + Class used for Chart Legend entries implementation. + + + + + Represents the functionalities for IOfficeChartLegendEntry. + + + + + Clears current data point + + + + + Deletes current legend entry. + + + + + Gets or sets a value that indicates the removal of the legend entry. + + + + + Gets or sets that indicates whether the legend entry is formatted of not. + + + + + Gets object that represents a text area of the single legend entry.Read-only. + + + + + Represents LegendXN record. + + + + + Represents text of legend entry. + + + + + Represents parent chart legend entry collection. + + + + + Represents index of legend entry in collection. + + + + + Creates new instance of legend entry. + + Application object. + Parent object. + Represents index in collection + + + + Finds parent object for collection. + + + + + Clears the current data point + + + + + Deletes the current legend entry. + + + + + Clones current object. + + Parent object. + Dictionary with new font indexes. + Dictionary with new worksheet names. + Returns cloned object. + + + + If true then this entry deleted. otherwise false. + + + + + True if the legend entry has been formatted. + + + + + Returns text area. Read-only. + + + + + Legend-entry index. + + + + + Represents index in collection. + + + + + Represents ChartLegend. + + + + + Represents the legend in a chart. Each chart can have only one legend. + + + + + Clears chart legend. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the chart legend + IOfficeChartLegend legend = chart.Legend; + //Set the legend border format + legend.FrameFormat.Border.AutoFormat = false; + //Set the legend border auto line color + legend.FrameFormat.Border.IsAutoLineColor = false; + //Set the border line color + legend.FrameFormat.Border.LineColor = Color.Blue; + //Set the border line pattern + legend.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot; + //Set the legend border line weight + legend.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Wide; + //Reset the legend format + legend.Clear(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the chart legend + Dim legend As IOfficeChartLegend = chart.Legend + 'Set the legend border format + legend.FrameFormat.Border.AutoFormat = False + 'Set the legend border auto line color + legend.FrameFormat.Border.IsAutoLineColor = False + 'Set the border line color + legend.FrameFormat.Border.LineColor = Color.Blue + 'Set the border line pattern + legend.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot + 'Set the legend border line weight + legend.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Wide + 'Reset the legend format + legend.Clear() + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Deletes chart legend. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the chart legend + IOfficeChartLegend legend = chart.Legend; + //Delete the chart's legend + legend.Delete(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the chart legend + Dim legend As IOfficeChartLegend = chart.Legend + 'Delete the chart's legend + legend.Delete() + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the object that represents the formatting settings of the legend.Read-only. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Get the chart legend + IOfficeChartLegend legend = chart.Legend; + //Set the legend border format + legend.FrameFormat.Border.AutoFormat = false; + //Set the legend border auto line color + legend.FrameFormat.Border.IsAutoLineColor = false; + //Set the border line color + legend.FrameFormat.Border.LineColor = System.Drawing.Color.Blue; + //Set the border line pattern + legend.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot; + //Set the legend border line weight + legend.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Wide; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Get the chart legend + Dim legend As IOfficeChartLegend = chart.Legend + 'Set the legend border format + legend.FrameFormat.Border.AutoFormat = False + 'Set the legend border auto line color + legend.FrameFormat.Border.IsAutoLineColor = False + 'Set the border line color + legend.FrameFormat.Border.LineColor = System.Drawing.Color.Blue + 'Set the border line pattern + legend.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot + 'Set the legend border line weight + legend.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Wide + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets object that represents a text area of the legend.Read-only. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Get the chart legend + IOfficeChartLegend legend = chart.Legend; + //Set the text area font weight + legend.TextArea.Bold = true; + //Set the legend text area forecolor + legend.TextArea.Color = OfficeKnownColors.Sky_blue; + //Set the legend text area font name + legend.TextArea.FontName = "Times New Roman"; + //Set the legend text area font size + legend.TextArea.Size = 15; + //Set the legend text area' strike through + legend.TextArea.Strikethrough = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Get the chart legend + Dim legend As IOfficeChartLegend = chart.Legend + 'Set the text area font weight + legend.TextArea.Bold = True + 'Set the legend text area forecolor + legend.TextArea.Color = OfficeKnownColors.Sky_blue + 'Set the legend text area font name + legend.TextArea.FontName = "Times New Roman" + 'Set the legend text area font size + legend.TextArea.Size = 15 + 'Set the legend text area' strike through + legend.TextArea.Strikethrough = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets X-position of upper-left corner. 1/4000 of chart plot. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Get the chart legend + IOfficeChartLegend legend = chart.Legend; + //Set the legend position + legend.Position = OfficeLegendPosition.Top; + //Set the position of legend + legend.X = 120; + legend.Y = 25; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Get the chart legend + Dim legend As IOfficeChartLegend = chart.Legend + 'Set the legend position + legend.Position = OfficeLegendPosition.Top + 'Set the position of legend + legend.X = 120 + legend.Y = 25 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets Y-position of upper-left corner. 1/4000 of chart plot. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Get the chart legend + IOfficeChartLegend legend = chart.Legend; + //Set the legend position + legend.Position = OfficeLegendPosition.Top; + //Set the position of legend + legend.X = 120; + legend.Y = 25; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Get the chart legend + Dim legend As IOfficeChartLegend = chart.Legend + 'Set the legend position + legend.Position = OfficeLegendPosition.Top + 'Set the position of legend + legend.X = 120 + legend.Y = 25 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the position of the legend on the chart + Type: + 0 = bottom + 1 = corner + 2 = top + 3 = right + 4 = left + 7 = not docked or inside the plot area + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Get the chart legend + IOfficeChartLegend legend = chart.Legend; + //Set the legend position + legend.Position = OfficeLegendPosition.Left; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Get the chart legend + Dim legend As IOfficeChartLegend = chart.Legend + 'Set the legend position + legend.Position = OfficeLegendPosition.Left + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets whether the legend is vertical. + True if vertical legend (a single column of entries); + False if horizontal legend (multiple columns of entries). + Manual-sized legends always have this bit set to False. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Get the chart legend + IOfficeChartLegend legend = chart.Legend; + //Set the legend position + legend.Position = OfficeLegendPosition.Left; + //Enable the vertical legend + legend.IsVerticalLegend = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Get the chart legend + Dim legend As IOfficeChartLegend = chart.Legend + 'Set the legend position + legend.Position = OfficeLegendPosition.Left + 'Enable the vertical legend + legend.IsVerticalLegend = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets legend entries collection. Read-only. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Get the chart legend + IOfficeChartLegend legend = chart.Legend; + //Set the text area font weight + legend.TextArea.Bold = true; + //Set the legend text area forecolor + legend.TextArea.Color = OfficeKnownColors.Sky_blue; + //Set the legend text area font name + legend.TextArea.FontName = "Times New Roman"; + //Set the legend text area font size + legend.TextArea.Size = 15; + //Modify the legend entry + legend.LegendEntries[0].IsDeleted = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Get the chart legend + Dim legend As IOfficeChartLegend = chart.Legend + 'Set the text area font weight + legend.TextArea.Bold = True + 'Set the legend text area forecolor + legend.TextArea.Color = OfficeKnownColors.Sky_blue + 'Set the legend text area font name + legend.TextArea.FontName = "Times New Roman" + 'Set the legend text area font size + legend.TextArea.Size = 15 + 'Modify the legend entry + legend.LegendEntries(0).IsDeleted = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates the legends are overlapping with chart space or not. Default is true. + + Trueif a legend will occupy the chart layout space when a chart layout is being determined.Otherwise False + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Get the chart legend + IOfficeChartLegend legend = chart.Legend; + //Set the layout inclusion + legend.IncludeInLayout = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Get the chart legend + Dim legend As IOfficeChartLegend = chart.Legend + 'Set the layout inclusion + legend.IncludeInLayout = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the Layout settings of TextArea + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; + //Get the chart legend + IOfficeChartLegend legend = chart.Legend; + //Modify the legend layout height + legend.Layout.Height = 100; + //Modify the legend layout height mode + legend.Layout.HeightMode = LayoutModes.factor; + //Modify the legend layout left position + legend.Layout.Left = 100; + //Modify the legend layout left mode + legend.Layout.LeftMode = LayoutModes.factor; + //Modify the legend layout top position + legend.Layout.Top = 100; + //Modify the legend layout top mode + legend.Layout.TopMode = LayoutModes.factor; + //Modify the legend layout width + legend.Layout.Width = 150; + //Modify the legend layout width mode + legend.Layout.WidthMode = LayoutModes.factor; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) + 'Get the chart legend + Dim legend As IOfficeChartLegend = chart.Legend + 'Modify the legend layout height + legend.Layout.Height = 100 + 'Modify the legend layout height mode + legend.Layout.HeightMode = LayoutModes.factor + 'Modify the legend layout left position + legend.Layout.Left = 100 + 'Modify the legend layout left mode + legend.Layout.LeftMode = LayoutModes.factor + 'Modify the legend layout top position + legend.Layout.Top = 100 + 'Modify the legend layout top mode + legend.Layout.TopMode = LayoutModes.factor + 'Modify the legend layout width + legend.Layout.Width = 150 + 'Modify the legend layout width mode + legend.Layout.WidthMode = LayoutModes.factor + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Represents top-left position in pos record. + + + + + Represents chart legend record. + + + + + Represents chart pos record. + + + + + Attached label layout + + + + + Represents chart text record and sub records. + + + + + Represents legend frame format. + + + + + Show legend without overlapping. Default is True. + + + + + Represents parent chart. + + + + + Represents collection of legend entries. + + + + + Represents Excel 2007 layout data + + + + + Represents the TextArea Paragraph + + + + + Represents the legend text properties stream + + + + + Represents the default ChartTextArea settings + + + + + Represents the default ChartTextArea settings + + + + + Creates new instance. + + Current application. + Parent object. + + + + Finds all parent objects. + + + + + Clones current object. + + Parent object. + Array with new font indexes. + Dictionary with new worksheet names. + Returns cloned object. + + + + Clears the chart legend. + + + + + Deletes the chart legend. + + + + + Sets to default position + + + + + Sets legend to custom position. + + + + + Represents chart frame format. + + + + + Return text area of legend. + + + + + Show legend without overlapping. Default is True. + + + + + X-position of upper-left corner. 1/4000 of chart plot. + + + + + Y-position of upper-left corner. 1/4000 of chart plot. + + + + + Type: + 0 = bottom + 1 = corner + 2 = top + 3 = right + 4 = left + 7 = not docked or inside the plot area + + + + + True if vertical legend (a single column of entries); + False if horizontal legend (multiple columns of entries). + Manual-sized legends always have this bit set to False. + + + + + Represents legend entries collection. Read-only. + + + + + Represents the Default ChartTextArea Settings + + + + + Gets or Sets the value indicating whether the ChartTextArea settings are applied from the chart default text settings. + + + + + X-size. + + + + + Y-size. + + + + + True if chart contains data table. + + + + + Spacing: + 0 = close + 1 = medium + 2 = open + + + + + Automatic positioning (True if legend is docked). + + + + + Automatic series distribution (True in Microsoft Excel 5.0). + + + + + X positioning is automatic. + + + + + Y positioning is automatic. + + + + + Gets / sets Excel 2007 layout data + + + + + Represents the Legend Paragraph + + + + + Return attached label layout record. Read-only + + + + + Returns legend record. Read-only. + + + + + Returns position record. Read-only. + + + + + Class used for setting chart elements layout manually + + + + + Represents the manual layout of the chart element. + + + + + Specifies whether to layout only the plot area + + + + + Specifies how to interpret the Left element for this manual layout + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Get the manual layout + IOfficeChartManualLayout manualLayout = layout.ManualLayout; + //Modify the manual layout left position + manualLayout.Left = 100; + //Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor; + //Modify the manual layout top position + manualLayout.Top = 100; + //Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor; + //Modify the manual layout height + manualLayout.Height = 120; + //Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor; + //Modify the manual layout width + manualLayout.Width = 100; + //Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Get the manual layout + Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout + 'Modify the manual layout left position + manualLayout.Left = 100 + 'Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor + 'Modify the manual layout top position + manualLayout.Top = 100 + 'Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor + 'Modify the manual layout height + manualLayout.Height = 120 + 'Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor + 'Modify the manual layout width + manualLayout.Width = 100 + 'Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Specifies how to interpret the Top element for this manual layout. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Get the manual layout + IOfficeChartManualLayout manualLayout = layout.ManualLayout; + //Modify the manual layout left position + manualLayout.Left = 100; + //Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor; + //Modify the manual layout top position + manualLayout.Top = 100; + //Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor; + //Modify the manual layout height + manualLayout.Height = 120; + //Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor; + //Modify the manual layout width + manualLayout.Width = 100; + //Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Get the manual layout + Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout + 'Modify the manual layout left position + manualLayout.Left = 100 + 'Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor + 'Modify the manual layout top position + manualLayout.Top = 100 + 'Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor + 'Modify the manual layout height + manualLayout.Height = 120 + 'Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor + 'Modify the manual layout width + manualLayout.Width = 100 + 'Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Specifies the x location (left) of the chart element as a fraction of the width of the chart. + If Left Mode is Factor, then the position is relative to the default position for the chart element. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Get the manual layout + IOfficeChartManualLayout manualLayout = layout.ManualLayout; + //Modify the manual layout left position + manualLayout.Left = 100; + //Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor; + //Modify the manual layout top position + manualLayout.Top = 100; + //Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor; + //Modify the manual layout height + manualLayout.Height = 120; + //Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor; + //Modify the manual layout width + manualLayout.Width = 100; + //Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Get the manual layout + Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout + 'Modify the manual layout left position + manualLayout.Left = 100 + 'Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor + 'Modify the manual layout top position + manualLayout.Top = 100 + 'Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor + 'Modify the manual layout height + manualLayout.Height = 120 + 'Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor + 'Modify the manual layout width + manualLayout.Width = 100 + 'Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Specifies the top of the chart element as a fraction of the height of the chart. + If Top Mode is Factor, then the position is relative to the default position for the chart element. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Get the manual layout + IOfficeChartManualLayout manualLayout = layout.ManualLayout; + //Modify the manual layout left position + manualLayout.Left = 100; + //Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor; + //Modify the manual layout top position + manualLayout.Top = 100; + //Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor; + //Modify the manual layout height + manualLayout.Height = 120; + //Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor; + //Modify the manual layout width + manualLayout.Width = 100; + //Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Get the manual layout + Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout + 'Modify the manual layout left position + manualLayout.Left = 100 + 'Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor + 'Modify the manual layout top position + manualLayout.Top = 100 + 'Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor + 'Modify the manual layout height + manualLayout.Height = 120 + 'Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor + 'Modify the manual layout width + manualLayout.Width = 100 + 'Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Specifies how to interpret the Width element for this manual layout. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Get the manual layout + IOfficeChartManualLayout manualLayout = layout.ManualLayout; + //Modify the manual layout left position + manualLayout.Left = 100; + //Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor; + //Modify the manual layout top position + manualLayout.Top = 100; + //Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor; + //Modify the manual layout height + manualLayout.Height = 120; + //Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor; + //Modify the manual layout width + manualLayout.Width = 100; + //Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Get the manual layout + Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout + 'Modify the manual layout left position + manualLayout.Left = 100 + 'Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor + 'Modify the manual layout top position + manualLayout.Top = 100 + 'Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor + 'Modify the manual layout height + manualLayout.Height = 120 + 'Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor + 'Modify the manual layout width + manualLayout.Width = 100 + 'Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Specifies how to interpret the Height element for this manual layout. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Get the manual layout + IOfficeChartManualLayout manualLayout = layout.ManualLayout; + //Modify the manual layout left position + manualLayout.Left = 100; + //Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor; + //Modify the manual layout top position + manualLayout.Top = 100; + //Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor; + //Modify the manual layout height + manualLayout.Height = 120; + //Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor; + //Modify the manual layout width + manualLayout.Width = 100; + //Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Get the manual layout + Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout + 'Modify the manual layout left position + manualLayout.Left = 100 + 'Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor + 'Modify the manual layout top position + manualLayout.Top = 100 + 'Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor + 'Modify the manual layout height + manualLayout.Height = 120 + 'Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor + 'Modify the manual layout width + manualLayout.Width = 100 + 'Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Specifies the width (if Width Mode is Factor) or right (if Width Mode is Edge) of the chart element + as a fraction of the width of the chart. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Get the manual layout + IOfficeChartManualLayout manualLayout = layout.ManualLayout; + //Modify the manual layout left position + manualLayout.Left = 100; + //Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor; + //Modify the manual layout top position + manualLayout.Top = 100; + //Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor; + //Modify the manual layout height + manualLayout.Height = 120; + //Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor; + //Modify the manual layout width + manualLayout.Width = 100; + //Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Get the manual layout + Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout + 'Modify the manual layout left position + manualLayout.Left = 100 + 'Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor + 'Modify the manual layout top position + manualLayout.Top = 100 + 'Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor + 'Modify the manual layout height + manualLayout.Height = 120 + 'Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor + 'Modify the manual layout width + manualLayout.Width = 100 + 'Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Specifies the height (if Height Mode is Factor) or bottom (if Height Mode is edge) of the chart + element as a fraction of the height of the chart. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get the chart from the first slide + IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; + //Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top; + //Get the legend layout + IOfficeChartLayout layout = chart.Legend.Layout; + //Get the manual layout + IOfficeChartManualLayout manualLayout = layout.ManualLayout; + //Modify the manual layout left position + manualLayout.Left = 100; + //Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor; + //Modify the manual layout top position + manualLayout.Top = 100; + //Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor; + //Modify the manual layout height + manualLayout.Height = 120; + //Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor; + //Modify the manual layout width + manualLayout.Width = 100; + //Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Open a presentation + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Get the chart from the first slide + Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) + 'Set the legend position + chart.Legend.Position = OfficeLegendPosition.Top + 'Get the legend layout + Dim layout As IOfficeChartLayout = chart.Legend.Layout + 'Get the manual layout + Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout + 'Modify the manual layout left position + manualLayout.Left = 100 + 'Modify the manual layout left mode + manualLayout.LeftMode = LayoutModes.factor + 'Modify the manual layout top position + manualLayout.Top = 100 + 'Modify the manual layout top mode + manualLayout.TopMode = LayoutModes.factor + 'Modify the manual layout height + manualLayout.Height = 120 + 'Modify the manual layout height mode + manualLayout.HeightMode = LayoutModes.factor + 'Modify the manual layout width + manualLayout.Width = 100 + 'Modify the manual layout width mode + manualLayout.WidthMode = LayoutModes.edge + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Parent chart. + + + + /// + Parent object + + + + + byte value used as flag and boolean property for the values + + + + + Creates chart and sets its Application and Parent + properties to specified values. + + Application object for the chart. + Parent object for the chart. + + + + Creates chart and sets its Application and Parent + properties to specified values. + + Application object for the chart. + Parent object for the chart. + Indicates is auto size. + Indicates is interior is gray. + Indicates whether we should set defaults for fill and border properties. + + + + Searches for all necessary parent objects. + + + + + Return the parent object. Read-only. + + + + + Gets or sets the layout target + + + + + Gets or sets the left mode (x) value + + + + + Gets or sets the top mode (y) value + + + + + Gets or sets the left (x) value + + + + + Gets or sets the top (y) value + + + + + Gets or sets the dx value + + + + + Gets or sets the dy value + + + + + Gets or sets the Width mode + + + + + Gets or sets the Height mode + + + + + Gets or sets the Width + + + + + Gets or sets the Height + + + + + Gets or sets the xTL value + + + + + Gets or sets the yTL value + + + + + Gets or sets the xBR value + + + + + Gets or sets the yBR value + + + + + Returns the flag options for this class. + + + + + Class allows users to configure Print setting of chart. + + + + + Summary description for PageSetupBaseImpl. + + + + + Base interface for all page setups. + + + + + Returns or sets the center part of the footer. Read / write String. + + + + + Returns or sets the center part of the header. Read / write String. + + + + + Returns or sets the left part of the footer. Read / write String. + &L Left aligns the characters that follow. + &C Centers the characters that follow. + &R Right aligns the characters that follow. + &E Turns double-underline printing on or off. + &X Turns superscript printing on or off. + &Y Turns subscript printing on or off. + &B Turns bold printing on or off. + &I Turns italic printing on or off. + &U Turns underline printing on or off. + &S Turns strikethrough printing on or off. + &D Prints the current date. + &T Prints the current time. + &F Prints the name of the document. + &A Prints the name of the workbook tab. + &P Prints the page number. + &P+number Prints the page number plus the specified number. + &P-number Prints the page number minus the specified number. + && Prints a single ampersand. + & "fontname" Prints the characters that follow in the specified font. Be sure to include the double quotation marks. + &nn Prints the characters that follow in the specified font size. Use a two-digit number to specify a size in points. + &N Prints the total number of pages in the document. + + + + + Returns or sets the left part of the header. Read / write String. + + + + + Portrait or landscape printing mode. Read / write OfficePageOrientation. + + + + + Returns or sets the right part of the footer. Read / write String. + + + + + Returns or sets the right part of the header. Read / write String. + + + + + Summary description for IBiffStorage. + + + + + Size of the required storage space. Read-only. + + + + + Returns type code of the biff storage. Read-only. + + + + + Returns code of the biff storage. Read-only. + + + + + Indicates whether data array is required by this record. + + + + + Indicates record position in stream. This is a utility member of class and + is used only in the serialization process. Does not influence the data. + + + + + Value of the top margin by default. + + + + + Value of the bottom margin by default. + + + + + Value of the left margin by default. + + + + + Value of the right margin by default. + + + + + Name of the shape with header image. + + + + + Name of the shape with header image. + + + + + Whether to center between horizontal margins. + + + + + Whether to center between vertical margins. + + + + + Unknown record. This record contains additional information about + system printer. If such record is found, it is stored, otherwise we is skipped. + + + + + Stores print setup options. + + + + + This record contains information about worksheet bottom margin. + + + + + This record contains information about worksheet left margin. + + + + + This record contains information about worksheet right margin. + + + + + This record contains information about worksheet top margin. + + + + + Array of headers: 0 - left header, 1 - center header, 2 - right header. + + + + + Array of footers: 0 - left footer, 1 - center footer, 2 - right footer. + + + + + Parent sheet. + + + + + Contains background image. + + + + + Indicates whether page setup is in FitTo printing mode. + + + + + Dictionary which stores Max paper width + + + + + Dictionary which stores Max paper height + + + + + Stores print setup options. + + + + + Value of the header string limit + + + + + Value of the footer string limit + + + + + Fills the dictionaries with paper width size and height size + + + + + + Sets application and parent fields. + + Application object for the page setup. + Parent object for the page setup. + + + + Find parent Worksheet. + + + Can't find parent worksheet. + + + + + This function splits header or footer into three parts left, center, and right. + + + Header (footer) string that will be split into + parts: left, center, right. + + Array of split strings. + + + + Function combines header or footer strings array to one format string. + + Array which must contain only 3 elements. + Combined format string. + + When parameter is null. + + + When number of strings in parts is not 3. + + + + + Serializes some records after main page setup block. + + OffsetArrayList to serialize into. + + + + Parses page setup. + + Array with biff records. + Starting position. + Position after parsing. + + + + Parses record. + + Record to parse. + True if record was successfully parsed, false otherwise. + + + + Returns record of the specified type from the array of Biff + records and sets its position after the returned record. + + Array of Biff records. + Starting from this position, record must be searched. + Type of the needed record. + Biff record if it was found, null otherwise. + + + + Returns current record from the Biff records array and updates its position by 1. + + Array of Biff records. + + Position of the record in the array that will be returned. + + Current record from array. + + + + Returns record of the specified type from the array of Biff + records and sets its position after the returned record. + + Array of Biff records. + Starting from this position, record must be searched. + Type of the needed record. + Biff record if it was found, null otherwise. + + + + This method is called after changes to the page setup. + Sets Saved property of the parent workbook to the False state. + + + + + Size of the required storage space. Read-only. + + + + + Indicates whether fit to page mode is selected. + + + + + Returns or sets the center part of the footer. Read / write String. + Special Formatting symbols: + &P Current page number + &N Page count + &D Current date + &T Current time + &A Sheet name (BIFF5-BIFF8) + &F File name without path + &Z File path without file name (BIFF8X) + &G Picture (BIFF8X) + &B Bold on/off (BIFF2-BIFF4) + &I Italic on/off (BIFF2-BIFF4) + &U Underlining on/off + &E Double underlining on/off (BIFF5-BIFF8) + &S Strikeout on/off + &X Superscript on/off (BIFF5-BIFF8) + &Y Subscript on/off (BIFF5-BIFF8) + &"[FONTNAME]" Set new font [FONTNAME] + &"[FONTNAME],[FONTSTYLE]" Set new font with specified style [FONTSTYLE]. + The style [fontstyle] is in most cases one of Regular, Bold, Italic, + or Bold Italic. But this setting is dependent on the used font, it may + differ (localised style names, or Standard, Oblique, ...). (BIFF5-BIFF8) + &[FONTHEIGHT] Set font height in points ([FONTHEIGHT] is a decimal value). + If this command is followed by a plain number to be printed in the header, + it will be separated from the font height with a space character. + + + + + Returns or sets the center part of the header. Read/write String. + Special Formatting symbols: + &P Current page number + &N Page count + &D Current date + &T Current time + &A Sheet name (BIFF5-BIFF8) + &F File name without path + &Z File path without file name (BIFF8X) + &G Picture (BIFF8X) + &B Bold on/off (BIFF2-BIFF4) + &I Italic on/off (BIFF2-BIFF4) + &U Underlining on/off + &E Double underlining on/off (BIFF5-BIFF8) + &S Strikeout on/off + &X Superscript on/off (BIFF5-BIFF8) + &Y Subscript on/off (BIFF5-BIFF8) + &"[FONTNAME]" Set new font [FONTNAME] + &"[FONTNAME],[FONTSTYLE]" Set new font with specified style [FONTSTYLE]. + The style [fontstyle] is in most cases one of Regular, Bold, Italic, + or Bold Italic. But this setting is dependent on the used font, it may + differ (localised style names, or Standard, Oblique, ...). (BIFF5-BIFF8) + &[FONTHEIGHT] Set font height in points ([FONTHEIGHT] is a decimal value). + If this command is followed by a plain number to be printed in the header, + it will be separated from the font height with a space character. + + + + + Returns or sets the left part of the footer. Read/write String. + Special Formatting symbols: + &P Current page number + &N Page count + &D Current date + &T Current time + &A Sheet name (BIFF5-BIFF8) + &F File name without path + &Z File path without file name (BIFF8X) + &G Picture (BIFF8X) + &B Bold on/off (BIFF2-BIFF4) + &I Italic on/off (BIFF2-BIFF4) + &U Underlining on/off + &E Double underlining on/off (BIFF5-BIFF8) + &S Strikeout on/off + &X Superscript on/off (BIFF5-BIFF8) + &Y Subscript on/off (BIFF5-BIFF8) + &"[FONTNAME]" Set new font [FONTNAME] + &"[FONTNAME],[FONTSTYLE]" Set new font with specified style [FONTSTYLE]. + The style [fontstyle] is in most cases one of Regular, Bold, Italic, + or Bold Italic. But this setting is dependent on the used font, it may + differ (localized style names, or Standard, Oblique, ...). (BIFF5-BIFF8) + &[FONTHEIGHT] Set font height in points ([FONTHEIGHT] is a decimal value). + If this command is followed by a plain number to be printed in the header, + it will be separated from the font height with a space character. + + + + + Returns or sets the left part of the header. Read/write String. + Special Formatting symbols: + &P Current page number + &N Page count + &D Current date + &T Current time + &A Sheet name (BIFF5-BIFF8) + &F File name without path + &Z File path without file name (BIFF8X) + &G Picture (BIFF8X) + &B Bold on/off (BIFF2-BIFF4) + &I Italic on/off (BIFF2-BIFF4) + &U Underlining on/off + &E Double underlining on/off (BIFF5-BIFF8) + &S Strikeout on/off + &X Superscript on/off (BIFF5-BIFF8) + &Y Subscript on/off (BIFF5-BIFF8) + &"[FONTNAME]" Set new font [FONTNAME] + &"[FONTNAME],[FONTSTYLE]" Set new font with specified style [FONTSTYLE]. + The style [fontstyle] is in most cases one of Regular, Bold, Italic, + or Bold Italic. But this setting is dependent on the used font, it may + differ (localised style names, or Standard, Oblique, ...). (BIFF5-BIFF8) + &[FONTHEIGHT] Set font height in points ([FONTHEIGHT] is a decimal value). + If this command is followed by a plain number to be printed in the header, + it will be separated from the font height with a space character. + + + + + Portrait or landscape printing mode. Read/write OfficePageOrientation. + + + + + Returns or sets the right part of the footer. Read / write String. + Special Formatting symbols: + &P Current page number + &N Page count + &D Current date + &T Current time + &A Sheet name (BIFF5-BIFF8) + &F File name without path + &Z File path without file name (BIFF8X) + &G Picture (BIFF8X) + &B Bold on/off (BIFF2-BIFF4) + &I Italic on/off (BIFF2-BIFF4) + &U Underlining on/off + &E Double underlining on/off (BIFF5-BIFF8) + &S Strikeout on/off + &X Superscript on/off (BIFF5-BIFF8) + &Y Subscript on/off (BIFF5-BIFF8) + &"[FONTNAME]" Set new font [FONTNAME] + &"[FONTNAME],[FONTSTYLE]" Set new font with specified style [FONTSTYLE]. + The style [fontstyle] is in most cases one of Regular, Bold, Italic, + or Bold Italic. But this setting is dependent on the used font, it may + differ (localised style names, or Standard, Oblique, ...). (BIFF5-BIFF8) + &[FONTHEIGHT] Set font height in points ([FONTHEIGHT] is a decimal value). + If this command is followed by a plain number to be printed in the header, + it will be separated from the font height with a space character. + + + + + Returns or sets the right part of the header. Read / write String. + Special Formatting symbols: + &P Current page number + &N Page count + &D Current date + &T Current time + &A Sheet name (BIFF5-BIFF8) + &F File name without path + &Z File path without file name (BIFF8X) + &G Picture (BIFF8X) + &B Bold on/off (BIFF2-BIFF4) + &I Italic on/off (BIFF2-BIFF4) + &U Underlining on/off + &E Double underlining on/off (BIFF5-BIFF8) + &S Strikeout on/off + &X Superscript on/off (BIFF5-BIFF8) + &Y Subscript on/off (BIFF5-BIFF8) + &"[FONTNAME]" Set new font [FONTNAME] + &"[FONTNAME],[FONTSTYLE]" Set new font with specified style [FONTSTYLE]. + The style [fontstyle] is in most cases one of Regular, Bold, Italic, + or Bold Italic. But this setting is dependent on the used font, it may + differ (localised style names, or Standard, Oblique, ...). (BIFF5-BIFF8) + &[FONTHEIGHT] Set font height in points ([FONTHEIGHT] is a decimal value). + If this command is followed by a plain number to be printed in the header, + it will be separated from the font height with a space character. + + + + + Represents full header string. Read/write. + + + + + Gets footer full string. Read/write. + + + + + Returns type code of the biff storage. Read-only. + + + + + Returns code of the biff storage. Read-only. + + + + + Indicates whether data array is required by this record. + + + + + Indicates record position in stream. This is a utility member of class and + is used only in the serialization process. Does not influence the data. + + + + + Set indexes as constants. + + + + + Left part of header or footer formatting. + + + + + Center part of header or footer formatting. + + + + + Right part of header or footer formatting. + + + + + This class contains size of the paper. + + + + + Paper width in points. + + + + + Paper height in points. + + + + + Default constructor. To prevent creation without arguments. + + + + + Initializes new instance of paper size entry. + + Paper width. + Paper height. + Units in which width and height are set. + + + + Represents the page setup description. The PageSetup object + contains all page setup attributes (left margin, bottom margin, + paper size, and so on) as properties. + + + + + Returns or sets the number of pages tall the worksheet will be scaled + to when it is printed. Applies only to worksheets. Read / write Boolean. + + + + + Returns or sets the number of pages wide the worksheet will be scaled + to when it is printed. Applies only to worksheets. Read / write Boolean. + + + + + Informs how chart should be printed. + + + + + Sets application and parent fields. + + Application object for the page setup. + Parent object for the page setup. + + + + Recovers Page setup from the Biff Records list starting from position. + + Application object for the page setup. + Parent object for the page setup. + List which contains Biff Records. + Position of PrintHeadersRecord in the array. + + + + Parses record. + + Record to parse. + True if record was successfully parsed, false otherwise. + + + + Serializes some records after main page setup block. + + OffsetArrayList to serialize into. + + + + Clone current Record. + + Parent object for create new instance. + Returns clone of current object. + + + + Returns or sets the number of pages tall the worksheet will be scaled + to when it is printed. Applies only to worksheets. Read / write Boolean. + + + + + Returns or sets the number of pages wide the worksheet will be scaled + to when it is printed. Applies only to worksheets. Read / write Boolean. + + + + + Represents ChartParentAxis record and subrecords. + + + + + Represents chartAxisParent record. + + + + + Represents chart pos record. + + + + + Represents chart category axis. + + + + + Represents Chart value axis. + + + + + Represents Chart series axis. + + + + + Represents parent chart. + + + + + Represents formats coll. + + + + + Creates new instance of chart parent axis. + + Application object. + Parent object. + + + + Creates new instance of chart parent axis. + + Application object. + Parent object. + If true - creates primary axis; otherwise - secondary. + + + + Finds all parent objects. + + + + + Creates global format collection. + + + + + Using for creating secondary axis in Series type change. + + Value indicating whether to create new axis. + + + + Clones current object. + + Parent object. + Dictionary with new font indexes. + Dictionary with new sheet names. + Returns cloned object. + + + + Clears all walls, floor, gridLines. + + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Returns collection that contain chart format. Read-only. + + + + + If true this axis is primary axis; otherwise false. Read-only. + + + + + Gets or sets ChartCategoryAxis. + + + + + Gets or sets the value axis. + + + + + Gets or sets series axis. + + + + + Returns parent chart. Read-only. + + + + + Represents formats collection. Read-only. + + + + + Represents chart plot area object. + + + + + Represents chart plot area record. + + + + + Represents Excel 2007 layout data + + + + + Creates new instance. + + Represents current application + Represents parent object. + + + + Creates new instance. + + Represents current application + Represents parent object. + Represents chart type. + + + + Gets or sets Excel 2007 layout data + + + + + Represents rich text string in the workbook. + + + + + Represents a Rich Text String that can be used to apply several styles inside a single cell. + + + + + Sets font for range of characters. + + First character of the range. + Last character of the range. + Font to set. + + + + Gets font for the specified formatting run. + + Formatting run to return its font + + + + Returns the entire text value + + + + + Gets the formatting runs of rich-text + + + + + Low level text object. + + + + + Parent workbook. + + + + + Indicates whether string is read-only. + + + + + Represents the parent object + + + + + Represents the chart text area + + + + + Initializes new instance of the RichTextString. + + Application object for the RichTextString. + Parent object for the RichTextString. + + + + Searches for all necessary parent objects. + + + + + Sets font for range of characters. + + First character of the range. + Last character of the range. + Font to set. + + + + Gets font for the specified formatting run. + + Formatting run to return its font + + + + Adds font to all required collections.. + + Font to add. + Font index in the collection. + + + + Gets the formatting runs of rich-text + + + + + Gets or sets the chart text area + + + + + Gets the text + + + + + Returns parent object. Read-only. + + + + + Returns parent application object. Read-only. + + + + + ChartSerieDataFormatImpl class. + + + + + Summary description for IOfficeChartSerieDataFormat. + + + + + Gets the object, that represents area of the series. Read-only. + + + + + Gets or sets type that represents base of the shape. + + + + + Gets or sets type that represents top of the shape. + + + + + Get or set Background color: RGB value (high byte = 0) to the marker. + + + + + Gets or sets Foreground color: RGB value (high byte = 0) to the marker. + + + + + Gets or sets type of the marker. + + + + + Gets or sets the marker foreground color as an index into the current color palette. + + + + + Get or sets the marker background color as an index into the current color palette. + + + + + Gets or sets the data-marker size, in points. + + + + + Gets or set a value that indicates whether the marker has auto or custom. + + Trueif marker has auto.Otherwise False. + + + + Gets or sets a value that represents Distance of pie slice from center of pie. + + This property is only for pie chart. + + + + Gets or sets a value that indicates whether to draw bubbles with 3D effects. + + Trueto draw bubbles with 3D effects.Otherwise False. + + + + Gets the object, that represents common formatting settings of the series. Read-only. + + + + + Gets or sets a value that Indicates whether marker is supported by this chart/series. + + Trueif supported.Otherwise False + + + + Gets / Sets the Display label position in Tree map chart + + By Default the Label is overlapped + + + + Gets / Sets a boolean value indicating whether to display + Connector Lines between data points + + Applies only to Waterfall Charts + + + + Gets or sets a value indicating whether a line chart is smoothed or not. The default value is False. + /// + + This property is applicable only for line and scatter charts. + + + + + Gets / Sets a boolean value indicating whether to display + Mean Line in Box and Whisker chart + + + + + Gets / Sets a boolean value indicating whether to display + Mean Marker in Box and Whisker chart + + + + + Gets / Sets a boolean value indicating whether to display + Inner Points in Box and Whisker chart + + + + + Gets / Sets a boolean value indicating whether to display + Outlier Points in Box and Whisker chart + + + + + Gets / Sets whether the Quartile calculation is Exclusive or Inclusive + + Applies only to Box and Whisker Charts + + + + Represents None color index. + + + + + Represents marker size mull prefix. + + + + + Represents start color. + + + + + Represents start pie type. + + + + + Represents start doughnut type. + + + + + Represents start surface type. + + + + + Represents start line type. + + + + + Represents start scatter type. + + + + + Represents default line size in marker record. + + + + + Represents default line size in marker record. + + + + + Represents default line color. + + + + + Represents default index for marker record. + + + + + Represents default color in marker record. + + + + + Represents types of chart that support data format properties. + + + + + Main series data format record. + + + + + 3-D data format. + + + + + Pie format. + + + + + Represents the 3D features + + + + + Represents the Chart Shadow + + + + + Marker format. + + + + + Attached label. + + + + + Represents the beginning of a collection of records + + + + + Represents the shape formatting properties for chart elements + + + + + Represents the end of a collection of records + + + + + Attached label layout + + + + + Series format. + + + + + Represents default data point. + + + + + Parent series. + + + + + Parent chart format. + + + + + Parent chart. + + + + + Represents border. + + + + + Represents chart area properties. + + + + + Represents if DataFormat is Formatted. + + + + + Represents fill properties. + + + + + Used to store the border width value for the marker + Default value is 0.75 + + + + + Object that holds marker background color. + + + + + Object that holds marker foreground color. + + + + + Preserved marker gradient data. + + + + + Represents whether the marker properties exists or not + + + + + Represents whether the data point is parsed or not + + + + + Represents whether the data point color is parsed or not + + + + + Represents whether the MarkerColor is changed or not + + + + + Represents whether the connector lines shown between data points + Used only in waterfall Chart + + + + + It represents the label position in tree map chart + + + + + Object that holds the information required for Box and whisker series + + + + + Object that holds the information required for Histogram series + + + + + + Creates series and set its Application and Parent + properties to specified values. + + Application object for the chart. + Parent object for the chart. + + + + Initializes marker color variables. + + + + + Searches for all necessary parents. + + + + + Sets 3D data format to the default state. + + + + + Set the default values for the records related to serie formats + + + + + Clone current instance. + + Parent object. + Return cloned object. + + + + Copy the Back and Fore ground color objects from the seriedataformat + + + + + + Updates Series index. + + + + + Changes data format to create radar chart. + + Type to change. + + + + Changes data format to create scatter chart. + + Type to change. + + + + Changes data format to create line chart. + + Type to change. + + + + Updates bar column properties in series and chartformat points. + + If true updates data format top property; otherwise data format base. + + + + Updates line color for line, radar, skater Series data format. + + Returns updated color index or -1. + + + + Updates color for line, markers and series. + + Represents series to update color. + Represents data point to update color. + Returns updated color index. + + + + Updates series formats for chartformat object. + + + + + Clears sub data formats on property change. + + + + + Validate marker properties. + + If true than marker properties valid for this chart type; otherwise false. + + + + Indicates whether interior object is supported. Read-only. + + Chart type to check whether interior object is supported. + Value indicating whether interior object is supported. + + + + Indicates whether border object is supported. Read-only. + + Chart type to check whether border is supported. + Vale indicating whether border is supported. + + + + Event handler for marker foreground color change. + + + + + Event handler for marker background color change. + + + + + Gets or sets the value indicating whether line properties are created. + + + + + Gets a value indicating whether this instance has shadow properties. + + + true if this instance has shadow properties; otherwise, false. + + + + + Gets the chart3 D options. + + The chart3 D options. + + + + This property Indicates whether the Shadow object has been created(which includes the 3D properties) + + + + + Gets or sets the value indicating whether interior object was created. + + + + + Returns object, that represents line properties. Read-only. + + + + + Returns object, that represents area properties. Read-only. + + + + + Represents the base data format. + + + + + Represents the top data format. + + + + + Foreground color: RGB value (high byte = 0). + + + + + Background color: RGB value (high byte = 0). + + + + + Type of marker. + + + + + Index to color of marker border. + + + + + Index to color of marker fill. + + + + + Size of markers. + + + + + Automatic color. + + + + + Distance of pie slice from center of pie. + + + + + True if the line series has a smoothed line. + + + + + True to draw bubbles with 3D effects. + + + + + Represents fill options. Read-only. + + + + + Gets value indicating whether chart supports transparency. + + + + + Gets common Series options. Read-only. + + + + + Indicates whether marker is supported by this chart/series. + + + + + Returns object, that represents area properties. Read-only. + + + + + Indicates whether interior object is supported. Read-only. + + + + + Indicates whether border object is supported. Read-only. + + + + + Indicates whether the marker properties exists or not + + + + + Gets / Sets the line width of the marker + Stored on parsing only for Chart to Image Conversion + + + + + Returns parent Series. Read-only. + + + + + Returns data format main record. + + + + + Returns pie format record. Read-only. + + + + + Returns marker format main record. Read-only. + + + + + Returns 3dData format main record. Read-only. + + + + + Returns Series format main record. Read-only. + + + + + Returns attached label record. Read-only. + + + + + If line not null - returns true; otherwise - false. Read-only. + + + + + If marker is not null returns marker format main record otherwise null. Read-only. + + + + + If 3dData not Null returns 3DData format main record; otherwise - returns null. Read-only. + + + + + if SerieFormat not Null returns Series format main record; otherwise - returns null. Read-only. + + + + + Returns pie format or null. Read-only. + + + + + Gets or sets Series number. + + + + + If true - format has marker; otherwise false. Read-only. + + + + + If true - format has line; otherwise false. Read-only. + + + + + If true - format has smoothed line; otherwise false. Read-only. + + + + + Gets Series type. Read-only. + + + + + Indicate if data format is formatted. + + + + + Represents parent chart. Read-only. + + + + + Gets object that holds marker background color. + + + + + Gets object that holds marker foreground color. + + + + + Gets or sets the transparency of the line marker. + + The transparency. + + + + Gets or sets whether the data point is parsed or not. + If parsed, it will be serialized. + + + + + Gets or sets whether the data point color is parsed or not. + If parsed, it will be serialized. + + + + + Indicates whether the MarkerColor is changed or not. + + + + + Indicates whether the default properties are exist or not. + + + + + Represents foreground color. + + + + + Represents background color. + + + + + Represents pattern. + + + + + Indicates, if automatic format is used for area. + + + + + Represents visibility. + + + + + Gets/ Sets the histogram axis format property for individual series + + + + + Gets or sets a boolean value indicating whether to display + Connector Lines between data points + + Applies only to Waterfall Charts + + + + Gets / Sets the Display label position in Tree map chart + + By Default the Label is overlapped + + + + Gets or sets a boolean value indicating whether to display + Mean Line in Box and Whisker chart + + + + + Gets or sets a boolean value indicating whether to display + Mean Marker in Box and Whisker chart + + + + + Gets or sets a boolean value indicating whether to display + Inner Points in Box and Whisker chart + + + + + Gets or sets a boolean value indicating whether to display + Outlier Points in Box and Whisker chart + + + + + Gets / Sets whether the Quartile calculation is Exclusive or Inclusive + + Applies only to Box and Whisker Charts + + + + Get or Set the isBinning by Category member value + + + + + Get or Set the number of Bins member value + + + + + Get or Set the Bin width member value + + + + + Get or Set the overflow bin member value + + + + + Get or Set the underflow bin member value + + + + + Get or Set the value for interval is closed in left or right + + + + + This class represents ChartSeries object. + + + + + Represents a series in a chart. + + + + + Creates error bar for the series. + + If true - on Y axis; otherwise on X axis. + Returns error bar object of the series. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Add error bars to series + serieJan.ErrorBar(true); + serieFeb.ErrorBar(false); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Add error bars to series + serieJan.ErrorBar(True) + serieFeb.ErrorBar(False) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Creates error bar for the series. + + If true - on Y axis; otherwise on X axis. + Represents include type. + Return error bar object of the series. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Add error bars to series + serieJan.ErrorBar(true,OfficeErrorBarInclude.Both); + serieFeb.ErrorBar(false,OfficeErrorBarInclude.Minus); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Add error bars to series + serieJan.ErrorBar(True, OfficeErrorBarInclude.Both) + serieFeb.ErrorBar(False, OfficeErrorBarInclude.Minus) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Creates error bar for the series. + + If true - on Y axis; otherwise on X axis. + Represents include type. + Represents error bar type. + Return error bar object. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Add error bars to series + serieJan.ErrorBar(true, OfficeErrorBarInclude.Both, OfficeErrorBarType.StandardDeviation); + serieFeb.ErrorBar(false, OfficeErrorBarInclude.Plus, OfficeErrorBarType.StandardError); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Add error bars to series + serieJan.ErrorBar(True, OfficeErrorBarInclude.Both, OfficeErrorBarType.StandardDeviation) + serieFeb.ErrorBar(False, OfficeErrorBarInclude.Plus, OfficeErrorBarType.StandardError) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Creates error bar for the series. + + If true - on Y axis; otherwise on X axis. + Represents include type. + Represents error bar type. + Represents number value. + Return error bar object. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Add error bars to series + serieJan.ErrorBar(true, OfficeErrorBarInclude.Both, OfficeErrorBarType.StandardDeviation, 12.34); + serieFeb.ErrorBar(false, OfficeErrorBarInclude.Plus, OfficeErrorBarType.StandardError, 25.89); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Add error bars to series + serieJan.ErrorBar(True, OfficeErrorBarInclude.Both, OfficeErrorBarType.StandardDeviation, 12.34) + serieFeb.ErrorBar(False, OfficeErrorBarInclude.Plus, OfficeErrorBarType.StandardError, 25.89) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Creates error bar for the series. + + If true - on Y axis; otherwise on X axis. + Represents plus range. + Represents minus range. + Returns error bar object. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line; + //Set the error bar X for serie + serieJan.HasErrorBarsX = true; + //Set the plus range + serieJan.ErrorBarsX.PlusRange = chart.ChartData[2, 2, 4, 2]; + //Set the minus range + serieJan.ErrorBarsX.MinusRange = chart.ChartData[2, 3, 4, 3]; + //Add Error bar to serie + serieJan.ErrorBar(true, serieJan.ErrorBarsX.PlusRange, serieJan.ErrorBarsX.MinusRange); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Set the chart type + chart.ChartType = OfficeChartType.Scatter_Line + 'Set the error bar X for serie + serieJan.HasErrorBarsX = True + 'Set the plus range + serieJan.ErrorBarsX.PlusRange = chart.ChartData(2, 2, 4, 2) + 'Set the minus range + serieJan.ErrorBarsX.MinusRange = chart.ChartData(2, 3, 4, 3) + 'Add Error bar to serie + serieJan.ErrorBar(True, serieJan.ErrorBarsX.PlusRange, serieJan.ErrorBarsX.MinusRange) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value to specify the series to invert its colors if the value is negative. + + + + IPresentation presentationDocument = Presentation.Create(); + ISlide slide = presentationDocument.Slides.Add(SlideLayoutType.Blank); + //Loads the excel file as stream + Stream excelStream = File.OpenRead("Excel_Template.xlsx"); + //Creates and Appends chart to the paragraph with excel stream as parameter + IPresentationChart chart = slide.Shapes.AddChart(excelStream, 1, "A1:C6", new RectangleF(0, 0, 470, 300)); + foreach (IOfficeChartSerie serie in chart.Series) + { + serie.InvertIfNegative = true; + series.InvertIfNegativeColor = Color.Red; + } + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 6, 1]; + //Sets chart type and title + chart.ChartType = OfficeChartType.Bar_Clustered; + chart.ChartTitle = "Purchase Details"; + chart.ChartTitleArea.FontName = "Calibri"; + chart.ChartTitleArea.Size = 14; + chart.PrimaryValueAxis.CrossesAt = 1500; + presentationDocument.Save("Output.pptx"); + presentationDocument.Close(); + + + Dim presentationDocument As IPresentation = Presentation.Create() + Dim slide As ISlide = presentationDocument.Slides.Add(SlideLayoutType.Blank) + 'Loads the excel file as stream + Dim excelStream As Stream = File.OpenRead("Excel_Template.xlsx") + 'Creates and Appends chart to the paragraph with excel stream as parameter + Dim chart As IPresentationChart = slide.Shapes.AddChart(excelStream, 1, "A1:C6", New RectangleF(0, 0, 470, 300)) + For Each serie As IOfficeChartSerie In chart.Series + serie.InvertIfNegative = False + series.InvertIfNegativeColor = Color.Red + Next + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 6, 1) + 'Sets chart type and title + chart.ChartType = OfficeChartType.Bar_Clustered + chart.ChartTitle = "Purchase Details" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + chart.PrimaryValueAxis.CrossesAt = 1500 + presentationDocument.Save("Output.pptx") + presentationDocument.Close() + + + + + + Gets or sets the value range of the series. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentationDocument As IPresentation = Presentation.Create() + Dim slide As ISlide = presentationDocument.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Save the presentation + presentationDocument.Save("Output.pptx") + 'Close the presentation + presentationDocument.Close() + + + + + + Gets or sets a value to specify the series to invert its colors if the value is negative. The default value is true. + + + + IPresentation presentationDocument = Presentation.Create(); + ISlide slide = presentationDocument.Slides.Add(SlideLayoutType.Blank); + //Loads the excel file as stream + Stream excelStream = File.OpenRead("Excel_Template.xlsx"); + //Creates and Appends chart to the paragraph with excel stream as parameter + IPresentationChart chart = slide.Shapes.AddChart(excelStream, 1, "A1:C6", new RectangleF(0, 0, 470, 300)); + foreach (IOfficeChartSerie serie in chart.Series) + { + serie.InvertIfNegative = false; + } + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 6, 1]; + //Sets chart type and title + chart.ChartType = OfficeChartType.Bar_Clustered; + chart.ChartTitle = "Purchase Details"; + chart.ChartTitleArea.FontName = "Calibri"; + chart.ChartTitleArea.Size = 14; + chart.PrimaryValueAxis.CrossesAt = 1500; + presentationDocument.Save("Output.pptx"); + presentationDocument.Close(); + + + Dim presentationDocument As IPresentation = Presentation.Create() + Dim slide As ISlide = presentationDocument.Slides.Add(SlideLayoutType.Blank) + 'Loads the excel file as stream + Dim excelStream As Stream = File.OpenRead("Excel_Template.xlsx") + 'Creates and Appends chart to the paragraph with excel stream as parameter + Dim chart As IPresentationChart = slide.Shapes.AddChart(excelStream, 1, "A1:C6", New RectangleF(0, 0, 470, 300)) + For Each serie As IOfficeChartSerie In chart.Series + serie.InvertIfNegative = False + Next + chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 6, 1) + 'Sets chart type and title + chart.ChartType = OfficeChartType.Bar_Clustered + chart.ChartTitle = "Purchase Details" + chart.ChartTitleArea.FontName = "Calibri" + chart.ChartTitleArea.Size = 14 + chart.PrimaryValueAxis.CrossesAt = 1500 + presentationDocument.Save("Output.pptx") + presentationDocument.Close() + + + + + + Gets or sets the range of category labels of the series. + + + + //Creates a Presentation instance + IPresentation presentation = Presentation.Open("BubbleChart.pptx"); + ISlide slide = presentation.Slides[0]; + IPresentationChart chart = slide.Charts[0]; + //Retrieves the range of category labels + IOfficeDataRange dataRange = chart.Series[0].CategoryLabels; + //Changes the category label of a specific cell within the data range. + dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 2.4); + //Saves the presentation + presentation.Save("Output.pptx"); + //Closes the presentation + presentation.Close(); + + + 'Creates a Presentation instance + Dim presentationDocument As IPresentation = Presentation.Open("BubbleChart.pptx") + Dim slide As ISlide = presentationDocument.Slides(0) + Dim chart As IPresentationChart = slide.Charts(0) + Retrieves the range of category labels + Dim dataRange As IOfficeDataRange = chart.Series(0).CategoryLabels + 'Changes the category label of a specific cell within the data range. + dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 2.4) + 'Saves the presentation + presentationDocument.Save("Output.pptx") + 'Closes the presentation + presentationDocument.Close() + + + + + + Gets or sets the range of bubble sizes of the bubble chart. + + + + //Creates a Presentation instance + IPresentation presentation = Presentation.Open("BubbleChart.pptx"); + ISlide slide = presentation.Slides[0]; + IPresentationChart chart = slide.Charts[0]; + //Retrieves the range of bubble sizes of the chart + IOfficeDataRange dataRange = chart.Series[0].Bubbles; + //Changes the bubble size in a specific cell within the data range. + dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 20); + //Saves the presentation + presentation.Save("Output.pptx"); + //Closes the presentation + presentation.Close(); + + + 'Creates a Presentation instance + Dim presentationDocument As IPresentation = Presentation.Open("BubbleChart.pptx") + Dim slide As ISlide = presentationDocument.Slides(0) + Dim chart As IPresentationChart = slide.Charts(0) + 'Retrieves the range of bubble sizes of the chart + Dim dataRange As IOfficeDataRange = chart.Series(0).Bubbles + 'Changes the bubble size in a specific cell within the data range. + dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 20) + 'Saves the presentation + presentationDocument.Save("Output.pptx") + 'Closes the presentation + presentationDocument.Close() + + + + + + Gets or sets the name of the series. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type as Radar + chart.ChartType = OfficeChartType.Radar; + //Reset the name of the serie + serieFeb.Name = "February"; + //Get the Serie Format + IOfficeChartSerieDataFormat serieFormat = serieFeb.SerieFormat; + //Set the radar axis labels + serieFormat.CommonSerieOptions.HasRadarAxisLabels = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type as Radar + chart.ChartType = OfficeChartType.Radar + 'Reset the name of the serie + serieFeb.Name = "February" + 'Get the Serie Format + Dim serieFormat As IOfficeChartSerieDataFormat = serieFeb.SerieFormat + 'Set the radar axis labels + serieFormat.CommonSerieOptions.HasRadarAxisLabels = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the Name range of the series. + + + + //Creates a Presentation instance + IPresentation presentation = Presentation.Open("BubbleChart.pptx"); + ISlide slide = presentation.Slides[0]; + IPresentationChart chart = slide.Charts[0]; + //Retrieves the name range of the series + IOfficeDataRange dataRange = chart.Series[0].NameRange; + //Sets a new name to the series + dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, "My serie Name"); + //Saves the presentation + presentation.Save("Output.pptx"); + //Closes the presentation + presentation.Close(); + + + 'Creates a Presentation instance + Dim presentationDocument As IPresentation = Presentation.Open("BubbleChart.pptx") + Dim slide As ISlide = presentationDocument.Slides(0) + Dim chart As IPresentationChart = slide.Charts(0) + 'Retrieves the name range of the series + Dim dataRange As IOfficeDataRange = chart.Series(0).NameRange + 'Sets a new name to the series + dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, "My serie Name") + 'Saves the presentation + presentationDocument.Save("Output.pptx") + 'Closes the presentation + presentationDocument.Close() + + + + + + Gets or Sets a value that Indicates whether to use primary axis for series drawing. + + True if use primary axis.Otherwise False. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the primary axis for the serie + serieMarch.UsePrimaryAxis = true; + //Add the trendline to chart serie + serieJan.TrendLines.Add(); + serieJan.TrendLines.Add(OfficeTrendLineType.Moving_Average); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create()///Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the primary axis for the serie + serieMarch.UsePrimaryAxis = True + 'Add the trendline to chart serie + serieJan.TrendLines.Add() + serieJan.TrendLines.Add(OfficeTrendLineType.Moving_Average) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the collection of data points of the series. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the series data points + IOfficeChartDataPoints dataPoints = chart.Series[0].DataPoints; + //Get the data point using the index, read only + IOfficeChartDataPoint dataPoint = dataPoints[0]; + //Get the data labels of data point + IOfficeChartDataLabels dataLabels = dataPoint.DataLabels; + //Set the position of the data label + dataLabels.Position = OfficeDataLabelPosition.Center; + //Set the series name + dataLabels.IsSeriesName = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the series data points + Dim dataPoints As IOfficeChartDataPoints = chart.Series(0).DataPoints + 'Get the data point using the index, read only + Dim dataPoint As IOfficeChartDataPoint = dataPoints(0) + 'Get the data labels of data point + Dim dataLabels As IOfficeChartDataLabels = dataPoint.DataLabels + 'Set the position of the data label + dataLabels.Position = OfficeDataLabelPosition.Center + 'Set the series name + dataLabels.IsSeriesName = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the object that represents formatting settings of the series.Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type as Radar + chart.ChartType = OfficeChartType.Radar; + //Reset the name of the serie + serieFeb.Name = "February"; + //Get the Serie Format + IOfficeChartSerieDataFormat serieFormat = serieFeb.SerieFormat; + //Set the radar axis labels + serieFormat.CommonSerieOptions.HasRadarAxisLabels = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type as Radar + chart.ChartType = OfficeChartType.Radar + 'Reset the name of the serie + serieFeb.Name = "February" + 'Get the Serie Format + Dim serieFormat As IOfficeChartSerieDataFormat = serieFeb.SerieFormat + 'Set the radar axis labels + serieFormat.CommonSerieOptions.HasRadarAxisLabels = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a series type for the series. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the serie type for each serie + serieFeb.SerieType = OfficeChartType.Line; + serieJan.SerieType = OfficeChartType.Area; + serieMarch.SerieType = OfficeChartType.Bar_Clustered; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the serie type for each serie + serieFeb.SerieType = OfficeChartType.Line + serieJan.SerieType = OfficeChartType.Area + serieMarch.SerieType = OfficeChartType.Bar_Clustered + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the object that represents horizontal error bars. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type as Scatter line + chart.ChartType = OfficeChartType.Scatter_Line; + //Set the error Bar Y + serieJan.HasErrorBarsY = true; + //Set the color of error barX border + serieJan.ErrorBarsY.Border.LineColor = System.Drawing.Color.Red; + //Set the has cap + serieJan.ErrorBarsY.HasCap = true; + //Set the include + serieJan.ErrorBarsY.Include = OfficeErrorBarInclude.Minus; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type as Scatter line + chart.ChartType = OfficeChartType.Scatter_Line + 'Set the error Bar Y + serieJan.HasErrorBarsY = True + 'Set the color of error barX border + serieJan.ErrorBarsY.Border.LineColor = System.Drawing.Color.Red + 'Set the has cap + serieJan.ErrorBarsY.HasCap = True + 'Set the include + serieJan.ErrorBarsY.Include = OfficeErrorBarInclude.Minus + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that Indicates the series contains Y error bars. + + Trueif series contains Y error bars.Otherwise False. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type as Scatter line + chart.ChartType = OfficeChartType.Scatter_Line; + //Set the error Bar Y + serieJan.HasErrorBarsY = true; + //Set the color of error barX border + serieJan.ErrorBarsY.Border.LineColor = System.Drawing.Color.Red; + //Set the has cap + serieJan.ErrorBarsY.HasCap = true; + //Set the include + serieJan.ErrorBarsY.Include = OfficeErrorBarInclude.Minus; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type as Scatter line + chart.ChartType = OfficeChartType.Scatter_Line + 'Set the error Bar Y + serieJan.HasErrorBarsY = True + 'Set the color of error barX border + serieJan.ErrorBarsY.Border.LineColor = System.Drawing.Color.Red + 'Set the has cap + serieJan.ErrorBarsY.HasCap = True + 'Set the include + serieJan.ErrorBarsY.Include = OfficeErrorBarInclude.Minus + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the object that represents vertical error bars. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type as Scatter line + chart.ChartType = OfficeChartType.Scatter_Line; + //Set the error Bar X + serieJan.HasErrorBarsX = true; + //Set the color of error barX border + serieJan.ErrorBarsX.Border.LineColor = System.Drawing.Color.Red; + //Set the has cap + serieJan.ErrorBarsX.HasCap = true; + //Set the include + serieJan.ErrorBarsX.Include = OfficeErrorBarInclude.Minus; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type as Scatter line + chart.ChartType = OfficeChartType.Scatter_Line + 'Set the error Bar X + serieJan.HasErrorBarsX = True + 'Set the color of error barX border + serieJan.ErrorBarsX.Border.LineColor = System.Drawing.Color.Red + 'Set the has cap + serieJan.ErrorBarsX.HasCap = True + 'Set the include + serieJan.ErrorBarsX.Include = OfficeErrorBarInclude.Minus + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that Indicates the series contains X error bars. + + Trueif series contains X error bars.Otherwise False. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type as Scatter line + chart.ChartType = OfficeChartType.Scatter_Line; + //Set the error Bar X + serieJan.HasErrorBarsX = true; + //Set the color of error barX border + serieJan.ErrorBarsX.Border.LineColor = System.Drawing.Color.Red; + //Set the has cap + serieJan.ErrorBarsX.HasCap = true; + //Set the include + serieJan.ErrorBarsX.Include = OfficeErrorBarInclude.Minus; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type as Scatter line + chart.ChartType = OfficeChartType.Scatter_Line + 'Set the error Bar X + serieJan.HasErrorBarsX = True + 'Set the color of error barX border + serieJan.ErrorBarsX.Border.LineColor = System.Drawing.Color.Red + 'Set the has cap + serieJan.ErrorBarsX.HasCap = True + 'Set the include + serieJan.ErrorBarsX.Include = OfficeErrorBarInclude.Minus + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the trend lines collection of the series. Read-only. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the primary axis for the serie + serieMarch.UsePrimaryAxis = true; + //Add the trendline to chart serie + serieJan.TrendLines.Add(); + serieJan.TrendLines.Add(OfficeTrendLineType.Moving_Average); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the primary axis for the serie + serieMarch.UsePrimaryAxis = True + 'Add the trendline to chart serie + serieJan.TrendLines.Add() + serieJan.TrendLines.Add(OfficeTrendLineType.Moving_Average) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Returns or sets a value that determines whether the specified chart series is filtered out from the chart. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Filter the serie value + serieJan.IsFiltered = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentation__1 As IPresentation = Presentation.Create() + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Filter the serie value + serieJan.IsFiltered = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the Pareto line on the Pareto charts. Read-only. + + + Gets the Pareto line on the Pareto charts. Read-only. + + + + + Index for format that corresponds to all points in the Series. + + + + + Represents default point number for surface chart type. + + + + + Represents default chart group. + + + + + Represents start radar type. + + + + + Represents true as string. + + + + + Represents false as string. + + + + + Represent the value form cells range values collection in datalabels. + + + + + Values range for the series. + + + + + Category labels for the series. + + + + + Bubble sizes for the series. + + + + + Name of the series. + + + + + Represents whether the series are reversed. + + + + + Dictionary IndexIdentifier-to-ChartAiRecord + + + + + Index of the chart group this axis belongs to. + + + + + Parent workbook for the series. + + + + + ChartSeries record describing this series. + + + + + Parent chart for the series. + + + + + Parent series collection. + + + + + Index of the series. + + + + + Drawing order of the series. + + + + + Indicates whether series name has default value. + + + + + Data points collection. + + + + + Represents Series type. + + + + + Represents array of number or label records for value range. + + + + + Represents array of number or label records for category range. + + + + + Represents array of number or label records for bubble range. + + + + + Represents array of values for value range. + + + + + Represents array of values for category range. + + + + + Represents array of values for bubble range. + + + + + Represents series name range. + + + + + Represents not default series text for first Series on parsing. + + + + + Represents Y error bar. + + + + + Represents X error bar. + + + + + Represents trend line collection. + + + + + This element specifies the series + to invert its colors if the value is negative. + + + + + Represents the string reference formula + + + + + Represents the number reference formula + + + + + Represents the number reference formula + + + + + Preserve the drop lines + + + + + Reprsent the Filter option + + + + + Reprsent the category filter range + + + + + Reprsent the category value Range + + + + + Specifies the kind of grouping for a column, line or area chart + + + + + Represents chart gapWidth for the first series + + + + + Represents chart overlap for the first series + + + + + Represents whether to serialize gapwidth + + + + + This holds index value of the series values + + + + + This holds Format Code For Num Cache Values + + + + + Represents the stream for preserving the Extents node + + + + + + Represents the stream for preserving the Extents node + + + + + Represents the multi level string cache. + + + + + Represents the list of formatcode for Values present in Series. + + + + + Represents the list of formatcode for Category present in Series. + + + + + Represents multi level string cache point count + + + + + ShowLeaderLines for the series. + + + + + Border settings for ShowleaderLines. + + + + + Represents whether Value range for the series valid or not. + + + + + Represents whether Category range for the series valid or not. + + + + + Creates series and set its Application and Parent + properties to specified values. + + Application object for the chart. + Parent object for the chart. + + + + Creates error bar object. + + If true - on Y axis; otherwise on X axis. + Return error bar object. + + + + Creates error bar object. + + If true - on Y axis; otherwise on X axis. + Represents include type. + Return error bar object. + + + + Creates error bar object. + + If true - on Y axis; otherwise on X axis. + Represents include type. + Represents error bar type. + Return error bar object. + + + + Creates error bar object. + + If true - on Y axis; otherwise on X axis. + Represents include type. + Represents error bar type. + Represents number value. + Returns error bar object. + + + + Sets custom error bar type. + + If true - on Y axis; otherwise on X axis. + Represents plus range. + Represents minus range. + Returns error bar object. + + + + Set leader lines. + + bool value to set. + + + + Searches for all needed parent objects. + + + When parents cannot be found. + + + + + Initializes m_hashAI member. + + + + + Initializes all internal collections. + + + + + Sets data format. + + Data format to set. + + + + This method is called when the name of the series needs to be changed. + + New name of the series. + + + + Raises ValueRangeChanged event and sets new value to the ValueRange. + + + + + Sets new value to the CategoryRange. + + + + + Sets new value to the BubbleRange. + + + + + Clone current instance. + + Parent object. + Dictionary with new worksheet names. + Dictionary with new font indexes. + Cloned series. + + + + Changes axis. + + If true - to primary; otherwise - to secondary. + + + + Returns new series order. + + If true - to primary; otherwise - to secondary. + A new series order. + + + + Gets values of entered directly values. + + Record storage. + Returns just created array of values. + + + + Detects name. + + Returns detected Series name. + + + + Gets text range value for Series name that supports cell, or row, or column. + + Range to gets text value. + Value representing text range. + + + + Update the row wise or column wise members of chart series for chart Ex + + boolean values indicates whether the property of values need to be changed or not. + + + + Sets default Series name. + + Represents Series name. + + + + Gets Series name range. + + Returns range, that represents Series name range. Can be null. + + + + Detects Series type. + + Extracted series type. + + + + Detects Series type. + + Detected string representationg of the series type. + + + + Detects Series type. + + Extracted series type. + + + + Detects the type of the series when describing record is ChartBar. + + Series format. + Returns series type. + + + + Gets bar start string. + + Format for detect start string. + Returns start string. + + + + Detects the type of the series when describing record is ChartPie. + + Series format. + Returns series type. + + + + Detects the type of the series when describing record is ChartArea. + + Series format. + Returns series type. + + + + Detects the type of the series when describing record is ChartSurface. + + Series format. + Returns series type. + + + + Detects the type of the series when describing record is ChartBoppop. + + Series format. + Returns series type. + + + + Detects the type of the series when describing record is ChartRadar. + + Series format. + Returns series type. + + + + Detects the type of the series when describing record is Chartline. + + Series format. + Returns series type. + + + + Detects the type of the series when describing record is ChartScatter. + + Series format. + Returns series type. + + + + This method changes series type. + + Series type to change to. + Indicates whether this change happens because of series creation process. + + + + This method changes series type. + + Series type to change to. + Indicates whether this change happens because of series creation process. + + + + Calls before series type changed. + + Type to change. + Indicates whether we are in the process of series creation. + Type of the series + Indicates whether the axis changes + + + + Changes not intimate type. + + Type to change. + + + + Checks is types are intimate. If intimate then change chart type. + + Format to change. + Type to change. + Returns true if changed type. otherwise false. + + + + Changes intimate line series. + + Format to change. + Type to change. + TypeToChange string representation. + + + + Initialize hash table for change intimate line type. + + HashTable to initialize. + + + + Changes series in combination charts. + + Type to change. + + + + Finds intimate format by type. + + Type to find. + Returns found format or null. + + + + Updates formulas after copy operation. + + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + + + + Updates formulas after copy operation. + + Record with range info to update. + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + Updated range. + + + + Updates formulas after copy operation. + + Formula token to update. + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + Updated token. + + + + Updates formula token when only part of it was moved. + + Original token. + Source worksheet index. + Rectangle with token range. + Source rectangle. + Destination rectangle. + Token after move operation. + + + + Partially removes token. + + Token to shrink + Sheet index. + Range rectangle. + Source rectangle. + Destination rectangle. + Token after shrink operation. + + + + Gets common series format. + + Returns common series format. + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Sets range value into the ChartAi record. + + ChartAi record that will contain specified range. + Range that will be assigned. + ReferenceType that should be written if range is NULL. + + When specified ChartAi record is NULL. + + + + + Checks whether number of items inside single series is correct. + + + + + Indicates the format index of chart pareto line + Used only in loaded chart + + + + + Indicates whether the pareto line is hidden + + + + + Objects that holds the pareto line settings + + + + + Boolean value indicates category values interpreted in row-wise + + + + + Boolean value indicates series values interpreted in row-wise + + + + + format code used in series values + + + + + format code used in category values + + + + + Returns range from ChartAi record. + + ChartAi record that contains range. + Parsed range. + + When chartAi is NULL. + + + + + Gets IRange from current ptg. + + Current ptg. + Returns ptg. + + + + This event is raised when ValueRange was changed. + + + + + Represents whether the series are reversed. + + + + + Name of the series. + + + + + Series Name range for the series. + + + + + + Gets the Name range of the series. + + + + //Creates a Presentation instance + IPresentation presentation = Presentation.Open("BubbleChart.pptx"); + ISlide slide = presentation.Slides[0]; + IPresentationChart chart = slide.Charts[0]; + //Retrieves the name range of the series + IOfficeDataRange dataRange = chart.Series[0].NameRange; + //Sets a new name to the series + dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, "My serie Name"); + //Saves the presentation + presentation.Save("Output.pptx"); + //Closes the presentation + presentation.Close(); + + + 'Creates a Presentation instance + Dim presentationDocument As IPresentation = Presentation.Open("BubbleChart.pptx") + Dim slide As ISlide = presentationDocument.Slides(0) + Dim chart As IPresentationChart = slide.Charts(0) + 'Retrieves the name range of the series + Dim dataRange As IOfficeDataRange = chart.Series(0).NameRange + 'Sets a new name to the series + dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, "My serie Name") + 'Saves the presentation + presentationDocument.Save("Output.pptx") + 'Closes the presentation + presentationDocument.Close() + + + + + + Values range for the series. + + + + + Represents whether Value range for the series valid or not. + + + + + Gets or sets the value range of the series. + + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie - start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie - start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series - start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + Dim presentationDocument As IPresentation = Presentation.Create() + Dim slide As ISlide = presentationDocument.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie - start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie - start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series - start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Save the presentation + presentationDocument.Save("Output.pptx") + 'Close the presentation + presentationDocument.Close() + + + + + + Category labels for the series. + + + + + Represents whether Category labels for the series. + + + + + Gets or sets the range of category labels of the series. + + + + //Creates a Presentation instance + IPresentation presentation = Presentation.Open("BubbleChart.pptx"); + ISlide slide = presentation.Slides[0]; + IPresentationChart chart = slide.Charts[0]; + //Retrieves the range of category labels + IOfficeDataRange dataRange = chart.Series[0].CategoryLabels; + //Changes the category label of a specific cell within the data range. + dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 2.4); + //Saves the presentation + presentation.Save("Output.pptx"); + //Closes the presentation + presentation.Close(); + + + 'Creates a Presentation instance + Dim presentationDocument As IPresentation = Presentation.Open("BubbleChart.pptx") + Dim slide As ISlide = presentationDocument.Slides(0) + Dim chart As IPresentationChart = slide.Charts(0) + Retrieves the range of category labels + Dim dataRange As IOfficeDataRange = chart.Series(0).CategoryLabels + 'Changes the category label of a specific cell within the data range. + dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 2.4) + 'Saves the presentation + presentationDocument.Save("Output.pptx") + 'Closes the presentation + presentationDocument.Close() + + + + + + Bubble sizes for the series. + + + + + Gets or sets the range of bubble sizes of the bubble chart. + + + + //Creates a Presentation instance + IPresentation presentation = Presentation.Open("BubbleChart.pptx"); + ISlide slide = presentation.Slides[0]; + IPresentationChart chart = slide.Charts[0]; + //Retrieves the range of bubble sizes of the chart + IOfficeDataRange dataRange = chart.Series[0].Bubbles; + //Changes the bubble size in a specific cell within the data range. + dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 20); + //Saves the presentation + presentation.Save("Output.pptx"); + //Closes the presentation + presentation.Close(); + + + 'Creates a Presentation instance + Dim presentationDocument As IPresentation = Presentation.Open("BubbleChart.pptx") + Dim slide As ISlide = presentationDocument.Slides(0) + Dim chart As IPresentationChart = slide.Charts(0) + 'Retrieves the range of bubble sizes of the chart + Dim dataRange As IOfficeDataRange = chart.Series(0).Bubbles + 'Changes the bubble size in a specific cell within the data range. + dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 20) + 'Saves the presentation + presentationDocument.Save("Output.pptx") + 'Closes the presentation + presentationDocument.Close() + + + + + + Synonym for Index property. + + + + + Returns data points collection for the chart series. Read-only. + + + + + Returns format of current Series. + + + + + Represents Series type. + + + + + Indicates whether to use primary axis for series drawing. + + + + + Represents value as entered directly. + + + + + Represents category values as entered directly. + + + + + Represents bubble values as entered directly. + + + + + Gets and sets the value form range cells values collection in datalabels. + + + + + Indicates if the serie has specific column shape + + + + + Represents Y error bars. Read-only. + + + + + Indicates if Series contains Y error bars. + + + + + Represents X error bars. Read-only. + + + + + Indicates if Series contains X error bars. + + + + + Represents Series trend lines collection. Read-only. + + + + + Gets or sets the value that represents the kind of grouping for a column, line or area chart + + + + + Gets or sets the value of chart gapWidth of first series + + + + + Gets or sets the value of chart overlap of first series + + + + + Represents whether to serialize gapwidth + + + + + This holds Format Code For Num Cache Values + + + + + This holds formatcodes of value axis. + + + + + This holds formatcodes of category axis. + + + + + This holds cache information of multi level category axis. + + + + + This holds multi level cache point count. + + + + + This event is raised when name of the series changes. + + + + + Gets or Set the ShowLeaderLines if true. + + + + + Gets or Set the LeaderLines border settings. + + + + + Represents index of the series. + + + + + Represent series is Filter + + + + + Series drawing/settings order.//Number of the series. + + + + + Index of the chart group. + + + + + Returns parent chart. Read-only. + + + + + Indicates whether series has default title. + + + + + Returns number of points in the series. Read-only. + + + + + Returns parent workbook. Read-only. + + + + + Represent the filtered category label range + + + + + Represent the Filtered Category value + + + + + Returns series start type. Read-only. + + + + + Represents not default series text for first series. Read-only. + + + + + Gets parent series collection. Read - only. + + + + + Represents parent chart. Read - only. + + + + + Gets parent workbook. Read - only. + + + + + Indicates whether this is pie series. + + + + + Gets series name or formula value (not actual string value). + + + + + Gets or sets a value to specify the series to invert its colors if the value is negative. The default value is true. + + + + + Gets or sets a value to specify the series to invert its colors if the value is negative. The default value is true. + + + + + Gets or sets the string reference formula + + + + + Gets or sets the number reference formula + + + + + Gets or sets the number reference formula + + + + + Gets or sets a value to specify the series to invert its colors if the value is negative. + + + + + Gets or sets the chart's drop lines property as stream. + TODO: Need to add parsing support for drop lines. Should be removed after adding parsing support. + + + + + Gets / Sets the pareto line is hidden + + + + + Gets / Sets the series is hidden or not + + + + + Gets / Sets the format index of chart pareto line + Used only in loaded chart + + + + + Gets / SetsBoolean value indicates category values interpreted in row-wise + + + + + Gets / Sets the format code for series categories + + + + + Class used for Chart Series Axis implementation. + + + + + Represents the chart series Axis. + + + + + Represents the number of categories or series between tick-mark labels. + + + + + Gets or sets the number of categories or series between tick-mark labels. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Set the number of series between tick-mark labels + chart.PrimarySerieAxis.TickLabelSpacing = 10; + //Sets the number of series between tick marks. + chart.PrimarySerieAxis.TickMarkSpacing = 15; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Set the number of series between tick-mark labels + chart.PrimarySerieAxis.TickLabelSpacing = 10 + 'Sets the number of series between tick marks. + chart.PrimarySerieAxis.TickMarkSpacing = 15 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the number of categories or series between tick marks. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Set the chart type + chart.ChartType = OfficeChartType.Column_3D; + //Set the number of series between tick-mark labels + chart.PrimarySerieAxis.TickLabelSpacing = 10; + //Sets the number of series between tick marks. + chart.PrimarySerieAxis.TickMarkSpacing = 15; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Set the chart type + chart.ChartType = OfficeChartType.Column_3D + 'Set the number of series between tick-mark labels + chart.PrimarySerieAxis.TickLabelSpacing = 10 + 'Sets the number of series between tick marks. + chart.PrimarySerieAxis.TickMarkSpacing = 15 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Specifies maximum spacing value. + + + + + Catser range record. + + + + + Creates primary axis of specified type. + + Application object for the axis. + Parent object for the axis. + Type of the new axis. + + + + Creates axis of specified type and specified IsPrimary value. + + Application object for the axis. + Parent object for the axis. + Type of the new axis. + + True if primary axis should be created; otherwise False. + + + + + Initializes variables. + + + + + Clone current object. + + Parent object. + Dictionary with new font indexes. + Dictionary with new worksheet names. + Returns cloned object. + + + + Represents the number of categories or series between tick-mark labels. + + + + + Represents the number of categories or series between tick-mark labels. + + + + + Represents the number of categories or series between tick marks. + + + + + Represents the number of categories or series between tick marks. + + + + + Display categories in reverse order. + + + + + Returns title area. Read-only. + + + + + Represents the point on the axis another axis crosses it. + + + + + Returns or sets the base of the logarithm when you are using log scales. The default value is 10. + + + + + ChartSeriesCollection - collection of the chart series. + + + + + Represents the collection of chart series. + + + + + Adds a new series to the collection. + + Returns the Added object to the collection. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add(); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add() + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Adds a new series to the collection with specified type. + + Type of the new series. + Returns the Added object to the collection. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add(); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add() + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Adds a new series to the collection with specified series name. + + Name of the new series. + Returns the Added object to the collection. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Adds a new series to the collection with specified series name and type. + + Name of the new series. + Type of the new series. + Returns the Added object to the collection. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add(); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add() + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Removes object at the specified index from the collection. + + The zero-based index of the serie to remove. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add(); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Remove a serie using the index position + chart.Series.RemoveAt(0); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add() + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Remove a serie using the index position + chart.Series.RemoveAt(0) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Removes object with specified name from the collection. + + Name of the series to remove. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add(); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Remove a specific serie from collection + chart.Series.Remove(serieJan); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add() + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Remove a specific serie from collection + chart.Series.Remove(serieJan) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the number of objects in the collection. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add(); + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the count of the series + int count = chart.Series.Count; + //Set the data range of chart serie � start row, start column, end row, end column + chart.Series[0].Values = chart.ChartData[2, 2, 4, 2]; + chart.Series["Feb"].Values = chart.ChartData[2, 3, 4, 3]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add() + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the count of the series + Dim count As Integer = chart.Series.Count + 'Set the data range of chart serie � start row, start column, end row, end column + chart.Series(0).Values = chart.ChartData(2, 2, 4, 2) + chart.Series("Feb").Values = chart.ChartData(2, 3, 4, 3) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets a single instance at the specified index from the collection. Read-only. + + The zero-based index of the element. + Returns the particular series based on the index. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add(); + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the count of the series + int count = chart.Series.Count; + //Set the data range of chart serie � start row, start column, end row, end column + chart.Series[0].Values = chart.ChartData[2, 2, 4, 2]; + chart.Series["Feb"].Values = chart.ChartData[2, 3, 4, 3]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add() + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the count of the series + Dim count As Integer = chart.Series.Count + 'Set the data range of chart serie � start row, start column, end row, end column + chart.Series(0).Values = chart.ChartData(2, 2, 4, 2) + chart.Series("Feb").Values = chart.ChartData(2, 3, 4, 3) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets a single instance with the specified name from the collection. Read-only. + + Name of the series + Returns the particular series based on the given name. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add(); + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the count of the series + int count = chart.Series.Count; + //Set the data range of chart serie � start row, start column, end row, end column + chart.Series[0].Values = chart.ChartData[2, 2, 4, 2]; + chart.Series["Feb"].Values = chart.ChartData[2, 3, 4, 3]; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add() + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Get the count of the series + Dim count As Integer = chart.Series.Count + 'Set the data range of chart serie � start row, start column, end row, end column + chart.Series(0).Values = chart.ChartData(2, 2, 4, 2) + chart.Series("Feb").Values = chart.ChartData(2, 3, 4, 3) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Start of the default series name. + + + + + Represents parent chart. + + + + + Represents record storage for serialize error bars and trend lines. Use only for serialize. + + + + + Array that helps to serialize trendlines labels. Use only for serialize. + + + + + Represents summary index for error bars and trends. Use only for serialize. + + + + + Represents trend line index. + + + + + Creates collection. + + Application object for the collection. + Parent object for the collection. + + + + Defines a new series. + + Returns a Series object. + + + + Defines a new series. Returns a Series object. + + Name of the new series. + Newly created series object. + + + + Defines a new series. Returns a Series object. + + Type of new series. + Newly created series object. + + + + Defines a new series. Returns a Series object. + + Name of the new series. + Type of new series. + Newly created series object. + + + + Removes Series object from the collection. + + Index of the series to remove. + + + + Removes series by name. + + Series name to remove. + + + + Adds series to the collection. + + Series that should be added to the collection. + Series that was added. + + + + Performs additional operations before the Clear method. + + + + + Clone current instance. + + Parent object. + Hash table with new Worksheet names. + Dictionary with new font indexes. + Returns cloned instance. + + + + Clone current instance. + + Parent object. + Returns cloned instance. + + + + Gets count of series that has same chart group index. + + Parameter to check. + Returns count of found series. + + + + Gets series that has same chart group index. + + Parameter to check. + Returns list of found series. + + + + Gets count of series with same type in collection. + + Current type. + Returns count of same types. + + + + Gets count of series with same type in collection. + + Current type. + Returns count of same start types. + + + + Sets for default all series in chart. + + boolean value indicates whether the formats to be preserved or not + Current type. + + + + Sets for default all series in chart. + + + + + Finds order by series type. + + Type to find. + Returns order. + + + + Updates data points for create one of Pyramid, Cylinder, Cone chart types. + + Base format for update. + Top format for update. + + + + Updates series index after remove + + Remove index. + + + + Updates ExistingOrder after remove + + Remove index. + + + + Gets series type by order. + + Current order. + Returns found type. + + + + Clears all series data formats. + + Represents format to update. + + + + Gets the default series name. + + Returns default series name. + + + + Gets the default series name. + + Represents series index in collections. + Returns default series name. + + + + Updates formulas after copy operation. + + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + + + + Clears error bars. + + + + + Puts all series into correct order based on their index. + + Dictionary containing series axis. + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Returns a single Name object from a Names collection. + + + + + Returns a single Name object from a Names collection. + + + + + Represents record storage for serialize error bars and trend lines. Use only for serialize. + + + + + Represents summary index for error bars and trends. Use only for serialize. + + + + + Represents record storage for serialize trend labels. Use only for serialize. Read-only. + + + + + Represents count of trends + series count. + + + + + Represents text area in the chart. + + + + + Indicating wheather baseline have percentage or not. + + + + + Indicating whether display value from cells values to datalabels. + + + + + Indicating whether value form cells range in datalabels. + + + + + Text area font. + + + + + Chart text record. + + + + + Parent workbook. + + + + + Text frame. + + + + + Text. + + + + + Object link. + + + + + Data labels record. + + + + + Chart ai record. + + + + + Chart Al Runs record represents the rich text format + + + + + Represents chart position record. + + + + + Attached label layout + + + + + Indicates if current text assign to trend object. + + + + + Represents Excel 2007 layout data + + + + + Represents the TextArea Paragraph + + + + + Indicats whether to show text properties or not + + + + + Indicats whether to show text size properties or not + + + + + Indicats whether to show text bold properties or not + + + + + Indicats whether to show text italic properties or not + + + + + Represents RTF string. + + + + + Represents Vertical Text Rotation. + + + + + Indicates whether text is parsed or not + + + + + The array stores the cache information + + + + + Boolean value indicates whether other elements in chart can overlap this text area. + + + + + The list stores the default paragraph properties + + + + + Creates objects sets its Application and Parent properties to specified values. + + Application object. + Parent object. + + + + Creates objects sets its Application and Parent properties to specified values. + + Application object. + Parent object. + Text link. + + + + Searches for all necessary parent objects. + + + + + Generates .Net font object corresponding to the current font. + + Generated .Net font. + + + + Creates frame format. + + Newly created frame format. + + + + Initializes frame format. + + + + + Sets internal font according to the font index. + + Font index to set. + + + + Creates data labels object if necessary. + + + + + Clone current record. + + Parent object for create new instance. + Dictionary with new font indexes. + Dictionary with new worksheet names. + Returns clone of current object. + + + + Creates object that is copy of the current instance. + + Parent object for create new instance. + Returns clone of current object. + + + + Updates Series index. + + Index to set. + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Attaches all necessary events. + + + + + Detaches all events. + + + + + Event handler for color change. + + + + + This method should be called before several updates to the object will take place. + + + + + This method should be called after several updates to the object took place. + + + + + Creates rich text string. + + + + + True if the font is bold. Read / write Boolean. + + + + + Returns or sets the primary color of the object. Read / write ExcelKnownColors. + + + + + Gets / sets font color. If there is at least one free color, + define a new color; if not, search for the closest one in + workbook palette. + + + + + True if the font style is italic. Read / write Boolean. + + + + + True if the font is an outline font. Read / write Boolean. + + + + + True if the font is a shadow font or if the object has + a shadow. Read / write Boolean. + + + + + Returns or sets the size of the font. Read / write Variant. + + + + + True if the font is struck through with a horizontal line. + Read / write Boolean + + + + + Gets or sets the offset value of superscript and subscript + + + + + True if the font is formatted as subscript. + False by default. Read / write Boolean. + + + + + True if the font is formatted as superscript. False by default. + Read/write Boolean + + + + + Returns or sets the type of underline applied to the font. Can + be one of the following ExcelUnderlineStyle constants. + Read / write OfficeUnderline. + + + + + Returns or sets the font name. Read / write string. + + + + + Gets / sets font vertical alignment. + + + + + True if the font is set to capitalize, character spacing or kerning value. + + + + + True if the font is set to capitalize. + + + + + Returns or sets the character spacing value of the font. + + + + + Returns or sets the kerning value of the font. + + + + + Gets and sets the indicating wheather baseline have percentage value or not. + + + + + Text. + + + + + Gets rich text. + + + + + Return frame format. Read-only. + + + + + Gets object link record. Read-only. + + + + + Text rotation angle. + + + + + Gets value indicating whether TextRotation was changed. Read-only. + + + + + Represents Vertical Text Rotation. + + + + + Returns chart text record. Read-only. + + + + + Gets / sets number format for the text area. + + + + + Gets index to the number format. Read-only. + + + + + Returns ChartAIRecord for the text area (creates it if necessary). Read-only. + + + + + Return ChartAlRunsRecord for the text area (creates if necessary). Read-only. + + + + + Returns true if contain dataLabels otherwise false. Read-only. + + + + + Display mode of the background. + + + + + True if background is set to automatic. + + + + + Indicates if current text assign to trend object. + + + + + Indicates whether color has automatic color. Read-only. + + + + + Gets or sets Excel 2007 layout data + + + + + Returns parent workbook object. + + + + + Gets / Sets the overlay boolean value + + + + + Represents the TextArea Paragraph + + + + + Gets or sets a value indicating whether to show text properties or not + + + + + Gets or sets a value indicating whether to show text size properties or not + + + + + Gets or sets a value indicating whether to show text bold properties or not + + + + + Gets or sets a value indicating whether to show text italic properties or not + + + + + Gets / Sets the string array + + + + + Indicates whether text area contains text. + + + + + Gets or sets a value indicating whether this instance is formula. + + + true if this instance is formula; otherwise, false. + + + + + Indicats whether text is parsed or not + + + + + Gets and sets boolean value indicating whether display to value from cells value to datalabels. + + + + + Gets and sets indicating whether value from cells range in datalables. + + + + + Indicates whether series name is in data labels. + + + + + Indicates whether category name is in data labels. + + + + + Indicates whether value is in data labels. + + + + + Indicates whether percentage is in data labels. + + + + + Indicates whether bubble size is in data labels. + + + + + Indicates whether Leader Lines is in data labels. + + + + + Delimiter. + + + + + Indicates whether legend key is in data labels. + + + + + Represents data labels position. + + + + + Return attached label layout record. Read-only + + + + + Gets or sets the value indicating whether to show category label and value as percentage. + + + + + Returns textarea's color object. Read-only. + + + + + Returns font index. Read-only. + + + + + Returns FontImpl for current font. Read-only. + + + + + Represents Trend Line Collection. + + + + + Interface that represents trend line collection. + + + + + Adds new instance of trend line to collection. + + Returns added trend line object. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Add trendline with specific type + serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average); + //Set the trendline color and weight + serieFeb.TrendLines[0].Border.LineWeight = OfficeChartLineWeight.Wide; + serieFeb.TrendLines[0].Border.LineColor = System.Drawing.Color.Blue; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Specify the chart title + chart.ChartTitle = "Sales Analysis" + 'Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Add trendline with specific type + serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average) + 'Set the trendline color and weight + serieFeb.TrendLines(0).Border.LineWeight = OfficeChartLineWeight.Wide + serieFeb.TrendLines(0).Border.LineColor = System.Drawing.Color.Blue + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Adds new instance of trend line to collection with specified type of trend line. + + Represents type of trend line. + Returns added trend line object. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Add trendline with specific type + serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average); + //Set the trendline color and weight + serieFeb.TrendLines[0].Border.LineWeight = OfficeChartLineWeight.Wide; + serieFeb.TrendLines[0].Border.LineColor = System.Drawing.Color.Blue; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Specify the chart title + chart.ChartTitle = "Sales Analysis" + 'Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Add trendline with specific type + serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average) + 'Set the trendline color and weight + serieFeb.TrendLines(0).Border.LineWeight = OfficeChartLineWeight.Wide + serieFeb.TrendLines(0).Border.LineColor = System.Drawing.Color.Blue + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Removes trend line object at the specified index from the collection. + + Represents + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + serieFeb.TrendLines.Add(); + //Add trendline with specific type + serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average); + //Get the count of the trendline + int count = serieFeb.TrendLines.Count; + //Get the trendline instance from collection + IOfficeChartTrendLine trendline = serieFeb.TrendLines[0]; + //Set the trendline color and weight + trendline.Border.LineWeight = OfficeChartLineWeight.Wide; + trendline.Border.LineColor = System.Drawing.Color.Blue; + //Remove a trendline object using index + serieFeb.TrendLines.RemoveAt(1); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Specify the chart title + chart.ChartTitle = "Sales Analysis" + 'Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Add trendline to the serie + serieJan.TrendLines.Add() + serieFeb.TrendLines.Add() + 'Add trendline with specific type + serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average) + 'Get the count of the trendline + Dim count As Integer = serieFeb.TrendLines.Count + 'Get the trendline instance from collection + Dim trendline As IOfficeChartTrendLine = serieFeb.TrendLines(0) + 'Set the trendline color and weight + trendline.Border.LineWeight = OfficeChartLineWeight.Wide + trendline.Border.LineColor = System.Drawing.Color.Blue + 'Remove a trendline object using index + serieFeb.TrendLines.RemoveAt(1) + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Clears trend line collection. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + serieFeb.TrendLines.Add(); + //Add trendline with specific type + serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average); + //Get the count of the trendline + int count = serieFeb.TrendLines.Count; + //Get the trendline instance from collection + IOfficeChartTrendLine trendline = serieFeb.TrendLines[0]; + //Set the trendline color and weight + trendline.Border.LineWeight = OfficeChartLineWeight.Wide; + trendline.Border.LineColor = System.Drawing.Color.Blue; + //Clear the trendlines in serie + serieFeb.TrendLines.Clear(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Specify the chart title + chart.ChartTitle = "Sales Analysis" + 'Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Add trendline to the serie + serieJan.TrendLines.Add() + serieFeb.TrendLines.Add() + 'Add trendline with specific type + serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average) + 'Get the count of the trendline + Dim count As Integer = serieFeb.TrendLines.Count + 'Get the trendline instance from collection + Dim trendline As IOfficeChartTrendLine = serieFeb.TrendLines(0) + 'Set the trendline color and weight + trendline.Border.LineWeight = OfficeChartLineWeight.Wide + trendline.Border.LineColor = System.Drawing.Color.Blue + 'Clear the trendlines in serie + serieFeb.TrendLines.Clear() + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets a single instance at the specified index from the collection. Read-only. + + The zero-based index of the element. + Returns the particular trend line based on the index. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + serieFeb.TrendLines.Add(); + //Add trendline with specific type + serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average); + //Get the count of the trendline + int count = serieFeb.TrendLines.Count; + //Get the trendline instance from collection + IOfficeChartTrendLine trendline = serieFeb.TrendLines[0]; + //Set the trendline color and weight + trendline.Border.LineWeight = OfficeChartLineWeight.Wide; + trendline.Border.LineColor = System.Drawing.Color.Blue; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Specify the chart title + chart.ChartTitle = "Sales Analysis" + 'Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Add trendline to the serie + serieJan.TrendLines.Add() + serieFeb.TrendLines.Add() + 'Add trendline with specific type + serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average) + 'Get the count of the trendline + Dim count As Integer = serieFeb.TrendLines.Count + 'Get the trendline instance from collection + Dim trendline As IOfficeChartTrendLine = serieFeb.TrendLines(0) + 'Set the trendline color and weight + trendline.Border.LineWeight = OfficeChartLineWeight.Wide + trendline.Border.LineColor = System.Drawing.Color.Blue + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the number of objects in the collection.Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Specify the chart title + chart.ChartTitle = "Sales Analysis"; + //Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered; + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + serieFeb.TrendLines.Add(); + //Add trendline with specific type + serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average); + //Get the count of the trendline + int count = serieFeb.TrendLines.Count; + //Get the trendline instance from collection + IOfficeChartTrendLine trendline = serieFeb.TrendLines[0]; + //Set the trendline color and weight + trendline.Border.LineWeight = OfficeChartLineWeight.Wide; + trendline.Border.LineColor = System.Drawing.Color.Blue; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Specify the chart title + chart.ChartTitle = "Sales Analysis" + 'Specify the chart type + chart.ChartType = OfficeChartType.Column_Clustered + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") + 'Set the data range of chart serie � start row, start column, end row, end column + serieFeb.Values = chart.ChartData(2, 3, 4, 3) + 'Add trendline to the serie + serieJan.TrendLines.Add() + serieFeb.TrendLines.Add() + 'Add trendline with specific type + serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average) + 'Get the count of the trendline + Dim count As Integer = serieFeb.TrendLines.Count + 'Get the trendline instance from collection + Dim trendline As IOfficeChartTrendLine = serieFeb.TrendLines(0) + 'Set the trendline color and weight + trendline.Border.LineWeight = OfficeChartLineWeight.Wide + trendline.Border.LineColor = System.Drawing.Color.Blue + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Represents parent series. + + + + + Creates new instance of collection. + + Represents current application. + Represents parent object. + + + + Adds new instance of trend line to collection. + + Returns added trend line object. + + + + Adds new instance of trend line to collection. + + Represents type of trend line. + Returns added trend line object. + + + + Removes trend line object from collection. + + Represents + + + + Checks if current trend line supported negative values. + + Represents trend line types. + + + + Adds trend object to trends collection. + + Represents trend object to add. + + + + Checks series type. If current type does not support trendlines throw exception. + + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Clones current object. + + Represents parent object for new cloned instance. + Represents new font indexes. + Dictionary with new worksheet names. + Returns cloned object. + + + + Gets single trend line by index. Read-only + + + + + Indicates whether object was parsed. + + + + + Represents chart trend line. + + + + + Represents a trend line in a chart. + + + + + Clears the formatting of the trend line. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the type of trendline + trendline.Type = OfficeTrendLineType.Polynomial; + //Set the intercept of trendline + trendline.Intercept = 0.8; + //Set the name for trendline + trendline.Name = "Trendline"; + //Set the order + trendline.Order = 3; + //Clear the trendline formats + trendline.ClearFormats(); + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the type of trendline + trendline.Type = OfficeTrendLineType.Polynomial + 'Set the intercept of trendline + trendline.Intercept = 0.8 + 'Set the name for trendline + trendline.Name = "Trendline" + 'Set the order + trendline.Order = 3 + 'Clear the trendline formats + trendline.ClearFormats() + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the border of the trend line. Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Bar_Clustered; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the line color of border + trendline.Border.LineColor = System.Drawing.Color.Green; + //Set the line weight + trendline.Border.LineWeight = OfficeChartLineWeight.Medium; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Bar_Clustered + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the line color of border + trendline.Border.LineColor = System.Drawing.Color.Green + 'Set the line weight + trendline.Border.LineWeight = OfficeChartLineWeight.Medium + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the number of periods (or units on a scatter chart) that the trend line extends backward. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Bar_Clustered; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the backward + trendline.Backward = 0.3; + //Set the line color of border + trendline.Border.LineColor = System.Drawing.Color.Green; + //Set the line weight + trendline.Border.LineWeight = OfficeChartLineWeight.Medium; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Bar_Clustered + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the backward + trendline.Backward = 0.3 + 'Set the line color of border + trendline.Border.LineColor = System.Drawing.Color.Green + 'Set the line weight + trendline.Border.LineWeight = OfficeChartLineWeight.Medium + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the number of periods (or units on a scatter chart) that the trend line extends forward. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the intercept as auto + trendline.InterceptIsAuto = true; + //Set the name as auto + trendline.NameIsAuto = true; + //Set the forward + trendline.Forward = 0.3; + //Set the type of trendline + trendline.Type = OfficeTrendLineType.Logarithmic; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the intercept as auto + trendline.InterceptIsAuto = True + 'Set the name as auto + trendline.NameIsAuto = True + 'Set the forward + trendline.Forward = 0.3 + 'Set the type of trendline + trendline.Type = OfficeTrendLineType.Logarithmic + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that indicates whether the equation for the trend line is displayed on the chart or not. + + Trueif the equation for the trend line is displayed on the chart.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the display equation + trendline.DisplayEquation = true; + //Set the display RSSquared + trendline.DisplayRSquared = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the display equation + trendline.DisplayEquation = True + 'Set the display RSSquared + trendline.DisplayRSquared = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets of sets a value that indicates whether the R-squared value of the trend line is displayed on the chart or not. + + Trueif the R-squared value of the trend line is displayed on the chart.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the display equation + trendline.DisplayEquation = true; + //Set the display RSSquared + trendline.DisplayRSquared = true; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the display equation + trendline.DisplayEquation = True + 'Set the display RSSquared + trendline.DisplayRSquared = True + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the point where the trend line crosses the value axis. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the type of trendline + trendline.Type = OfficeTrendLineType.Polynomial; + //Set the intercept of trendline + trendline.Intercept = 0.8; + //Set the name for trendline + trendline.Name = "Trendline"; + //Set the order + trendline.Order = 3; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the type of trendline + trendline.Type = OfficeTrendLineType.Polynomial + 'Set the intercept of trendline + trendline.Intercept = 0.8 + 'Set the name for trendline + trendline.Name = "Trendline" + 'Set the order + trendline.Order = 3 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the value that indicates whether the point where the trend line crosses the value + axis is automatically determined by the regression. + + Trueif the point where the trend line crosses the value axis.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the intercept as auto + trendline.InterceptIsAuto = true; + //Set the name as auto + trendline.NameIsAuto = true; + //Set the forward + trendline.Forward = 0.3; + //Set the type of trendline + trendline.Type = OfficeTrendLineType.Logarithmic; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance///Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the intercept as auto + trendline.InterceptIsAuto = True + 'Set the name as auto + trendline.NameIsAuto = True + 'Set the forward + trendline.Forward = 0.3 + 'Set the type of trendline + trendline.Type = OfficeTrendLineType.Logarithmic + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Returns or sets the trend line type + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the intercept as auto + trendline.InterceptIsAuto = true; + //Set the name as auto + trendline.NameIsAuto = true; + //Set the forward + trendline.Forward = 0.3; + //Set the type of trendline + trendline.Type = OfficeTrendLineType.Logarithmic; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the intercept as auto + trendline.InterceptIsAuto = True + 'Set the name as auto + trendline.NameIsAuto = True + 'Set the forward + trendline.Forward = 0.3 + 'Set the type of trendline + trendline.Type = OfficeTrendLineType.Logarithmic + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets the trend line order (an integer greater than 1) when the trend line type is Polynomial. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the type of trendline + trendline.Type = OfficeTrendLineType.Polynomial; + //Set the intercept of trendline + trendline.Intercept = 0.8; + //Set the name for trendline + trendline.Name = "Trendline"; + //Set the order + trendline.Order = 3; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the type of trendline + trendline.Type = OfficeTrendLineType.Polynomial + 'Set the intercept of trendline + trendline.Intercept = 0.8 + 'Set the name for trendline + trendline.Name = "Trendline" + 'Set the order + trendline.Order = 3 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets a value that Indicates whether the name of the trend line is determined automatically or not. + + Trueif Essential presentation automatically determines the name of the trendline.Otherwise False. + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the intercept as auto + trendline.InterceptIsAuto = true; + //Set the name as auto + trendline.NameIsAuto = true; + //Set the forward + trendline.Forward = 0.3; + //Set the type of trendline + trendline.Type = OfficeTrendLineType.Logarithmic; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the intercept as auto + trendline.InterceptIsAuto = True + 'Set the name as auto + trendline.NameIsAuto = True + 'Set the forward + trendline.Forward = 0.3 + 'Set the type of trendline + trendline.Type = OfficeTrendLineType.Logarithmic + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets or sets name of the trend line. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the type of trendline + trendline.Type = OfficeTrendLineType.Polynomial; + //Set the intercept of trendline + trendline.Intercept = 0.8; + //Set the name for trendline + trendline.Name = "Trendline"; + //Set the order + trendline.Order = 3; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the type of trendline + trendline.Type = OfficeTrendLineType.Polynomial + 'Set the intercept of trendline + trendline.Intercept = 0.8 + 'Set the name for trendline + trendline.Name = "Trendline" + 'Set the order + trendline.Order = 3 + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the data label that is associated with the trendline.Read-only. + + + + //Create a presentation instance + IPresentation presentation = Presentation.Create(); + //Add a blank slide to the presentation + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Set the chart type + chart.ChartType = OfficeChartType.Bar_Clustered; + //Add trendline to the serie + serieJan.TrendLines.Add(); + //Get the trendline of serie + IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; + //Set the bold font style for data label + trendline.DataLabel.Bold = true; + //Set the color of data label + trendline.DataLabel.Color = OfficeKnownColors.Red; + //Set the font name + trendline.DataLabel.FontName = "Helvetica"; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + 'Create a presentation instance + Dim presentation__1 As IPresentation = Presentation.Create() + 'Add a blank slide to the presentation + Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) + 'Add chart to the slide with position and size + Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) + 'Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan") + chart.ChartData.SetValue(1, 3, "Feb") + chart.ChartData.SetValue(1, 4, "March") + 'Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2010") + chart.ChartData.SetValue(2, 2, "60") + chart.ChartData.SetValue(2, 3, "70") + chart.ChartData.SetValue(2, 4, "80") + 'Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2011") + chart.ChartData.SetValue(3, 2, "80") + chart.ChartData.SetValue(3, 3, "70") + chart.ChartData.SetValue(3, 4, "60") + 'Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2012") + chart.ChartData.SetValue(4, 2, "60") + chart.ChartData.SetValue(4, 3, "70") + chart.ChartData.SetValue(4, 4, "80") + 'Create a new chart series with the name + Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") + 'Set the data range of chart serie � start row, start column, end row, end column + serieJan.Values = chart.ChartData(2, 2, 4, 2) + 'Create a new chart series with the name + Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") + 'Set the data range of chart series � start row, start column, end row, end column + serieMarch.Values = chart.ChartData(2, 4, 4, 4) + 'Set the chart type + chart.ChartType = OfficeChartType.Bar_Clustered + 'Add trendline to the serie + serieJan.TrendLines.Add() + 'Get the trendline of serie + Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) + 'Set the bold font style for data label + trendline.DataLabel.Bold = True + 'Set the color of data label + trendline.DataLabel.Color = OfficeKnownColors.Red + 'Set the font name + trendline.DataLabel.FontName = "Helvetica" + 'Save the presentation + presentation__1.Save("Output.pptx") + 'Close the presentation + presentation__1.Close() + + + + + + Gets the shadow that is associated with the trendline.Read-only. + + The shadow. + + + + Gets the chart3D options that is associated with the trendline.Read-only. + + The chart3 D options. + + + + Represents max order value for polynomial trend line type. + + + + + Represents name hash table + Key - trend line type, Value - legend string. + + + + + Represents main trend line record. + + + + + Represents Shadow + + + + + Represents border object. + + + + + Represents parent series. + + + + + Represents trend line type. + + + + + Indicates if name is auto. + + + + + Represents custom name. + + + + + Represents text area for data label. + + + + + Represents some unique ID. + + + + + Represents the 3D features + + + + + Represents the chart Legend Entry + + + + + Initialize all static members. + + + + + Creates new instance of object. + + Represents current application. + Represents parent object. + + + + Finds parent objects. + + + + + Clears current trend line. + + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Checks some records properties. + + + + + Check if current trend support intercept property, if failed throws exception. + + + + + Check if current trend support backward property, if failed throws exception. + + Represents value. + + + + Changes trend line type. + + Represents new trend line type. + + + + Updates data labels + + Represents flag for updates. + + + + Clones current object. + + Represents parent object for new cloned instance. + Represents new font indexes. + Dictionary with new worksheet names. + Returns cloned object. + + + + Represents LegendEntry object + + + + + Represents border object. Read-only. + + + + + Represents the Shadow.Read-only + + + + + Gets the chart3 D options. + + The chart3 D options. + + + + Represents number of periods that the trend line extends backward. + + + + + Represents number of periods that the trend line extends forward. + + + + + True if the equation for the trend line is displayed on the chart. + + + + + True if the R-squared value of the trend line is displayed on the chart. + + + + + Represents point where the trend line crosses the value axis. + + + + + True if the point where the trend line crosses the value + axis is automatically determined by the regression. + + + + + Represents trend line type. + + + + + Represents for Moving Average and Polynomial trend line type order value. + + + + + Indicates if name is default. + + + + + Represents trend line name. + + + + + Returns data label. Read-only. + + + + + Represents chart walls or floor. + + + + + Represents the walls or floors of a 3-D chart. + + + + + Gets or Sets the thickness of the walls or floor. + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get a bubble chart from the slide + IPresentationChart chart = presentation.Slides[0].Charts[0]; + //Change the chart type to 3D + chart.ChartType = OfficeChartType.Bar_Clustered_3D; + //Get the side wall of chart + IOfficeChartWallOrFloor sideWall = chart.SideWall; + //Set the picture unit of side wall + sideWall.PictureUnit = OfficeChartPictureType.stretch; + //Set the thickness + sideWall.Thickness = 40; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or Sets the pictureType in walls or floor + + + + //Open a presentation + IPresentation presentation = Presentation.Open("Template.pptx"); + //Get a bubble chart from the slide + IPresentationChart chart = presentation.Slides[0].Charts[0]; + //Change the chart type to 3D + chart.ChartType = OfficeChartType.Bar_Clustered_3D; + //Get the side wall of chart + IOfficeChartWallOrFloor sideWall = chart.SideWall; + //Set the picture unit of side wall + sideWall.PictureUnit = OfficeChartPictureType.stretch; + //Set the thickness + sideWall.Thickness = 40; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Represents default line color for walls or plot. + + + + + Represents default color index for walls or plot. + + + + + Represents default line color for floor. + + + + + Represents default foreground color for walls or plot. + + + + + Represents default background color index for walls or plot. + + + + + Represents default value background color index. + + + + + Represents default value foreground color index. + + + + + Indicates if wall or floor object. + + + + + Represents chart interior. + + + + + Represents parent chart + + + + + Represents the Shadow + + + + + Represents the 3D features + + + + + Represents fill properties. + + + + + Indicates if shape properties for the wall or flooe. + + + + + It specifies the thickness of the walls or floor as a percentage of the largest dimension of the plotarea. + + + + + It specifies the pictureformat struct or stretch + + + + + Creates ChartWallsOrFloor object. + + Application object. + Parent object. + If true - represents walls; otherwise - floor. + + + + Clears current walls or floor. + + + + + Sets to default floor or walls. + + + + + Sets as default line record in category axis. + + + + + Sets as default line record in value axis. + + + + + Sets as default area record in category axis. + + + + + Sets as default area record in value axis. + + + + + Clones current object. + + Parent object. + Returns cloned object. + + + + Represents chart interior. + + + + + Represents the Shadow.Read-only + + + + + + This property indicates whether the shadow object has been created + + + + + + Indicates whether Shape properties has been created. + + + true if this instance has shape properties; otherwise, false. + + + + + Returns or sets the thickness of the walls or floor as a percentage of the largest dimension of the plot area. + + The thickness. + + + + Gets or Sets the picture format of the walls or floor + + + + + Gets the chart3 D options. + + The chart3 D options. + + + + This property Indicates whether the Shadow object has been created(which includes the 3D properties) + + + + + Represents fill properties. Read-only. + + + + + This property indicates whether interior object was created. Read-only. + + + + + Represents foreground color. + + + + + Represents background color. + + + + + Represents pattern. + + + + + Represents if use automatic format. + + + + + Represents visible. + + + + + Represents frame format each record is wrapped by ChartWrapperRecord. + + + + + Initializes new instance of ChartWrappedFrameFormat. + + Application object. + Parent object. + + + + Represents chart text area, each record is wrapped into ChartWrappedRecord. + + + + + Unknown bytes. Needed for data labels serialization. + + + + + Unknown end. + + + + + Initializes new instance. + + Application object. + Parent object. + + + + Creates objects sets its Application and Parent properties to specified values. + + Application object. + Parent object. + Text link. + + + + Creates frame format. + + Newly created frame format. + + + + Summary description for ArrayListEx. + + + + + Represents item storage. + + + + + Represents count of elements. + + + + + Creates new instance current collection. + + + + + Creates new instance of current collection. + + Represents count. + + + + Updates count of storage array. + + Represents count of array to update. + + + + Reduces size of the internal array if necessary. + + Maximum size of the internal array. + + + + Inserts specified number of null RowStorages into specified position. + + Index to insert into. + Number of items to insert. + Number of items after index position to preserve. + + + + Get Maximum Row Count + + + + + + Get Row Index in Row Storage Based on the row number + + RowNumber + RowIndex in RowStorage + + + + + Gets value by index. + + + + + Borders collection. + + + + + A collection of four Border objects that represent the four + borders of a Range or Style object. + + + + + Returns or sets the primary color of the object, as shown in the + following table. Use the RGB function to create a color value. + Read / write ExcelKnownColors. + + + + + Returns or sets the primary color of the object, as shown in the + following table. Use the RGB function to create a color value. + Read / write Color. + + + + + Returns the number of objects in the collection. Read-only, Long. + + + + + Returns a Border object that represents one of the borders of either a + range of cells or a style. + + + + + Returns or sets the line style for the border. Read / write OfficeLineStyle. + + + + + Synonym for Borders.LineStyle. Read / write. + + + + + Parent workbook. + + + + + Specifies a boolean value that indicate whether the border collection has a empty border + + + + + Creates collection and sets its application and parent properties. + + Application object for this collection. + The parent object for this collection. + Indicates whether null elements must be added to internal array. + + + + Creates collection taking borders from ExtendedFormatImplWrapper. + + The application object for the collection. + The parent object for the collection. + + ExtendedFormatImplWrapper from where all borders will be taken. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns or sets the primary color of the object. + Read / write ExcelKnownColors. + + + + + Returns or sets the primary color of the object. Use the RGB function to create a color value. + Read / write ExcelKnownColors. + + + + + Returns a Border object that represents one of the borders of either a + range of cells or a style. Read-only. + + + + + Returns or sets the line style for the border. + Read / write OfficeLineStyle. + + + + + Synonym for Borders.LineStyle. Read / write OfficeLineStyle. + + + + + Specifies a boolean value that indicate whether the border collection has a empty border + + + + + Contains borders for range that contains more than one cell. + + + + + All cells of the range. + + + + + Parent workbook. + + + + + Application. + + + + + Creates instances for specified range. + + Range for which instance must be created. + + + + Creates instances for specified range. + + Range for which instance must be created. + + + + + + + + + Returns or sets the primary color of the object, as shown in the + following table. Use the RGB function to create a color value. + Read / write ExcelKnownColors. + + + + + Returns or sets the primary color of the object, as shown in the + following table. Use the RGB function to create a color value. + Read / write color. + + + + + Returns a Border object that represents one of the borders of either a + range of cells or a style. + + + + + Returns or sets the line style for the border. Read / write OfficeLineStyle. + + + + + Synonym for Borders.LineStyle. Read / write Variant. + + + + + Summary description for CellRecordCollection. + + + + + Table with cell records. + + + + + Table with created ranges. + + + + + Parent worksheet. + + + + + Parent workbook. + + + + + Indicates whether we should use ranges cache or not. + + + + + Record extractor to get Biff records from. + + + + + Initializes new instance of the collection. + + Application object for the collection. + Parent object for the collection. + + + + Searches for all necessary parent objects. + + + + + Removes all elements from the IDictionary. + + + + + Adds an element with the provided key and value to the IDictionary. + + The Object to use as the key of the element to add. + The Object to use as the value of the element to add. + + + + Returns an IDictionaryEnumerator for the IDictionary. + + An IDictionaryEnumerator for the IDictionary. + + + + Removes the element with the specified key from the IDictionary. + + The key of the element to remove. + + + + Determines whether the IDictionary contains an element with the specified key. + + The key to locate in the IDictionary. + True if the IDictionary contains an element with the key; otherwise, False. + + + + Returns an IDictionaryEnumerator for the IDictionary. + + An IDictionaryEnumerator for the IDictionary. + + + + Adds an element with the provided key and value to the IDictionary. + + The Object to use as the key of the element to add. + The Object to use as the value of the element to add. + + + + Adds an specified cell to the IDictionary. + + The Object to use as the value of the element to add. + + + + Removes the element with the specified key from the IDictionary. + + The key of the element to remove. + + + + Removes the element with the specified key from the IDictionary. + + One-based row index of the cell to remove. + One-based column index of the cell to remove. + + + + Determines whether collection contains row. + + Zero-based row index. + True if the collection contains at least one element with specified row index; otherwise, False. + + + + Determines whether the IDictionary contains an element with the specified key. + + The key to locate in the IDictionary. + True if the IDictionary contains an element with the key; otherwise, False. + + + + Determines whether the IDictionary contains an element with the specified key. + + One-based row index of the cell to locate. + One-based column index of the cell to locate. + True if the IDictionary contains an element with the key; otherwise, False. + + + + Copies the elements of the ICollection to an Array, starting at a particular Array index. + + + The one-dimensional Array that is the destination of the elements copied + from ICollection. The Array must have zero-based indexing. + + The zero-based index in array at which copying begins. + + + + Adds record to the collection. + + Record to add. + Indicates whether to ignore styles. + + + + Adds record to the collection. + + Record to add. + Indicates whether to ignore styles. + + + + Adds MulRKRecord to the records collection. + + Record to add. + Indicates whether to ignore styles. + + + + Adds MulBlankRecord to the records collection. + + Record to add. + Indicates whether to ignore styles. + + + + Adds formula record and its string value. + + Formula record to add. + String value to add. + Indicates whether styles should be ignored. + + + + Indicates whether specified formula is complex + and requires range object to be created for it. + + FormulaRecord to check. + + True if specified formula is complex and requires + range object to be created for it. + + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + A new object that is a copy of this instance. + + + + Sets cell range. + + Cell key. + Range to set. + + + + Sets cell range. + + One-based row index. + One-based column index. + Range to set. + + + + Returns cell range. + + Cell key. + Corresponding cell range. + + + + Returns cell range. + + One-based row index. + One-based column index. + Corresponding cell range. + + + + Sets cell record. + + Cell key. + Cell to set. + + + + Sets cell record. + + One-based row index. + One-based column index. + Cell to set. + + + + Returns cell record. + + Cell key. + Corresponding cell record. + + + + Returns cell record. + + One-based row index. + One-based column index. + Corresponding cell record. + + + + Clears range in the dictionary that corresponds to the specified range. + + Rectangle to clear. + + + + Copies cells from another worksheet. + + Source cells collection to copy cells from. + + Dictionary with changes in style indexes, + key - old style index, + value - new style index. + + Dictionary with changes in worksheet names. + Dictionary with new extended format indexes. + Dictionary with new name indexes. + Dictionary with new font indexes. + + + + Returns string value associated with specified cell index. + + Index to cell. + Indicates whether we are interested in correct height or width. + String value associated with specified cell index. + + + + Returns string value associated with specified cell index. + + Index to cell. + Indicates whether we are interested in correct height or width. + String object to fill. + String value associated with specified cell index. + + + + + + Cell index. + Indicates whether we are interested in correct height or width. + + + + + Fills rich text string object with string data. + + Record to get data from. + Indicates whether we are interested in correct height or width. + String to fill. + + + + Returns text value. + + Cell index. + Text value if appropriate record was found; otherwise - empty string. + + + + Gets error value by cell index. + + Cell index. + Returns string that represents error value. + + + + Gets bool value by cellindex. + + Cell index. + Returns value by cell index. + If true than value is correct; otherwise incorrect. + + + + Returns cell value by cell index. + + Cell index. + Cell value if appropriate record was found; otherwise returns double.MinValue. + + + + Returns cell value by cell index without formula value. + + Cell index. + Cell value if appropriate record was found; otherwise returns double.MinValue. + + + + Returns formula value. + + Cell index. + Formula value if appropriate record was found; otherwise double.MinValue. + + + + Sets string formula value. + + Cell index. + String value to set. + + + + Returns string formula value. + + Cell index. + String formula value. + + + + Gets date time by cell index. + + Cell index. + Returns date time or null. + + + + Returns minimum used row. + + Start column. + End column. + Minimum used row. + + + + Returns maximum used row. + + Start column. + End column. + maximum used row. + + + + Returns minimum used column. + + One-based index of the start row. + One-based index of the end row. + One-based index of the minimum used column. + + + + Returns maximum used column. + + Start row. + End row. + Maximum used column. + + + + Gets formula value by cell index. + + Cell index. + Returns formula value or null. + + + + Gets formula value by cell index. + + Cell index. + If true - returns in R1C1 notations. + Returns formula value or null. + + + + Gets formula value by cell index. + + Cell index. + If true - returns in R1C1 notations. + Represents number info. Can be null. + Returns formula value or null. + + + + Gets string value by cell index. + + Cell Index. + Returns string value or empty string. + + + + Gets extended format index by cell index. + + Cell index. + Returns extended format index or int.MINVALUE. + + + + Gets extended format index by cell index. + + One-based row index. + One-based column index + Returns extended format index or int.MinValue if not found. + + + + Gets extended format index of the row. + + One-based row index. + Returns extended format index or int.MinValue if not found. + + + + Gets extended format index of the column. + + One-based column index. + Returns extended format index or int.MinValue if not found. + + + + Gets font by cell index. + + Cell index. + Returns font or null. + + + + Copies style from one cell into another. + + One-based row index of the source cell. + One-based column index of the source cell. + One-based row index of the destination cell. + One-based column index of the destination cell. + + + + Sets number value. + + Represents column index. One-based. + Represents row index. One-based. + Represents number value. + Represents xf index. + + + + Sets boolean value. + + Represents column index. One based + Represents row index. One based. + Represents boolean value. + + + + Sets boolean value. + + Cell index. + Represents boolean value. + + + + Sets boolean value. + + Represents column index. One-based. + Represents row index. One-based. + Represents boolean value. + Represents xf index. + + + + Sets error value. + + Represents column index. One based. + Represents row index. One based. + Represents error value. + + + + Sets error value. + + Cell index. + Represents error value. + + + + Sets error value. + + Represents column index. One based. + Represents row index. One based. + Represents error value. + Represents xf index. + + + + Sets error value. + + Represents column index. One based. + Represents row index. One based. + Represents error code. + Represents xf index. + + + + Sets formula value. + + Represents column index. One based. + Represents row index. One based. + Represents formula to set. + Represents extended format index. + + + + Sets formula value. + + Represents column index. One based. + Represents row index. One based. + Represents formula to set. + Represents extended format index. + If true - value in R1C1 notation. + Represent number format info, can be null. + + + + Sets formula value. + + Represents column index. One based. + Represents row index. One based. + Represents formula to set. + Represents extended format index. + If true - value in R1C1 notation. + + + + Sets formula value. + + Represents column index. One based. + Represents row index. One based. + Represents formula to set. + Represents extended format index. + If true - value in R1C1 notation. + If true - parse formula. + Represent number format info, can be null. + + + + Sets blank value. + + Represents column index. One based. + Represents row index. One based. + Represents extended format index. + + + + Sets RTF value. + + Represents column index. One based. + Represents row index. One based. + Represents extended format index. + Represents rtf to set. + + + + Sets string value from existing SST collection. + + Represents column index. One based. + Represents row index. One based. + Represents extended format index. + Represents SST index + + + + Sets cell to the non-SST string record (LabelRecord). + + One-based row index. + One-based column index. + Extended format index. + String value to set. + + + + Free's range object. + + One-based row index of the range object to remove from internal cache. + One-based column index of the range object to remove from internal cache. + + + + Removes all data saving cells formatting. + + + + + Sets array formula. + + Record to set. + + + + Returns array record corresponding to the cell + + One-based row index of the cell to get ArrayRecord for. + One-based column index of the cell to get ArrayRecord for. + Corresponding array record. + + + + Updates formulas after copy operation. + + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + + + + Removes last column from the worksheet. + + One-based column index. + + + + Updates indexes to named ranges. + + Parent workbook. + New indexes. + + + + Replaces all shared formula with ordinary formula. + + + + + Updates string indexes. + + List with new indexes. + + + + Returns found values or null. + + Storage range. + Value to find. + If true - finds first value; otherwise - all values. + If findfirst - true then returns range; otherwise - array with all found values. + List with cell indexes that contains specified value. + + + + Returns found values or null. + + Storage range. + Value to find. + If true - finds first value; otherwise - all values. + Way to find + If findfirst - true then returns range; otherwise - array with all found values. + + List with cell indexes that contains specified value. + + + + + Returns found values or null. + + Storage range. + Value to find. + If true - finds first value; otherwise - all values. + If findfirst - true then returns range; otherwise - array with all found values. + List with cell indexes that contains specified value. + + + + Returns found values or null. + + Storage range. + Value to find. + Indicates whether we should look for error code or boolean value. + If findfirst - true then returns range; otherwise - array with all found values. + List with cell indexes that contains specified value. + + + + + + + + + + Caches and removes specified rectangle from the table. + + Source range. + Row delta to add to the resulting table. + Column delta to add to the resulting table. + Output maximum zero-based row index. + Output maximum zero-based column index. + Cached table. + + + + This method should be called immediately after extended format removal. + + Dictionary with updated extended formats. + + + + This method should be called immediately after extended format removal. + + Array with updated extended formats. + + + + This method updates indexes to the extended formats after version change. + + New restriction for maximum possible XF index. + + + + Sets cell style. + + One-based row index. + One-based column index. + Index of the extended format to set. + + + + Sets row style. + + One-based row index. + Index of the extended format to set. + + + + Looks through all records and calls AddIncrease for each LabelSST record. + + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Parses bool or error value from formula value. + + Represents formula record. + Returns value string. + + + + Creates internal cache for range objects. + + + + + Updates sheet references in the formula. + + Formula to update. + Dictionary with new worksheet names. + Source workbook. + + + + Copies string records. + + Source collection with strings to copy. + + + + Returns format applied to the cell. + + Cell index. + Format applied to the cell. + + + + Returns font applied to the cell. + + Cell index. + Font applied to the cell. + + + + Gets new index of an extended format. + + Old index of the extended format. + Dictionary with new extended format indexes. + Copy range options. + New index of the extended format. + + + + Updates LabelSST indexes after SST record parsing. + + Dictionary with indexes to update, key - old index, value - new index. + + + + Fills string object with data. + + String object to fill. + Index in the shared strings table. + + + + Returns cell type. + + One-based row index. + One-based column index. + + + + This method is called when object is about to be disposed. + + + + + Searches for the record of specified type. + + Record type to look for. + One-based index to the row to look at. + One-based index of the column to start looking at. + One-based index of the column to end looking at. + Column index that contains record of the specified type or value beyond iLastCol if not found. + + + + Returns first used row. Read-only. + + + + + Returns last used row. Read-only. + + + + + Represents parent worksheet. + + + + + Table with cell records. Read-only. + + + + + Indicates whether we should use ranges cache or not. Default value if false. + + + + + + + + + + + + + + + Returns number of elements in the collection. Read-only. + + + + + Gets a value indicating whether the IDictionary has a fixed size. Read-only. + + + + + Gets a value indicating whether the IDictionary is read-only. Read-only. + + + + + Gets an ICollection containing the keys of the IDictionary. Read-only. + + + + + Gets an ICollection containing the values in the IDictionary. Read-only. + + + + + Gets or sets the element with the specified key. + + + + + Gets or sets the element with the specified key. + + + + + Gets or sets the element with the specified one-based row and column indexes. + + + + + Gets a value indicating whether access to the ICollection is synchronized. Read-only. + + + + + Gets an object that can be used to synchronize access to the ICollection. Read-only. + + + + + Represents collection of all extended formats in the workbook. + + + + + Number of default extended formats. + + + + + Dictionary with all formats in the collection. + Key - ExtendedFormatImpl, value - same format. + + + + + Creates collection and sets its Application and Parent values. + + + Application object that represents the Excel application. + + Parent object of this collection. + + + + Adds format into collection. + + Format to add. + + If there is same format in the collection, this method will return it; + otherwise format that was passed as argument will be added. + + + + + Adds format into collection. + + Format to add. + Format that was added. + + + + Adds index to the collection. + + Dictionary to add index to. + List with extended formats. + Index to add. + + + + Creates copy of the current instance. + + Parent object for the new collection. + Copy of the current instance. + + + + Sets maximum possible count of extended formats in the collections. + Updates ParentIndex and overall number of extended formats if necessary. + + New value of maximum possible extended formats. + + + + + + + + + + + Returns single entry from the collection. Read-only. + + + + + Returns parent workbook object. Read-only. + + + + + Collection of external workbooks in the worksheet. + + + + + Default options of StdDocumnt extern name. + + + + + Sheet index for non-existing sheet. + + + + + This URL is written by MS Excel 2003 when referenced file is closed before saving workbook. + + + + + Parent workbook. + + + + + Dictionary key - extern workbook url, value - corresponding extern workbook. + + + + + Dictionary key - short name of the workbook, value - workbook. + + + + + Creates collection with specified Application and Parent. + + Application object for the collection. + Parent object for the collection. + + + + Adds workbook into collection. + + Book to add. + Index of the new workbook. + + + + + + + + + + + + + + Adds new workbook into collection + + Workbook to add. + Index of the new workbook. + + + + Inserts SupbookRecord describing this workbook. + + + Index to the SupBookRecord that describes current workbook. + + + + + Checks whether any of books in this collection contains extern name. + + Name to search. + True if name was found; false otherwise. + + + + Checks whether any of books in this collection contains extern name. + + Name to search. + Output extern workbook index. + Output name index. + True if name was found; false otherwise. + + + + Returns extern workbook with specified short name. + + Short name to find. + + Extern workbook that corresponds to the specified short name; + or Null if there isn't such workbook. + + + + + Sets all necessary parent objects. + + + + + Returns first index of current book in collection. + + Returns first index of current book in collection. + + + + + + + + + + + Tries to find corresponding workbook or creates new if not found. + + Name of the workbook file. + Path to the workbook. + Found or created extern workbook. + + + + Frees all allocated unmanaged resources. + + + + + Returns single extern workbook from the collection. + + + + + Returns single extern workbook from the collection. + + + + + Summary description for ExternNamesCollection. + + + + + Parent extern workbook. + + + + + Hash table with all names. + + + + + Sometimes different applications (not MS Excel) can create duplicated + extern names, we have to remember all of them and after parsing remove it. + + + + + Creates collection with specified Application and Parent. + + Application object for the collection. + Parent object for the collection. + + + + Searches for all necessary parents. + + + + + Adds new name to the collection. + + Name to add. + Index of added extern name. + + + + Adds new name to the collection. + + Name to add. + Index of added extern name. + + + + Checks if collection contains extern name with specified name. + + Name to find. + Boolean value indicating whether collection contains extern name. + + + + Return index to the extern name. + + Name to locate. + Index to the extern name, or -1 if name was not found. + + + + Creates copy of the collection. + + Parent object for the new collection. + + + + + + + + + + + + + + + + + + + Returns extern name. Read-only. + + + + + Returns extern name. Read-only. + + + + + Summary description for FontsCollection. + + + + + Parent workbook. + + + + + + + + + + Creates collection with specified Application and Parent. + + Application object for the collection. + Parent object for the collection. + + + + Adds font to collection. + + Font to add. + Added font. + + + + Inserts default fonts into collection. + + + + + Searches for all necessary parents. + + + + + Forces add to the collection even if same font is already in the collection. + + Font to add. + + + + Saves fonts collection as a set of biff records. + + OffssetArrayList that will receive biff records. + + + + Indicates whether such font is in collection. + + Font to search. + True if such font is present in the collection, false otherwise. + + + + Creates copy of the fonts collection. + + Parent workbook for the new collection. + Copy of this collection. + + + + Returns single font from collection. + + + + + Represents collection of formats in the workbook. + + + + + Represents the Decimal Seprator. + + + + + Represents the Thousand seprator. + + + + + Represents the percentage in decimal numbers. + + + + + Represents the fraction symbol. + + + + + Represents the index of the date format. + + + + + Represents the time separator. + + + + + Represents the Exponenet Symbol. + + + + + Represents the Minus symbol. + + + + + Represents the Currency Symbol. + TODO: support currency based on the Culture. + + + + + Index to the first user-defined number format. + + + + + Japan code. + + + + + Represents the collection of DateFormats. + + + + + Default format strings. + + + + + Default currency format strings. + + + + + Default currency format . + + + + + Index-to-FormatImpl. + + + + + Dictionary. Key - format string, value - FormatImpl. + + + + + Format parser. + + + + + Represent the indexes of the Raw Formats. + + + + + Number Formats Taken. + + + + + Dictionary. Key - currency symbol , value - currency format string. + + + + + Initializes new instance and sets its application and parent objects. + + Application object to set. + Parent object to set. + + + + Adds new format to the collection. + + Format to add. + + + + + + + + + + + + + + + + + Creates copy of the current instance. + + Parent object for the new collection. + Copy of the current instance. + + + + Method that creates format object based on the format string + and registers it in the workbook. + + Format string for the new format record. + Index of created format. + + + + Gets customized datetime format string of user input format string, inaccordance with MS Excel behaviour + + + + + + + Determines whether the IDictionary contains an element with the specified format. + + Format to locate in the collection. + True if the collection contains an element with the key; otherwise, False. + + + + Searches for format with specified format string + and creates one if a match is not found. + + String describing needed format. + Found or created format. + + + + Inserts all default formats into list. + + + + + Gets all used formats. + + Array that contains all used format records. + + + + Returns an IDictionaryEnumerator for the IDictionary. + + An IDictionaryEnumerator for the IDictionary. + + + + Determines whether the IDictionary contains an element with the specified key. + + The key to locate in the IDictionary. + True if the IDictionary contains an element with the key; otherwise, False. + + + + Removes all elements from the IDictionary. + + + + + Returns single entry from the collection. Read-only. + + + + + Gets or Sets a value indicating whether worksheet contains number formats. + + + + + Returns single entry from the collection by format string. Read-only. + + + + + Returns format parser. Read-only. + + + + + Gets currency format string. Read-only. + + + + + Gets the number of elements contained in the collection. Read-only + + + + + Summary description for BorderGroup. + + + + + Border index. + + + + + Parent style group. + + + + + Creates new instance of the group. + + Application object for the new group. + Parent object for the new group. + Border index. + + + + Searches for all necessary parent objects. + + + + + Returns single entry from the group. Read-only. + + + + + Returns number of elements in the group. Read-only. + + + + + Returns or sets the primary color of the object. + Read/write Long. + + + + + Returns or sets the primary color of the object. + Read/write Long. + + + + + Returns color of the border. + + + + + Returns or sets the line style for the border. Read/write OfficeLineStyle. + + + + + This property is used only by Diagonal borders. For any other border + index property will have no influence. + + + + + Summary description for BordersGroup. + + + + + Parent style group. + + + + + Creates new instance of the group. + + Application object for the new group. + Parent object for the new group. + + + + Searches for all necessary parent objects. + + + + + Returns single entry from the group. Read-only. + + + + + Returns number of elements in the group. Read-only. + + + + + Returns or sets the primary color of the object. + Read / write ExcelKnownColors. + + + + + Returns or sets the primary color of the object, as shown in the + following table. Use the RGB function to create a color value. + Read / write Color. + + + + + Returns the number of objects in the collection. Read-only, Long. + + + + + Returns a Border object that represents one of the borders of either a + range of cells or a style. + + + + + Returns or sets the line style for the border. Read / write OfficeLineStyle. + + + + + Synonym for Borders.LineStyle. Read / write. + + + + + Summary description for FontGroup. + + + + + Parent range group. + + + + + Creates new instance of the group. + + Application object for the new group. + Parent object for the new group. + + + + Searches for all necessary parent objects. + + + + + Generates .Net font object corresponding to the current font. + + Generated .Net font. + + + + This method should be called before several updates to the object will take place. + + + + + This method should be called after several updates to the object took place. + + + + + Returns single entry from the group. Read-only. + + + + + Returns number of elements in the group. Read-only. + + + + + True if the font is bold. Read / write Boolean. + + + + + Returns or sets the primary color of the object. Read / write ExcelKnownColors. + + + + + Gets / sets font color. Searches for the closest color in + the workbook palette. + + + + + True if the font style is italic. Read / write Boolean. + + + + + True if the font is an outline font. Read / write Boolean. + + + + + True if the font is a shadow font or if the object has + a shadow. Read / write Boolean. + + + + + Returns or sets the size of the font. Read / write Variant. + + + + + True if the font is struck through with a horizontal line. + Read / write Boolean + + + + + True if the font is formatted as subscript. + False by default. Read / write Boolean. + + + + + True if the font is formatted as superscript. False by default. + Read/write Boolean + + + + + Returns or sets the type of underline applied to the font. Can + be one of the following ExcelUnderlineStyle constants. + Read / write OfficeUnderline. + + + + + Returns or sets the font name. Read / write string. + + + + + Gets / sets font vertical alignment. + + + + + Indicates whether color is automatically selected. Read-only. + + + + + Summary description for PageSetupGroup. + + + + + Represents the page setup description. The PageSetup object + contains all page setup attributes (left margin, bottom margin, + paper size, and so on) as properties. + + + + + Indicates whether summary rows will appear below detail in outlines. + + + + + Indicates whether summary columns will appear right of the detail in outlines. + + + + + Indicates whether fit to page mode is selected. + + + + + Parent group of worksheets. + + + + + Initializes new instance and sets its application and parent properties. + + Application object for the new instance. + Parent object for the new instance. + + + + Looks for all necessary parent objects. + + + + + Indicates whether summary rows will appear below detail in outlines. + + + + + Indicates whether summary columns will appear right of the detail in outlines. + + + + + Indicates whether fit to page mode is selected. + + + + + Returns or sets the center part of the footer. Read / write String. + + + + + Returns or sets the center part of the header. Read / write String. + + + + + Returns or sets the left part of the footer. Read / write String. + &L Left aligns the characters that follow. + &C Centers the characters that follow. + &R Right aligns the characters that follow. + &E Turns double-underline printing on or off. + &X Turns superscript printing on or off. + &Y Turns subscript printing on or off. + &B Turns bold printing on or off. + &I Turns italic printing on or off. + &U Turns underline printing on or off. + &S Turns strikethrough printing on or off. + &D Prints the current date. + &T Prints the current time. + &F Prints the name of the document. + &A Prints the name of the workbook tab. + &P Prints the page number. + &P+number Prints the page number plus the specified number. + &P-number Prints the page number minus the specified number. + && Prints a single ampersand. + & "fontname" Prints the characters that follow in the specified font. Be sure to include the double quotation marks. + &nn Prints the characters that follow in the specified font size. Use a two-digit number to specify a size in points. + &N Prints the total number of pages in the document. + + + + + Returns or sets the left part of the header. Read / write String. + + + + + Portrait or landscape printing mode. Read / write OfficePageOrientation. + + + + + Returns or sets the right part of the footer. Read / write String. + + + + + Returns or sets the right part of the header. Read / write String. + + + + + Summary description for RangeGroup. + + + + + Represents a cell, row, column, selection of cells + containing one or more contiguous blocks of cells, + or a 3-D range. + + + + + Clear the contents of the Range. + + + + + Returns intersection of this range with the specified one. + + The Range with which to intersect. + Range intersection; if there is no intersection, NULL is returned. + + + + Autofits all columns in the range. + + + + + Returns the range reference in the language of the macro. + Read-only String. + + + + + Returns the range reference for the specified range in the language + of the user. Read-only String. + + + + + Returns range Address in format "'Sheet1'!$A$1". + + + + + Returns the range reference using R1C1 notation. + Read-only String. + + + + + Returns the range reference using R1C1 notation. + Read-only String. + + + + + Gets / sets boolean value that is contained by this range. + + + + + Returns a Borders collection that represents the borders of a style + or a range of cells (including a range defined as part of a + conditional format). + + + + + Returns a Range object that represents the cells in the specified range. + Read-only. + + + + + Returns the number of the first column in the first area in the specified + range. Read-only. + + + + + Column group level. Read-only. + -1 - Not all columns in the range have same group level. + 0 - No grouping, + 1 - 7 - Group level. + + + + + Returns or sets the width of all columns in the specified range. + Read/write Double. + + + + + Returns the number of objects in the collection. Read-only. + + + + + Gets / sets DateTime contained by this cell. Read-write DateTime. + + + + + Returns cell value after number format application. Read-only. + + + + + Returns a Range object that represents the cell at the end of the + region that contains the source range. + + + + + Returns a Range object that represents the entire column (or + columns) that contains the specified range. Read-only. + + + + + Returns a Range object that represents the entire row (or + rows) that contains the specified range. Read-only. + + + + + Gets / sets error value that is contained by this range. + + + + + Returns or sets the object's formula in A1-style notation and in + the language of the macro. Read/write Variant. + + + + + Represents array formula which can perform multiple calculations on one or more of the items in an array. + + + + + Returns or sets the formula array for the range, using R1C1-style notation. + + + + + True if the formula will be hidden when the worksheet is protected. + False if at least part of formula in the range is not hidden. + + + + + Get / set formula DateTime value contained by this cell. + DateTime.MinValue if not all cells of the range have same DateTime value. + + + + + Returns or sets the formula for the range, using R1C1-style notation. + + + + + Returns the calculated value of the formula as a boolean. + + + + + Returns the calculated value of the formula as a string. + + + + + Indicates whether range contains bool value. Read-only. + + + + + Indicates whether range contains DateTime value. Read-only. + + + + + True if all cells in the range contain formulas; False if + at least one of the cells in the range doesn't contain a formula. + Read-only Boolean. + + + + + Indicates whether range contains array-entered formula. Read-only. + + + + + Indicates whether the range contains number. Read-only. + + + + + Indicates whether cell contains formatted rich text string. + + + + + Indicates whether the range contains String. Read-only. + + + + + Indicates whether range has default style. False means default style. + Read-only. + + + + + Returns or sets the horizontal alignment for the specified object. + Read/write OfficeHAlign. + + + + + Returns or sets the indent level for the cell or range. Can be an integer + from 0 to 15 for Excel 97-2003 and 250 for Excel 2007. Read/write Integer. + + + + + Indicates whether the range is blank. Read-only. + + + + + Indicates whether range contains boolean value. Read-only. + + + + + Indicates whether range contains error value. + + + + + Indicates whether this range is grouped by column. Read-only. + + + + + Indicates whether this range is grouped by row. Read-only. + + + + + Indicates whether cell is initialized. Read-only. + + + + + Returns last column of the range. Read-only. + + + + + Returns last row of the range. Read-only. + + + + + Gets / sets double value of the range. + + + + + Format of current cell. Analog of Style.NumberFormat property. + + + + + Returns the number of the first row of the first area in + the range. Read-only Long. + + + + + Row group level. Read-only. + -1 - Not all rows in the range have same group level. + 0 - No grouping, + 1 - 7 - Group level. + + + + + Returns the height of all the rows in the range specified, + in points. Returns Double.MinValue if the rows in the specified range + aren't all the same height. Read / write Double. + + + + + For a Range object, returns an array of Range objects that represent the + rows in the specified range. + + + + + For a Range object, returns an array of Range objects that represent the + columns in the specified range. + + + + + Returns a Style object that represents the style of the specified + range. Read/write IStyle. + + + + + Returns name of the Style object that represents the style of the specified + range. Read/write String. + + + + + Gets / sets string value of the range. + + + + + Gets / sets time value of the range. + + + + + Returns or sets the value of the specified range. + Read/write Variant. Does not support FormulaArray value. + + + + + Returns or sets the cell value. Read/write Variant. + The only difference between this property and the Value property is + that the Value2 property doesn't use the Currency and Date data types. + Does not support FormulaArray value. + + + + + Returns or sets the vertical alignment of the specified object. + Read/write OfficeVAlign. + + + + + Returns a Worksheet object that represents the worksheet + containing the specified range. Read-only. + + + + + Gets / sets cell by row and column index. Row and column indexes are one-based. + + + + + Get cell range. Row and column indexes are one-based. Read-only. + + + + + Get cell range. Read-only. + + + + + Gets cell range. Read-only. + + + + + Gets / sets string value evaluated by formula. + + + + + Gets / sets number value evaluated by formula. + + + + + Indicates if current range has formula bool value. Read-only. + + + + + Indicates if current range has formula error value. Read-only. + + + + + Indicates if current range has formula value formatted as DateTime. Read-only. + + + + + Indicates if the current range has formula number value. Read-only. + + + + + Indicates if the current range has formula string value. Read-only. + + + + + String with rich text formatting. Read-only. + + + + + Indicates whether this range is part of merged range. Read-only. + + + + + Returns a Range object that represents the merged range containing + the specified cell. If the specified cell isn�t in a merged range, + this property returns NULL. Read-only. + + + + + True if Microsoft Excel wraps the text in the object. + Read/write Boolean. + + + + + Indicates is current range has external formula. Read-only. + + + + + Gets/sets built in style. + + + + + First row. + + + + + First column. + + + + + Last row. + + + + + Last column. + + + + + Parent group of worksheets. + + + + + Rich text string group. + + + + + Value of End property. + + + + + Style group. + + + + + Creates new instance of the group. + + Application object for the new group. + Parent object for the new group. + + + + Creates new instance of the group. + + Application object for the new group. + Parent object for the new group. + The first row of the range. + The first column of the range. + + + + Creates new instance of the group. + + Application object for the new group. + Parent object for the new group. + The first row of the range. + The first column of the range. + The last row of the range. + The last column of the range. + + + + Creates new instance of the group. + + Application object for the new group. + Parent object for the new group. + String representation of the range. + + + + Creates new instance of the group. + + Application object for the new group. + Parent object for the new group. + String representation of the range. + Indicates is name in R1C1 notation. + + + + Searches for all necessary parent objects. + + + + + Returns range for specific sheet. + + Sheet index in the group. + + + + + Creates Subtotal for the corresponding ranges + + GroupBy + ConsolidationFunction + TotalList + + + + Creates SubTotal for the corresponding Ranges + + GroupByGroupBy + ConsolidationFunction + TotalList + Replace exisiting SubTotal + Insert PageBreaks + SummaryBelowData + + + + Clear the contents of the Range. + + + + + Returns intersection of this range with the specified one. + + The Range with which to intersect. + Range intersection; if there is no intersection, NULL is returned. + + + + Autofits all columns in the range. + + + + + Returns number of ranges in the group. Read-only. + + + + + Returns range from the specified worksheet in the range. Read-only. + + + + + Returns parent workbook object. Read-only. + + + + + Returns the range reference in the language of the macro. + Read-only String. + + + + + Returns the range reference for the specified range in the language + of the user. Read-only String. + + + + + Returns range Address in format "'Sheet1'!$A$1". + + + + + Returns the range reference using R1C1 notation. + Read-only String. + + + + + Returns the range reference using R1C1 notation. + Read-only String. + + + + + Gets / sets boolean value that is contained by this range. + + + + + Returns a Borders collection that represents the borders of a style + or a range of cells (including a range defined as part of a + conditional format). + + + + + Returns a Range object that represents the cells in the specified range. + Read-only. + + + + + Returns the number of the first column in the first area in the specified + range. Read-only. + + + + + Column group level. Read-only. + -1 - Not all columns in the range have same group level. + 0 - No grouping, + 1 - 7 - Group level. + + + + + Returns or sets the width of all columns in the specified range. + Read/write Double. + + + + + Returns the number of objects in the collection. Read-only. + + + + + Gets / sets DateTime contained by this cell. Read-write DateTime. + + + + + Returns cell value after number format application. Read-only. + + + + + Returns a Range object that represents the cell at the end of the + region that contains the source range. + + + + + Returns a Range object that represents the entire column (or + columns) that contains the specified range. Read-only. + + + + + Returns a Range object that represents the entire row (or + rows) that contains the specified range. Read-only. + + + + + Gets / sets error value that is contained by this range. + + + + + Returns or sets the object's formula in A1-style notation and in + the language of the macro. Read/write Variant. + + + + + Returns or sets the object's formula in R1C1-style notation and in + the language of the macro. Read/write Variant. + + + + + Represents array-entered formula. + + + + + Returns or sets the object's formula in R1C1-style notation and in + the language of the macro. Read/write Variant. + + + + + True if the formula will be hidden when the worksheet is protected. + False if at least part of formula in the range is not hidden. + + + + + Get / set formula DateTime value contained by this cell. + DateTime.MinValue if not all cells of the range have same DateTime value. + + + + + Indicates whether specified range object has data validation. + If Range is not single cell, then returns true only if all cells have data validation. Read-only. + + + + + Indicates whether range contains bool value. Read-only. + + + + + Indicates whether range contains DateTime value. Read-only. + + + + + Indicates if current range has formula bool value. Read-only. + + + + + Indicates if current range has formula error value. Read-only. + + + + + Indicates if current range has formula value formatted as DateTime. Read-only. + + + + + Indicates if the current range has formula number value. Read-only. + + + + + Indicates if the current range has formula string value. Read-only. + + + + + True if all cells in the range contain formulas; False if + at least one of the cells in the range doesn't contain a formula. + Read-only Boolean. + + + + + Indicates whether range contains array-entered formula. Read-only. + + + + + Indicates whether the range contains number. Read-only. + + + + + Indicates whether cell contains formatted rich text string. + + + + + Indicates whether the range contains String. Read-only. + + + + + Indicates whether range has default style. False means default style. + Read-only. + + + + + Returns or sets the horizontal alignment for the specified object. + Read/write OfficeHAlign. + + + + + Returns or sets the indent level for the cell or range. Can be an integer + from 0 to 15 for Excel 97-2003 and 250 for Excel 2007. Read/write Integer. + + + + + Indicates whether the range is blank. Read-only. + + + + + Indicates whether range contains boolean value. Read-only. + + + + + Indicates whether range contains error value. + + + + + Indicates whether this range is grouped by column. Read-only. + + + + + Indicates whether this range is grouped by row. Read-only. + + + + + Indicates whether cell is initialized. Read-only. + + + + + Returns last column of the range. Read-only. + + + + + Returns last row of the range. Read-only. + + + + + Gets / sets double value of the range. + + + + + Format of current cell. Analog of Style.NumberFormat property. + + + + + Returns the number of the first row of the first area in + the range. Read-only Long. + + + + + Row group level. Read-only. + -1 - Not all rows in the range have same group level. + 0 - No grouping, + 1 - 7 - Group level. + + + + + Returns the height of all the rows in the range specified, + in points. Returns Double.MinValue if the rows in the specified range + aren't all the same height. Read / write Double. + + + + + For a Range object, returns an array of Range objects that represent the + rows in the specified range. + + + + + For a Range object, returns an array of Range objects that represent the + columns in the specified range. + + + + + Returns a Style object that represents the style of the specified + range. Read/write IStyle. + + + + + Returns name of the Style object that represents the style of the specified + range. Read/write String. + + + + + Gets / sets string value of the range. + + + + + Gets / sets time value of the range. + + + + + Returns or sets the value of the specified range. + Read/write Variant. + + + + + Returns the calculated value of a formula using the most current inputs. + + + + + Returns or sets the cell value. Read/write Variant. + The only difference between this property and the Value property is + that the Value2 property doesn't use the Currency and Date data types. + + + + + Returns or sets the vertical alignment of the specified object. + Read/write OfficeVAlign. + + + + + Returns a Worksheet object that represents the worksheet + containing the specified range. Read-only. + + + + + Gets / sets cell by row and column index. Row and column indexes are one-based. + + + + + Get cell range. Row and column indexes are one-based. Read-only. + + + + + Get cell range. Read-only. + + + + + Get cell range. Read-only. + + + + + Gets / sets string value evaluated by formula. + + + + + Gets / sets number value evaluated by formula. + + + + + Gets / sets number value evaluated by formula. + + + + + Returns the calculated value of the formula as a string. + + + + + String with rich text formatting. Read-only. + + + + + Indicates whether this range is part of merged range. Read-only. + + + + + Returns a Range object that represents the merged range containing + the specified cell. If the specified cell isn�t in a merged range, + this property returns NULL. Read-only. + + + + + True if Microsoft Excel wraps the text in the object. + Read/write Boolean. + + + + + Indicates is current range has external formula. Read-only. + + + + + Represents ignore error options. If not single cell returs concatenateed flags. + + + + + Gets/sets built in style. + + + + + Summary description for RichTextStringGroup. + + + + + Represents a Rich Text String that can be used to apply several styles inside a single cell. + + + + + Returns font which is applied to character at the specified position. + + Character index. + Font which is applied to character at the specified position. + + + + Sets font for range of characters. + + First character of the range. + Last character of the range. + Font to set. + + + + Clears string formatting. + + + + + Clears text and formatting. + + + + + Appends rich text string with specified text and font. + + Text to append. + Font to use. + + + + Gets / sets text of the string. + + + + + Returns text in rtf format. Read-only. + + + + + Indicates whether rich text string has formatting runs. Read-only. + + + + + Parent group of ranges. + + + + + Represents an RTF string. + + + + + Creates new instance of the group. + + Application object for the new group. + Parent object for the new group. + + + + Searches for all necessary parent objects. + + + + + Returns font which is applied to character at the specified position. + + Character index. + Font which is applied to character at the specified position. + + + + Sets font for range of characters. + + First character of the range. + Last character of the range. + Font to set. + + + + Clears string formatting. + + + + + Appends rich text string with specified text and font. + + Text to append. + Font to use. + + + + Clears text and formatting. + + + + + + + + + + + + + + + Returns single RichTextString from the group. Read-only. + + + + + Returns number of elements in the group. Read-only. + + + + + Gets / sets text of the string. + + + + + Returns text in rtf format. Read-only. + + + + + Indicates whether rich text string has formatting runs. Read-only. + + + + + Summary description for StyleGroup. + + + + + Parent range group. + + + + + Font group. + + + + + Borders group. + + + + + Creates new instance of the group. + + Application object for the new group. + Parent object for the new group. + + + + Searches for all necessary parent objects. + + + + + This method should be called before several updates to the object will take place. + + + + + This method should be called after several updates to the object. + + + + + Returns single entry from the group. Read-only. + + + + + Returns number of elements in the group. Read-only. + + + + + Returns parent workbook object. Read-only. + + + + + Returns a Borders collection that represents the borders of a + style or a range of cells (including a range defined as part of + a conditional format). + + + + + True if the style is a built-in style. Read-only Boolean. + + + + + Gets / sets fill pattern. + + + + + Gets / sets index of fill background color. + + + + + Gets / Sets fill background color. + + + + + Gets / sets index of fill foreground color. + + + + + Gets / sets fill foreground color. + + + + + Returns a Font object that represents the font of the specified + object. + + + + + Returns Interior object that represents interior of the specified object. + + + + + True if the formula will be hidden when the worksheet is protected. + Read/write Boolean. + + + + + Returns or sets the horizontal alignment for the specified object. + For all objects, this can be one of the following OfficeHAlign constants. + Read/write OfficeHAlign. + + + + + True if the style includes the AddIndent, HorizontalAlignment, + VerticalAlignment, WrapText, and Orientation properties. + Read/write Boolean. + + + + + True if the style includes the Color, ColorIndex, LineStyle, + and Weight border properties. Read/write Boolean. + + + + + True if the style includes the Background, Bold, Color, + ColorIndex, FontStyle, Italic, Name, OutlineFont, Shadow, + Size, Strikethrough, Subscript, Superscript, and Underline + font properties. Read/write Boolean. + + + + + True if the style includes the NumberFormat property. + Read/write Boolean. + + + + + True if the style includes the Color, ColorIndex, + InvertIfNegative, Pattern, PatternColor, and PatternColorIndex + interior properties. Read / write Boolean. + + + + + True if the style includes the FormulaHidden and Locked protection + properties. Read/write Boolean. + + + + + Returns or sets the indent level for the style. Read/write. + + + + + True if the object is locked, False if the object can be + modified when the sheet is protected. Read/write Boolean. + + + + + Returns or sets the name of the object. Read-only String. + + + + + Returns or sets the format code for the object. Read/write String. + + + + + Returns or sets the format code for the object. Read/write String. + + + + + Gets / sets index of the number format. + + + + + Text rotation angle: + 0 Not rotated + 1-90 1 to 90 degrees counterclockwise + 91-180 1 to 90 degrees clockwise + 255 Letters are stacked top-to-bottom, but not rotated. + + Thrown when value is more than 0xFF. + + + + True if text automatically shrinks to fit in the available + column width. Read/write Boolean. + + + + + Returns or sets the vertical alignment of the specified object. + Read/write OfficeVAlign. + + + + + True if Excel wraps the text in the object. + Read/write Boolean. + + + + + Indicates whether style is initialized (differs from Normal style). + Read-only. + + + + + Text direction, the reading order for far east versions. + + + + + If true then first symbol in cell is apostrophe. + + + + + For far east languages. Supported only for format. Always False for US. + + + + + Gets / sets index of fill background color. + + + + + Gets / Sets fill background color. + + + + + Gets / sets index of fill foreground color. + + + + + Returns or sets the cell shading color. + + + + + Gets value indicating whether format was modified, compared to parent format. + + + + + Gets format index in m_book.InnerFormats. + + + + + Represents group of worksheets. + + + + + Represents a worksheet group. + + + + + Represents a worksheet. The Worksheet object is a member of the + Worksheets collection. The Worksheets collection contains all the + Worksheet objects in a workbook. + + + + + Creates new instance of IRanges. + + New instance of ranges collection. + + + + Imports data from a DataTable into worksheet. + + DataTable with desired data. + True if column names must also be imported. + Row of the first cell where DataTable should be imported. + Column of the first cell where DataTable should be imported. + Number of imported rows. + + + + Autofits specified row. + + One-based row index. + + + + Autofits specified column. + + One-based column index. + + + + Replaces specified string by data table values. + + String value to replace. + Data table with new data. + Indicates whether field name must be shown. + + + + Replaces specified string by data column values. + + String value to replace. + Data table with new data. + Indicates whether field name must be shown. + + + + Removes worksheet from parent worksheets collection. + + + + + Moves worksheet. + + New index of the worksheet. + + + + Converts pixels into column width (in characters). + + Width in pixels + Width in characters. + + + + Sets column width. + + One-based column index. + Width to set. + + + + Sets column width. + + One-based column index. + Width in pixels to set. + + + + Returns width from ColumnInfoRecord if there is corresponding ColumnInfoRecord + or StandardWidth if not. + + One-based index of the column. + Width of the specified column. + + + + Returns width in pixels from ColumnInfoRecord if there is corresponding ColumnInfoRecord + or StandardWidth if not. + + One-based index of the column. + Width in pixels of the specified column. + + + + Returns height from RowRecord if there is a corresponding RowRecord. + Otherwise returns StandardHeight. + + One-based index of the row + + Height from RowRecord if there is corresponding RowRecord. + Otherwise returns StandardHeight. + + + + + Returns height from RowRecord if there is a corresponding RowRecord. + Otherwise returns StandardHeight. + + One-based index of the row. + + Height in pixels from RowRecord if there is corresponding RowRecord. + Otherwise returns StandardHeight. + + + + + Save tabsheet using separator. + + File to save. + Current separator. + + + + Save tabsheet using separator. + + File to save. + Current separator. + Encoding to use. + + + + Save tabsheet using separator. + + Stream to save. + Current separator. + + + + Save tabsheet using separator. + + Stream to save. + Current separator. + Encoding to use. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets text in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Text to set. + + + + Sets formula in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Formula to set. + + + + Sets formula number value. + + One based row index. + One based column index. + Represents formula number value for set. + + + + Sets formula error value. + + One based row index. + One based column index. + Represents formula error value for set. + + + + Sets formula bool value. + + One based row index. + One based column index. + Represents formula bool value for set. + + + + Sets formula string value. + + One based row index. + One based column index. + Represents formula string value for set. + + + + True if page breaks (both automatic and manual) on the specified + worksheet are displayed. Read / write Boolean. + + + + + Returns the index number of the object within the collection of + similar objects. Read-only. + + + + + For a Worksheet object, returns a Names collection that represents + all the worksheet-specific names (names defined with the "WorksheetName!" + prefix). Read-only Names object. + + + + + Returns a PageSetup object that contains all the page setup settings + for the specified object. Read-only. + + + + + Returns a Range object that represents a cell or a range of cells. + + + + + Returns or sets the standard (default) height of all the rows in the worksheet, + in points. Read/write Double. + + + + + Returns or sets the standard (default) height option flag, which defines that + standard (default) row height and book default font height do not match. + Read/write Bool. + + + + + Returns or sets the standard (default) width of all the columns in the + worksheet. Read/write Double. + + + + + Returns a Range object that represents the used range on the + specified worksheet. Read-only. + + + + + Zoom factor of document. Value must be in range from 10 till 400. + + + + + Position of the vertical split (px, 0 = No vertical split): + Unfrozen pane: Width of the left pane(s) (in twips = 1/20 of a point) + Frozen pane: Number of visible columns in left pane(s) + + + + + Position of the horizontal split (by, 0 = No horizontal split): + Unfrozen pane: Height of the top pane(s) (in twips = 1/20 of a point) + Frozen pane: Number of visible rows in top pane(s) + + + + + Index to first visible row in bottom pane(s). + + + + + Index to first visible column in right pane(s). + + + + + Identifier of pane with active cell cursor. + + + + + True if zero values to be displayed + False otherwise. + + + + + True if gridlines are visible; + False otherwise. + + + + + Gets / sets Grid line color. + + + + + True if row and column headers are visible; + False otherwise. + + + + + Indicates if all values in the workbook are preserved as strings. + + + + + Gets / sets cell by row and index. + + + + + Get cells range. + + + + + Get cell range. + + + + + Get cell range. + + + + + Indicates whether all created range objects should be cached. Default value is false. + + + + + Defines whether freezed panes are applied. + + + + + Gets/sets top visible row of the worksheet. + + + + + Gets/sets left visible column of the worksheet. + + + + + There are two different algorithms to create UsedRange object: + 1) Default. This property = true. The cell is included into UsedRange when + it has some record created for it even if data is empty (maybe some formatting + changed, maybe not - cell was accessed and record was created). + 2) This property = false. In this case XlsIO tries to remove empty rows and + columns from all sides to make UsedRange smaller. + + + + + Gets or sets the view setting of the sheet. + + + + + Adds new worksheet to the collection. + + Worksheet to add. + Index of the added worksheet. + When sheet is Null. + + + + Returns single entry from the collection. Read-only. + + + + + Indicates whether collection is empty. Read-only. + + + + + Number of selected worksheets. + + + + + Represents the object associated with implementation + + + + + Parent workbook. + + + + + Page setup. + + + + + Used range. + + + + + Migrant range - row and column of this range object can be changed by user. + + + + + Creates new instance of the worksheet group. + + Application object for the new group. + Parent object for the new group. + + + + Searches for all necessary parent objects. + + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + A new object that is a copy of this instance. + + + + Adds new worksheet to the collection. + + Worksheet to add. + Index of the added worksheet. + When sheet is Null. + + + + Removes worksheet from the collection. + + Worksheet to remove. + When sheet is Null. + + + + Selects single tab sheet. + + Sheet to select. + + + + Returns the formula string if the cell contains a formula, or the value if + the cell cantains anything other than a formula. + + The row of the cell. + The column of the cell. + The formula string or value. + + + + Sets the value of a cell. + + The value to be set. + The row of the cell. + The column of the cell. + + + + Not implemented. + + + + + Raises the event. + + The row of the change. + The column of the change. + The changed value. + + + + Makes the current sheet the active sheet. Equivalent to clicking the + sheet's tab. + + + + + Creates new instance of IRanges. + + New instance of ranges collection. + + + + Imports data from a DataTable into worksheet. + + DataTable with desired data. + True if column names must also be imported. + Row of the first cell where DataTable should be imported. + Column of the first cell where DataTable should be imported. + Number of imported rows. + + + + Exports worksheet data into a DataTable. + + Row of the first cell from where DataTable should be exported. + Column of the first cell from where DataTable should be exported. + Maximum number of rows to export. + Maximum number of columns to export. + Export options. + DataTable with worksheet data. + + + + Exports worksheet data into a DataTable. + + Range to export. + Export options. + DataTable with worksheet data. + + + + Protects current worksheet. + + Represents password to protect. + Represents params to protect. + + + + Autofits specified row. + + One-based row index. + + + + Autofits specified column. + + One-based column index. + + + + Replaces specified string by data table values. + + String value to replace. + Data table with new data. + Indicates whether field name must be shown. + + + + Replaces specified string by data column values. + + String value to replace. + Data table with new data. + Indicates whether field name must be shown. + + + + Removes worksheet from parent worksheets collection. + + + + + Moves worksheet. + + New index of the worksheet. + + + + Converts column width into pixels. + + Width in characters. + Width in pixels + + + + Converts pixels into column width (in characters). + + Width in pixels + Width in characters. + + + + Sets column width. + + One-based column index. + Width to set. + + + + Sets column width. + + One-based column index. + Width in pixels to set. + + + + Returns width from ColumnInfoRecord if there is corresponding ColumnInfoRecord + or StandardWidth if not. + + One-based index of the column. + Width of the specified column. + + + + Returns width in pixels from ColumnInfoRecord if there is corresponding ColumnInfoRecord + or StandardWidth if not. + + One-based index of the column. + Width in pixels of the specified column. + + + + Returns height from RowRecord if there is a corresponding RowRecord. + Otherwise returns StandardHeight. + + One-based index of the row + + Height from RowRecord if there is corresponding RowRecord. + Otherwise returns StandardHeight. + + + + + Returns height from RowRecord if there is a corresponding RowRecord. + Otherwise returns StandardHeight. + + One-based index of the row. + + Height in pixels from RowRecord if there is corresponding RowRecord. + Otherwise returns StandardHeight. + + + + + + Save tabsheet using separator. + + File to save. + Current separator. + Encoding to use. + + + + + Save tabsheet using separator. + + Stream to save. + Current separator. + Encoding to use. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets text in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Text to set. + + + + Sets formula in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Formula to set. + + + + Sets formula number value. + + One based row index. + One based column index. + Represents formula number value for set. + + + + Sets formula error value. + + One based row index. + One based column index. + Represents formula error value for set. + + + + Sets formula bool value. + + One based row index. + One based column index. + Represents formula bool value for set. + + + + Sets formula string value. + + One based row index. + One based column index. + Represents formula string value for set. + + + + Converts range into image (Bitmap). + + One-based index of the first row to convert. + One-based index of the first column to convert. + One-based index of the last row to convert. + One-based index of the last column to convert. + + + + + Converts range into image. + + One-based index of the first row to convert. + One-based index of the first column to convert. + One-based index of the last row to convert. + One-based index of the last column to convert. + Type of the image to create. + Output stream. It is ignored if null. + Created image. + + + + Converts range into metafile image. + + One-based index of the first row to convert. + One-based index of the first column to convert. + One-based index of the last row to convert. + One-based index of the last column to convert. + Metafile EmfType. + Output stream. It is ignored if null. + Created image. + + + + Converts range into image. + + One-based index of the first row to convert. + One-based index of the first column to convert. + One-based index of the last row to convert. + One-based index of the last column to convert. + Type of the image to create. + Output stream. It is ignored if null. + Metafile EmfType. + Created image. + + + + Unselects current tab sheet. + + + + + Event handler for Inserted event. + + Event sender. + Event arguments. + + + + Event handler for Removing event. + + Event sender. + Event arguments. + + + + This method is called before clearing all elements. + + + + + Event raised when an unknown function is encountered. + + + + + Indicates whether collection is empty. Read-only. + + + + + Returns parent workbook. Read-only. + + + + + Gets or sets the a object associated with implementation. + + + + + An event raised on the IWorksheet whenever a value changes. + + + + + Gets workbook to which current worksheet belong. Read-only. + + + + + Gets or sets the view setting of the sheet. + + + + + + True if page breaks (both automatic and manual) on the specified + worksheet are displayed. Read / write Boolean. + + + + + Gets or sets a value indicating whether this instance is OLE object. + + + true if this instance is OLE object; otherwise, false. + + + + + Returns the index number of the object within the collection of + similar objects. Read-only. + + + + + Returns or sets the name of the object. Read / write String. + + + + + For a Worksheet object, returns a Names collection that represents + all the worksheet-specific names (names defined with the "WorksheetName!" + prefix). Read-only Names object. + + + + + Name that is used by macros to access the workbook items. + + + + + Returns a PageSetup object that contains all the page setup settings + for the specified object. Read-only. + + + + + Returns a Range object that represents a cell or a range of cells. + + + + + Returns the standard (default) height of all the rows in the worksheet, + in points. Read-only Double. + + + + + Returns or sets the standard (default) height option flag, which defines that + standard (default) row height and book default font height do not match. + Read/write Bool. + + + + + Returns or sets the standard (default) width of all the columns in the + worksheet. Read/write Double. + + + + + Returns a Range object that represents the used range on the + specified worksheet. Read-only. + + + + + Zoom factor of document. Value must be in range from 10 till 400. + + + + + Control visibility of worksheet to end user. + + + + + Position of the vertical split (px, 0 = No vertical split): + Unfrozen pane: Width of the left pane(s) (in twips = 1/20 of a point) + Frozen pane: Number of visible columns in left pane(s) + + + + + Position of the horizontal split (py, 0 = No horizontal split): + Unfrozen pane: Height of the top pane(s) (in twips = 1/20 of a point) + Frozen pane: Number of visible rows in top pane(s) + + + + + Index to first visible row in bottom pane(s). + + + + + Index to first visible column in right pane(s). + + + + + Identifier of pane with active cell cursor. + + + + + True if zero values to be displayed + False otherwise. + + + + + True if gridlines are visible; + False otherwise. + + + + + Gets/Sets Grid line color. + + + + + True if row and column headers are visible; + False otherwise. + + + + + Indicates if all values in the workbook are preserved as strings. + + + + + Gets / sets cell by row and index. + + + + + Get cells range. + + + + + Get cell range. + + + + + Get cell range. + + + + + Indicates whether all created range objects should be cached. + + + + + + + + + + + + + + + There are two different algorithms to create UsedRange object: + 1) Default. This property = true. The cell is included into UsedRange when + it has some record created for it even if data is empty (maybe some formatting + changed, maybe not - cell was accessed and record was created). + 2) This property = false. In this case XlsIO tries to remove empty rows and + columns from all sides to make UsedRange smaller. + + + + + Defines whether freeze panes are applied. + + + + + Gets / sets tab color. + + + + + Gets / sets tab color. + + + + + Returns shapes collection. Read-only. + + + + + Indicates whether worksheet is displayed right to left. + + + + + Indicates whether tab of this sheet is selected. Read-only. + + + + + Summary description for HeaderFooterShapesCollection. + + + + + Summary description for ShapeCollectionBase. + + + + + Default id increment when group changes. + + + + + Shapes count would be rounded to this value. + + + + + Container of all worksheet's shapes. + + + + + Parent worksheet. + + + + + Index of the collection. + + + + + Id of the last shape. + + + + + Id of the first shape. + + + + + + + + + + + + Initializes collection. + + + + + Searches for all necessary parent objects. + + + + + Parses shapes group container. + + Container to parse. + Parse options. + + + + Parses shapes group description record. + + Record to parse. + + + + Parses MsoDrawing records. + + Array of MsoDrawing records. + Parse options. + + + + Parses MsofbtDgContainer. + + Container to parse. + Parse options. + + + + Parses MsofbtDg record. + + Record to parse. + + + + Adds shape copy to shapes collection. + + Shape to copy. + Dictionary with new names of worksheets. + Dictionary with new font indexes. + Added shape. + + + + Adds shape copy to shapes collection. + + Shape to copy. + Dictionary with new names of worksheets. + List with new font indexes. + Added shape. + + + + Adds new shape to the collection. + + Shape to add. + Newly added shape. + + + + Adds new shape to the collection. + + Shape record to add. + Parse options. + Newly added shape. + + + + Adds the group container shapes. + + GroupShape record to add. + Parse options. + Newly added shape. + + + + Create the group container shapes. + + GroupShape record to create. + Parse options. + Newly created shape. + + + + Adds new child shape to the collection. + + Shape container to add. + Parse options. + Newly added shape. + + + + Adds new shape to the collection. + + Shape container to add. + Parse options. + Newly added shape. + + + + Creates new shape object. + + Object type to create. + Shape container. + Parse options. + Subrecords of the shape's OBJRecord. + Index to the cmo record inside subrecords. + + + + Removes shape from the collection. + + Shape to remove. + + + + Creates copy of the collection. + + Parent object for the new collection. + Copy of the collection. + + + + Registers in the parent worksheet. + + + + + Returns parent WorksheetBase. Read-only. + + + + + Returns parent worksheet. Read-only. + + + + + Returns parent workbook. Read-only. + + + + + Returns single shape from the collection by its index. Read-only. + + + + + Returns single shape from the collection by its name or null when cannot find. Read-only. + + + + + Returns shared shape data for all shapes in this collection. Read-only. + + + + + Index of the collection. + + + + + Id of the last shape. + + + + + Id of the first shape. + + + + + + + + + + + + Creates new shape object. + + Object type to create. + Shape container. + Parse options. + Subrecords of the shape's OBJRecord. + Index to the cmo record inside subrecords. + + + + Adds new shape to the collection. + + Shape container to add. + Parse options. + Newly added shape. + + + + Registers in the parent worksheet. + + + + + Sets picture. + + Shape name. + Image to set. + + + + Sets picture. + + Shape name. + Image to set. + Represents new shape blip id index. If set -1 - auto indicate. + + + + Sets picture. + + Shape name. + Image to set. + Represents new shape blip id index. If set -1 - auto indicate. + Indicates is current picture include options. + + + + Returns shared shape data for all shapes in this collection. Read-only. + + + + + Suitable Node colors used for 2-3-4 nodes detection. + + + + + Red color of node. + + + + + Black color of node. + + + + + Node class used for proper storing of data in the Map Collection. + + + + + Reference on left branch. + + + + + Reference on right branch. + + + + + Reference on parent branch. + + + + + Color of node branch. + + + + + Is current node Nil element or not? + + + + + Key part of stored in node data. + + + + + Value part of stored in node data. + + + + + Create red colored Tree node. + + Reference on left branch. + Reference on parent branch. + Reference on right branch. + Key value of node. + Value part of node. + + + + Main constructor of class. + + Reference on left branch. + Reference on parent branch. + Reference on right branch. + Key value of node. + Value part of node. + Color of node. + + + + Reference on left branch. + + + + + Reference on right branch. + + + + + Reference on parent branch. + + + + + Color of node branch. + + + + + Is current node Nil element or not? + + + + + Key part of stored in node data. + + + + + Value part of stored in node data. + + + + + Is current node set to red color? + + + + + Is current node set to black color? + + + + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + Create collection with specified comparer for Key values. + + Comparer for key values. + + + + Create Empty node for collection. + + + + + Clear collection. + + + + + Add item into collection. + + Key part. + Value. + + + + Check whether collection contains specified key. + + True if node with specified key is found; otherwise False. + Key for check. + + + + Remove from collection item with specified key. + + Key to identify item. + + + + TODO: place correct comment here + + + TODO: place correct comment here + + + + + Get minimum value for specified branch. + + Branch start node. + Reference on minimum value node. + + + + Get maximum value for specified branch. + + Branch start node. + Reference on maximum value node. + + + + Go to to next item in collection. + + Start node. + Reference on next item in collection or this.Empty if nothing found. + + + + Get previous item from collection. + + Start node. + Reference on previous item in collection. + + + + Find node in collection by key value (search in lower side). + + Key of node to find. + Reference on found node, otherwise this.Empty value. + + + + Find node in collection by key value (search in upper side). + + Key of node to find. + Reference on found node, otherwise this.Empty value. + + + + Rotate branch into left side. + + Branch start node. + + + + Rotate branch into right side. + + Branch start node. + + + + Erase node from collection. + + Item to erase. + + + + Insert item into collection. + + Add into left side of tree or right. + Node for placement. + Key part of node. + Value part of node. + + + + Returns enumerator. + + Returns enumerator of current interface. + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + + + + + + + + + TODO: place correct comment here + + + + + TODO: place correct comment here + + + + + Summary description for RangesCollection. + + + + + Represents a collection of ranges. + + + + + Adds new range to the collection. + + Range to add. + + + + Removes range from the collection. + + Range to remove. + + + + Returns item by index from the collection. + + + + + Represents a combined Range. + + + + + Gets new address of range. + + Dictionary with Worksheet names. + String that sets as a worksheet name. + Returns string with new name. + + + + Clones current IRange. + + Parent object. + Dictionary with new names. + Parent workbook. + Returns clone of current instance. + + + + Returns array that contains information about range. + + Rectangles that describes range + + + + Returns number of rectangles returned by GetRectangles method. + + Number of rectangles returned by GetRectangles method. + + + + Number of cells in the range. Read-only. + + + + + Gets address global in the format required by Excel 2007. + + + + + Interface that contains method for to take native ptg. + + + + + Gets ptg of current range. + + Returns native ptg. + + + + Error message for wrong worksheet exception. + + + + + Parent worksheet. + + + + + One-based first row index. + + + + + One-based first column index. + + + + + One-based last row index. + + + + + One-based last column index. + + + + + Rich text string. + + + + + Creates new instance of RangesCollection. + + Application object. + Parent object. + + + + Searches for all necessary parents of this collection. + + + If can't find parent of some class. + + + + + Creates Subtotal for the corresponding ranges + + GroupBy + ConsolidationFunction + TotalList + + + + Creates SubTotal for the corresponding Ranges + + GroupByGroupBy + ConsolidationFunction + TotalList + Replace exisiting SubTotal + Insert PageBreaks + SummaryBelowData + + + + Clear the contents of the Range. + + + + + Returns intersection of this range with the specified one. + + The Range with which to intersect. + Range intersection; if there is no intersection, NULL is returned. + + + + + + + + + Gets new address of range. + + Dictionary with Worksheet names. + String that sets as a worksheet name. + Returns string with new name. + + + + Clones current IRange. + + Parent object. + Dictionary with new names. + Parent workbook. + Returns clone of current instance. + + + + Returns array that contains information about range. + + Rectangles that describes range + + + + Returns number of rectangles returned by GetRectangles method. + + Number of rectangles returned by GetRectangles method. + + + + Adds new range to the collection. + + Range to add. + + + + Adds range to the collection. + + Range to add. + + + + Removes range from the collection. + + Range to remove. + + + + Evaluates dimensions of the ranges collection. + + + + + Returns SortedListEx that describes used rows / columns. + + Indicates whether information about columns should be returned. + SortedListEx that describes used rows / columns. + + + + Adds new element to the list of used rows / columns. + + List to add entry to. + Row / column index. + Entry to add. + + + + Adds new element to the list of used rows / columns. + + List to add entry to. + Row / column index. + Start index of the new entry. + End index of the new entry. + + + + + + + + + + + Returns array of used rows / columns. + + Indicates whether columns array should be returned. + Array of used rows / columns. + + + + Checks whether collection is disposed. + + + + + + + + + + + Gets ptg of current range. + + Returns native ptg. + + + + Returns the calculated value of a formula using the most current inputs. + + + + + Returns the range reference in the language of the macro. + Read-only String. + + + + + Returns the range reference for the specified range in the language + of the user. Read-only String. + + + + + Returns the range reference in the language of the macro. + Read-only String. + + + + + Returns the range reference in the language of the macro using R1C1-style reference. + Read-only String. + + + + + Returns the range reference for the specified range in the language + of the user using R1C1 style reference . Read-only String. + + + + + Gets / sets boolean value that is contained by this range. + + + + + Returns a Borders collection that represents the borders of a style + or a range of cells (including a range defined as part of a + conditional format). + + + + + Returns a Range object that represents the cells in the specified range. + For big number of ranges can be very slow operation. Read-only. + + + + + Returns the number of the first column in the first area in the specified + range. Read-only. + + + + + Column group level. Read-only. + -1 - Not all columns in the range have same group level. + 0 - No grouping, + 1 - 7 - Group level. + + + + + Returns or sets the width of all columns in the specified range. + Read/write Double. + + + + + Returns the number of objects in the collection. Read-only. + + + + + Gets / sets DateTime contained by this cell. Read-write DateTime. + + + + + Returns cell value after number format application. Read-only. + + + + + Returns a Range object that represents the cell at the end of the + region that contains the source range. + + + + + Returns a Range object that represents the entire column (or + columns) that contains the specified range. Read-only. + + + + + Returns a Range object that represents the entire row (or + rows) that contains the specified range. Read-only. + + + + + Gets / sets error value that is contained by this range. + + + + + Returns or sets the object's formula in A1-style notation and in + the language of the macro. Read/write Variant. + + + + + Returns or sets the object's formula in R1C1-style notation and in + the language of the macro. Read/write Variant. + + + + + Represents array-entered formula. + Visit http://www.cpearson.com/excel/array.htm for more information. + + + + + Returns or sets the array-entered formula in R1C1-style notation and in + the language of the macro. Read/write Variant. + + + + + True if the formula will be hidden when the worksheet is protected. + False if at least part of formula in the range is not hidden. + + + + + Get / set formula DateTime value contained by this cell. + DateTime.MinValue if not all cells of the range have same DateTime value. + + + + + Indicates whether specified range object has data validation. + If Range is not single cell, then returns true only if all cells have data validation. Read-only. + + + + + Indicates whether range contains bool value. Read-only. + + + + + Indicates whether range contains DateTime value. Read-only. + + + + + Indicates if current range has formula bool value. Read-only. + + + + + Indicates if current range has formula error value. Read-only. + + + + + Indicates if current range has formula value formatted as DateTime. Read-only. + + + + + True if all cells in the range contain formulas; False if + at least one of the cells in the range doesn't contain a formula. + Read-only Boolean. + + + + + Indicates whether range contains array-entered formula. Read-only. + + + + + Indicates whether the range contains number. Read-only. + + + + + Indicates whether cell contains formatted rich text string. + + + + + Indicates whether the range contains String. Read-only. + + + + + Indicates whether range has default style. False means default style. + Read-only. + + + + + Returns or sets the horizontal alignment for the specified object. + Read/write OfficeHAlign. + + + + + Returns or sets the indent level for the cell or range. Can be an integer + from 0 to 15 for Excel 97-2003 and 250 for Excel 2007. Read/write Integer. + + + + + Indicates whether the range is blank. Read-only. + + + + + Indicates whether range contains boolean value. Read-only. + + + + + Indicates whether range contains error value. + + + + + Indicates whether this range is grouped by column. Read-only. + + + + + Indicates whether this range is grouped by row. Read-only. + + + + + Indicates whether cell is initialized. Read-only. + + + + + Returns last column of the range. Read-only. + + + + + Returns last row of the range. Read-only. + + + + + Gets / sets double value of the range. + + + + + Format of current cell. Analog of Style.NumberFormat property. + + + + + Returns the number of the first row of the first area in + the range. Read-only Long. + + + + + Row group level. Read-only. + -1 - Not all rows in the range have same group level. + 0 - No grouping, + 1 - 7 - Group level. + + + + + Returns the height of all the rows in the range specified, + in points. Returns Double.MinValue if the rows in the specified range + aren't all the same height. Read / write Double. + + + + + For a Range object, returns an array of Range objects that represent the + rows in the specified range. + + + + + For a Range object, returns an array of Range objects that represent the + columns in the specified range. + + + + + Returns a Style object that represents the style of the specified + range. Read/write IStyle. + + + + + Returns name of the Style object that represents the style of the specified + range. Read/write String. + + + + + Gets / sets string value of the range. + + + + + Gets / sets time value of the range. + + + + + Returns or sets the value of the specified range. + Read/write Variant. + + + + + Returns or sets the cell value. Read/write Variant. + The only difference between this property and the Value property is + that the Value2 property doesn't use the Currency and Date data types. + + + + + Returns or sets the vertical alignment of the specified object. + Read/write OfficeVAlign. + + + + + Returns a Worksheet object that represents the worksheet + containing the specified range. Read-only. + + + + + Gets / sets cell by row and index. + + + + + Get cell range. + + + + + Get cell range. + + + + + Gets cell range. Read-only. + + + + + + + + + + + + + + + Returns the calculated value of the formula as a boolean. + + + + + Returns the calculated value of the formula as a string. + + + + + String with rich text formatting. Read-only. + + + + + Indicates whether this range is part of merged range. Read-only. + + + + + Returns a Range object that represents the merged range containing + the specified cell. If the specified cell isn�t in a merged range, + this property returns NULL. Read-only. + + + + + True if Microsoft Excel wraps the text in the object. + Read/write Boolean. + + + + + Indicates is current range has external formula. Read-only. + + + + + Represents ignore error options. If not single cell returs concatenateed flags. + + + + + Indicates whether all values in the range are preserved as strings. + + + + + Gets/sets built in style. + + + + + Gets address global in the format required by Excel 2007. + + + + + Number of cells in the range. Read-only. + + + + + Returns item by index from the collection. + + + + + Implements a two-dimensional table that holds an SFArrayList of rows. Each row + is an SFArrayList of objects. + + +

This is a memory efficient way to represent a table where values can remain empty. Only rows + that actually contain data will allocate an SFArrayList and the array only holds + as many objects as the specific row contains columns.

+

When you access data that are out of range, an empty () object will be returned. + If you set data that are out of range, an exception will be thrown. If you set data for + a row that is empty, the row will be allocated before the value is stored.

+

SFTable provides methods that let you insert, remove or rearrange columns or m_arrRows + in the table.

+
+
+ + + Number of m_arrRows in the collection. + + + + + Collection of rows. + + + + + First created row. + + + + + Last created row. + + + + + Indicates whether object was disposed. + + + + + This array contains all shared formulas found during parsing. + + + + + Parent workbook. + + + + + Parent worksheet. + + + + + Initializes a new instance of the + class. + + + Initializes a new instance of the + class that is empty. + + Number of rows in the collection. + Parent worksheet object. + + + + Initializes a new instance of the + class and optional copies of data from an existing table. + + Represents record table data. + Indicates is clone. + Parent worksheet object. + + + + + + + + + Object finalizer. + + + + + Creates a deep copy of the . + + Parent worksheet object. + + A deep copy of the . + + + + + Removes all elements from the . + + + + + Creates a collection of cells for a row. + + Zero-based row index. + Row height. + Excel version. + An SFArrayList or derived object for the cell collection. + + + + Indicates whether an element is at the specified coordinates in the . + + The zero-based row index. + The zero-based column index. + + + if an element exists at the specified coordinates in the ; + otherwise. + + + + + Updates first and last row indexes. + + Zero-based index of the created row. + + + + Sets row. + + Zero-based row index to set. + Row object to set. + + + + Updates formulas after copy operation. + + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + + + + Removes last column from the worksheet. + + Zero-based column index. + + + + Removes row from the worksheet. + + Zero-based row index to remove. + + + + Updates indexes to named ranges. + + Parent workbook. + New indexes. + + + + Replaces all shared formula with ordinary formula. + + + + + + Replaces all shared formula with ordinary formula. + + + + + Updates string indexes. + + List with new indexes. + + + + Copies cells from another worksheet. + + Source cells collection to copy cells from. + Source SST dictionary. + Destination SST dictionary. + Dictionary with new extended format indexes. + Dictionary with new worksheet names. + Dictionary with new name indexes. + Dictionary with new font indexes. + + + + Returns found values or null. + + Storage range. + Value for finding. + If true - finds first value; otherwise - all values. + If findfirst - true then returns range; otherwise - array with all found values. + Parent workbook. + + + + + Returns found values or null. + + Storage range. + Value to find. + If true - finds first value; otherwise - all values. + Way to find the value. + If findfirst - true then returns range; otherwise - array with all found values. + The book. + + List with cell indexes that contains specified value. + + + + + Returns found values or null. + + Storage range. + Value for finding. + If true - finds first value; otherwise - all values. + If findfirst - true then returns range; otherwise - array with all found values. + Parent workbook. + + + + + Returns found values or null. + + Storage range. + Value for finding. + Indicates whether we should look for error code or boolean value. + If findfirst - true then returns range; otherwise - array with all found values. + Parent workbook. + + + + + Returns minimum used column. + + Start row. + End row. + Minimum used column. + + + + Returns maximum used column. + + Start row. + End row. + Maximum used column. + + + + Determines whether collection contains row. + + Zero-based row index. + True if the collection contains at least one element with specified row index; otherwise, False. + + + + + + + + + + Caches and removes specified rectangle from the table. + + Source rectangle. + Row delta to add to the resulting table. + Column delta to add to the resulting table. + Output maximum zero-based row index. + Output maximum zero-based column index. + Cached table. + + + + This method should be called immediately after extended format removal. + + Dictionary with updated extended formats. + + + + This method should be called immediately after extended format removal. + + Array with updated extended formats. + + + + This method updates indexes to the extended formats after version change. + + New restriction for maximum possible XF index. + + + + Updates LabelSST indexes after SST record parsing. + + Dictionary with indexes to update, key - old index, value - new index. + + + + Adds shared formula to record table. + + Row index of the cell containing shared formula description. + Column index of the cell containing shared formula description. + Shared formula record to add. + + + + Returns row from the collection or creates one if necessary. + + Zero-based row index. + Row height. + Indicates whether to create row if it doesn't exist. + Excel version. + Desired row object. + + + + Ensures that array will be able to handle desired number of rows. + + + + + + Gets bool value by row or column indexes. Without check input parameters. + + One based row index. + One based column index. + If found - returns value; otherwise - 0. + + + + Gets formula bool value by row or column indexes. Without check input parameters. + + One based row index. + One based column index. + If found - returns value; otherwise - 0. + + + + Gets error value by row or column indexes. Without check input parameters. + + One based row index. + One based column index. + If found - returns value; otherwise - null. + + + + Gets formula error value by row or column indexes. Without check input parameters. + + One based row index. + One based column index. + If found - returns value; otherwise - null. + + + + Gets number value by row or column indexes. Without check input parameters. + + One based row index. + One based column index. + If found - returns value; otherwise - double.NaN. + + + + Gets formula number value by row or column indexes. Without check input parameters. + + One based row index. + One based column index. + If found - returns value; otherwise - double.NaN. + + + + Gets string value by row or column indexes. Without check input parameters. + + One based row index. + One based column index. + Represents sst dictionary. + If found - returns value; otherwise - null. + + + + Gets string value by row or column indexes. Without check input parameters. + + One based row index. + One based column index. + Represents sst dictionary. + If found - returns value; otherwise - null. + + + + Gets array of formula ptg. + + One based row index. + One based column index. + If found - returns ptg array; otherwise - null. + + + + Indicates if there is formula record. + + One based row index. + One based column index. + Indicates whether formula record is contained. + + + + Indicates is contain formula array. + + Zero based row index. + Zero based column index. + If found return true; otherwise - false. + + + + Gets cell type from current column. + + Indicates row. + Indicates column. + Indicates is need to indentify formula sub type. + Returns cell type. + + + + Sets formula value. Use for setting FormulaError, FormulaBoolean, FormulaNumber, FormulaString values. + + One based row index. + One based column index. + Represents value for set. + Represents string record as formula string value. Can be null. + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Return parent Application object. Read-only. + + + + + Return parent Application object. Read-only. + + + + + Returns the SFArrayList from all rows. + + + + + Gets the number of rows contained in the . Read-only. + + + + + Returns zero-based index of the first created row. + + + + + Returns zero-based index of the last created row. + + + + + Gets / sets an element at the specified coordinates in the . + + The zero-based row index. + The zero-based column index. + + If you query for an element and the coordinates are out of range, an empty () object will be returned. + If you set an element and the the coordinates are out of range, an exception is thrown. + + + + + Returns List with shared formulas. Read-only. + + + + + Number of shared formulas. Read-only. + + + + + Returns parent workbook. Read-only. + + + + + Represents enumerator for SFTable + + + + + Table to enumerate. + + + + + One-based current row index. + + + + + SFTable to enumerate. + + + + + Offset inside current row. + + + + + To prevent creation instances of this class without arguments. + + + + + Initializes new instance of the enumerator. + + Table to enumerate. + + + + Sets the enumerator to its initial position, which is before + the first element in the collection. + + + + + Advances the enumerator to the next element of the collection. + + + + + + Moves pointer to the next non-empty row if it is possible. + + True if operation succeeded. + + + + Gets the current element in the collection. + + + + + Gets the key of the current dictionary entry. Read-only. + + + + + Gets the value of the current dictionary entry. Read-only. + + + + + Gets both the key and the value of the current dictionary entry. Read-only. + + + + + Stores single row data and gives functionality to access and modify it. + + + + + Contains outline information about. + + + + + Outline level. + + + + + Indicates whether object is collapsed. + + + + + Indicates whether object is hidden. + + + + + Index of extended format. + + + + + Row or column index. + + + + + Memory block will be divisible of this value. + + + + + Represents MULRK xf indexes period. + + + + + Represents MULBLANK xf indexes period. + + + + + Indicates the dot symbol + + + + + Records that are not simply ICellPositionFormat records but that contains multiple subrecords. + + + + + First record type - record that can contain several sub records, second + record type - type of the single record corresponding to the multi record type. + + + + + Zero-based index of the first column. + + + + + Zero-based index of the last column. + + + + + Size of used data. + + + + + Data provider. + + + + + Storage options. + + + + + Column that is referenced by m_iCurrentOffset. -1 - means that we have no correct offset. + + + + + Offset in the data storage to the record with m_iCurrentColumn. + + + + + Workbook object. + + + + + Represents the row index. + + + + + Represents the cells contains WrapText + + + + + Height of the row, in twips = 1/20 of a point. + + + + + Options flag. + + + + + + + + + + Preserves Table record for datatable support + + + + + Default constructor. + + + + + + + + Performs application-defined tasks associated with freeing, + releasing, or resetting unmanaged resources. + + + + + Disposes this object. + + + + + Returns row storage enumerator. + + Record extractor to get Biff records from. + + + + + Sets cell style. + + Zero-based row index. + Zero-based column index. + Index of the extended format to set. + Memory allocation elementary block size. + + + + Creates new record based on the data at the specified position. + + Offset to the record. + + + + + Returns record corresponding to the specified cell. + + Zero-based column index. + Memory allocation elementary block size. + Record corresponding to the specified cell. + + + + Returns record corresponding to the specified cell. + + Zero-based column index. + Memory allocation elementary block size. + Object used to extract records from internal data array. + Record corresponding to the specified cell. + + + + Sets cell data. + + Zero-based column index of the cell. + Cell to set. + Memory allocation elementary block size. + + + + Removes all data saving cells formatting. + + + + + Returns formula string value. + + Zero-based column index. + Value to set. + Memory allocation elementary block size. + + + + Sets array record. + + Zero-based column index. + Record to set. + Memory allocation elementary block size. + + + + Returns array record. + + Offset to the record. + Formula array record. + + + + Returns array record. + + Zero-based column index. + Corresponding array record. + + + + Creates copy of the storage. + + RowStorage with copied data. + + + + Creates copy of the storage. + + RowStorage with copied data. + + + + Creates copy of the storage. + + Zero-based index of the first column to copy. + Zero-based index of the last column to copy. + Memory allocation elementary block size. + RowStorage with copied data. + + + + Creates copy of the storage. + + Source strings table. + Destination strings table + Dictionary with new extended format indexes. + Dictionary with new worksheet names. + New name indexes. + Dictionary with new font indexes. + RowStorage with copied data. + + + + Creates copy of the storage. + + Zero-based index of the first column to copy. + Zero-based index of the last column to copy. + Represents allocation block size. + + + + Indicates whether row contains record with specified index. + + Zero-based column index to find. + True if required record was found. + + + + Inserts data from another row object. + + Source row data. + Memory allocation elementary block size. + Heap handle that must be used to allocate memory. + + + + Updates formulas after copy operation. + + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + Memory allocation elementary block size. + Parent workbook. + + + + Adds specified values to row and columns indexes. + + Value to add to row index. + Value to add to column index. + Memory allocation elementary block size. + + + + Updates indexes to named ranges. + + Parent workbook. + New indexes. + Memory allocation elementary block size. + + + + Replaces all shared formula with ordinary formula. + + Parent workbook. + Shared formula that should be replaced. + + + + Updates string indexes. + + List with new indexes. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Checks the string value. + + The first. + The second. + The options. + The book. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Moves pointer to the next record. + + Offset of the current record. + Offset to the next record. + + + + This method should be called immediately after extended format removal. + + Dictionary with updated extended formats. + Memory allocation elementary block size. + + + + This method should be called immediately after extended format removal. + + Array with updated extended formats. + Memory allocation elementary block size. + + + + This method updates indexes to the extended formats after version change. + + New restriction for maximum possible XF index. + Index to the default extended format. + + + + Updates LabelSST indexes after SST record parsing. + + Dictionary with indexes to update, key - old index, value - new index. + + + + Appends storage with record's data. + + Record type. + Data length. + Array with required data. + Memory allocation elementary block size. + + + + Appends storage with record's data. + + Record type. + Data length. + Array with required data. + Memory allocation elementary block size. + + + + Appends storage with record's data. + + Data length. + Array with required data. + Memory allocation elementary block size. + + + + Appends storage with record's data. + + Zero-based column index to insert data. + Data length. + Array with required data. + Memory allocation elementary block size. + + + + Appends storage with record's data. + + Records to append. + Temporary buffer for record data. + Indicates whether we have to ignore styles. + Memory allocation elementary block size. + + + + Converts all MultiRK and MultiBlank records into set of RK / Blank records. + + Indicates whether styles must be ignored. + Memory allocation elementary block size. + + + + Compresses data storage - combines several rk/blank records into one MulRK/MulBlank records. + + + + + + + + + Indicates whether fast parsing is turned on. If it is not then we don't + need to update FirstColumn and LastColumn indexes. + + + + + Creates RowRecord and copies all required data into it. + + Parent workbook. + Created record. + + + + Copies row settings (default style, height and some other settings) from another row storage. + + Storage to copy settings from. + + + + Sets default row options. + + + + + Updates column indexes of the specified row. + + Column index. + Last column index. + + + + + + + Memory allocation block size. + + + + Returns extended format index for the specified column or int.MinValue if not found. + + Zero-based column index. + Extended format index for the specified column or int.MinValue if not found. + + + + Looks through all records and calls AddIncrease for each LabelSST record. + + Dictionary to update. + + + + + + + + + + + Updates columns indexes. + + + + + Iterates through all cells in the row. + + Method to call for each cell. + Data to pass to the calling method. + + + + Sets items with used reference indexes to true. + + Record type to check. + Offset to the record to check. + Array to mark used references in. + + + + Updates reference indexes. + + Represents Biff record type. + Represents offset value. + Data to be updated. + + + + + + + + + + Sets items with used reference indexes to true. + + Represents used items. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Searches for the record of specified type. + + Record type to look for. + Zero-based index of the column to start looking at. + Zero-based index of the column to end looking at. + Column index that contains record of the specified type or value beyond endColumn if not found. + + + + Searches for the first cell in the specified range. + + Zero-based column index to start search at. + Zero-based column index to end search at. + + + + + Gets indexes of the used named range objects. + + Collection to put named range indexes into. + + + + Adds all named range indexes referenced by formula tokens into resulting dictionary. + + Dictionary that will get named range tokens. + Tokens to check. + + + + Inserts records data into data storage. + + Position to insert at. + Array of records to insert. + + + + Sets cell position size to 4 and converts internal data storage. + + + + + Sets cell position size to 4 and converts internal data storage. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Evaluates number of records in this storage. + + Number of records. + + + + Updates all required indexes after copying row into another worksheet. + + Source SST dictionary. + Destination SST dictionary. + Dictionary with new extended format indexes. + Dictionary with new worksheet names. + Dictionary with new name indexes. + Dictionary with new font indexes. + + + + Updates MulRK or MulBlank XF Indexes. + + HashTable with new XF Indexes. + Represents offset on start mull record. + Record length without header. + Indicates whether offset is offset to MulRK record (TRUE) or to MulBlank record (false). + + + + Updates sst records. + + Represents source sst. + Represents destination sst. + Represents offset to add. + + Dictionary with new font indexes. + + + + Updates formula indexes. + + Represents source SST. + Represents destination sst. + Represents offset. + Represents hash table with worksheet names. + Represents dic name indexes. + Represents length + + + + Updates sheet references in the formula. + + Formula to update. + Dictionary with new worksheet names. + Source workbook. + Destination workbook. + True if any changes were made. + + + + Updates named range references in the formula. + + Formula to update. + Dictionary with new name indexes. + True if any changes were made. + + + + Updates sheet references in the formula. + + Formula to update. + Dictionary with new worksheet names. + Source workbook. + Destination workbook. + Represents dictionary with name indexes. + True if any changes were made. + + + + Indicates whether multi- record contains records of the same type as specified one. + + Cell type to check. + Offset to the multi- record. + True if record types are compatible. + + + + Splits record into two parts by removing subrecord with specified column index. + + Offset to the record to split. + Column index to split by. + Memory allocation elementary block size. + Offset to the second part. + + + + Inserts record inside record that contains multiple values. + + Offset to the record to insert into. + Record to insert. + + + + Inserts record data into storage. + + Offset to the record. + Size that could be overwritten by new record. + Size required by new record. + Record to write. + Memory allocation elementary block size. + + + + Inserts record data into storage. + + Offset to the record. + Size that could be overwritten by new record. + Records to write. + Memory allocation elementary block size. + + + + Locates record in the row. + + One-based column index of the record to find. + Indicates whether record was found. + Offset where record should be placed. + + + + Locates record in the row. + + One-based column index of the record to find. + Indicates whether record was found. + Indicates is found multi record or not. + If true returns offset on valid mull rk structure, by current column index. + Otherwise on MulRk record. + Offset where record should be placed. + + + + + + + + + + + + + + + + + Ensures that internal data storage will be able to store specified number of bytes. + + Required data storage size. + Memory allocation elementary block size. + + + + Updates row dimension information. + + Accessed zero-based column index. + + + + Updates row dimension information. + + Accessed zero-based column index. + Cell that was set. + + + + Removes formula string record. + + Zero-based column index. + Old offset to the string record. + + + + Removes formula string record. + + Zero-based column index. + Returns offset to the corresponding FormulaRecord. + Old offset to the string record. + + + + Removes record from the storage. + + Offset to the record to remove. + + + + Moves pointer to the next record. + + Offset of the current record. + Offset to the next record. + + + + Returns offsets, first one (X) is position before start column and the second one (Y) after end column. + + Zero-based index of the start column. + Zero-based index of the end column. + Output start column index. + Output end column index. + Point with evaluated offsets. + + + + Evaluates offset after specified record and satellite records. + + Offset to the record. + Offset after specified record and satellite records. + + + + Creates multi record. + + Type of sub record. + Created record. + + + + Tries to get record for the next column. + + Column index. + Records that corresponds to the column index. + Current record offset. + Indicates whether record is multi- record. + Record corresponding to the + + + + Returns last column index from the multi- record. + + Offset to the record's start. + Last column index from the multi- record. + + + + Sets cell data without trying to create multi record. + + Zero-based column index of the cell. + Cell to set. + Memory allocation elementary block size. + + + + Evaluates size of the data in the compressed state. + + Compressed data size. + + + + Simply skips record. + + User data. + Offset after skipping record data. + + + + Skips RK records. + + User data. + Offset after skipping record data. + + + + Skips RK records. + + User data. + Offset after skipping record data. + + + + Simply skips record. + + User data. + Offset after skipping record data. + + + + Writes RK records into data array. + + User data. + Offset after skipping record data. + + + + Writes Blank records into data array. + + User data. + Offset after skipping record data. + + + + Creates MulRK record based on set of RK records. + + + Class that contains additional information needed to create + MulRK record correctly. + + Number of RK records. + Created record. + + + + Creates MulRK record based on set of RK records. + + Offset to the first RK record. + Number of RK records. + Created record. + + + + Creates MulBlank record based on set of Blank records. + + Offset to the first Blank record. + Number of Blank records. + Created record. + + + + + + + + + + + + + + + + + + + + + + + Creates multi-cell record (MulRK or MulBlank) at the specified offset. + + Offset to the record to create. + Instance of MulBlank record. + Instance of MulRK record. + Record length including header. + Created record or null if there is incorrect record type. + + + + + + + + + + + + Gets row from the record. + + Offset to the record's start. + Zero-based row index. + + + + Sets row for the record. + + Offset to the record's start. + Zero-based row index to set. + + + + Gets column from the record. + + Offset to the record's start. + Zero-based column index. + + + + Sets column for the record. + + Offset to the record's start. + Zero-based column index to set. + + + + Gets last column index from the MulRk or MulBlank record. + + Offset to the record's start. + Record length. + Zero-based column index. + + + + Gets XF index from the record. + + Offset to the record's start. + Indicates whether record is multi record or not. + Zero-based index to the extended format record with style settings. + + + + Sets XF index for the record. + + Offset to the record's start. + Zero-based index to the extended format record with style settings to set. + + + + Sets XF index inside of "multi" record (MulRK or MulBlank). + + Offset to the record's start. + Zero-based index to the extended format record with style settings to set. + Zero-based column index of the cell to set style. + Size of subrecord inside of multi record. + + + + Size of the required storage space. Read-only. + + + + + Gets bool value by column index. Without check input parameters. + + One based column index. + If found - returns boolean value; otherwise - 0. + + + + Gets formula bool value by column index. Without check input parameters. + + One based column index. + If found - returns boolean value; otherwise - 0. + + + + Gets error value by column index. Without check input parameters. + + One based column index. + If found - returns error value; otherwise - null. + + + + Gets formula error value by column index. Without check input parameters. + + One based column index. + If found - returns error value; otherwise - null. + + + + Gets number value. + + Column index. + Returns number value or NaN. + + + + Checks the format. + + The format. + + + + + Gets formula number value. + + Column index. + Returns number value or NaN. + + + + Gets string value. + + Column index. + Represents sst dictionary. + Returns string value or null. + + + + Returns formula string value. + + Zero-based column index. + String result of the formula. + + + + Returns formula string value. + + Offset to record. + Formula string value. + + + + Gets string value. + + Column index. + Returns ptg array or null. + + + + Gets cell type from current column. + + Indicates column. + Indicates is need to indentify formula sub type. + Returns cell type. + + + + Gets sub formula type. + + Represents offset on start formula record. + + + + + Indicates if there is formula record. + + Zero based column index. + Indicates whether formula record is contained. + + + + Indicates is contain formula array. + + Zero based column index. + If found return true; otherwise - false. + + + + Gets error string by number. + + Represents number. + Returns error string or null. + + + + Sets the workbook. + + The book. + The i row. + + + + Sets formula value. Use for setting FormulaError, FormulaBoolean, FormulaNumber, FormulaString values. + + Zero based column index. + Represents value for set. + Represents string record as formula string value. Can be null. + Memory allocation elementary block size. + + + + Zero-based index of the first column. Read/write. + + + + + Zero-based index of the last column. Read/write. + + + + + Size of used data. Read-only. + + + + + Size of allocated data. Read-only. + + + + + Gets or sets the value indicating whether storage possibly contains Rk or Blank records. + + + + + Gets or sets the value indicating whether storage possibly contains MultiRk or MultiBlank records. + + + + + Indicates that storage was disposed. Read-only. + + + + + Zero-based index of the first column. Read/write. + + + + + Returns internal data provider. Read-only. + + + + + Returns size of the cell position block. Read-only. + + + + + + + + + + Returns type code of the biff storage. Read-only. + + + + + Returns code of the biff storage. Read-only. + + + + + Indicates whether data array is required by this record. Read-only. + + + + + Indicates record position in stream. This is a utility member of class and + is used only in the serialization process. Does not influence the data. + + + + + Height of the row, in twips = 1/20 of a point. + + + + + If the row is formatted, then this is the index to + the extended format record. + + + + + The outline level of this row. + Changes some bits of m_usOptionFlags private member. + + + When value is more than 7. + + + + + Whether or not to collapse this row. + + + + + Whether or not to display this row with 0 height. + + + + + Whether the font and row height are not compatible. + True if they aren't compatible. + + + + + Whether the row has been formatted (even if it has all blank cells). + + + + + True if there is additional space above the row. + + + + + True if there is additional space below the row. + + + + + Undocumented bit flag. If it is set to False, then Excel will + not show row groups. Default value is True. + + + + + Row or column index. + + + + + Storage options. + + + + + None. + + + + + Indicates that storage contains (or can contain) some RK or Blank records. + + + + + Indicates that storage contains (or can contain) some MultiRK or MultiBlank records. + + + + + Indicates that storage was disposed. + + + + + Calls each cell. + + Record type to check. + Offset to the record to check. + Data to be passed. + + + + Data for size evaluation. + + + + + Start offset. + + + + + Used size. + + + + + Data for writing defragmented data. + + + + + Offset to the record data in the old storage. + + + + + Size of the data. + + + + + Delegate used for defragmentation. + + + + + Represents enumerator for RowStorage + + + + + RowStorage to enumerate. + + + + + Offset to current cell. + + + + + Record extractor. + + + + + To prevent creation instances of this class without arguments. + + + + + Initializes new instance of the enumerator. + + RowStorage to enumerate. + Record extractor to get Biff records from. + + + + Sets the enumerator to its initial position, which is before + the first element in the collection. + + + + + Advances the enumerator to the next element of the collection. + + + + + + Returns formula array record from current cell if it exists. + + Formula array record; null - if doesn't exist. + + + + Returns formula string value if formula contains it. + + + + + + Gets the current element in the collection. + + + + + Gets current cell row. + + + + + Gets current cell column. + + + + + Gets current cell extended format. + + + + + Extends List with MoveRange, InsertRange and RemoveRange methods. The Item property + will grow the array on demand or return NULL if an index is out of range. + + + + + Overloaded. Initializes a new instance of the SFArrayList + class that is empty and has the default initial capacity. + + + + + Initializes a new instance of the SFArrayList class that contains + elements copied from the specified collection and has the same initial + capacity as the number of elements copied. + + The whose elements are copied to the new list. + + + + Overridden. Creates a deep copy of the SFArrayList. + + + A deep copy of the SFArrayList. + + + + + Enlarges the array if needed. + + The size to be checked. If the array has less elements, empty () objects will be appended + at the end of the array. + + + + Gets / sets the element at the specified index. + In C#, this property is the indexer for the SFArrayList class. + + The zero-based index of the element to get / set. + + The element at the specified index. + When querying the value and the index is out of range, an empty () object will be returned. + When setting the value and the index is out of range the array will be enlarged. See SFArrayList.EnsureCount + + + + + Implements a two-dimensional table that holds an SFArrayList of rows. Each row + is an SFArrayList of objects. + + +

This is a memory efficient way to represent a table where values can remain empty. Only rows + that actually contain data will allocate an SFArrayList and the array only holds + as many objects as the specific row contains columns.

+

When you access data that are out of range, an empty () object will be returned. + If you set data that are out of range, an exception will be thrown. If you set data for + a row that is empty, the row will be allocated before the value is stored.

+

SFTable provides methods that let you insert, remove or rearrange columns or m_arrRows + in the table.

+
+
+ + + Number of m_arrRows in the collection. + + + + + Number of columns in the collection. + + + + + Collection of rows. + + + + + Number of cells in the collection. + + + + + Initializes a new instance of the + class. + + + Initializes a new instance of the + class that is empty. + + Number of rows in the collection. + Number of columns in the collection. + + + + Removes all elements from the . + + + + + Creates a collection of cells for a row. + + An SFArrayList or derived object for the cell collection. + + + + Returns the SFArrayList from all rows. + + + + + Gets / sets an element at the specified coordinates in the . + + The zero-based row index. + The zero-based column index. + + If you query for an element and the coordinates are out of range, an empty () object will be returned. + If you set an element and the the coordinates are out of range, an exception is thrown. + + + + + Collection of worksheet's shapes. + + + + + Represents shapes collection in the workbook. + + + + + Adds new chart shape to the collection. + + Newly added shape. + + + + Adds shape copy to shapes collection. + + Shape to copy. + Dictionary with new names of worksheets. + List with new font indexes. + Added shape. + + + + Adds new text box to the collection. + + Newly created textbox. + + + + Returns the number of objects in the collection. Read-only Long. + + + + + Returns single shape from the collection by its index. + + + + + Returns single shape from the collection by its name or null when cannot find. Read-only. + + + + + Default start of the chart shape name. + + + + + Default start of the textbox shape name. + + + + + Default start of the checkbox shape name. + + + + + + Default start of the combobox shape name. + + + + + Default start of the picture shape name. + + + + + Default start of the ole object name. + + + + + + + + + + + + Initializes collection + + + + + Adds new chart shape to the collection. + + Newly added shape. + + + + Adds new textbox shape to the collection. + + Newly added shape. + + + + Creates new shape to object to this collection. + + Object type to create. + Shape container. + Parse options. + Subrecords of the shape's OBJRecord. + Index to the cmo record inside subrecords. + Created shape. + + + + Adds picture to collections. + + Represents picture to add. + + + + Updates formulas after copy operation. + + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + + + + Creates copy of the collection. + + Parent object for the new collection. + Copy of the collection. + + + + Removes all shapes that are out of new dimensions. + + Version to set. + + + + Create a group shape for selected items. + + Group shape to add inner shapes. + Shape array to add in the group shape. + Newly created group shape + + + + Removes group shape from the collection. + + Shape to remove. + + + + Returns shared shape data for all shapes in this collection. Read-only. + + + + + A collection of all the Style objects in the specified or active + workbook. Each Style object represents a style description for a + range. The Style object also contains all style attributes (font, + number format, alignment, and so on) as properties. There are + several built-in styles � including Normal, Currency, and Percent + � which are listed in the Style name box in the Style dialog box + (Format menu). + + + + + A collection of all the Style objects in the specified or active + workbook. Each Style object represents a style description for a + range. The Style object contains all style attributes (font, + number format, alignment, and so on) as properties. There are + several built-in styles including Normal, Currency, and Percent + which are listed in the Style name box in the Style dialog box. + (Format menu). + + + + + Creates a new style and adds it to the list of styles that are + available for the current workbook. Returns a Style object. + + Name of the newly created style. + Prototype for the style. + Newly created style. + + + + Creates a new style and adds it to the list of styles that are + available for the current workbook. Returns a Style object. + + Name of the created style. + Newly created style. + + + + Method return true if collection contains style + with specified by user name. + + Name to check. + True - if style exists, otherwise False. + + + + Used without an object qualifier, this property returns an Application + object that represents the Microsoft Excel application. + + + + + Returns the number of objects in the collection. Read-only, Long. + + + + + Returns a single object from a collection. + + + + + Returns a single object from a collection. + + + + + Returns the parent object for the specified object. + + + + + RB-tree for quick style search operation. + + + + + Collection of all the styles in the workbook. + + + + + Dictionary StyleXFIndex to StyleImpl. + + + + + Parent workbook. + + + + + + + + + + + + + + + Creates the collection and sets its Application and Parent properties. + + The application object for this collection. + The parent object for this collection. + + + + Creates a new style and adds it to the list of styles that are + available for the current workbook. Returns a Style object. + + Name of the newly created style. + Prototype for the style. + Newly created style. + + If name is NULL. + + + When collection already contains style with specified name. + + + + + Creates a new style and adds it to the list of styles that are + available for the current workbook. Returns a Style object. + + Name of the newly created style. + Newly created style. + + + + Adds specified style into this collection. + + Style that must be added. + + + + Adds specified style to collection. + + Style to add. + If true and ContainName then replace old name; otherwise add. + + + + Method returns True if collection contains style + with specified by user name. + + Name to check. + True if style exists; otherwise False. + + + + Compares two styles. + + The first style to compare. + The second style to compare. + True if styles are the same; otherwise False. + + + + Compare all Border Collections items. + + First border to compare. + Second border to compare. + True if borders are the same; otherwise False. + + + + Compare Border interfaces. + + First border to compare. + Second border to compare. + True if borders are the same; otherwise False. + + + + Generates default name. + + Name prefix. + Dictionary with used names. + Automatically generated unique name. + + + + Creates built in style. + + Name of the style. + Created style. + + + + Returns style corresponding to the index of extended format. + + Index of the extended format to find. + Found style. + + + + Searches in collection for style named styleName. + + Style name to search. + Searched style if found; otherwise returns NULL. + + + + Method checks whether the collection contains a style with the specified name. + + Name to check. + True if style exits; otherwise False. + + + + Adds new style to the collection. + + Style to add. + + + + Creates copy of the current instance. + + Parent object for the new collection. + Copy of the current instance. + + + + Performs additional processes after clearing the collection. + + + + + Performs additional processes after inserting a new element into the collection. + + The zero-based index at which to insert value. + The new value of the element at the index. + + + + Performs additional processes after removing an element from the collection. + + The zero-based index at which value can be found. + The value of the element to remove from the index. + + + + Performs additional processes after setting a value in the collection. + + The zero-based index at which oldValue can be found. + The value to replace with newValue. + The new value of the element at the index. + + + + + + + + + + + + + + + + + + Clears hashIndexToStyle member. + + + + + Returns a single object from a collection. Read-only. + + + + + + + + + + Represents worksheet's textbox collection. + + + + + This interface represents TextBoxes collection inside single worksheet. + + + + + Returns number of items in the collection. + + + + + Parent worksheet. + + + + + Initializes new instance of the collection. + + Application object for the new instance. + Parent object for the new instance. + + + + Adds new item to the collection. + + Textbox to add. + + + + Collection of the Workbook names (NamedRanges). + + + + + A collection of all the Name objects in the application or + workbook. Each Name object represents a defined name for a + range of cells. + + + + + Defines a new name. + + Name for the new Name object. + Returns a Name object. + + + + Defines a new name. + + Name object to add. + + + + Removes Name object from the collection. + + Name of the object to remove from the collection. + + + + Removes the element at the specified index of the collection. + + The zero-based index of the element to remove. + + + + Checks whether the Name object is present in the collection or not + + Name object to check whether it is present or not. + + + + + Used without an object qualifier, this property returns an Application + object that represents the Excel application. + + + + + Returns the number of objects in the collection. Read-only Long. + + + + + Returns the parent object for the specified object. + + + + + Returns a single Name object from a Names collection. + + + + + Returns a single Name object from a Names collection. + + + + + Dictionary Name-to-IName. + + + + + Parent workbook for the collection. + + + + + Flags indicating whether WorkbookNamesCollection changed. + + + + + Creates an empty collection. + + Application object for the collection. + Parent object for the collection. + + + + + + + + + + + Checks whether name of named range contains invalid characters. + + + + + + Checks the namedRange's name is a valid name based on the + Excel version. + + name to check. + Active workbook. + True, if the name is valid. + + + + Defines a new name. Returns a Name object. + + IName object that must be added to the collection. + Created IName object. + + If the collection already contains object with the same name. + + + + + Removes specified name from the collection. + + Name of the object to remove. + + + + Removes specified name from the collection. + + Name of the object to remove. + + + + + + + + + + + Represents the given range presents in the workbook names collection + + Name + Indicate whether formula range or not + true/false + + + + Updates named range when inserting row. + + Represents row index. + Represents row count. + Represents sheet for update. + + + + Updates named range when deleting row. + + Represents row index. + Represents sheet for update. + + + + Updates named range when deleting row. + + Represents row index. + Represents sheet for update. + Number of rows to remove. + + + + Updates named ranges after column insertion. + + One-based column index. + Number of columns to insert. + Represents reference sheet name. + + + + Updates named ranges after column removal. + + One-based column index. + Represents reference sheet name. + + + + Updates named ranges after column removal. + + One-based column index. + Represents reference sheet name. + Number of columns to remove. + + + + Defines a new name. Returns a Name object. + + NameRecord describing new Name object. + Newly created Name object. + + If the collection already contains object with the same name. + + + When specified NameRecord is NULL. + + + + + Adds into list and hashtable, for local named ranges. + + Name to add. + + + + Adds into list and hashtable, for local named ranges. + + Name to add. + Indicates is adds in global names hash. + + + + Adds copy of global name during worksheet copy. + + Name to copy. + Destination worksheet. + Dictionary with new extern worksheet names. + Dictionary with new worksheet names. + Added name. + + + + Creates a copy of the current collection. + + Parent object for the new collection. + A copy of the current collection. + + + + Performs additional processes after inserting a new element into the collection. + + The zero-based index at which to insert value. + The new value of the element at the index. + + + + Converts full row or column tokens between versions. + + Version to convert into. + + + + Returns a single Name object from a Names collection. + + + + + Sets parent workbook value. + + + When parent workbook cannot be found. + + + + + Inserts/removes rows/columns from all named ranges in the collection. + + Represents sheet name. + Index of row/column to insert/remove. + Indicates whether we should remove rows or columns. + Indicates whether we are operating with rows. + Number of rows/columns to insert/remove. + + + + Inserts/removes row from all named ranges in the collection. + + + + + + + + + + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Returns a single Name object from a Names collection. + + + + + Returns a single Name object from a Names collection. + + + + + Represent the known named ranges count + The name in the formula which has no reference is + unknown named ranges + + + + + Represents the known and unknown named + ranges Count + + + + + set Flags m_bWorkNamesChanged + + + + + + Summary description for WorkbookObjectsCollection. + + + + + Summary description for ITabSheets. + + + + + Returns number of elements in the collection. Read-only. + + + + + Returns single entry from the collection by its index. Read-only. + + + + + Dictionary name of the object - to - value. + + + + + Parent workbook. + + + + + Creates a collection and sets its Application and Parent properties. + + Application object for the collection. + Parent object for the collection. + + + + Add new object to the collection. + + Named object to adding. + + + + Disposes internal data. + + + + + Creates copy of the collection. + + Parent object for the new collection. + A copy of the collection. + + + + Searches for all necessary parents. + + + + + Performs additional processes after inserting a new element into the collection. + + The zero-based index at which to insert value. + The new value of the element at index. + + + + Performs additional processes after setting a value in the collection. + + The zero-based index at which oldValue can be found. + The value to replace with newValue. + The new value of the element at the index. + + + + Performs additional processes after removing an element from the collection. + + The zero-based index at which value can be found. + The value of the element to remove from the index. + + + + OnClear is invoked after Clear behavior. + + + + + This method is called when sheet name was changed. + + Sender of the event. + Event arguments. + + When workbook already contains worksheet with specified name. + + + + + + + + + + Returns single entry from the collection. + + + + + A collection of all the Workbook objects that are currently open in + the XlsIO application. + + + + + A collection of all the Workbook objects that are currently open in + the Excel application. + + + + + Create workbook with specified quantity of empty worksheets. + + Quantity of worksheets to create. + Interface on instance of created workbook. + + + + Opens a workbook. + + File name that contains workbook. + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Excel version - defines file format (excel 97-2003 or excel 2007). + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Parse options. + Opened workbook. + + + + Opens a Workbook using separator. + + File name to open. + Current separator. + Number of first row to write. + Number of first column to write. + Opened WorkBook. + + + + Opens a Workbook using separator. + + File name to open. + Current separator. + Number of first row to write. + Number of first column to write. + Encoding to use to parse text data. + Opened WorkBook. + + + + Opens a Workbook using separator. + + Stream to open. + Current separator. + Encoding to use to parse text data. + Opened WorkBook. + + + + Opens a Workbook using separator. + + Stream to open. + Current separator. + Encoding to use to parse text data. + Opened WorkBook. + + + + Open new workbook in read-only mode. + + File to open. + Newly created workbook. + + + + Open new workbook in read-only mode. + + File to open. + Represents open type for open. + Parse options. + Newly created workbook. + + + + Open new workbook in read-only mode. + + File to open. + + + Password that should be used for decryption. + Newly created workbook. + + + + Opens a workbook. + + File name that contains workbook. + Parse options. + Indicates is open book in read - only mode. + Represents valid password for opening workbook. + Workbook version. + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Parse options. + Indicates is open book in read - only mode. + Represents valid password for opening workbook. + Represents type of the file for open operation. + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Represents open type for open. + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Represents open type for open. + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Represents open type for open. + Desired version of the workbook. + Opened workbook. + + + + Read workbook from xml file. + + Full path to xml file. + Xml open type. + Returns opened workbook. + + + + Opens a Workbook using separator. + + Stream to open. + Current separator. + Number of first row to write. + Number of first column to write. + Encoding to use to parse text data. + Opened WorkBook. + + + + Opens a Workbook using separator. + + Stream to open. + Current separator. + Opened WorkBook. + + + + Opens a workbook. + + Stream with workbook's data. + Represents open type for open. + Opened workbook. + + + + Used without an object qualifier, this property returns an + Application object that represents the Excel application. + + + + + Returns the number of objects in the collection. Read-only Long. + + + + + Returns a single object from a collection. + + + + + Returns the parent object for the specified object. + + + + + Create workbook with specified number of empty worksheets. + + Number of worksheets to create. + Interface on instance of created workbook. + + When sheetsQuantity is less than zero. + + + + + Sets the Application name as Essential XlsIO. + + + + + + Opens a workbook. + + File name that contains workbook. + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Version of the excel file format. + Opened workbook. + + + + Opens a Workbook using separator. + + Stream to open. + Current separator. + Number of first row to write. + Number of first column to write. + Encoding to use to parse text data. + Opened WorkBook. + + + + Opens a Workbook using separator. + + Stream to open. + Current separator. + Number of first row to write. + Number of first column to write. + Name of the file that is being opened. + Opened WorkBook. + + + + Opens a Workbook using separator. + + Stream to open. + Current separator. + Number of first row to write. + Number of first column to write. + Name of the file that is being opened. + Opened WorkBook. + + + + Opens a Workbook using separator. + + File name to open. + Current separator. + Number of first row to write. + Number of first column to write. + Opened WorkBook. + + + + Opens a Workbook using separator. + + File name to open. + Current separator. + Number of first row to write. + Number of first column to write. + Opened WorkBook. + + + + Opens a Workbook using separator. + + Stream to open. + Current separator. + Opened WorkBook. + + + + Opens a Workbook using separator. + + Stream to open. + Current separator. + Opened WorkBook. + + + + Opens a Workbook using separator. + + Stream to open. + Current separator. + Encoding to use to parse text data. + Opened WorkBook. + + + + Opens a workbook. + + File name that contains workbook. + Parse options. + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Parse options. + Indicates is open book in read - only mode. + Represents valid password for opening workbook. + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Parse options. + Indicates is open book in read - only mode. + Represents valid password for opening workbook. + Workbook version. + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Parse options. + Indicates is open book in read - only mode. + Represents valid password for opening workbook. + Represents type of the file for open operation. + Opened workbook. + + + + Read workbook from the stream. + + Stream with workbook's data. + Version of the excel file format. + Newly created workbook. + + + + Opens a workbook. + + File name that contains workbook. + Represents type of the file for open operation. + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Represents type of the file for open operation. + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Represents type of the file for open operation. + Opened workbook. + + + + Opens a workbook. + + File name that contains workbook. + Represents type of the file for open operation. + Opened workbook. + + + + Opens a workbook. + + Stream with workbook's data. + Represents type of the file for open operation. + Opened workbook. + + Opens a workbook. + + Stream with workbook's data. + Represents type of the file for open operation. + Opened workbook. + + + + Read workbook from xml file. + + Path to xml file. + Xml open type. + Returns opened workbook. + + + + Read workbook from xml file. + + Path to xml file. + Xml open type. + Returns opened workbook. + + + + Read workbook from xml stream. + + Xml reader. + Xml open type. + Returns opened workbook. + + + + Open new workbook in read-only mode. + + File to open. + Newly created workbook. + + + + Open new workbook in read-only mode. + + File to open. + Parse options. + Newly created workbook. + + + + Creates workbook and sets its Application and Parent properties. + + Application object for the collection. + Parent object for the collection. + + + + Returns a single object from a collection. + + + + + + + + + + Represents a collection of embedded charts. + + + + + Creates a new chart. + + Newly created chart object. + + + + Returns the number of objects in the collection. Read-only Long. + + + + + Returns a single Chart object from a Charts collection. + + + + + Parent worksheet. + + + + + + + + + + + + Adds new chart to the collection (doesn't add it to the shapes collection). + + Chart to add. + Added chart. + + + + Adds new chart to the collection. + + Chart to add. + Added chart. + + + + Searched for all necessary parents. + + + If can't find parent worksheet. + + + + + Creates a new chart. + + Newly created chart object. + + + + Returns a single Chart object from a Charts collection. + + + + + Summary description for NamesCollection. + + + + + Dictionary Name-to-IName + + + + + Parent workbook for the collection. + + + + + Parent worksheet for the collection. + + + + + Creates new empty collection. + + Application object for the collection. + Parent object for the new collection. + + + + Renames name in Name-to-IName hashtable. + + New name implementation. + Old name. + + + + Adds new named range to the collection. + + Name of the new named range. + Newly added named range. + + + + Defines a new name. + + Name object to add. + Added Name object. + + If name argument is NULL. + + + + + Defines a new name. + + Name object to add. + Indicates is adds in global names hash. + Added Name object. + + If name argument is NULL. + + + + + Removes Name object from the collection. + + Name of the object to remove. + + + + Clear collection. + + + + + Checks whether collection contains named range. + + Name of the named range to search. + True if collection contains such named range; otherwise returns False. + + + + Checks whether collection contains named range. + + Name + Indicate whether formula range or not + true/false + + + + Represent the known named ranges count + + + + + Adds a new name only to this collection (without registering it in the workbook names collection). + + Name object to add. + Added Name object. + + If name argument is NULL. + + + + + Defines a new name. + + NameRecord containing info for new Name object. + Name object that was added to the collection. + + If specified NameRecord is NULL. + + + + + Defines a new name. + + NameRecord containing info for new Name object. + Indicates is adds in global names hash. + Name object that was added to the collection. + + If specified NameRecord is NULL. + + + + + Fills Names. + + Source names collection. + Dictionary with modified worksheet names. + Flags for filling. + Dictionary, key - old name index, value - new name index. + Represents hash table with new extern sheet indexes. + + + + Updates reference indexes in the name record. + + Name record to update. + Old workbook object. + Dictionary with new worksheet names. + Dictionary with changed extern sheet indexes. + New workbook object. + + + + Sets sheet index. + + Sheet index to set. + + + + Returns existing or creates new name. + + Name to create. + Required name. + + + + Converts full row or column tokens between versions. + + Version to convert into. + + + + Returns a single Name object from a Names collection. + + + + + Sets parent workbook and worksheet for the collection. + + + If the parent workbook or worksheet cannot be found. + + + + + Performs additional processes after inserting a new element into the collection. + + The zero-based index at which to insert value. + The new value of the element at the index. + + + + Returns a single Name object from a Names collection. + + + + + Represent the known named ranges count + The name in the formula which has no reference is + unknown named ranges + + + + + Returns a single Name object from a Names collection. + + + + + A collection of all the Worksheet objects in the specified or + active workbook. Each Worksheet object represents a worksheet. + + + + + A collection of all the Worksheet objects in the specified or + active workbook. Each Worksheet object represents a worksheet. + + + + + Create worksheet with specified name. + + New name of worksheet. Must be unique for collection. + Reference on created worksheet. + + + + Used without an object qualifier, this property returns an + Application object that represents the Microsoft Excel application. + + + + + Returns the number of objects in the collection. Read-only Long. + + + + + Returns a single object from a collection. + + + + + Returns a single object from a collection. + + + + + Returns the parent object for the specified object. + + + + + Hash table that contains all worksheets and gives access + to them by worksheet name. + + + + + Parent workbook. + + + + + Indicates whether to use hash for worksheet look up. + + + + + Sheet Name Validator + + + + + Creates a collection and sets its Application and Parent properties. + + Application object for the collection. + Parent object for the collection. + + + + Adds new worksheet into collection. + + Added worksheet. + + + + Adds an empty worksheet. + + Name of the newly created worksheet. + Newly created worksheet. + + + + Performs additional processes after inserting a new element into the collection. + + The zero-based index at which to insert value. + The new value of the element at the index. + + + + Performs additional processes after setting a value in the collection. + + The zero-based index at which oldValue can be found. + The value to replace with newValue. + The new value of the element at the index. + + + + Performs additional processes after removing an element from the collection. + + The zero-based index at which value can be found. + The value of the element to remove from the index. + + + + OnClear is invoked after Clear behavior. + + + + + This method is called when sheet name was changed. + + Sender of the event. + Event arguments. + + When workbook already contains worksheet with specified name. + + + + + Creates empty worksheet with specified name. + + New name of worksheet. Must be unique for collection. + Reference on created worksheet. + + When specified name is NULL. + + + + + Updates string indexes. + + List with new indexes. + + + + Removes specified worksheet from the collection. + + Index of the sheet to remove. + + + + Adds worksheet into internal collection. + + Worksheet to add. + + + validates the sheet name to avoid the invalid names + + + + Returns a single object from a collection. Read-only. + + + + + Returns a single object from a collection. Read-only. + + + + + Indicates whether worksheet is displayed right to left. + + + + + Class that represent event args. + + + + + Element index. + + + + + Element value. + + + + + Default constructor. + + + + + Creates new instance of event arguments. + + Changed element index. + Changed element value. + + + + Element index. Read-only. + + + + + Element value. Read-only. + + + + + Represents an ARGB (alpha, red, green, blue) color. + + + + + Type of the stored color. + + + + + Color value. + + + + + Color Saturation Modulation value + + + + + Color Luminence value + + + + + Color Saturation + + + + + Color Luminence Modulation + + + + + Indicate Scheme color + + + + + Indicate Schema Name + + + + + Indicate Hex color + + + + + Initializes a new instance of the class with the specified instance. + + Color value to initialize. + + + + Initializes a new instance of the class with the specified instance. + + Color value to initialize. + + + + Initializes a new instance of the class with the specified instance and color value. + + Represents type of Color. + Represents color value. + + + + Initializes a new instance of the class with the specified instance, color value and tint value. + + Represents color type. + Represents color value. + Represents tint value. + + + + Returns the index for indexed color or the closest color for any other color type. + + Parent workbook + Index for indexed color or the closest color for any other color type. + + + + Sets the indexed color with the specified instance. + + Color index to set. + + + + Sets the indexed color with the specified value and event action. + + Color index to set. + Determines whether to call AfterChange event + + + + Sets the indexed. + + Color index to set. + if set to true [raise event]. + The book. + + + + Returns the RGB Color object that corresponds to this color. + + Parent workbook. + RGB Color object that corresponds to this color. + + + + Sets the RGB color value. + + Value to set. + Parent workbook. + + + + Sets RGB color value. + + Value to set. + + + + Converts the specified to instance. + + Color value to convert. + Returns Converted instance. + + + + Checks whether two instances have the same data. + + First color object to check. + Second color object to check. + True if they have the same data.Otherwise False + + + + Checks whether two instances have different data. + + First color object to check. + Second color object to check. + True if they have different data. Otherwise False + + + + Copies data from another color object. + + Color object to copy data from. + Indicates whether we should call AfterChange method. + + + + Converts current color to closest indexed. + + Parent workbook. + + + + Returns the HashCode for the instance. + + A 32-bit signed integer hash code. + + + + Sets indexed color without calling AfterChange event. + + Color index to set. + + + + Creates independent copy of the current object. + + A copy of the current object. + + + + Normalizes indexed color if necessary. + + + + + Normalizes indexed color if necessary. + + + + + Normalizes indexed color if necessary. + + + + + Determines whether the specified color objects are equal or not. + + The object to compare with the current instance. + true if the specified Object is equal to the current Object; otherwise, false. + + + + Sets theme color + + Theme color index. + Parent workbook. + Tint value. + + + + Sets rgb color. + + Rgb color to set. + Parent workbook. + Tint value. + + + + Represents an event called after color change. + + + + + Gets color value (it can be index, rgb color, etc.) + + + + + Gets or sets Tint value. + + + + + Indicate Hex color + + + + + Gets or sets the type of the stored color. + + + + + Delegate used for after change event. + + + + + Specifies the color type. + + + + + Indicates ColorType is Automatic. + + + + + Indicates ColorType which is determined by Indexed color. + + + + + Indicates ColorType which is determined by values of red, green, and blue. + + + + + Indicates ColorType which is determined by theme colors. + + + + + Indicates color is not set. + + + + + Is thrown when range is invalid, i.e. when can't copy / move range into new location. + + + + + Default exception message. + + + + + Initializes a new instance of the class with default error message. + + + + + Initializes a new instance of the class with a specified error message. + + Error message. + + + + Is thrown when the data array is larger than it should be. + + + + + Initializes a new instance of the class with an empty error message. + + + + + Initializes a new instance of the class with a specified error message. + + Error message. + + + + This exception should be thrown when there are problems with formula parsing. + + + + + Default message format. + + + + + Default constructor. + + + + + Initializes a new instance of the class with a specified error message. + + Error message. + + + + Initializes a new instance of the Exception class with + a specified error message and a reference to the inner + exception that is the cause of this exception. + + + The error message that explains the reason for the exception. + + + The exception that is the cause of the current exception. + If the innerException parameter is not a NULL reference + (Nothing in Visual Basic), the current exception is raised + in a catch block that handles the inner exception. + + + + + + + + + + + + + + Is thrown when user tries to modify read-only data. + + + + + Default message. + + + + + Initializes a new instance of the class with an empty error message. + + + + + Initializes a new instance of the class with a specified error message. + + Error message. + + + + Is thrown when data array is smaller than it should be. + + + + + Initializes a new instance of the class with a specified error message. + + Error message. + + + + Is thrown when some internal data error is found. + + + + + Initializes a new instance of the class with an empty error message. + + + + + Initializes a new instance of the class with a specified error message. + + Error message. + + + + Represents exception, that occurred during parse excel structure from xml stream. + + + + + Represents default error message. + + + + + Initializes a new instance of the class with a specified error message. + + Error message. + + + + Contains the font attributes (font name, font size, + color, and so on) for an object. + + + + + Parent index that indicates that extended format doesn't have any parent format. + + + + + Indicates that text is drawn from top to bottom. + + + + + Maximum tint value. + + + + + Weight of the bold font. + + + + + Weight of the normal font. + + + + + ExtendedFormatRecord that contains information about font and format indexes, + borders, colors, etc. + + + + + + Parent workbook. + + + + + Position of this format in m_book.InnerExtFormats. + + + + + ShapeFill implementation that contains gradient fill effects. + + + + + + + + + + + + + + + Represent the cell-border + + + + + Indicating whether cell has pivot button + + + + + This method should be called after any changes. + Sets Saved property of the parent workbook to False. + + + + + Copies all data from this XF into another. + + Format to copy into. + + + + Creates child format if this format is for named style and registers it in workbook. + + Child format. + + + + Creates child format if this format is for named style. + + Defines whether to register format in workbook. + Child format. + + + + + + + + + + + Synchronizes properties with parent record. + + + + + Copies borders from source format. + + Format to copy border settings from. + + + + Copies patterns from source format. + + Format to copy pattern settings from. + + + + Starts updating process. + + + + + Ends updating process. + + + + + Sets application and parent fields. + + Application object for the format. + Parent object for the format. + + + + Gets information about extended format from specified format. + + Application object for the XF. + Parent object for the XF. + Format that contains all needed information. + + + + Gets information about extended format from specified format. + + Application object for the XF. + Parent object for the XF. + Format that contains all needed information. + + + + Searches for all necessary parent objects. + + + + + Parses ExtendedFormatRecord + + Record to parse. + + When font index in format record is larger than size + of the inner font collection of the parent workbook. + + + + + Parses ExtendedFormatRecord + + Record to parse. + + When font index in format record is larger than size + of the inner font collection of the parent workbook. + + + + + Updates values from parent format and initializes colors if necessary. + + + + + Updates values from current format. + + + + + Initializes color objects. + + + + + Updates color field in the record. + + + + + Updates pattern color in the record. + + + + + Updates top border color in the record. + + + + + Updates bottom border color in the record. + + + + + Updates left border color in the record. + + + + + Updates right border color in the record. + + + + + Updates diagonal border color in the record. + + + + + Copy Colors. + + + + + Compares formats without comparing indexes. + + Format to compare. + 0 if formats are equal. + + + + Copies alignment of one XFormat into another. + + Destination format. + Source format. + Indicates whether we should change corresponding + Include... flag(s) after copying data. + + + + Copies borders of one XFormat into another. + + Destination format. + Source format. + Indicates whether we should change corresponding + Include... flag(s) after copying data. + + + + Copies font of one XFormat into another. + + Destination format. + Source format. + Indicates whether we should change corresponding + Include... flag(s) after copying data. + + + + Copies number format of one XFormat into another. + + Destination format. + Source format. + Indicates whether we should change corresponding + Include... flag(s) after copying data. + + + + Copies patterns of one XFormat into another. + + Destination format. + Source format. + Indicates whether we should change corresponding + Include... flag(s) after copying data. + + + + Copies protection of one XFormat into another. + + Destination format. + Source format. + Indicates whether we should change corresponding + Include... flag(s) after copying data. + + + + Copies color settings from specified format object. + + + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of the current instance. + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of the current instance. + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + A new object that is a copy of this instance. + + + + Checks the record for borders and updates hasBorder + + The record to be checked + + + + Get / set font index. + + + + + Gets format index in m_book.InnerFormats. + + + + + Get / set Format index. + + + + + Get / set fill pattern. + + + + + Get / set fill background color. + + + + + Get / set fill background color. + + + + + Get / set fill foreground color. + + + + + Get / set fill foreground color. + + + + + Horizontal alignment. + + + + + Indent level. + + + + + Indicates whether formula is hidden. + + + + + Indicates whether cell with this XF is locked. + + + + + For far east languages. Supported only for format. Always 0 for US. + + + + + Returns or sets the format code for the object. Read/write String. + + + + + Returns or sets the format code for the object as a string in the + language of the user. Read/write String. + + + + + True- Indicates that the contents are shrunk to fit into cell. + + + + + True - Indicates that text is wrapped at right border. + + + + + Vertical alignment. + + + + + Flag for horizontal and vertical alignment, text wrap, indentation, + orientation, rotation, and text direction. If False, the attribute + of parent style is used. + + + + + Flag for border lines. + If False, the attribute of parent style is used. + + + + + Flag for font. + If False, the attribute of parent style is used. + + + + + Flag for number format. + If False, the attribute of parent style is used. + + + + + Flag for background area style. + If False, the attribute of parent style is used. + + + + + Flag for cell protection (cell locked and formula hidden). + If False, the attribute of parent style is used. + + + + + + + + + + + + + + + If true then first symbol in cell is apostrophe. + + + + + Returns or sets the color of the interior pattern as an index into the current color palette. + + + + + Returns or sets the color of the interior pattern as an Color value. + + + + + Returns or sets the color of the interior pattern as an Color value. + + + + + Returns or sets the color of the interior. The color is specified as + an index value into the current color palette. + + + + + Returns or sets the cell shading color. + + + + + Returns or sets the cell shading color. + + + + + Gets value indicating whether format was modified, compared to parent format. + + + + + List of extended property. + + + + + Text direction, the reading order for far east versions. + + + + + Text rotation angle: + 0 Not rotated + 1-90 1 to 90 degrees counterclockwise + 91-180 1 to 90 degrees clockwise + 255 Letters are stacked top-to-bottom, but not rotated. + + + Thrown when value is more than 0xFF. + + + + + Type of the extended format. + + + + + Gets / sets gradient object. + + + + + Get / set index for this record in Workbook.InnerExtFormats collection. + + + + + Read-only. Returns ExtendedFormatRecord with + information about this format. + + + + + Read-only. Returns ExtendedXFormat with information about this format. + + + + + Index of the parent extended format. + + + + + Returns parent workbook. + + + + + Get/set BottomBorder color. + + + + + Get/set TopBorder color. + + + + + Get/set LeftBorder color. + + + + + Get/set RightBorder color. + + + + + Get/set DiagonalUpBorder color. + + + + + Gets / sets line style of the left border. + + + + + Gets / sets line style of the right border. + + + + + Gets / sets line style of the top border. + + + + + Gets / sets line style of the bottom border. + + + + + Gets / sets line style of the diagonal border. + + + + + Gets / sets line style of the diagonal border. + + + + + Indicates whether DiagonalUp line is visible. + + + + + Indicates whether DiagonalDown line is visible. + + + + + Indicates whether this format is child format. + + + + + Indicates whether color is default. Read-only. + + + + + Indicates whether pattern color is default. Read-only. + + + + + Returns record from parent format if possible, otherwise just returns format record. Read-only. + + + + + Returns parent format if possible, otherwise just returns this format. Read-only. + + + + + Gets number format object. + + + + + Indicating whether cell has pivot button + + + + + + + + + + + + + + + Returns color of the top border. Read-only. + + + + + Returns color of the bottom border. Read-only. + + + + + Returns color of the left border. Read-only. + + + + + Returns color of the right border. Read-only. + + + + + Returns color of the diagonal border. Read-only. + + + + + This class contains some extension to the Color class in (PORTABLE). + + + + + Contains black color. + + + + + Contains white color. + + + + + Contains empty color. + + + + + Contains red color. + + + + + Contains blue color. + + + + + Contains dark gray color. + + + + + Contains yellow color. + + + + + Contains cyan color. + + + + + Contains magenta color. + + + + + Contains gray color. + + + + + Chart foreground color. + + + + + Chart background color. + + + + + Chart neutral color. + + + + + Converts Int32 value into Color. + + Value to convert. + Converted value. + + + + Parent worksheet. + + + + + + + + + + + + + + + + + + + + Initializes new instance of the class. + + Parent external worksheet. + First row. + First column. + + + + Initializes new instance of the class. + + Parent external worksheet. + First row. + First column. + Last row. + Last column. + + + + Returns the calculated value of a formula using the most current inputs. + + + + + Gets address global in the format required by Excel 2007. + + + + + Gets or sets a value indicating whether this instance is num reference for chart axis. + + + true if this instance is num reference; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is a string reference for chart axis. + + + true if this instance is string reference; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is multi reference for chart axis. + + + true if this instance is multi reference; otherwise, false. + + + + + Summary description for ExternNameImpl. + + + + + Summary description for INameIndexChangedEventProvider. + + + + + Event for Name index changed + + + + + Extern name record with information about this name. + + + + + Index of the extern name in extern names collection. + + + + + Parent extern workbook. + + + + + Represents the refersTo attribute of the definedName tag + + + + + + + + + + + + + + Searches for all necessary parents. + + + + + + + + + + + Saves class into OffsetArrayList. + + OffsetArrayList that would receive class data. + + + + Creates copy of the current object. + + Parent object for the new object. + Copy of the current object. + + + + Index of the extern name in extern names collection. + + + + + Returns name of this extern name. Read-only. + + + + + Returns index of the parent extern workbook. Read-only. + + + + + Returns internal record that stores all data. Read-only. + + + + + Represents the refersTo attribute of the definedName tag + + + + + + + + + + Describes external workbook. + + + + + Array of all worksheets in this workbook. Key - index, Value - ExternWorksheet. + + + + + Dictionary key - worksheet name, value - corresponding worksheet. + + + + + Array of all extern names in this workbook. + + + + + Corresponding SupBookRecord. + + + + + Book index. + + + + + Parent workbook. + + + + + Workbook's short name. + + + + + Program id for ole object links. + + + + + Indicates if the workbook is parsed. + + + + + + + + + + + + Initializes internal variables. + + + + + Inserts default worksheet. + + + + + Searches for all necessary parent objects. + + + + + Parses extern workbook. + + Records array that contains workbook data. + Offset to the workbook data. + Offset after reading all necessary data. + + + + Adds extern worksheet. + + Sheet to add. + + + + Returns index of worksheet in this workbook. + + Sheet name to search for. + Index of the worksheet in the workbook; -1 if worksheet was not found. + + + + Creates copy of the current extern workbook. + + Parent for the copy of this extern workbook. + Copy of the current extern workbook. + + + + Gets name of the sheet at specified index. + + Index of the desired worksheet. + Name of the sheet. + + + + Initializes ShortName property. + + + + + Gets file name with extension from the path. + + Url to get name from. + File name without extension from the path. + + + + Gets file name without extension from the path. + + Url to get name from. + File name without extension from the path. + + + + Adds new worksheets to the extern workbook. + + Array that contains worksheet names to add. + + + + Adds new worksheets to the extern workbook. + + Array that contains worksheet names to add. + + + + Adds new worksheet to the collection of worksheets. + + Name of the worksheet to add. + Create worksheet. + + + + + + + + + + Adds external name object to the workbook. + + Name of the named range to add. + + + + + + + + + + + This method is called during dispose operation. + + + + + Returns collection of extern names. Read-only. + + + + + Indicates whether this is workbook is used for internal reference. + + + + + Number of sheet names (if external references) or + number of sheets in this document (if internal references). + + + + + Encoded URL without sheet name (for external references). + + + + + Gets / sets index of the workbook. + + + + + Returns parent workbook. Read-only. + + + + + Returns short name of the workbook. Read-only. + + + + + Indicates whether add-in function names are stored + in EXTERNNAME records following this SUPBOOK record. + + + + + Returns worksheets collection sorted by index. Read-only. + + + + + Gets or sets program id for the ole object. + + + + + Indicates if the workbook is parsed. + + + + + Summary description for ExternWorksheetImpl. + + + + + Represents internal worksheet object. It can be internal or external. + + + + + Gets object that is clone of current worksheet in the specified workbook. + + Dictionary with update worksheet names. + New workbook object. + Object that is clone of the current worksheet. + + + + Return default row height in pixel. + + + + + Gets or sets one-based index of the first row of the worksheet. + + + + + Gets or sets one-based index of the first column of the worksheet. + + + + + Gets or sets one-based index of the last row of the worksheet. + + + + + Gets or sets one-based index of the last column of the worksheet. + + + + + Returns collection of cell records. Read-only. + + + + + Returns parent workbook. Read-only. + + + + + Represents the object associated with implementation + + + + + + + + + + List with sheet records. + + + + + Parent workbook. + + + + + Worksheet name. + + + + + Collection with worksheet's cached cell records. + + + + + First used row. + + + + + First used column. + + + + + Last used row. + + + + + Last used column. + + + + + Additional attributes for sheetData tag. + + + + + + + + + + + + Creates copy of the object. + + Parent object for the new object. + Created object that is copy of the current object. + + + + This method is called during dispose operation. + + + + + Caches values from specified range. + + Range to cache data from. + + + + Set cell records for current worksheet. + + Parent object for the new object. + + + + Returns the formula string if the cell contains a formula, or the value if + the cell cantains anything other than a formula. + + The row of the cell. + The column of the cell. + The formula string or value. + + + + Sets the value of a cell. + + The value to be set. + The row of the cell. + The column of the cell. + + + + Not implemented. + + + + + Raises the event. + + The row of the change. + The column of the change. + The changed value. + + + + Creates new instance of IRanges. + + New instance of ranges collection. + + + + Imports data from a DataTable into worksheet. + + DataTable with desired data. + True if column names must also be imported. + Row of the first cell where DataTable should be imported. + Column of the first cell where DataTable should be imported. + Number of imported rows. + + + + Exports worksheet data into a DataTable. + + Row of the first cell from where DataTable should be exported. + Column of the first cell from where DataTable should be exported. + Maximum number of rows to export. + Maximum number of columns to export. + Export options. + DataTable with worksheet data. + + + + Exports worksheet data into a DataTable. + + Range to export. + Export options. + DataTable with worksheet data. + + + + Protects current worksheet. + + Represents password to protect. + Represents params to protect. + + + + Autofits specified row. + + One-based row index. + + + + Autofits specified column. + + One-based column index. + + + + Replaces specified string by data table values. + + String value to replace. + Data table with new data. + Indicates whether field name must be shown. + + + + Replaces specified string by data column values. + + String value to replace. + Data table with new data. + Indicates whether field name must be shown. + + + + Removes worksheet from parent worksheets collection. + + + + + Converts column width into pixels. + + Width in characters. + Width in pixels + + + + Converts pixels into column width (in characters). + + Width in pixels + Width in characters. + + + + Sets column width. + + One-based column index. + Width to set. + + + + Sets column width. + + One-based column index. + Width in pixels to set. + + + + Returns width from ColumnInfoRecord if there is corresponding ColumnInfoRecord + or StandardWidth if not. + + One-based index of the column. + Width of the specified column. + + + + Returns width in pixels from ColumnInfoRecord if there is corresponding ColumnInfoRecord + or StandardWidth if not. + + One-based index of the column. + Width in pixels of the specified column. + + + + Returns height from RowRecord if there is a corresponding RowRecord. + Otherwise returns StandardHeight. + + One-based index of the row + + Height from RowRecord if there is corresponding RowRecord. + Otherwise returns StandardHeight. + + + + + Returns height from RowRecord if there is a corresponding RowRecord. + Otherwise returns StandardHeight. + + One-based index of the row. + + Height in pixels from RowRecord if there is corresponding RowRecord. + Otherwise returns StandardHeight. + + + + + + Save tabsheet using separator. + + File to save. + Current separator. + Encoding to use. + + + + + Save tabsheet using separator. + + Stream to save. + Current separator. + Encoding to use. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets text in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Text to set. + + + + Sets formula in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Formula to set. + + + + Sets formula number value. + + One based row index. + One based column index. + Represents formula number value for set. + + + + Sets formula error value. + + One based row index. + One based column index. + Represents formula error value for set. + + + + Sets formula bool value. + + One based row index. + One based column index. + Represents formula bool value for set. + + + + Sets formula string value. + + One based row index. + One based column index. + Represents formula string value for set. + + + + Converts range into image (Bitmap). + + One-based index of the first row to convert. + One-based index of the first column to convert. + One-based index of the last row to convert. + One-based index of the last column to convert. + Created image. + + + + Converts range into image. + + One-based index of the first row to convert. + One-based index of the first column to convert. + One-based index of the last row to convert. + One-based index of the last column to convert. + Type of the image to create. + Output stream. It is ignored if null. + Created image. + + + + Makes the current sheet the active sheet. Equivalent to clicking the + sheet's tab. + + + + + Unselects current tab sheet. + + + + + Gets object that is clone of current worksheet in the specified workbook. + + Dictionary with update worksheet names. + New workbook object. + Object that is clone of the current worksheet. + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + A new object that is a copy of this instance. + + + + Event raised when an unknown function is encountered. + + + + + Sheet index. + + + + + Gets parent extrnal workbook. + + + + + Gets index of the reference to this worksheet. + + + + + + + + + + Gets or sets the a object associated with implementation. + + + + + An event raised on the IWorksheet whenever a value changes. + + + + + True if page breaks (both automatic and manual) on the specified + worksheet are displayed. Read / write Boolean. + + + + + Gets or sets the view setting of the sheet. + + + + + + Gets or sets a value indicating whether this instance is OLE object. + + + true if this instance is OLE object; otherwise, false. + + + + + For a Worksheet object, returns a Names collection that represents + all the worksheet-specific names (names defined with the "WorksheetName!" + prefix). Read-only Names object. + + + + + Name that is used by macros to access the workbook items. Read-only. + + + + + Returns a PageSetup object that contains all the page setup settings + for the specified object. Read-only. + + + + + Returns a Range object that represents a cell or a range of cells. + + + + + Returns or sets the standard (default) height of all the rows in the worksheet, + in points. Read/write Double. + + + + + Returns or sets the standard (default) height option flag, which defines that + standard (default) row height and book default font height do not match. + Read/write Bool. + + + + + Returns or sets the standard (default) width of all the columns in the + worksheet. Read/write Double. + + + + + Returns a Range object that represents the used range on the + specified worksheet. Read-only. + + + + + Zoom factor of document. Value must be in range from 10 till 400. + + + + + Position of the vertical split (px, 0 = No vertical split): + Unfrozen pane: Width of the left pane(s) (in twips = 1/20 of a point) + Frozen pane: Number of visible columns in left pane(s) + + + + + Position of the horizontal split (by, 0 = No horizontal split): + Unfrozen pane: Height of the top pane(s) (in twips = 1/20 of a point) + Frozen pane: Number of visible rows in top pane(s) + + + + + Index to first visible row in bottom pane(s). + + + + + Index to first visible column in right pane(s). + + + + + Identifier of pane with active cell cursor. + + + + + True if zero values to be displayed + False otherwise. + + + + + True if gridlines are visible; + False otherwise. + + + + + Gets / sets Grid line color. + + + + + True if row and column headers are visible; + False otherwise. + + + + + Indicates if all values in the workbook are preserved as strings. + + + + + Gets / sets cell by row and index. + + + + + Get cells range. + + + + + Get cell range. + + + + + Get cell range. + + + + + Indicates whether all created range objects should be cached. Default value is false. + + + + + Defines whether freezed panes are applied. + + + + + Gets/sets top visible row of the worksheet. + + + + + Gets/sets left visible column of the worksheet. + + + + + There are two different algorithms to create UsedRange object: + 1) Default. This property = true. The cell is included into UsedRange when + it has some record created for it even if data is empty (maybe some formatting + changed, maybe not - cell was accessed and record was created). + 2) This property = false. In this case XlsIO tries to remove empty rows and + columns from all sides to make UsedRange smaller. + + + + + Gets / sets tab color. + + + + + Gets / sets tab color. + + + + + Returns parent workbook. Read-only. + + + + + Returns shapes collection. Read-only. + + + + + Indicates whether worksheet is displayed right to left. + + + + + Indicates whether tab of this sheet is selected. Read-only. + + + + + Gets / sets name of the tab sheet. + + + + + Control visibility of worksheet to end user. + + + + + Return default row height in pixel. + + + + + Gets or sets one-based index of the first row of the worksheet. + + + + + Gets or sets one-based index of the first column of the worksheet. + + + + + Gets or sets one-based index of the last row of the worksheet. + + + + + Gets or sets one-based index of the last column of the worksheet. + + + + + Returns collection of cell records. Read-only. + + + + + Returns parent workbook. Read-only. + + + + + Summary description for FillImpl. + + + + + + + + + + + + + + + + + + + + Gradient fill style. + + + + + Gradient fill variant. + + + + + Gradient fill type. + + + + + Prevents user from creating such items without arguments. + + + + + Initializes new instance of the fill. + + Parent extended format. + + + + Initializes new instance of the fill. + + + + + + + + Initializes new instance of the fill. + + Represents pattern. + Represents color. + Represents pattern color. + + + + Determines whether the specified Object is equal to the current Object. + + The Object to compare with the current Object. + true if the specified Object is equal to the current Object; otherwise, false. + + + + Serves as a hash function for a particular type, suitable for use + in hashing algorithms and data structures like a hash table. + + A hash code for the current object. + + + + Creates copy of the current object. + + A copy of the current object. + + + + Returns the color of the interior. The color is specified as + an index value into the current color palette. Read-only. + + + + + Returns the color of the interior pattern as an index into the current + color palette. Read-only. + + + + + Returns fill pattern. Read-only. + + + + + Gets / sets gradient style. + + + + + Gets / sets gradient variant. + + + + + Gets / sets fill type. + + + + + Contains the font attributes (font name, font size, + color, and so on) for an object. + + + + + Weight of the bold font. + + + + + Weight of the normal font. + + + + + + + + + + Font index which is not present in file. + + + + + Multiplier for small bold font. + + + + + Multiplier for bold font. + + + + + Represents last not default color index. + + + + + + + + + + Wrapped FontRecord. + + + + + Parent workbook. + + + + + Current position of FontImpl class in the InnerFont Collection. + + + + + Font charset. + + + + + Native font object. + + + + + Color object. + + + + + Font's language. + + + + + Paragraph alignment + + + + + Represents whether RTF has paragraph alignment or not + + + + + Creates font and sets its Application and Parent + properties to specified values. + + Application object for the font. + Parent object for the font. + + + + Creates FontImpl from FontRecord. + + Application object for the font. + Parent object for the font. + Record with font data. + + + + Creates FontImpl from FontRecord. + + Application object for the font. + Parent object for the font. + Record with font data. + + + + Creates font using data from baseFont. + + IFont that will be copied. + + When baseFont is not FontImpl and not FontImplWrapper. + + + + + Creates font based on native font and sets its Application and Parent + properties to specified values. + + Application object for the font. + Parent object for the font. + Native font to create from. + + + + Initializes color object. + + + + + Updates font record after color change. + + + + + Updates color with record's data. + + + + + Initializes parent objects. + + + + + Saves all range cells into OffsetArrayList. + + Array that will receive font record. + + + + Copies data from this instance to another. + + Font impl that will receive data from this font. + + + + This method should be called after any changes. + Sets Saved property of the parent workbook to false. + + + + + Generates .Net font object corresponding to the current font. + + Generated .Net font. + + + + Generates .Net font object corresponding to the current font. + + Desired font size. + Generated .Net font. + + + + Parses native font. + + Font to parse. + + + + Measures the specified string when drawn with this font. + + String to measure. + String size. + + + + Measures the specified string in special way (as close as possible to MS Excel). + + String to measure. + String size. + + + + + + + + + + + + + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of the current instance. + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of the current instance. + + + + Clones FontImpl. + + Parent object. + Returns cloned object. + + + + Converts size of the font to the twips. + + Size of the font. + Size of the font in twips. + + + + + + + + + + + Updates font indexes in different workbooks. + + Index to update. + Dictionary with new indexes. + Parse options. + Returns new index. + + + + Find and returns the supported font font style by the respective font. + + + + + + + Determines whether the specified Object is equal to the current Object. + + The Object to compare with the current Object. + + True if the specified Object is equal to the current Object; + otherwise, False. + + + + + Serves as a hash function for a particular type, suitable for + use in hashing algorithms and data structures like a hash table. + + A hash code for the current Object. + + + + Compares the current instance with another object of the same type. + + Object to compare with this instance. + + Less than zero - This instance is less than obj. + Zero - This instance is equal to obj. + Greater than zero - This instance is greater than obj. + + + + + This method should be called before several updates to the object will take place. + + + + + This method should be called after several updates to the object took place. + + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + A new object that is a copy of this instance. + + + + True if the font is bold. Read/write Boolean. + + + + + Returns or sets the primary color of the object. Read / write ExcelKnownColors. + + + + + Gets / sets font color. Searches for the closest color in + the workbook palette. + + + + + True if the font style is italic. Read/write Boolean. + + + + + True if the font is an outline font. Read/write Boolean. + + + + + True if the font is a shadow font or if the object has + a shadow. Read/write Boolean. + + + + + Returns or sets the size of the font in points. Read / write Variant. + + + When size is less than 1 or greater than 409. + + + + + True if the font is struck through with a horizontal line. + Read/write Boolean. + + + + + True if the font is formatted as subscript. + False by default. Read/write Boolean. + + + + + True if the font is formatted as superscript; False by default. + Read/write Boolean. + + + + + Returns or sets the type of underline applied to the font. Can + be one of the following ExcelUnderlineStyle constants. + Read/write OfficeUnderline. + + + + + Returns or sets the font name. Read/write string. + + + + + Gets / sets font vertical alignment. + + + + + Indicates whether color is automatically selected. Read-only. + + + + + Gets or sets the baseline value which indicates whether superscript or subscript + + + + + True if the font is set to capitalize, character spacing or kerning value. + + + + + True if the font is set to capitalize. + + + + + Returns or sets the character spacing value of the font. + + + + + Returns or sets the kerning value of the font. + + + + + Returns wrapped FontRecord. Read-only. + + + + + Parent workbook. Read-only. + + + + + Font index in the workbook fonts collection. + + + + + Gets/sets font charset. + + + + + Gets or sets the family. + + The family. + + + + Returns color object. + + + + + Gets or sets font's language. + + + + + Gets or sets RTF paragraph alignment + + + + + Returns whether RTF text has paragraph alignment or not + + + + + + + + + + Returns font index. Read-only. + + + + + Returns current font. Read-only. + + + + + Class that is created when user accesses the + font in a multicell range. Redirects all calls + to the fonts of the individual cells. + + + + + Array that contains all cells of the range. + + + + + Create new instance of object. + + Base range. + + + + Create new instance of object. + + Base range. + + + + Generates .Net font object corresponding to the current font. + + Generated .Net font. + + + + This method should be called before several updates to the object will take place. + + + + + This method should be called after several updates to the object took place. + + + + + True if the font is bold. Read/write Boolean. + + + + + Returns or sets the primary color of the object. Read / write ExcelKnownColors. + + + + + Gets / sets font color. If there is at least one free color, + define a new color. If not, search for the closest one in + workbook palette. + + + + + True if the font style is italic. Read/write Boolean. + + + + + True if the font is an outline font. Read/write Boolean. + + + + + True if the font is a shadow font or if the object has + a shadow. Read/write Boolean. + + + + + Returns or sets the size of the font. Read/write Variant. + + + + + True if the font is struck through with a horizontal line. + Read/write Boolean + + + + + True if the font is formatted as subscript. + False by default. Read/write Boolean. + + + + + True if the font is formatted as superscript; False by default. + Read/write Boolean. + + + + + Returns or sets the type of underline applied to the font. Can + be one of the following ExcelUnderlineStyle constants. + Read/write OfficeUnderline. + + + + + Returns or sets the font name. Read/write string. + + + + + Gets / sets font vertical alignment. + + + + + Indicates whether color is automatically selected. Read-only. + + + + + Summary description for FontWrapper. + + + + + Wrapped font. + + + + + Font character set. + + + + + Indicates whether font is read-only. + + + + + Indicates whether raise events. + + + + + Indicates whether wrapped font is accessed directly (without creating + new font in OnBeforeChange, OnAfterChange methods). + + + + + Font color object + + + + + Represents the color format + + + + + Represents the Range + + + + + Creates new font wrapper. + + + + + Creates new font wrapper. + + Font to wrap. + + + + Creates new font wrapper. + + Font to wrap. + Indicates whether wrapper should be read-only. + + Indicates whether to call OnBeforeChange and OnAfterChange when any property changes. + + + + + Generates .Net font object corresponding to the current font. + + Generated .Net font. + + + + Returns copy of current object. + + Parent Workbook. + Parent object. + Dictionary with new indexes. + Clone of FontWraper. + + + + This method should be called before several updates to the object will take place. + + + + + This method should be called after several updates to the object took place. + + + + + Invokes after change event. + + + + + True if the font is bold. Read / write Boolean. + + + + + Returns or sets the primary color of the object, as shown in the + following table. Use the RGB function to create a color value. + Read / write Integer. + + + + + Gets / sets font color. Searches for the closest color in + the workbook palette. + + + + + True if the font style is italic. Read / write Boolean. + + + + + True if the font is an outline font. Read / write Boolean. + + + + + True if the font is a shadow font or if the object has + a shadow. Read / write Boolean. + + + + + Returns or sets the size of the font. Read / write Variant. + + + + + True if the font is struck through with a horizontal line. + Read / write Boolean + + + + + Gets or sets the offset value of superscript and subscript + + + + + True if the font is formatted as subscript. + False by default. Read / write Boolean. + + + + + True if the font is formatted as superscript. False by default. + Read/write Boolean + + + + + Returns or sets the type of underline applied to the font. Can + be one of the following ExcelUnderlineStyle constants. + Read / write OfficeUnderline. + + + + + Returns or sets the font name. Read / write string. + + + + + Returns the font character set + + + + + Gets / sets font vertical alignment. + + + + + Indicates whether color is automatically selected. Read-only. + + + + + True if the font is set to capitalize, character spacing or kerning value. + + + + + True if the font is set to capitalize. + + + + + Returns or sets the character spacing value of the font. + + + + + Returns or sets the kerning value of the font. + + + + + Application object. + + + + + Parent object. + + + + + Event raised after wrapped font changed. + + + + + Returns font index. Read-only. + + + + + Returns wrapped font. Read-only. + + + + + Indicates whether font is read-only. + + + + + Returns parent workbook. + + + + + Indicates whether wrapped font is accessed directly (without creating + new font in OnBeforeChange, OnAfterChange methods). + + + + + + + + + + Indicates the range. + + + + + Returns index of the wrapped font. Read-only. + + + + + Returns wrapped font. Read-only. + + + + + Represents number format. Responsible for reading, writing, + parsing, applying, checking and other operations with number formats. + + + + + Represents settings of number format. + + + + + Returns format index. Read-only. + + + + + Returns format string. Read-only. + + + + + Returns format type of the first section of this number format. Read-only. + + + + + Format record that contains low-level information about format. + + + + + Parsed format. + + + + + Reference to the format parser. + + + + + Initializes new instance of the format. + + Application object for the new format. + Parent object for the new format. + + + + Initializes new instance of the format. + + Application object for the new format. + Parent object for the new format. + Format record that contains low-level information about format. + + + + Initializes new instance of the format. + + Application object for the new format. + Parent object for the new format. + Format index. + Format string. + + + + Searches for all necessary parent objects. + + + + + Checks whether format is already parsed, if it isn't than parses it. + + + + + Returns format type for a specified value. + + Value to get format type for. + Format type for the specified value. + + + + Returns format type for a specified value. + + Value to get format type for. + Format type for the specified value. + + + + Applies format to the value. + + Value to apply format to. + String representation of the value according to the number format. + + + + Applies format to the value. + + Value to apply format to. + Indicates whether to show hidden symbols. + String representation of the value according to the number format. + + + + Applies format to the value. + + Value to apply format to. + String representation of the value according to the number format. + + + + Applies format to the value. + + Value to apply format to. + Indicates whether to show hidden symbols. + String representation of the value according to the number format. + + + + Indicate whether the format string in time format + + + + + Indicate whether the format string in date format + + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + A new object that is a copy of this instance. + + + + Returns format index. Read-only. + + + + + Returns format string. Read-only. + + + + + Returns format record that contains low-level information about format. Read-only. + + + + + Returns format type of the first section of this number format. Read-only. + + + + + Parses formula tokens extracted by FormulaTokenizer and converts them into tokens in RPN form. + + + + + Name of if function in uppercase. + + + + + Options value for tAttr token in the case of space token. + + + + + Data value for tAttr token in the case of space token. + + + + + Default options for ExternName that is used as part of DDE link. + + + + + Represents the Abosulte cell references. + + + + + Converts string into set of tokens. + + + + + Array with tokens in RPN order. + + + + + + + + + + Parent workbook. + + + + + Initializes new instance of the formula parser. + + Parent workbook object. + + + + Sets formula separators. + + Operand separator to set. + Array rows separator to set. + + + + Parses formula string. + + String to parse. + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Constant arguments required by some parse methods. + + + + Parses expression. + + Subexpression priority. + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Constant arguments required by some parse methods. + + + + + Creates binary operation. + + Type of the token to create. + Space token that can be added before operation if not null, + becomes null after adding to the tokens array. + Created operation. + + + + Parses spaces and creates required tokens. + + + + + + Space token if any was created. + + + + Creates spaces token. + + Number of spaces. + Created space token. + + + + + + + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Constant arguments required by some parse methods. + + + + + Updates parsing options if necessary. + + Options to update. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifier to parse. + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Constant arguments required by some parse methods. + Created token for the specified identifier. + + + + Tries to get named range object based on the formula string. + + + + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Location reference index; -1 means local sheet reference. + + + + + Converts location string into reference. + + Location to convert. + Constant arguments required by some parse methods. + Reference index. + + + + + + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Constant arguments required by some parse methods. + + + + + Creates Excel 2007 function. + + Resulting formula token. + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Constant arguments required by some parse methods. + True if current string was recognized as formula token. + + + + This function tries to create range (cell or area) based on the formula string and other arguments. + + Identifier string without location part (worksheet, book). + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Constant arguments required by some parse methods. + Resulting token. + Location reference index; -1 means local sheet reference. + True if formula string was parsed as range. + + + + Tries to create named range object based on the formula string. + + + + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Location reference index; -1 means local sheet reference. + + + + + Creates named range token for external name. + + Location reference index. + Name of the named range to create token for. + + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Created token. + + + + Creates named range token for local name. + + Location reference index; -1 means local sheet reference. + Name of the named range to create token for. + + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Created token. + + + + Creates named range token. + + Reference index to the token location. + Name index. + + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Created name token. + + + + Creates token for local name. + + Name location. + Token + + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + + + + + Checks whether specified location is extern. + + Parent workbook. + Location to check. + True if it is extern location. + + + + Creates function token and adds all argument tokens to the internal token array. + + Id of the function to create. + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Constant arguments required by some parse methods. + Created function token. + + + + Creates IF function and adds all argument tokens to the internal token array. + + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Constant arguments required by some parse methods. + Space token that must be inserted before IF. + Created function token. + + + + Creates custom functions and adds all argument tokens to the internal token array. + + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Constant arguments required by some parse methods. + Created function token. + + + + Evaluates size of the tokens range. + + The first token to measure (included). + The last token to measure (not included). + Arguments required by some parse methods. + Size in bytes of the specified tokens. + + + + Extracts operands from the string. + + Parsing options. + Arguments required by some parse methods. + Parent function id. + + + + + + + + + + + + + Parses error reference. + + + Dictionary with attributes that describes token index that should be used at + special function position ( it can be reference token, value token, or array token ). + + Index of the current argument. + Parsing options. + Parent worksheet. + Reference error Ptg. + + + + + + + + + Gets / sets number format info. + + + + + Contains objects that can be used by some parse methods. + + + + + Instance of the FormulaUtil class - helper class for formula parsing. + + + + + Worksheet that contains cell that is currently parsed. + + + + + + + + + + Indicates whether R1C1 notation should be used. + + + + + Cell row index (it is used when parsing R1C1 and Shared and Array formulas). + + + + + Cell column index (it is used when parsing R1C1 and Shared and Array formulas). + + + + + Workbook that contains cell that is currently parsed. + + + + + Destination excel version. + + + + + Initializes new instance of the parameters. + + Worksheet that contains cell that is currently parsed. + + Indicates whether R1C1 notation should be used. + Cell row index (it is used when parsing R1C1 and Shared and Array formulas). + Cell column index (it is used when parsing R1C1 and Shared and Array formulas). + Instance of the FormulaUtil class - helper class for formula parsing. + Parent workbook. + + + + Converts string into set of tokens. + + + + + Indicates end of formula string. + + + + + Indicates whitespace character. + + + + + Indicates colon character. + + + + + Current character. + + + + + Formula length. + + + + + + + + + + Current formula. + + + + + Start position of the current token. + + + + + Current token TokenType. + + + + + Token type of the previous token. + + + + + Previous character position. + + + + + String builder that contains string representation of the current token. + + + + + Parent workbook. + + + + + Argument separator. + + + + + Number format info. + + + + + Default constructor. + + + + + Prepares tokinezer for formula parsing. + + Formula to parse. + + + + Moves pointer to the next character. + + + + + Moves back to the specified character. + + + + + + Extracts next token from the string. + + + + + + + + + + + + + + + Extracts number token. + + + + + Process '>' character and creates required token. + + + + + Process '<' character and creates required token. + + + + + Appends internal string builder while current character is number. + + + + + Parses identifier, it can be range address, named range of function name. + + + + + Extracts spaces from the string. + + + + + Parses string token. + + Indicates whether first character is quotation character or not. + + + + Parses error token. + + + + + Extracts string representation of an array token. + + + + + Skips string and adds its value into internal string builder. + + + + + Raises parse exception. + + Exception message. + Inner exception. + + + + Raises parser exception with message that token was unexpected. + + Additional message. + + + + Returns value of the current token. Read-only. + + + + + Gets / sets argument separator. + + + + + Gets / sets number format info. + + + + + This class provides functionality needed for formula parsing. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default regular expression options. + + + + + Default index inside named range formula. + + + + + Default reference index. + + + + + Default reference index for array token. + + + + + + + + + + + + + + + + + + + + + + + + + Column of the first cell. + + + + + Column of the second cell. + + + + + Row of the first cell. + + + + + Row of the second cell. + + + + + Worksheet name can be enclosed in this characters. + + + + + Name of the sheet name group. + + + + + Name of the book name group. + + + + + Name of the range name group. + + + + + Name of the first row name group. + + + + + Name of the first column name group. + + + + + Name of the path group. + + + + + Name of sheet. + + + + + Default sheet name regular expression. + + + + + + + + + + Array of all open brackets. + + + + + T corresponding close brackets. + + + + + String 'brackets'. + + + + + All known unary operations. + + + + + Plus and minus signs. + + + + + Plus minus signs in sorted storage. + + + + + Gives access to the function name by its id. + + + + + Gives access to the number of parameter needed by the function. + + + + + Provides access to function id by its name. + + + + + Provides access to Dictionary that contains all Reference index + by type of the argument token. + + + + + Provides access to constructor that takes one string argument + by name of the error. + + + + + Dictionary error code to name. + + + + + Dictionary error name to error code. + + + + + Provides access to TokenConstructorAttribute by token code. + This table allows user to rewrite default token classes. + + + + + Represents hash table that get access by token code to PTG. + Key - token code. Value - instance of created PTG. + + + + + Regular expression for checking if specified string is cell reference. + + + + + Regular expression for checking if specified string is cell reference. + + + + + Regular expression for checking if specified string is cell range. + + + + + Regular expression for checking if specified string is full row range. + + + + + Regular expression for checking if specified string is full column range. + + + + + Regular expression for checking if specified string is full row range in R1C1 notation + + + + + Regular expression for checking if specified string is full column range in R1C1 notation. + + + + + Regular expression for checking if specified string is 3D full row range. + + + + + Regular expression for checking if specified string is 3D full column range. + + + + + Regular expression for checking if specified string is cell range in R1C1 notation. + + + + + Regular expression for checking if specified string is cell range in R1C1 notation. + + + + + Regular expression for checking if specified string is cell range in R1C1 notation. + + + + + Regular expression for 3d reference detection. + + + + + Regular expression for 3d reference detection in R1C1 notation. + + + + + Regular expression for 3d cell range detection. + + + + + Regular expression for 3d cell range detection second possible case. + + + + + Regular expression for 3d cell range detection. + + + + + Regular expression for 3d cell range detection second possible case. + + + + + Regular expression for add-in function detection. + + + + + Array of functions that need tAttr with HasSemiVolatile = true before them. + + + + + + + + + + + + + + + Represents number format for parsing double value. + + + + + Parent workbook. + + + + + All known operations for invariant culture. + + + + + Operations with priorities. + + + + + All operations sorted by operation string. + Key - operation string, Value - operation priority. + + + + + + + + + + Array row separator. + + + + + Operands separator. + + + + + Formula parser. + + + + + Static constructor. It does all necessary preparations, + such as preparing all hashtables for functions, errors + and token constructor. + + + + + Initializes new instance of the formula parsing utility. + + Application object. + Parent object. + + + + Initializes new instance of the formula parsing utility. + + Application object. + Parent object. + Number format information. + Argument separator. + Row separator. + + + + Searches for all necessary parent objects. + + + + + Fills operations with default values. + + + + + Fills internal hashtable that permits to construct + token classes by token code. + + + + + Fills all information about known Excel functions. + + + + + Fills all information about known Excel functions. + + + + + Fills information about all known error names. + + + + + Add information about all supported errors from specified type. + + Type that supports some errors. + + + + + + + + + Converts string array into sorted list. + + Array to convert. + Created sorted list. + + + + Converts string to shared formula token array. + + Represents formula string. + Represents first row from cells range. One-based. + Represents first column from cells range. One-based. + Parent worksheet object. + Shared formula tokens. + + + + Converts string to token array. + + + String that should be parsed into Ptg array. + + Token array representing specified string. + + When any error occurs in the specified formula string. + + + + + Converts string to token array. Used when copying worksheets into another workbook. + + + String that should be parsed into Ptg array. + + Parent sheet. + + Dictionary that contains old name of the worksheet as + a key and new name of the worksheet as value. + + Token array representing specified string. + + When any error occurs in the specified formula string. + + + + + Converts string to token array. Used when copying worksheets into another workbook. + + + String that should be parsed into Ptg array. + + Parent sheet. + + Dictionary that contains old name of the worksheet as + a key and new name of the worksheet as value. + + Row index of the cell that contains formula to parse. + Column index of the cell that contains formula to parse. + Indicates whether R1C1 notation is used. + Token array representing specified string. + + When any error occurs in the specified formula string. + + + + + Converts string to token array. + + String that should be parsed into Ptg array. + Worksheet that contains formula. + Token indexes, indicates whether to use reference token, value token, or array token. + Index in string. + Hash table with worksheet names. + Parse options. + Row index of the cell that contains formula to parse. + Column index of the cell that contains formula to parse. + Parsed formula. + + When formula string is empty or if there is another error in formula string + or when string consists only of %. + + + + + Returns operand that is placed before unary operation. + + + Formula string that contains operand and unary operation. + + + Index of unary operation in the string. + + Left operand of the specified unary operation. + + + + Returns operand that is placed after unary operation. + + + Formula string that contains operation and operand. + + Index of the operation. + Right operand of the specified unary operation. + + + + Returns right operand for binary operation. + + Formula string. + Index of first operand character. + String with operation. + Right operand for the specified operation. + + + + Extracts function operand from formula string. + + Formula string to extract operand from. + First character of the operand. + Extracted operand. + + + + This method converts FormulaRecord to its string representation. + + FormulaRecord that will be parsed. + String representation of the specified formula. + + + + This method converts FormulaRecord to its string representation. + + FormulaRecord that will be parsed. + Indicates whether formula must be parsed using R1C1 notation. + String representation of the specified formula. + + + + Parses shared formula. + + Formula to parse. + String representation of the specified formula. + + + + Parses shared formula. + + Formula to parse. + Zero-based row index of the cell with shared formula. + Zero-based column index of the cell with shared formula. + String representation of the specified formula. + + + + Parses shared formula. + + Formula to parse. + Zero-based row index of the cell with shared formula. + Zero-based column index of the cell with shared formula. + Indicates whether formula must be parsed using R1C1 notation. + String representation of the specified formula. + + + + Converts array of tokens into string. + + Tokens to convert. + String representation of the specified tokens array. + + + + This method converts array of Ptg to its string representation. + + Ptg array that will be parsed. + First row to convert. + First column to convert. + Indicates whether R1C1 notation must be used. + String representation of the specified Ptg array. + + + + This method converts array of Ptg to its string representation. + + Ptg array that will be parsed. + First row to convert. + First column to convert. + Indicates whether R1C1 notation must be used. + Represents current number info, can be null. + String representation of the specified Ptg array. + + + + This method converts array of Ptg to its string representation. + + Ptg array that will be parsed. + First row to convert. + First column to convert. + Indicates whether R1C1 notation must be used. + Represents current number info, can be null. + Indicates whether to remove worksheet name from 3d tokens. + String representation of the specified Ptg array. + + + + Checks the formula version. + + The PTGS. + The result. + + + + + Splits array. Each string in result represents single row of the array. + + Array string to split. + Separator + Splitted array. + + + + Updates index of the name. + + Token to update. + Array with new named ranges indexes. + + + + Updates index of the name. + + Token to update. + Dictionary with new named ranges indexes. + + + + Updates name indexes. + + Parsed expression to update. + Dictionary with new indexes. + True if at least one of references to named ranges was updated. + + + + Updates name indexes. + + Parsed expression to update. + Array with new indexes. + True if at least one of references to named ranges was updated. + + + + Sets separators. + + Operand separator to set. + Array rows separator to set. + + + + Replaces keys in the list. + + List to replace in. + Old keys to replace. + New keys to replace. + + + + Marks used references. + + Tokens to get used references from. + Array to mark used references in. + + + + Updates reference indexes. + + Tokens to get used references from. + Array with updated indexes. + + + + Converts string that represents constant value to Ptg. + + String that represents constant. + Parent worksheet. + Dictionary with worksheet names + Parse options. + Token corresponding to the specified string. + + + + Converts string that represents constant value to Ptg. + + String that contains constant. + Parent worksheet. + + Dictionary with attributes that describes token index + that should be used at special function position. + + Parameter position. + + + Row index of the cell that contains formula to parse. + Column index of the cell that contains formula to parse. + Newly created token. + + When specified string is not constant formula token. + + + + + Normalizes sheet name. + + + + + + + Converts byte array to Ptg array. + + Object that provides access to the data. + + Number of bytes to parse (there can be array data + after of all tokens). + + Excel version that was used to infill data provider. + + String representation of the specified byte array that contains tokens. + + + + + Converts byte array to Ptg array. + + Object that provides access to the data. + Start position in data array to parse from. + + Number of bytes to parse (there can be array data + after of all tokens). + + + Receives offset of first byte after all tokens' data. + + Excel version that was used to infill data provider. + Converted Ptg array. + + + + Converts token array to corresponding byte array. + + Ptg array that will be converted to byte array. + Excel version that should be used to infill data. + Converted byte array + + + + Converts token array to corresponding byte array. + + Ptg array that will be converted to byte array. + + Length of formula without tArray data if there is tArray in Tokens. + + Excel version that should be used to infill data. + Converted byte array. + + + + Searches for position of corresponding bracket. + + String to search. + Position of bracket( "(){}" ). + + Position of corresponding bracket if there is one, otherwise -1. + + + When specified position does not contain bracket. + + + + + Returns operand of the operation. + + + Formula string that contains operation and operands. + + Index of the operation. + Delimiters between operands. + + Search direction (TRUE -right to left, + FALSE - left to right). + + Operand defined by function parameters. + + When a open bracket is found without a corresponding closing bracket. + + + + + Registers function in internal collections. + + + Name of the function that must be registered. + + + Index of the function that must be registered. + + + Array of ReferenceIndexAttribute that contains information + about proper token index. + + + Number of parameters in the function, + -1, for variable parameters. + + + + + This method raises the FormulaEvaluation event. + + Range that caused FormulaEvaluation event. + Object that contains event arguments. + + + + Registers token class (can be user defined). + + Token class that will be registered. + + When class is not derived from Ptg. + + + When parameter type is NULL. + + + + + Registers new function alias. + + New alias name. + Function index. + + + + Updates index of the name. + + Ptg to Update + Old index. + New index. + + + + Searches for the specified object and returns the index of + the first occurrence within the entire one-dimensional array. + + Array to search. + Value to locate in the array. + + The index of the first occurrence of value within the entire array, if found; + otherwise, -1. + + + + Searches for the specified object and returns the index of + the first occurrence within the entire one-dimensional array. + + Array to search. + Value to locate in the array. + + The index of the first occurrence of value within the entire array, if found; + otherwise, -1. + + + + Searches for the specified object and returns the index of + the first occurrence within the entire one-dimensional array. + + Array to search. + Value to locate in the array. + + The index of the first occurrence of value within the entire array, if found; + otherwise, -1. + + + + Searches for the specified object and returns the index of + the first occurrence within the entire one-dimensional array. + + Array to search. + Value to locate in the array. + + The index of the first occurrence of value within the entire array, if found; + otherwise, -1. + + + + Searches for the specified object and returns the index of + the first occurrence within the entire one-dimensional array. + + String to search in. + Start index. + Break strings. + Position of one of the break strings. + + + + Searches for the specified object and returns the index of + the first occurrence within the entire one-dimensional array. + + String to search in. + Start index. + Key is break string. + Position of one of the break strings. + + + + Returns lower bound of strings that have specified first character. + + Sorted array of string to search. + Desired first character. + + Lower bound of the strings that have chFirst as the first character + if there are such strings; otherwise -1. + + + + Returns lower bound of strings that have specified first character. + + Sorted array of string to search. + Desired first character. + + Lower bound of the strings that have chFirst as the first character + if there are such strings; otherwise -1. + + + + Returns lower bound of strings that have specified first character. + + Sorted array of string to search. + Desired first character. + + Lower bound of the strings that have chFirst as the first character + if there are such strings; otherwise -1. + + + + Converts SharedFormula tokens into regular formula tokens. + + Shared formula to convert. + Parent workbook. + Row of the destination formula. + Column of the destination formula. + Converted token array. + + + + Updates formula after move / copy operation. + + Tokens to update. + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + One-based row index. + One-based column index. + Updated tokens array. + + + + Pushes operand into stack correctly. + + + + + + + Indicates whether specified string is name of custom function. + + String to check. + Workbook that contains function. + Index to the extern workbook. + Name index. + True if specified string is name of custom function. + + + + Indicates whether specified name is name of local custom function. + + Parent workbook. + Function name. + Resulting name index. + + + + + Checks is custom function. + + Parent Workbook. + Current Match. + Book index. + Name index. + True if it is custom function, otherwise false. + + + + Indicates if specified string is cell name. + + Formula string that will be checked. + Indicates whether R1C1 notation must be used. + String representation of the row. + String representation of the column. + True if parameter is cell name, i.e. "A1", False otherwise. + + + + Returns true, if specified string is R1C1 reference. + + Formula string that will be checked. + True, if paramater is R1C1 cell reference. + + + + Indicates if specified string is cell range. + + Formula string that will be checked. + Indicates whether R1C1 notation must be used. + The first cell's row. + The first cell's column. + The second cell's row. + The second cell's column + True if parameter is cell range, i.e. "A1:D1", False otherwise. + + + + + + + + + + + + Indicates if specified strings is 3d cell reference. + + Formula string that will be checked. + Indicates whether R1C1 notation must be used. + Name of the worksheet if succeeded; otherwise - NULL. + String representation of the row part of the cell reference. + String representation of the column part of the cell reference. + + True if parameter is 3d cell reference, i.e. "Sheet1!A1", False otherwise. + + + + + Indicates whether specified string is 3d cell range. + + String that should be checked. + Indicates whether R1C1 notation must be used. + String that initialize by current sheet name. + String representation of the row part of the first cell reference. + String representation of the column part of the first cell reference. + String representation of the row part of the second cell reference. + String representation of the column part of the second cell reference. + True if string is 3d cell range. + + + + Tells whether specified string contains error + at the specified position. + + String that can contain error string. + Index were error. + + True if specified string contains error + at the specified position. + + + + + Indicates whether specified string is name defined in the workbook. + + String to check. + Parent workbook. + IWorksheet implement. + True if specified string is name defined in the workbook; False otherwise. + + + + Searches for corresponding bracket. + + Formula string where bracket was found. + Position of the found bracket. + Array of all possible opening brackets. + Search direction. + Position of the corresponding record. + + If the corresponding bracket is not found. + + + If there is no bracket at the specified bracket position. + + + + + Indicates if specified string contains unary operation + at the specified position. + + Formula string. + Index of unary operation. + Returns true if operation is unary, false otherwise. + + + + Checks whether the specified string contains operation at the specified position. + + Formula string. + Index of operation symbol in the string. + Operation index. + True if operation is in specified location. + + + + Checks whether specified operand is a function call. + + Operand that will be checked. + Position of the opening bracket. + True if operand denotes function call, False otherwise. + + + + Gets string representing error name that started from errorIndex. + + Formula string that contains error name. + Index of the first char of the error. + + String representing error name that started from errorIndex. + + + When starting symbol of the possible error is not '#' + or if can't find such error name. + + + + + + + + + + + + + + Returns index of the token that should be used at + position i by type targetType in function call. + + Target type for which index will be searched. + + Dictionary with indexes. + Position of the function parameter. + Parse options. + Index of the token code. + + + + Creates new Ptg and sets offset to point just after its data. + + Object that provides access to the data. + Offset to the token data. + Excel version that was used to infill data provider. + Parsed Ptg token. + + When data array is smaller than token that should be stored in it. + + + + + Creates formula token using token code. + + Token code. + Newly created token. + + + + Creates formula token using token code. + + Token code that is used to get constructor and as constructor argument as well. + Newly created token. + + + + Creates token using token id and string representing this token. + + Token id of the token that should be created. + String that will be passed to the token constructor. + Newly created token. + + + + Creates token using token code, token string, and parent workbook. + + Code of the new token. + String representation of the token. + Parent workbook. + Newly created token. + + + + Creates specified token, passes specified parameters to its constructor. + + Code of the token that will be created. + Constructor parameters. + Newly created token. + + + + Creates specified token, passes two integers to its constructor. + + Token to create. + First integer argument. + Second integer argument. + Newly created token. + + + + Creates specified token, passes function index to its constructor. + + Token to create. + Function index. + Newly created token. + + + + Creates token using two string values. + + Row index of the cell that contains formula to parse. + Column index of the cell that contains formula to parse. + Token to create. + First value. + Second value. + Indicates whether R1C1 notation is used. + Created formula token. + + + + Creates token using two string values. + + Token to create. + Row index of the cell that contains formula to parse. + Column index of the cell that contains formula to parse. + First value. + Second value. + Third value. + Fourth value. + Indicates whether R1C1 notation is used. + Parent workbook. + Created formula token. + + + + Creates token using two string values. + + Token to create. + Row index of the cell that contains formula to parse. + Column index of the cell that contains formula to parse. + Worksheet reference index. + First value. + Second value. + Third value. + Fourth value. + Indicates whether R1C1 notation is used. + Parent workbook. + Created formula token. + + + + Removes tokens that are unnecessary. + + + + + + + Puts all right sided unary operations before operand. + + Formula to transform. + Formula after transformation. + + + + Registers function in internal collections. + + + Name of the function that must be registered. + + + Index of the function that must be registered. + + + Array of ReferenceIndexAttribute that contains information + about proper token index. + + + Number of parameters in the function, + -1, for variable parameters. + + + + + Indicates whether specified function is supported just in Excel 2013. + + Function id. + Value indicating whether specified function appeared in Excel 2013. + + + + Indicates whether specified function is supported just in Excel 2010. + + Function id. + Value indicating whether specified function appeared in Excel 2010. + + + + Indicates whether specified function is supported just in Excel 2007. + + Function id. + Value indicating whether specified function appeared in Excel 2007. + + + + Checks whether any of these tokens has external reference. + + + + + + + Event handler that will receive array of Ptg after parsing. + + + + + Returns IDictionary error code - to - name. Read-only. + + + + + Returns IDictionary error name - to - error code. Read-only. + + + + + Returns array row separator. Read-only. + + + + + Returns operands separator. Read-only. + + + + + Gets or sets number format for parsing double value. + + + + + + + + + + Constructor id. + + + + + This class is used in the construction of formula tokens. + + + + + Dictionary key (int) - constructor id, value - ConstructorInfo. + + + + + Token class for which this instance was created. + + + + + Token class for which this instance was created. + + + + + Creates class instance for specified type. + + + Type for which an object will be created. Must be inherited from Ptg class. + + + When specified type is not inherited from Ptg class. + + + When specified type is null. + + + + + Creates token using default constructor. + + Newly created token. + + + + Creates token using string parameter. + + Token type to pass to constructor. + Newly created token. + + + + Creates token using string parameter. + + + String parameter that will be passed to constructor. + + Newly created token. + + + + Creates token using array of bytes and offset + where token data begins. + + Object that provides access to the data. + Offset to the token data. + Arguments required by some parse methods. + Newly created token + + + + This method looks for constructor that takes specified + parameters and invokes it. + + + Parameters that will be passed to the constructor. + + Newly created token. + + + + Creates token using string and parent workbook. + + String representation of the token. + Parent workbook. + Created formula token. + + + + Creates token using two integer values. + + First value. + Second value. + Created formula token. + + + + Creates token using function index. + + Function index. + Created formula token. + + + + Creates token using two string values. + + Row index of the cell that contains new token. + Column index of the cell that contains new token. + First value. + Second value. + Indicates whether R1C1 notation is used. + Created formula token. + + + + Creates token using two string values. + + Row index of the cell that contains formula to parse. + Column index of the cell that contains formula to parse. + First value. + Second value. + Third value. + Fourth value. + Indicates whether R1C1 notation is used. + Parent workbook. + Created formula token. + + + + Creates token using two string values. + + Row index of the cell that contains formula to parse. + Column index of the cell that contains formula to parse. + Worksheet reference index. + First value. + Second value. + Third value. + Fourth value. + Indicates whether R1C1 notation is used. + Parent workbook. + Created formula token. + + + + Gets constructor. + + Constructor id. + Constructor with specified id. + + + + Sets constructor. + + Constructor id. + Corresponding ConstructorInfo. + + + + Gets / sets default constructor. + + + + + Gets / sets string constructor. + + + + + Gets / sets ByteArrayOffset constructor. + + + + + Gets / sets StringParent constructor. + + + + + Gets / sets TwoInts constructor. + + + + + Gets / sets FunctionIndex constructor. + + + + + Gets / sets constructor that accepts two strings as arguments. + + + + + Gets / sets constructor that accepts four strings as arguments. + + + + + Gets / sets constructor that accepts three ints, four strings + and a bool as arguments. + + + + + Gets / sets constructor that accepts three ints, four strings + and a bool as arguments. + + + + + This class is used when formula value needs to be + evaluated. Provides range that contains formula that should + be evaluated and Ptg array - parsed formula string. + + + + + Range that raised this event. Read-only. + + + + + Ptg array with formula tokens of the range. + + + + + Default constructor. + + + + + Main constructor. + + Range containing formula. + Formula tokens array. + + + + Range that raised this event. Read-only. + + + + + Ptg array with formula tokens of the range. + + + + + Empty arguments (all properties with default values). Read-only. + + + + + + Delegate that can be used for formula evaluation purposes. + + + + + Summary description for GradientWrapper. + + + + + Wrapped shape fill. + + + + + Creates new gradient wrapper. + + Gradient to wrap. + + + + Compares with shape fill impl. + + Shape fill to compare with. + Zero if shape fills are equal. + + + + Sets the specified fill to a two-color gradient. + + + + + Sets the specified fill to a two-color gradient. + + Represents shading shading style. + Represents shading variant. + + + + This method should be called before several updates to the object will take place. + + + + + This method should be called after several updates to the object took place. + + + + + Validates whether gradient variant is correct for current gradient style. + + Gradient variant to validate. + + + + Represents background color. + + + + + Represents background color. + + + + + Represents background color index. + + + + + Represents foreground color. + + + + + Represents foreground color. + + + + + Represents foreground color index. + + + + + + + + + + Represents gradient shading style. + + + + + Returns wrapped gradient. Read-only. + + + + + Event raised after wrapped font changed. + + + + + Summary description for GradientArrayWrapper. + + + + + Array that contains all cells of the range. + + + + + Create new instance of object. + + Base range. + + + + Compares with shape fill impl. + + Gradient to compare with. + Zero if shape fills are equal. + + + + Sets the specified fill to a two-color gradient. + + + + + Sets the specified fill to a two-color gradient. + + Represents shading shading style. + Represents shading variant. + + + + Represents background color. + + + + + Represents background color. + + + + + Represents background color index. + + + + + Represents foreground color. + + + + + Represents foreground color. + + + + + Represents foreground color index. + + + + + Represents gradient shading style. + + + + + Represents gradient shading variant. + + + + + This class is responsible for shape id's reservation. + + + + + Size of the single id's segment. + + + + + Dictionary that contains information about reserved id's. + key - segment start + value - id of the collection that reserved current segment. + + + + + Dictionary that contains information about number of reserved id's. + key - segment start + value - number of reserved sectors. + + + + + Number of sectors (key) and first id (value) reserved by some collection. + + + + + Maximum reserved id. + + + + + Additional shapes. + + + + + Evaluates start of the segment containing specified id. + + Id to get segment start for. + + + + + Checks whether segment with specified id is free. + + Id to check. + Number of segments to check. + True if all segments are free. + + + + Gets index of the collection which reserved specified id. + + Id to check. + Index of the collection which reserved id, or 0 if it is not reserved. + + + + Tries to reserve segment or segments containing specified ids for the specified collection. + + Start id to reserve. + Last id to reserve. + Collection owning those ids + True if reservation succeeded. + + + + Increases number of reserved shapes in the segment. + + Id that belongs to the segment to increase number for. + + + + Checks whether specified id range is reserved by specified shape collection. + + Start id to check. + End id to check. + Collection id to check. + True if all ids are reserved by the specified collection. + + + + Frees segment that contains specified id. + + Id used to detect segment start. + + + + Frees segments sequence if they belong to specified collection. + + Id to detect first segment. + Collection to free segments for. + + + + Frees all segments allocated by the collection. + + Collection id. + + + + Allocates specified number of segments. + + Ids count to allocate. + Collection id. + Index to the first allocate id. + + + + Returns number of reserved ids by specified collection. + + Collection index. + Number of reserved ids. + + + + Registers any number of additional shapes required by collection. + + Collection index. + Number of additional shapes to add. + + + + Gets number of additional shapes reserved by collection. + + Collection index. + Number of additional shapes. + + + + Gets maximum accessed shape id. + + + + + + + + + Construct data table. + + DataTable with desired data. + Row of the first cell where DataTable should be imported. + Column of the first cell where DataTable should be imported. + style index of date. + + + + + + + + Summary description for GradientWrapper. + + + + + Represents Interior of an object. + + + + + Gets or sets the color of the interior pattern as an index into the current color palette. + + + + + Gets or sets the color of the interior pattern as an Color value. + + + + + Gets or sets the interior color of the object. The color is specified as + an index value into the current color palette. + + + + + Gets or sets the interior color of the object. + + + + + Gets the gradient object for this extended format. + + + + + Gets or sets type that represents the interior pattern. + + + + + Extended format. + + + + + Gradient wrapper. + + + + + Creates new interior wrapper. + + Extended format. + + + + Event handler for gradient AfterChange event. + + Event sender. + Event arguments. + + + + Creates gradient wrapper. + + + + + This method should be called before several updates to the object will take place. + + + + + This method should be called after several updates to the object took place. + + + + + Returns or sets the color of the interior pattern as an index into the current color palette. + + + + + Returns or sets the color of the interior pattern as an Color value. + + + + + Gets or sets the interior color of the object. The color is specified as + an index value into the current color palette. + + + + + Gets or sets the interior color of the object. + + + + + Returns gradient object for this extended format. + + + + + Gets or sets type that represents the interior pattern. + + + + + Event raised after wrapped font changed. + + + + + Returns wrapped interior. Read-only. + + + + + Class that is created when user accesses the interior in a multicell range. + Redirects all calls to the interiors of the individual cells. + + + + + Array that contains all cells of the range. + + + + + Create new instance of object. + + Base range. + + + + Returns or sets the color of the interior pattern as an index into the current color palette. + + + + + Returns or sets the color of the interior pattern as an Color value. + + + + + Returns or sets the color of the interior. The color is specified as + an index value into the current color palette. + + + + + Returns or sets the cell shading color. + + + + + Returns gradient object. + + + + + Gets / Sets fill pattern. + + + + + This class contains information about all merged + cells in the parent workbook. + + + + + Parent worksheet. + + + + + Contains all not parsed merge records. + + + + + Indicates whether object was parsed. + + + + + Cell range address list of all merged cells. + + + + + Sets application and parent fields. + + Application object for the new instance. + Parent object for the new instance. + + + + Searches for all necessary parents. + + + + + Adds new merge to the existing merges. + + Range that should be merged. + + Operation type - Information on what needs to be done if some of + the cells are already merged. + + + + + Adds a new region if it intersects with other regions. + If operation is Leave, the function leaves the old region. Otherwise + it deletes old region. + + Region that will be merged. + + Operation type - tells what should be done if some of + the cells are already merged. + + + + + Adds new region if it intersects with other regions. + + First row to merge. Zero-based. + Last row to merge. Zero-based. + First column to merge. Zero-based. + Last column to merge. Zero-based. + + Operation type - tells what should be done if some of + the cells are already merged. + + + + + Removes merge that contains a specific cell. + + + Range of the cells to be removed. + + + + + Clear all merges. + + + + + Adds merge regions from the MergeCellsRecord. + + + + + Removes row(s) from the collection. + + Row index to remove. + Number of rows to remove. + + + + Inserts row to the collection. + + Row index to insert. + Number of row to insert. + + + + Removes columns from the collection. + + Column index to remove. + Number of columns to remove + + + + Inserts column into collection + + Column index to insert. + Number of columns to insert. + + + + Removes or inserts one row from merges collection. + + One-based row index to remove or insert. + Indicates whether to remove or insert rows. + Count of row to remove. + + + + Removes or inserts one column from merges collection. + + One-based column index to remove. + Indicates whether to remove or insert rows. + Number of columns to insert or remove. + + + + Creates a copy of the current object. + + Parent object for the new object. + A copy of the current object. + + + + Creates copy of the specified list. + + List to clone. + A copy of the specified list. + + + + Sets new dimensions - removes unnecessary items (that are out of bounds) or truncates them. + + New maximum possible row count. + New maximum possible column count. + + + + Finds merged region for specific cell. + + Cell range address. + Merged region that includes specified cell. + + + + Converts rectangle to merged region. + + Rectangle to convert. + Merged region. + + + + Inserts or removes row into the merge region before first row. + + Region to modify after insert/remove row operation. + Indicates whether it is remove operation. + Row index. + Number of rows to insert. + Workbook where operation is performed. + Modified region. + + + + Inserts or removes row into region the merge at the first row. + + Region to modify after insert/remove row operation. + Indicates whether it is remove operation. + Number of rows to insert. + Workbook where operation is performed. + Modified region. + + + + Inserts or removes row into the merge region in the middle or at the end of the range. + + Region to modify after insert/remove row operation. + Indicates whether it is remove operation. + Row index. + Number of rows to insert. + Workbook where operation is performed. + Modified region. + + + + Inserts or removes row after end of the region. + + Region to modify after insert/remove row operation. + Indicates whether it is remove operation. + Number of rows to insert. + Modified region. + + + + Inserts or removes row. + + Region to modify after insert/remove row operation. + Row index. + Indicates whether it is remove operation. + Number of rows to insert. + Workbook where operation is performed. + + + + + Inserts or removes column into the merge region before first column. + + Region to modify after insert/remove column operation. + Indicates whether it is remove operation. + Column index. + Number of columns to insert. + Workbook where operation is performed. + Modified region. + + + + Inserts or removes column into the merge region at the first column. + + Region to modify after insert/remove column operation. + Indicates whether it is remove operation. + Number of columns to insert. + Workbook where operation is performed. + Modified region. + + + + Inserts or removes column into the merge region in the middle or at the end of the range. + + Region to modify after insert/remove column operation. + Indicates whether it is remove operation. + Column index. + Number of columns to insert. + Workbook where operation is performed. + Modified region. + + + + Inserts or removes column after end of the region. + + Region to modify after insert/remove column operation. + Indicates whether it is remove operation. + Number of columns to insert. + Modified region. + + + + + + Region to modify after insert/remove column operation. + Column index. + Indicates whether it is remove operation. + Number of columns to insert. + Workbook where operation is performed. + Modified region. + + + + Ensures that row index is in correct range. + + Row index to check. + Workbook where operation is performed. + Row index from the correct range. + + + + Ensures that column index is in correct range. + + Column index to check. + Workbook where operation is performed. + Column index from the correct range. + + + + Number of merges in the collection. + + + + + Collection of all merged regions. + + + + + Returns single merge region from the collection. + + + + + Returns single merge region from the collection. + + + + + Summary description for MigrantRangeImpl. + + + + + Range represents one cell or a rectangle of cells. + + + + + + + + + + + + + + + + + + + + Row zero-based index. + + + + + Column zero-based index. + + + + + Index of extended format. + + + + + Returns type code. Read-only. + + + + + Default format for date values. + + + + + Default format for time values. + + + + + Default format for date time values. + + + + + Default date time index. + + + + + Default OleDateValue + + + + + Maximum OleDateValue + + + + + Default format for number values. + + + + + Default format for text values. + + + + + General format. + + + + + Format for array-entered formula representation. + + + + + Error message when method that should be called only for single-cell ranges + was called for range with multiple cells. + + + + + Default style. + + + + + Index of extended format for normal style. + + + + + Default format for WrapText values. + + + + + Whitspace for the numberformat. + + + + + Represents default cell name separator. + + + + + Column section start in the R1C1 reference string. + + + + + Row section start in the R1C1 reference string. + + + + + Opening bracket for relative row / column index in the R1C1 reference mode. + + + + + Closing bracket for relative row / column index in the R1C1 reference mode. + + + + + Local address format in R1C1 notation. + + + + + Maximum OADate value. + + + + + Represents default number format index. + + + + + Represents first number format index. + + + + + Represents second number format index. + + + + + Number of bits in cell index that holds column value. + + + + + Defines whether to set XF index in SetFormulaArrayRecord method. + + + + + Defines the singleQuote. + + + + + Defines a new line character + + + + + Default percentage number format . + + + + + Default decimal percentage number format . + + + + + Default exponential number format . + + + + + Default culture info time token + + + + + Default time token number format . + + + + + Represents the UK culture Name. + + + + + Cell types that can contain date time values. + + + + + Represents auto format types, that contain right horizontal alignment. + + + + + Represents auto format types, that contain number format. + + + + + Minimum supported date time value. + + + + + Minimum supported date time value. + + + + + Represents the list of date time formula. + + + + + Reference on worksheet to which current range belongs to. + + + + + Reference on workbook to which worksheet and current range belong to. + + + + + Index of the left column. + + + + + Index of the right column. + + + + + Index of the top row. + + + + + Index of the bottom row. + + + + + + + + + + + + + + + + + + + + This array stores references of all cells that this + range represents. + + + + + Style wrapper for this range. + + + + + True - indicates that cells collection was filled before, otherwise False. + + + + + Defines a date separator of current culture + + + + + Defines a time separator of current culture + + + + + Represents RTF string. + + + + + True if it is Entire row. + + + + + True if it is Entire column. + + + + + False if Number format is set in run time + + + + + Creates a new outline levels dictionary. + + + + + Number of subtotal in a specific range + + + + + Get DateTime based on culture + + Display text. + The cell value. + The format impl. + + + + + + Checks the OS specific formats. + + The inner number format. + + + + + Create style for Entire row or Entire column. + + + + + Called after changing of value. + + Old value. + New value. + + + + Checks if all formula arrays partially contained by this range + or fully contained by this range. Read-only. + + Collection of array formula records. + Value indicating whether all formula arrays partially contained by this range. + + + + Returns number from the style name, i.e. Normal_1 result is 1. + + Style name. + Parsed number. + + + + This method is called after changing last column index. + + + + + This method is called after changing first column index. + + + + + This method is called after changing last row index. + + + + + This method is called after changing first row index. + + + + + This method is called after changing style of the range. + + Cell type. + + + + Checks whether first symbol is apostrophe and sets appropriate cell style. + + Value to check. + Updated string value. + + + + Converts object to double if possible. + + Object to convert. + Converted value. + + + + Gets Row from collection. + + One-based row index. + Row information. + + + + Gets Column from collection. + + One-based column index. + Column information. + + + + Sets the workbook. + + The book. + + + + Return outline from the dictionary that corresponds to the specified index, + creates new one if necessary. + + + Indicates whether row outline or column outline + should be returned from the collection. + + Collection of outlines. + Index of the needed outline. + + Indicates whether exeption should be thrown when incorrect index passed + or just return Null value. + + Outline from the collection or newly created one. + + + + Gets display text. + + Value representing displayed string. + + + + Parses the number format. + + + + + + Checks the unnecessary char. + + The split format. + + + + + Fills internal BiffRecord with data from specified DateTime. + + DateTime with range value. + + + + Fills internal BiffRecord with data from specified DateTime. + + DateTime with range value. + + + + Returns number value from the cell if possible. + + Stored number. + + + + Fills internal BiffRecord with data from specified number. + + Number with range value. + + + + Fills internal BiffRecord with data from specified number. + + Number with range value. + + + + Creates correct record that can store specified number. + + Value to store. + Created record with number. + + + + Fills internal BiffRecord with data with specified boolean value. + + Boolean with range value. + + + + Fills internal BiffRecord with data with specified error value. + + String with error value. + + + + Gets error code by error string. + + Represents error string. + Returns error code. + + + + Copies formula record. + + Record to copy. + + + + This method should be called after any changes in the range. + Sets Saved property of the parent workbook to false. + + + + + Checks if specified cell has correct row and column index. + + Index of the row of the cell. + Index of the column of the cell. + + When row or column is less than 1 or column is greater than maximum possible column index + (it is 256 for Excel 2003, and 16384 for Excel 2007). + + + + + Searches for specified worksheet in the parent workbook. + + Name of the worksheet to search. + Found worksheet. + + If there is no such worksheet in the parent workbook. + + + + + Parses formula record. + + Record to parse. + + Indicates whether to return formula string in R1C1 notation. + + Parsed string value. + + + + Sets row height. + + Value to set. + Indicates whether font and row height are not compatible. + + + + Creates rich text string. + + + + + Tries to create Value2. + + Value2 value. + + + + Detects whether specified value is error or boolean and tries to parse it. + + String to parse. + True if value type was detected and value was parsed correctly. + + + + Sets index in the LabelSST record. + + New index value. + + + + Tries to remove all formula arrays from this range. + + + Thrown when it's impossible to remove array formula. + + + + + Blanks cell. + + + + + Sets new parent. + + Parent to set. + + + + Updates named ranges indexes. + + New indexes. + + + + Creates record and sets range data in it. + + Record type to create. + Newly created record. + + + + Creates record and sets range data in it. + + Record type to create. + Newly created record. + + + + Updates range. + + First row index. + First column index. + Last row index. + Last column index. + + + + Tries to convert string into datetime value. + + String to parse. + Converted value. + True if conversion succeeded, false otherwise. + + + + Identifies the Date separator + + returns a date seperator + + + + Identifies the time separator + + Returns a time seperator + + + + Parses R1C1 reference. + + Reference to parse. + Range that corresponds to the string. + + + + Parses R1C1 expression + + String to parse. + Represents rectangle of coordinates. + Indicates is it first expression. + Returns rectangle with updated coordinates. + + + + Parses index string in R1C1 style and evaluates absolute row or column index. + + Value to parse. + Indicates whether this is row or column index. + Parsed row or column index. + + + + Converts array-entered formula to string.. + + Indicates whether R1C1 notation must be used. + String representation of the array-entered formula. + + + + Sets array-entered formula. + + String representation of the formula. + Indicates whether R1C1 notation is used. + + + + Sets array formula record. + + Formula array record. + + + + Sets array formula record. + + Formula array record. + Extended format index. + + + + Updates record with new position and extended format record if necessary. + + Record to update. + Cell to get data from. + XF index to set. + + + + Normalizes row index. + + One-based row index to normalize. + First column. + Last column. + Normalized row index. + + + + Normalizes row index. + + One-based column index to normalize. + First row. + Last row. + Normalized column index. + + + + Partially clear range. + + + + + Sets border to single cell. + + Represents border index. + Represents border line type. + Represents border line color. + + + + Collapses or expands this group. + + Should we perform operation on rows or columns? + Indicates desired group state. If it is True then group should be collapsed, otherwise expanded. + Flag indicating collapse or expand settings. + + + + Collapses or expands group. + + Indicates whether group is collapsed. + Represents start index. + Represents end index. + Represents maximum index. + Indicates whether last index. + Provides outline information. + Flag for expand or collapse setting. + + + + Sets hidden state. + + Represents starting index. + Represents ending index. + Provides Outline information. + Value indicating whether outline is hidden + + + + Expands outlines. + + Represents starting index. + Represents end index. + Provides outline information. + Value indicating whether to include sub groups + Value indicating whether last index + + + + Determines whether parent outline group is visible or not. + + Start index of the child group. + End index of the child group. + Maximum possible outline index. + Method that is used to get outline by index. + True if parent group is visible. + + + + Searches for the first outline with lower level (parent). + + Start index to search from. + Delta to add to outline index after each iteration (direction). + Maximum possible outline index. + Method that is used to get outline by index. + Found outline index with lower level or -1. + + + + Searches for the edge of the group. + + Start index to search from. + Delta to add to the index at each iteration. + Maximum possible outline index. + Method that is used to get outline by index. + Outline level of the group to find edge for. + Index of the parent group start. + + + + Searches for the first visible outline of the required level. + + Start index to search. + End index to search. + Method that is used to get outline by index. + Outline level to check. + Index of the first found visible outline. + + + + Gets the formula value. + + Type of the field. + Represents the row to fetch the value. + Represents the column to fetch the value. + if set to true [is string]. + Returns the formula value. + + + + The specified value is detected for fraction value and set to Value property. + + The value assigned to property. + True if the specified value is a fraction. Otherwise False. + + + + sets the time number format based on value. + + Value to check the time format. + + + + Sets formula value to the current Range. + + Formula value. + + + + Sets formula value to the current Range. + + Formula value. + + Dictionary with new worksheet names (to copy worksheet's + into workbook's and merging workbooks). + + Indicates whether R1C1-style notation is used. + + + + Sets auto format pattern. + + Represents pattern color. + Represents first row. + Represents last row. + Represents first column. + Represents last column. + + + + Sets auto format pattern. + + Represents pattern color. + Represents first row. + Represents last row. + Represents first column. + Represents last column. + Represents pattern color. + Represents cell pattern. + + + + Sets auto format patterns. + + Represents auto format type. + + + + Sets auto format pattern for list_1 or list_2 types. + + Indicates if it is list_1 auto format type. + Represents default fore color. + Represents default back color. + + + + Sets auot format alignment. + + Represents auto format type. + + + + Sets auto format alignment. + + Represents align. + Represents first row. + Represents last row. + Represents first column. + Represents last column. + + + + Sets auto format width height. + + Represents auto format type. + + + + Sets auto format number. + + Represents auto format type. + + + + Sets auto format font border. + + Represents auto format type. + Indicates if set font object. + Indicates if set borders. + + + + Sets auto format simple font border. + + Indicates if set font object. + Indicates if set borders. + + + + Sets auto format Classic_1 font and border. + + Indicates if set font object. + Indicates if set borders. + + + + Sets auto format Classic_2 font and border. + + Indicates if set font object. + Indicates if set borders. + + + + Sets auto format Classic_3 font and border. + + Indicates if set font object. + Indicates if set borders. + + + + Sets auto format Accounting_1 font and border. + + Indicates if set font object. + Indicates if set borders. + + + + Sets auto format Accounting_2 font and border. + + Indicates if set font object. + Indicates if set borders. + + + + Sets auto format Accounting_3 font and border. + + Indicates if set font object. + Indicates if set borders. + + + + Sets auto format Accounting_4 font and border. + + Indicates if set font object. + Indicates if set borders. + + + + Sets auto format font. + + Represents font object. + Represents first row. + Represents last row. + Represents first column. + Represents last column. + + + + Creates an object and sets its Application and Parent + properties to specified values. + + Application object for the range. + Parent object for the range. + + The parent worksheet or workbook cannot be found. + + + + + Recover Range from Biff records. + + Application object for the range. + Parent object for the range. + Array of BiffRecordRaws which contains record for the range. + Index of record for the range. + + + + Recover Range from Biff records. + + Application object for the range. + Parent object for the range. + + Array of BiffRecordRaws which contains record for the range. + + Index of record for the range. + Indicates whether to ignore styles. + + + + Recover Range from Biff records. + + Application object for the range. + Parent object for the range. + Array of BiffRecordRaws which contains record for the range. + Index of record for the range. + Indicates whether to ignore styles. + + + + Creates range with specified top-left and bottom-right corners. + + Application object for the range. + Parent object for the range. + First row of the range. + Last row of the range. + First column of the range. + Last column of the range. + + + + Creates range for specified single cell. + + Application object for the range. + Parent object for the range. + Row index for the range. + Column index for the range. + + + + Creates new range based on the record. + + Application object. + Parent object. + Range record. + Indicates whether to ignore styles. + + + + Fill internal collection by references on cells. + + + + + Clears internal cells array. + + + + + This method is called when disposing the object. + + + + + Searches for all necessary parents. + + + + + Recover region from array of Biff Records and position in it. + + Array of BiffRecordRaws that contains range record. + Position of range record. + + + + Recover region from array of Biff Records and position in it. + + Array of BiffRecordRaws that contains range record. + Position of range record. + Indicates whether to ignore style. + + + + Parses double value accordingly to format string. + + Value to parse. + Parsed value. + + + + Parses BlankRecord. + + BlankRecord to parse. + Blank string. + + + + Reparses formula record. + + Record to reparse. + + + + Parses FormulaRecord. + + FormulaRecord to parse. + List with Biff records. + Position of formula in the list. + + + + Parses BoolErrRecord. + + BoolErrRecord to parse. + Extracted BoolError record. + + + + Parses RStringRecord. + + RStringRecord to parse. + Blank string. + + + + Attaches handler to NameIndexChanged event. + + Workbook with name. + Event handler. + Parsed formula. + Workbook index. + New index. + Indicates whether event handler should be added. + + + + Attaches index changed event handler to extern name collection. + + Parent workbook. + NamexPtg that identifies named range. + Workbook index. + NamedRange index to attach to. + Event handler. + Dictionary with indexes of named range that already have attached event. + Indicates whether event handler should be added. + + + + Attaches index changed event handler to local name collection. + + Parent workbook. + NamePtg that identifies named range. + Workbook index. + New name index. + Event handler + Dictionary with indexes of named range that already have attached event. + Indicates whether event handler should be added. + + + + Combines book index and name index into one index. + + Book index. + Name index. + Combined index. + + + + Clear the contents of the Range. + + + + + Clear the contents of the Range with formatting. + + True if formatting should also be cleared. + + + + Returns intersection of this range with the specified one. + + The Range with which to intersect. + Range intersection. If there is no intersection, NULL is returned. + + + + Autofit columns. + + + + + Auto fit the column. + + The first column. + The last column. + + + + Determines whether the range is Merged or not. + + The merged cells. + Represents the row. + Represents the column + whether method called by AutoFitColumn or AutoFitRow + Difference of Merged Range. + + true, if the Range is merged, else false. + + + + + Gets the display text. + + The row. + The column. + The format impl. + + + + + Gets the number or date time. + + The format impl. + The cell value. + + + + + Replaces oldValue by newValue. + + Value to compare. + Value to replace by. + + + + Replaces oldValue by newValue. + + Value to compare. + Value to replace by. + + + + Replaces oldValue by newValue. + + Value to compare. + Value to replace by. + + + + Replaces oldValue by newValue. + + Value to compare. + Array to replace by. + Indicates whether to import values vertically or horizontally. + + + + Replaces oldValue by newValue. + + Value to compare. + Array to replace by. + Indicates whether to import values vertically or horizontally. + + + + Replaces oldValue by newValue. + + Value to compare. + Array to replace by. + Indicates whether to import values vertically or horizontally. + + + + Replaces oldValue by newValue. + + Value to compare. + DataTable to replace by. + Indicates whether to import field names. + + + + Replaces oldValue by newValue. + + Value to compare. + DataTable to replace by. + Indicates whether to import field names. + + + + Sets cell value. + + Value to be set. + + + + Gets new address of range. + + Dictionary with Worksheet names. + String that sets as a worksheet name. + Returns string with new name. + + + + Clones current IRange. + + Parent object. + Hash table with new names. + Parent workbook. + Returns clone of current instance. + + + + Returns array that contains information about range. + + Rectangles that describes range with zero-based coordinates. + + + + Returns number of rectangles returned by GetRectangles method. + + Number of rectangles returned by GetRectangles method. + + + + Gets R1C1 address from cell index. + + Cell index. + Returns R1C1 address. + + + + Converts cell name to cell index. + + Name of the cell. + Cell index of the specified cell. + + When specified cell name is null. + + + When length of the specified cell name is less than 2. + + + When length of the alpha part of the name is less + than 1 or greater than 2. + + + When length of the number part of the name is less + than 1 or greater than 5. + + + + + Converts cell name to row and column index. + + Name of the cell. + Row index. + Column index. + + + + Converts column name into index. + + Name to convert. + Converted value. + + + + Converts column index into string representation. + + Column to process. + String name in excel of the column + + + + Get cell name yy column and row index. + + Column index of the cell. + Row index of the cell. + Cell name. + + When firstColumn or firstRow is less than one. + + + + + Get cell name yy column and row index. + + Column index of the cell. + Row index of the cell. + Indicates whether to use R1C1-style reference mode. + Cell name. + + When firstColumn or firstRow is less than one. + + + + + Get cell name yy column and row index. + + Column index of the cell. + Row index of the cell. + Indicates whether to use R1C1-style reference mode. + If true adds '$' separator. + Cell name. + + When firstColumn or firstRow is less than one. + + + + + Returns the range reference for the specified range in the language + of the user. + + First row of the range. + First column of the range. + Last row of the range. + Last column of the range. + The range reference for the specified range in the language of the user. + + + + Returns the range reference for the specified range in the language + of the user. + + First row of the range. + First column of the range. + Last row of the range. + Last column of the range. + Indicates whether to use R1C1-style reference mode. + The range reference for the specified range in the language of the user. + + + + Get cell name by column and row index. + + Column index of the cell. + Row index of the cell. + Cell name. + + When firstColumn or firstRow is less than one. + + + + + Get cell index by column and row index. + + Column index of the cell. + Row index of the cell. + Cell index. + + When firstRow or firstColumn is less than zero. + + + + + Gets row index from cell index. + + Cell index. + Row index. + + + + Gets column index from cell index. + + Cell index. + Column index. + + + + Extracts worksheet name from range name. + + Range name to extract from. + Worksheet name. + + + + Helper methods for WrapText Property. + + List of IRange. + Gets WrapText property value. + + + + Helper methods for WrapText Property. + + List of IRange. + Value to set. + + + + Helper methods for WrapText Property. + + List of IRange. + Gets WrapText property value. + + + + Helper methods for CellStyleName Property. + + List of IRange. + Gets CellStyleName property value. + + + + Parses string representation of the range. + + Range to parse. + Parent workbook. + First row. + First column. + Last row. + Last column. + Number of parts: 1 - one cell, 2 - range of cells. + + + + Gets rectangle object, that represents rect of range. + + Represents current range. + If true than thrown an exception, if range is null. + Returns rectangle, that represents borders of range. + + + + This method is called when NumberFormat of the range changes. + + Event sender. + Event arguments. + + + + Attaches handler to NumberFormatChanged event of parent style. + + + + + Attaches event to cell styles. + + + + + Attaches handler to NumberFormatChanged of the specified wrapper. + + Wrapper to attach event to. + Handler to attach. + + + + Creates style wrapper. + + + + + Initializes style wrapper. + + Extended format index. + + + + Initializes style wrapper. + + Extended format index. + + + + Sets index of extended format that defines style for this range.. + + Index to set. + + + + Changes style name. + + Name to set. + Style object that corresponds to the name. + + + + Returns name of the style, applied to the cell. + + Name of the style, applied to the cell. + + + + Returns WrapText of the style, applied to the cell. + + WrapText of the style, applied to the cell. + + + + Gets format code. + + Value representing number format code + + + + Gets the date time by culture. + + Date in string format. + Result in Datetime. + Returns true, when the date time is culture based. + + + + Checks whether formula arrays inside this range are separated or not. + + Dictionary with records to skip. + True if records are not separated. + + + + Returns customized number format + + Number format string to be customized + Cutomized number format string + + + + Reparse cell if parsing wasn't successful when loading the workbook. + + + + + Gets ptg of current range. + + Returns native ptg. + + + + Gets the calculated value of a formula in the Range. Read-only. + + To compute a formula, it is mandatory to enable calculate engine by + invoking EnableSheetCalculations method of worksheet object. It is also recommend to disable + calculate engine once all formula are computed by invoking DisableSheetCalculations method of worksheet object + + + + Returns the range reference in the language of the macro. + Read-only String. + + + + + Returns the range reference for the specified range in the language + of the user. Read-only String. + + + + + Returns the range reference using R1C1 notation. + Read-only String. + + + + + Returns the range reference using R1C1 notation. + Read-only String. + + + + + Get / set boolean value that is contained by this range. + + + + + Returns a Borders collection that represents the borders of a style + or a range of cells (including a range defined as part of a + conditional format). + + + + + Returns a Range object that represents the cells in the specified range. + Read-only. + + + + + Returns the number of the first column in the first area of the specified + range. Read-only. + + + + + Column group level. Read-only. + -1 - not all column in the range have same group level. + 0 - No grouping, + 1 - 7 - group level. + + + + + Returns or sets the width of all columns in the specified range. + Read/write Double. + + + + + Returns the number of objects in the collection. Read-only. + + + + + Gets RowStorage from row + + + + + Get / set DateTime contained by this cell. + DateTime.MinValue if not all cells of the range have same DateTime value. + + + + + Returns cell value after number format application. Read-only. + + + + + Returns a Range object that represents the cell at the end of the + region that contains the source range. + + + + + True if it is Entire row. + + + + + True if it is Entire Column. + + + + + Returns a Range object that represents the entire column (or + columns) that contains the specified range. Read-only. + + + + + Returns a Range object that represents the entire row (or + rows) that contains the specified range. Read-only. + + + + + Get / set error value that is contained by this range. + + + + + Returns or sets the object's formula in A1-style notation and in + the language of the macro. Read/write Variant. + + + + + Represents array formula which can perform multiple calculations on one or more of the items in an array. + + + + + Returns the Formula in the cell as a string. + + + + + Returns the calculated value of the formula as a number. + + + + + Returns the calculated value of the formula as a boolean. + + + + + Returns the calculated value of the formula as a string. + + + + + Gets formula value. + + + + + True if the formula will be hidden when the worksheet is protected. + False if at least part of formula in the range is not hidden. + + + + + Get / set formula DateTime value contained by this cell. + DateTime.MinValue if not all cells of the range have same DateTime value. + + + + + Returns or sets the formula for the range, using R1C1-style notation. + + + + + Returns or sets the formula array for the range, using R1C1-style notation. + + + + + True if all cells in the range contain formulas; False if + none of the cells in the range contains a formula; NULL + otherwise. Read-only Variant. + + + + + Indicates whether range contains array-entered formula. Read-only. + + + + + Returns or sets the horizontal alignment for the specified object. + Read/write OfficeHAlign. + + + + + Returns or sets the indent level for the cell or range. Can be an integer + from 0 to 15 for Excel 97-2003 and 250 for Excel 2007. Read/write Integer. + + + + + Indicates whether range contains boolean value. + + + + + Indicates whether range contains error value. + + + + + Indicates whether this range is grouped by column. Read-only. + + + + + Indicates whether this range is grouped by row. Read-only. + + + + + Gets / sets last column of the range. + + + + + Gets / sets last row of the range. + + + + + Get / set number value that is contained by this range + + + When range value is not a number. + + + + + Returns or sets the format code for the object. Returns NULL + if all cells in the specified range don't have the same number + format. Read/write String. + + + + + Returns the number of the first row of the first area in + the range. Read-only Long. + + + + + Row group level. Read-only. + -1 - not all row in the range have same group level. + 0 - No grouping. + 1 - 7 - group level. + + + + + Returns the height of all the rows in the range specified, + in points. Returns Double.MinValue if the rows in the specified range + arent all the same height. Read / write. Double. Maximum Row height can be 409 + value, minimum is zero. + + + + + For a Range object, it returns an array of Range objects that represent the + rows in the specified range. + + + + + For a Range object, it returns an array of Range objects that represent the + columns in the specified range. + + + + + Returns a Style object that represents the style of the specified + range. Read/write Variant. + + + + + Gets / sets name of the style for the current range. + + + + + Gets/sets built in style. + + + + + Gets / sets text contained by this cell. + + + + + Gets / sets TimeSpan contained by this cell. + + + + + Returns or sets the value of the specified range. + Read/write Variant. + + + + + Returns or sets the cell value. Read/write Variant. + The only difference between this property and the Value property is + that the Value2 property doesn't use the Currency and Date data types. + + + + + Gets or sets a value indicating whether this instance is num reference for chart axis. + + + true if this instance is num reference; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is a string reference for chart axis. + + + true if this instance is string reference; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is multi reference for chart axis. + + + true if this instance is multi reference; otherwise, false. + + + + + Returns or sets the vertical alignment of the specified object. + Read/write OfficeVAlign. + + + + + Returns a worksheet object that represents the worksheet + containing the specified range. Read-only. + + + + + Gets or sets cell by row and column index. Row and column indexes are one-based. + + + + + Get cell range. Row and column indexes are one-based. Read-only. + + + + + Gets cell range. Read-only. + + + + + Gets cell range. Read-only. + + + + + Indicates if current range has formula bool value. Read-only. + + + + + Indicates if current range has formula error value. Read-only. + + + + + Indicates if current range has formula value formatted as DateTime. Read-only. + + + + + Indicates whether current range has formula number value. Read-only. + + + + + Indicates whether current range has formula value evaluated as string. Read-only. + + + + + Indicates whether the range is blank. Read-only. + + + + + Indicates whether the range has value or style. Read-only. + + + + + Indicates whether range contains bool value. Read-only. + + + + + Indicates whether cell contains DateTime value. Read-only. + + + + + Indicates whether the range contains number. Read-only. + + + + + Indicates whether the range contains string. Read-only. + + + + + Gets rich text. + + + + + Indicates whether cell contains formatted rich text string. + + + + + Checks whether this range is part of merged range. + + + + + Returns a Range object that represents the merged range containing + the specified cell. If the specified cell isn�t in a merged range, + this property returns NULL. Read-only. + + + + + Indicates whether cell is initialized. Read-only. + + + + + Indicates whether range's style differs from default style. + Read-only. + + + + + True if Microsoft Excel wraps the text in the object. + Read/write Boolean. + + + + + Indicates is current range has external formula. Read-only. + + + + + Indicates whether all values in the range are preserved as strings. + + + + + Application object for this object. + + + + + Parent object for this object. + + + + + Application object for this object. + + + + + Returns the range reference in the language of the macro. + Read-only String. + + + + + Return global address (with $ signs) without worksheet name. + + + + + Gets list of all cells. + + + + + Checks if the range represents a single cell or range of cells. Read-only. + + + + + Gets / sets first row of the range. + + + + + Gets / sets first column of the range. + + + + + If it is a single cell, then it returns its name; otherwise returns NULL. Read-only. + + + + + If single cell, returns its name; otherwise returns -1. Read-only. + + + + + Returns type of the cell. Read-only. + + + + + Gets index of extended format. Read-only. + + + + + Sets / gets index of extended format. + + + When method is applied for the range that contains + more than one cell. + + + + + Converts range to rk subrecord. Read-only. + + + When cell does not contain rk record. + + + + + Returns parent workbook. Read-only. + + + + + Returns merge region if range is part of any merge region; otherwise + returns null. Read-only. + + + + + Returns parent worksheet. Read-only. + + + + + Internal record. + + + + + Gets Dictionary where key is ArrayRecord that at least partially intersects + with this range. Read-only. + + + + + Checks if all formula arrays partially contained by this range + are fully contained by this range. Read-only. + + + + + Number of cells in the range. Read-only. + + + + + Returns number format object corresponding to this range. Read-only. + + + + + Gets address global in the format required by Excel 2007. + + + + + Gets a date separator of current culture + + + + + Gets a time separator of current culture + + + + + Read-only. Returns FormatRecord for this range. + + + + + Indicates whether range contains number. Read-only. + + + + + Get / sets type of the format. + + + + + Returns the boolean value if any cell contains string + + + + + Returns extended format for this range. Read-only. + This property should only be used for reading values. + + + + + Returns type code of the underlying record. Read-only. + + + + + Gets / sets cell column. + + + + + Gets / sets cell row. + + + + + Enumeration that contains all possible cell types for the range. + + + + + Indicates that range contains NumberRecord. + + + + + Indicates that range contains RKRecord. + + + + + Indicates that range contains LabelSSTRecord. + + + + + Indicates that range contains BlankRecord. + + + + + Indicates that range contains FormulaRecord. + + + + + Indicates that range contains BoolErrRecord. + + + + + Indicates that range contains RStringRecord. + + + + + Indicates that range contains LabelRecord. + + + + + + + + + + Represents range object for the single cell. Coordinates of such object can be changed. + There should be only one such object for single worksheet. + + + + + Resets row and column values. + + One-based row index of the new cell address. + One-based column index of the new cell address. + + + + + + + + + + + Resets row and column values. + + One-based row index of the new cell address. + One-based column index of the new cell address. + + + + Represents named range in the excel. + + + + + Represents a defined name for a range of cells. Names can be + either built-in names such as Database, Print_Area, and + Auto_Open or custom names. + + + + + Deletes the object. + + + + + Returns or sets the name of the object. Read / write String. + + + + + Gets / sets Range associated with the Name object. + + + + + For the Name object, a string containing the formula that the name is + defined to refer to. The string is in A1-style notation in the language + of the macro, without an equal sign. + + + + + Determines whether the object is visible. Read / write Boolean. + + + + + Indicates whether name is local. + + + + + Gets named range RefersTo. Read-only. + + + + + Returns parent worksheet. Read-only. + + + + + Returns string representation of the name's scope. Read-only. + + + + + Represents default sheet name separator. + + + + + String format for cell range. + + + + + Represents removed sheet index. + + + + + String representation of the workbook scope value. + + + + + Represents valid symbols. + + + + + Name record with info about this Name object. + + + + + Parent workbook for this object. + + + + + Parent worksheet for this object. + (but NameRecord still must be in Workbook). + + + + + Index of the Name object in the Workbook's Names collection. + + + + + Indicates whether the named range is deleted or not. + + + + + + + + + + + + + + + + + + + + Specifies if the name is associated with the Formula. + + + + + Creates a new Name object. + + Application object for the new Name object. + Parent object for the new Name object. + + + + Creates new Name object. + + Application object for the new Name object. + Parent object for the new Name object. + Name of the new Name object. + Current index. + + + + Creates new Name object. + + Application object for the new Name object. + Parent object for the new Name object. + Name of the new Name object. + Current index. + Indicates whether name is local. + + + + Sets index or global depending on IsLocal property value. + + Indicates whether name should be local. + + + + Autofits all columns in the range. + + + + + Returns intersection of this range with the specified one. + + The Range with which to intersect. + Range intersection; if there is no intersection, NULL is returned. + + + + Clear the contents of the Range. + + + + + Removes this Name object from the workbook's Names collection. + + + + + Sets parent workbook and worksheet. + + + When parent workbook or worksheet cannot be found. + + + + + Reads information from the NameRecord. + + NameRecord to parse + + When specified NameRecord is NULL. + + + + + This method is called when Value property was changed. + + Old value of the property. + New value of the property. + Is Value in R1C1 style. + + + + Sets name value. + + Parsed expression value to set. + + + + This method raises NameIndexChanged event. + + Event arguments. + + + + Sets the value. + + New value of the property. + Is Value in R1C1 style. + + + + Converts full row or column tokens between versions. + + Version to convert into. + + + + A string containing the formula that the name is defined to refer to. + + Formula util to take setting from. + Formula string. + + + + Sets index of the named range and raise event. + + New index. + + + + Sets index of the named range. + + New index. + Indicates whether events should be raised. + + + + This method should be called after worksheet index change. + + New sheet index. + + + + Parses named range. + + + + + Gets ptg of current range. + + Returns native ptg. + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + A new object that is a copy of this instance. + + + + Indicates whether the named range is deleted or not. + + + + + Index of the Name object in the workbook's Names collection. + + + + + Name of the Name object. + + + + + Gets / sets Range associated with the Name object. + + + + + For the Name object, a string containing the formula that the name is + defined to refer to. The string is in A1-style notation in the language + of the macro, without an equal sign. + + + + + Gets/sets named range RefersTo. Read-only. + + + + + Determines whether the object is visible. Read/write Boolean. + + + + + Indicates whether current name is locally defined name. Read-only. + + + + + Returns parent worksheet. Read-only. + + + + + Returns string representation of the name's scope. Read-only. + + + + + Returns the range reference in the language of the macro. + Read-only String. + + + + + Returns the range reference for the specified range in the language + of the user. Read-only String. + + + + + Returns range Address in format "'Sheet1'!$A$1". + + + + + Returns range address in format "$A$1". + + + + + Returns the range reference using R1C1 notation. + Read-only String. + + + + + Returns the range reference using R1C1 notation. + Read-only String. + + + + + Gets / sets boolean value that is contained by this range. + + + + + Returns a Borders collection that represents the borders of a style + or a range of cells (including a range defined as part of a + conditional format). + + + + + Returns a Range object that represents the cells in the specified range. + Read-only. + + + + + Returns the number of the first column in the first area in the specified + range. Read-only. + + + + + Column group level. Read-only. + -1 - Not all columns in the range have same group level. + 0 - No grouping, + 1 - 7 - Group level. + + + + + Returns or sets the width of all columns in the specified range. + Read/write Double. + + + + + Returns the number of objects in the collection. Read-only. + + + + + Gets / sets DateTime contained by this cell. Read-write DateTime. + + + + + Returns cell value after number format application. Read-only. + + + + + Returns a Range object that represents the cell at the end of the + region that contains the source range. + + + + + Returns a Range object that represents the entire column (or + columns) that contains the specified range. Read-only. + + + + + Returns a Range object that represents the entire row (or + rows) that contains the specified range. Read-only. + + + + + Gets / sets error value that is contained by this range. + + + + + Returns or sets the object's formula in A1-style notation and in + the language of the macro. Read/write Variant. + + + + + Represents array-entered formula. + + + + + Returns or sets the formula array for the range, using R1C1-style notation. + + + + + True if the formula will be hidden when the worksheet is protected. + False if at least part of formula in the range is not hidden. + + + + + Get / set formula DateTime value contained by this cell. + DateTime.MinValue if not all cells of the range have same DateTime value. + + + + + Returns or sets the formula for the range, using R1C1-style notation. + + + + + Indicates whether specified range object has data validation. + If Range is not single cell, then returns true only if all cells have data validation. Read-only. + + + + + Indicates whether range contains bool value. Read-only. + + + + + Indicates whether range contains DateTime value. Read-only. + + + + + Indicates if current range has formula bool value. Read-only. + + + + + Indicates if current range has formula error value. Read-only. + + + + + Indicates if current range has formula value formatted as DateTime. Read-only. + + + + + True if all cells in the range contain formulas; False if + at least one of the cells in the range doesn't contain a formula. + Read-only Boolean. + + + + + Indicates whether range contains array-entered formula. Read-only. + + + + + Indicates whether the range contains number. Read-only. + + + + + Indicates whether cell contains formatted rich text string. + + + + + Indicates whether the range contains String. Read-only. + + + + + Indicates whether range has default style. False means default style. + Read-only. + + + + + Returns or sets the horizontal alignment for the specified object. + Read/write OfficeHAlign. + + + + + Returns or sets the indent level for the cell or range. Can be an + integer from 0 to 15. Read/write Integer. + + + + + Indicates whether the range is blank. Read-only. + + + + + Indicates whether range contains boolean value. Read-only. + + + + + Indicates whether range contains error value. + + + + + Indicates whether this range is grouped by column. Read-only. + + + + + Indicates whether this range is grouped by row. Read-only. + + + + + Indicates whether cell is initialized. Read-only. + + + + + Returns last column of the range. Read-only. + + + + + Returns last row of the range. Read-only. + + + + + Gets / sets double value of the range. + + + + + Format of current cell. Analog of Style.NumberFormat property. + + + + + Returns the number of the first row of the first area in + the range. Read-only Long. + + + + + Row group level. Read-only. + -1 - Not all rows in the range have same group level. + 0 - No grouping, + 1 - 7 - Group level. + + + + + Returns the height of all the rows in the range specified, + in points. Returns Double.MinValue if the rows in the specified range + aren't all the same height. Read / write Double. + + + + + For a Range object, returns an array of Range objects that represent the + rows in the specified range. + + + + + For a Range object, returns an array of Range objects that represent the + columns in the specified range. + + + + + Returns a Style object that represents the style of the specified + range. Read/write IStyle. + + + + + Returns name of the Style object that represents the style of the specified + range. Read/write String. + + + + + Gets / sets string value of the range. + + + + + Gets / sets time value of the range. + + + + + Returns or sets the value of the specified range. + Read/write Variant. + + + + + Returns or sets the cell value. Read/write Variant. + The only difference between this property and the Value property is + that the Value2 property doesn't use the Currency and Date data types. + + + + + Returns or sets the vertical alignment of the specified object. + Read/write OfficeVAlign. + + + + + Returns a Worksheet object that represents the worksheet + containing the specified range. Read-only. + + + + + Gets / sets string value evaluated by formula. + + + + + Gets / sets number value evaluated by formula. + + + + + Returns the calculated value of the formula as a boolean. + + + + + Returns the calculated value of the formula as a string. + + + + + String with rich text formatting. Read-only. + + + + + Indicates whether this range is part of merged range. Read-only. + + + + + Returns a Range object that represents the merged range containing + the specified cell. If the specified cell isn�t in a merged range, + this property returns NULL. Read-only. + + + + + True if Microsoft Excel wraps the text in the object. + Read/write Boolean. + + + + + Gets / sets cell by row and column index. Row and column indexes are one-based. + + + + + Get cell range. Row and column indexes are one-based. Read-only. + + + + + Get cell range. Read-only. + + + + + Gets cell range. Read-only. + + + + + Indicates is current range has external formula. Read-only. + + + + + Represents ignore error options. If not single cell returs concatenated flags. + + + + + Gets/sets built in style. + + + + + Get NameRecord to which point current object. + + + + + Get worksheet of Name Object. + + + + + Get workbook of Name Object. + + + + + Indicates whether the name is extern name. + + + + + Indicates whether name is built-in or not. + + + + + Indicates whether this is function. + + + + + Gets or sets a value indicating whether this instance is num reference for chart axis. + + + true if this instance is num reference; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is a string reference for chart axis. + + + true if this instance is string reference; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is multi reference for chart axis. + + + true if this instance is multi reference; otherwise, false. + + + + + It's used to identify the common workbook Names + + + + + Utility event. Raised on Name object index property change. + + + + + + + + + + Event arguments for NameIndexChanged event. + + + + + Old index. + + + + + New index. + + + + + Creates new instance of the event arguments. + + Old index. + New index. + + + + This Class allows the user to configure Print settings of a document. + + + + + Represents default print area. + + + + + Represents default print title. + + + + + Represents default print area tokens. + + + + + This record contains information as to whether or not the the row/column headers have to be printed. + + + + + This record defines whether or not to print the gridlines. + + + + + This record specifies if the option to print sheet grid lines + (PrintGridlinesRecord)has ever been changed. + + + + + Contains information about the layout of outline symbols. + + + + + Row height for rows with undefined or inexplicitly defined heights. + + + + + This record stores a 16-bit value with Boolean options for the current sheet. + + + + + Parent worksheet for this page setup. + + + + + Id of the printer settings part. + + + + + Size of the required storage space. Read-only. + + Represents Excel version. + + + + Sets application and parent fields. + + Application object for the page setup. + Parent object for the page setup. + + + + + Find parent worksheet. + + + When can't find parent worksheet. + + + + + Creates necessary records. + + + + + Parses record. + + Record to parse. + True if record was successfully parsed, false otherwise. + + + + Fills internal guts record with information from Rows + and ColumnInfo records. + + + + + Initialize collections. + + + + + Creates copy of the current instance. + + Parent for the new instance. + A clone of the current instance. + + + + Indicates whether fit to page mode is selected. + + + + + Indicates whether summary rows will appear below detail in outlines. + + + + + Indicates whether summary columns will appear right of the detail in outlines. + + + + + Gets / sets default row height. + + + + + Gets / sets default row height option flag. + + + + + Gets / sets relation id to the printer settings part. + + + + + Returns parent worksheet. Read-only. + + + + + + + + + + Gets or sets the old value. + + The old value. + + + + Gets or sets the new value. + + The new value. + + + + Gets or sets the range. + + The range. + + + + Summary description for RangeRichTextString. + + + + + Represents rich text string in the workbook. + + + + + Zero character. + + + + + Low level text object. + + + + + Represents the RTF string + + + + + Parent workbook. + + + + + Indicates whether string is read-only. + + + + + Represents the parent RTF object. + + + + + All digits without zero. + + + + + + + + + + Default font index. + + + + + Initializes new instance of the RichTextString. + + Application object for the RichTextString. + Parent object for the RichTextString. + + + + Initializes new instance of the RichTextString. + + Application object for the RichTextString. + Parent object for the RichTextString. + Indicates whether string is read-only. + + + + Initializes new instance of the RichTextString. + + Application object for the RichTextString. + Parent object for the RichTextString. + Indicates whether string is read-only. + Indicates whether to create inner TextWithFormat. + + + + Initializes new instance of the RichTextString. + + Application object for the RichTextString. + Parent object for the RichTextString. + Indicates whether string is read-only. + Indicates whether to create inner TextWithFormat. + + + + Initializes new instance of the RichTextString. + + Application object for the RichTextString. + Parent object for the RichTextString. + Indicates whether string is read-only. + >Indicates whether to create inner TextWithFormat. + Logger information for AutoShapes + + + + Initializes new instance of the RichTextString. + + Application object for the RichTextString. + Parent object for the RichTextString. + Text to wrap. + + + + Searches for all necessary parent objects. + + + + + Returns font which is applied to character at the specified position. + + Character index. + Font which is applied to character at the specified position. + + + + Returns font which is applied to character at the specified position. + + Character index. + Font which is applied to character at the specified position. + + + + Sets font for range of characters. + + First character of the range. + Last character of the range. + Font to set. + + + + Clears string formatting. + + + + + Appends rich text string with specified text and font. + + Text to append. + Font to use. + + + + Appends the text. + + text to append. + + + + Updates the RTF font. + + + + + Returns font by its index. + + Font index. + Font that corresponds to the specified index. + + + + This method is called before any changes made to the rich text string. + + + + + This method is called after any changes made to the rich text string. + + + + + Copies data from another rich text string. + + String to copy data from. + Dictionary with updated font indexes. + + + + Parse rich text string. + + TextWithFormat to parse. + Dictionary with updated font indexes. + Parse options. + + + + Creates a copy of the current object. + + Parent object for the new object. + A copy of the current object. + + + + Clears string and formatting. + + + + + Adds font to all required collections.. + + Font to add. + Font index in the collection. + + + + Sets internal text object that stores rtf string. + + New value for the text object. + + + + Returns font which is applied to character at the specified position. + + Character index. + Font which is applied to character at the specified position. + + + + Returns size of the string part. + + Start position. + End position. + Size of the string part. + + + + Generates text in rtf format. + + Generated text. + + + + Writes formatting run with corresponding text into writer. + + Writer to write text and formatting into. + Index of the formatting run. + First character in the text range. + End position of the text range. + + + + Adds all used fonts to the rtf text writer. + + RtfTextWriter to write into. + + + + Adds single font to the fonts table. + + Font to add. + RtfTextWriter to write into. + + + + Writes text into RtfTextWriter. + + RtfTextWriter to write into. + Font index. + Text value. + + + + Gets / sets text of the string. + + + + + Returns text in rtf format. Read-only. + + + + + Indicates whether rich text string has formatting runs. Read-only. + + + + + Returns parent object. Read-only. + + + + + Returns parent application object. Read-only. + + + + + Returns size of the string. Read-only. + + + + + Returns default font. Read-only. + + + + + Returns text object. Read-only. + + + + + Returns parent workbook. Read-only. + + + + + Gets / sets default font index. + + + + + Gets or sets the image RTF. + + The image RTF. + + + + Interface for Rich text string wrapper. + + + + + Parent worksheet. + + + + + Cell index. + + + + + + + + + + + + + + + + + + Cell index. + + + + + + + + Cell index. + Formatted text object. + + + + This method is called before any changes made to the rich text string. + + + + + This method is called after any changes made to the rich text string. + + + + + Performs application-defined tasks associated with freeing, + releasing, or resetting unmanaged resources. + + + + + Returns default font. Read-only. + + + + + Returns index of the string. + + + + + + + + + + Parent range. + + + + + Represents an RTF string. + + + + + Creates new instance of the RTFStringArray. + + Parent range. + + + + Returns font which is applied to character at the specified position. + + Character index. + Font which is applied to character at the specified position. + + + + Sets font for range of characters. + + First character of the range. + Last character of the range. + Font to set. + + + + Clears string formatting. + + + + + Appends rich text string with specified text and font. + + Text to append. + Font to use. + + + + + + + + + + + + + + Performs application-defined tasks associated with freeing, + releasing, or resetting unmanaged resources. + + + + + + + + + + Gets / sets text of the string. + + + + + Returns text in rtf format. Read-only. + + + + + Indicates whether rich text string has formatting runs. Read-only. + + + + + Application object for this object. + + + + + Parent object for this object. + + + + + + + + + + Maximum number of rectangles after split. + + + + + Cell ranges list. + + + + + Default constructor. + + + + + Creates new instance of current class. + + Cell ranges list. + + + + Indicates whether collection contains all specified ranges. + + Ranges to check. + True if collection contains all specified ranges. + + + + Indicates whether collection contains all specified ranges. + + Ranges to check. + Start index in the internal ranges collection to search from. + True if collection contains all specified ranges. + + + + Indicates whether collection contains all specified ranges. + + Ranges to check. + Start index in the internal ranges collection to search from. + True if collection contains all specified ranges. + + + + Indicates whether collection contains specified range. + + Range to check. + Start index in the internal ranges collection to search from. + True if collection contains specified range. + + + + Adds cells from the collection. + + Cells to add to the collection. + + + + Adds new cell range to the collection. + + Range to add. + + + + Clears internal list. + + + + + Checks whether ranges can be merged. + + Range to add to. + Range to add. + True if operation succeeded. + + + + Removes range from the collection of conditional formats. + + Array of ranges to remove. + + + + Removes rectangle from the collection. + + Rectangle to remove. + Index after last element that should be checked. + + + + Splits rectangle into several parts after remove specified rectangle. + + Rectangle to split. + Rectangle to remove. + List with splitted rectangle. + + + + Gets / sets list of the cells. + + + + + This class contains stores true/false/undefined values for ranges. + + + + + Object that contains ranges with value equal to true. + + + + + Object that contains ranges with value equal to false. + + + + + Returns value for the range object. + + Range to get information about. + Value for the range. + + + + Sets property value for the range. + + Range to set value for. + Value to set. + + + + Clears all ranges. + + + + + Stores created Biff records and allows to get specific record. + + + + + Dictionary with Biff records. Key - Biff record type value. + + + + + Initializes new instance. + + + + + Returns Biff record filled with speciffic values. + + Object that provides access to the data. + Offset to the record's start. + Excel version used for infill. + Extracted record. + + + + Returns empty Biff record. + + Biff record type. + Extracted record. + + + + Class wich reads Rich Text. + + + + + Represents the font characterset. + + + + + Represents the string seperator. + + + + + Represents the control word start. + + + + + Represents the para end without the properties. + + + + + Represents the font index. + + + + + Font size in half-points (the default is 24). + + + + + Represents font bold attribute + + + + + Represents font italic attribute + + + + + Represents the tab character. + + + + + Represents the Foreground color (default is 0). + + + + + Represents the para end with properties. + + + + + Represents the para end with properties. + + + + + Represents the para end with properties. + + + + + Continuous underline. \ul0 turns off all underlining. + + + + + Continuous underline with italics font attribute + + + + + Stops underlining. + + + + + Represents the text strike through. + + + + + Subscripts text and shrinks point size according to font information. + + + + + Turns off superscripting or subscripting. + + + + + Superscripts text and shrinks point size according to font information. + + + + + Marks a destination whose text should be ignored. + + + + + Represents the Red color. + + + + + Represents the Green color. + + + + + Represents the blue color. + + + + + Represents paragraph center + + + + + Represents paragraph justify + + + + + Represents paragraph left + + + + + Represents paragraph right + + + + + Represents language + + + + + Represents open curly braces + + + + + Represents close curly braces + + + + + Represents single quotation + + + + + Represents unicode character + + + + + Represents Default Code Page + + + + + Represents the Application. + + + + + Dictionary of Colors table. + + + + + Entire Rtf Text. + + + + + Represents the font Dictionary. + + + + + Index of the RTF Text. + + + + + Represents the workbook. + + + + + Represents the current Font Index. + + + + + Represents the Rtf Text. + + + + + Represents the WorksheetImpl. + + + + + Represents the Range to store the RTF Text. + + + + + Represents the RichTextString class Object. + + + + + Represents the Index of RTF string. + + + + + Intializes the RichTextReader Members. + + sheet. + + + + Finds the color. + + Color of the find. + + + + + Parses this instance. + + + + + Parses the color table. + + + + + Parses the content. + + + + + Parses the control word. + + + + + Appends RTF string + + RTF string + + + + Appends extended characters to rtf string + + String Array + + + + Parses the font table. + + + + + Parses the number. + + The num text. + + + + + Sets the RTF. + + The text. + + + + Creates rich text string. + + + + + Parses Accented character + + + + + + + + Seperate Token keyword from the token Value + + + + + + + Determines whether current code page is single byte encoding. + + + true if [is single byte]; otherwise, false. + + + + + Get the code page for the current Font character set + + + + + + Determine Whether the code page is supported for Encoding + + + + + + + Get the code page is supported for Encoding + + + + + + + Get's or set's the Default code page of the document + + + + + Class used for optimized row height evaluation. + + + + + List with height of the rows. + + + + + Method used to get size of the measured items. + + + + + Initializes new instance of the class. + + Delegate used to get size of the items. + + + + Returns height of all rows starting from the first one and finishing specified row. + + One-based row index. + Sum of height of all rows till rowIndex (included). + + + + Gets size starting from rowStart and ending rowEnd (both included). + + Index of the first item to measure. + Index of the last item to measure. + Total size starting from rowStart and ending rowEnd (both included). + + + + Evaluates size of the specified item. + + Item's index. + Size of the specified item. + + + + Delegate used to get size of the single object by its index. + + Item's index to get size for. + Size of the specified item. + + + + Rtf text writer used for converting rtf string into rtf format. + + + + + 0 - font index, + 1 - charset, + 2 - font name. + + + + + Font attribute. + + + + + 0 - red component (0-255), + 1 - green, + 2 - blue. + + + + + Underline tags. + + + + + Strike through tags. + + + + + Other tags. + + + + + Array list with all used colors. + + + + + Fonts dictionary. Font - to - font index. + + + + + Colors dictionary. Color - to - color index. + + + + + Indicates whether formatting is enabled. + + + + + Inner text writer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets the image RTF. + + The RTF. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns string that implement current object. + + Returns string that implement current object. + + + + Writes a character to the text stream. + + Char value to write. + + + + Writes a string to the text stream. + + String to write. + + + + Adds new font to the collection. + + Font to add. + Index of the font. + + + + Adds color to the colors table. + + + + + + + Writes fonts table into inner text writer. + + + + + Writes colors table into inner text writer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns current Encoding. + + + + + \ul Continuous underline. \ul0 turns off all underlining. + \ulcN Underline color + \uld Dotted underline. + \uldash Dash underline. + \uldashd Dash dot underline. + \uldashdd Dash dot dot underline. + \uldb Double underline. + \ulhwave Heavy wave underline + \ulldash Long dash underline + \ulnone Stops all underlining. + \ulth Thick underline + \ulthd Thick dotted underline + \ulthdash Thick dash underline + \ulthdashd Thick dash dot underline + \ulthdashdd Thick dash dot dot underline + \ulthldash Thick long dash underline + \ululdbwave Double wave underline + \ulw Word underline. + \ulwave Wave underline. + + Elements order is very important. + + + + + Continuous underline. + + + + + Turns off all underlining. + + + + + Dotted underline. + + + + + Dash underline. + + + + + Dash dot underline. + + + + + Dash dot dot underline. + + + + + Double underline. + + + + + Heavy wave underline. + + + + + Long dash underline. + + + + + Stops all underlining. + + + + + Thick underline. + + + + + Thick dotted underline. + + + + + Thick dash underline. + + + + + Thick dash dot underline. + + + + + Thick dash dot dot underline. + + + + + Thick long dash underline. + + + + + Double wave underline. + + + + + Word underline. + + + + + Wave underline. + + + + + Elements order is very important. + + + + + Single is on. + + + + + Single is off. + + + + + Double is on. + + + + + Double is off. + + + + + Elements order is very important. + + + + + Font table begins. + + + + + Font table ends. + + + + + Color table starts. + + + + + Color table ends. + + + + + Bold on. + + + + + Bold off. + + + + + Italic on. + + + + + Italic off. + + + + + Rtf begins. + + + + + Rtf ends. + + + + + Group starts. + + + + + Group ends. + + + + + End of line. + + + + + Foreground color. + + + + + Background color. + + + + + Subscript. + + + + + SuperScribt. + + + + + The Shadow record defines the Shadow properties and + the 3D features(bevel top and bevel bottom),Lignting and + Material properties + + + + + NoShadow=0 + OffsetRight=1 + OffsetDiagonalBottomRight=2 + OffsetBottom=3 + OffsetDiagonalTopLeft=4 + OffsetCenter=5 + OffsetTop=6 + OffsetLeft=7 + OffsetDiagonalTopRight=8 + OffsetDiagonalBottomLeft=9 + + + + + NoShadow=0 + InsideDiagonalBottomLeft=1 + InsideTop=2 + InsideRight=3 + InsideLeft=4 + InsideDiagonalTopRight=5 + InsideDiagonalBottomRight=6 + InsideCenter=7 + InsideBottom=8 + InsideDiagonalTopLeft=9 + + + + + NoShadow=0, + PrespectiveDiagonalUpperRight=1, + PrespectiveDiagonalLowerRight=2, + PrespectiveDiagonalUpperLeft=3, + PrespectiveDiagonalLowerLeft=4, + Below=5 + + + + + NoAngle=0, + Angle=1, + ArtDeco=2, + Circle=3, + Convex=4, + CoolSlant=5, + Cross=6, + Divot=7, + HardEdge=8, + RelaxedInset=9, + Riblet=10, + Slope=11, + SoftRound=12 + + + + + NoEffect=0, + Matte=1, + WarmMatte=2, + Plastic=3, + Metal=4, + DarkEdge=5, + SoftEdge=6, + Flat=7, + WireFrame=8, + Powder=9, + TranslucentPowder=10, + Clear=11 + + + + + ThreePoint=0, + Balance=1, + BrightRoom=2, + Chilly=3, + Contrasting=4, + Flat=5, + Flood=6, + Freezing=7, + Glow=8, + Harsh=9, + Morning=10, + Soft=11, + Sunrise=12, + SunSet=13, + TwoPoint=14 + + + + + Gets or sets the shadow outer presets. + + The shadow outer presets. + + + + Gets or sets the shadow inner presets. + + The shadow inner presets. + + + + Gets or sets the shadow prespective presets. + + The shadow prespective presets. + + + + Gets or sets the material. + + The material. + + + + Gets or sets the lighting. + + The lighting. + + + + Gets or sets the bevel top. + + The bevel top. + + + + Gets or sets the bevel bottom. + + The bevel bottom. + + + + Represents chart shadow object + + + + + Represents the shadow formatting properties of the chart. + + + + + Customize the outer shadow styles. + + The Office2007ChartPresetsOuter enumeration. + Transparency of the Shadow accepts the values between(0-100). + Size of the Shadow accepts the values between(0-200). + Blur level of the Shadow accepts the values between(0-100). + Angle or Direction of the Shadow accepts the values between(0-359). + Distance of the Shadow accepts the values between(0-200). + if set to true [custom shadow style]. + + + + Customize the inner shadow styles. + + The Office2007ChartPresetsInner enumeration. + Transparency of the Shadow accepts the values between(0-100). + Blur level of the Shadow accepts the values between(0-100). + Angle or Direction of the Shadow accepts the values between(0-359). + Distance of the Shadow accepts the values between(0-200). + if set to true [custom shadow style]. + + + + Customize the perspective shadow styles. + + The Excel2007ChartPresetsPerspective enumeration. + Transparency of the Shadow accepts the values between(0-100). + Size of the Shadow accepts the values between(0-200). + Blur level of the Shadow accepts the values between(0-100). + Angle or Direction of the Shadow accepts the values between(0-359). + Distance of the Shadow accepts the values between(0-200). + if set to true [i custom shadow style]. + + + + Gets or sets the shadow outer presets. + + The shadow outer presets. + + + + Gets or sets the shadow inner presets. + + The shadow inner presets. + + + + Gets or sets the shadow perspective presets. + + The shadow perspective presets. + + + + Gets or sets a value indicating whether this instance has custom shadow style. + + + True if this instance has custom shadow style; otherwise, False. + + + + + Gets or sets the transparency of Shadow. + + The transparency. + + + + Gets or sets the size of the Shadow. + + The size. + + + + Gets or sets the blur of the Shadow. + + The blur. + + + + Gets or sets the angle of the Shadow. + + The angle. + + + + Gets or sets the distance of the Shadow. + + The distance. + + + + Gets or sets the color of the shadow. + + The color of the shadow. + + + + Class used for Shadowformat Implementation + + + + + Object of WorkbookImpl + + + + + Indicates whether customshadowstyle is set or not + + + + + Represents the Transparency of the Shadow,the values are between(0-100) + + + + + Represents the Size of the Shadow,the values are between(0-200) + + + + + Represents the Blurradius of the Shadow,the values are between(0-100) + + + + + Object of ChartMarkerFormatRecord to get Shadow color + + + + + Represents the Direction of the Shadow,the values are between(0-359) + + + + + Represents the Distance of the Shadow,the values are between(0-200) + + + + + Represents the Shadow Color + + + + + + Creates the shadow and sets its Application and Parent + properties to specified values. + + Application object for the shadow. + Parent object for the shadow. + + + + Initializes the colors. + + + + + Shadows the color changed. + + + + + Searches for all necessary parent objects. + + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + + A new object that is a copy of this instance. + + + + + Clone current Record. + + Parent object. + Returns clone of current object. + + + + Customize the outer shadow styles. + + + + + + + + + + + Customize the inner shadow styles. + + + + + + + + + + Customize the perspective shadow styles. + + + + + + + + + + + Gets the shadow format. + + The shadow format. + + + + Gets or sets the shadow outer presets. + + The shadow outer presets. + + + + Gets or sets the shadow inner presets. + + The shadow inner presets. + + + + Gets or sets a value indicating whether this instance has custom shadow style. + + + true if this instance has custom shadow style; otherwise, false. + + + + + Gets or sets the shadow prespective presets. + + The shadow prespective presets. + + + + Gets or sets the transparency of Shadow. + + The transparency. + + + + Gets / sets color of this shadow. + + + + + Gets or sets the size of Shadow. + + The size. + + + + Gets or sets the blur of Shadow. + + The blur. + + + + Gets or sets the angle of Shadow. + + The angle. + + + + Gets or sets the distance of Shadow. + + The distance. + + + + Class used for Bitmap shape implementation. + + + + + Class used for Shape Implementation. + + + + + Represents a shape. + + + + + Removes this shape from shapes collection. + + + + + Scales the shape. + + Width scale in percents. + Height scale in percents. + + + + Height of the shape. + + + + + Shape id. + + + + + Left position of the shape. + + + + + Name of the shape. + + + + + Top position of the shape. + + + + + Width of the shape. + + + + + Shape type. + + + + + Indicates whether shape is visible. + + + + + Alternative text. + + + + + Indicates whether shape must be moved with cells. + + + + + Indicates whether shape must be sized with cells. + + + + + Represents fill properties. Read-only. + + + + + Represents line format properties. Read-only. + + + + + Gets or sets macro associated with this shape + + + + + Returns or sets the rotation of the shape, in degrees. + + + + + Returns a TextFrame object that contains the + alignment and anchoring properties for the specified shape. Read-only. + + + + + Represents alpha constant, that represents index in ExcelKnownColors structures. + + + + + Value of SizeTextToFitShape option when it is set to false. + + + + + Value of SizeTextToFitShape option when it is set to true. + + + + + Value of NoFillHitTest option. + + + + + Offset for full column. + + + + + Offset for full row. + + + + + Represents default line weight. + + + + + Represents default transparency mull. + + + + + Represents default transparency mull multiplied by 100. + + + + + Represents default line weight mull. + + + + + Represents maximum shape width and height in pixel. + + + + + Represents minimum shape width and height in pixel. + + + + + Default foreground color. + + + + + Default background color. + + + + + Represents default parent types. + + + + + Fill options. + + + + + Represent the shape start x position inside the chart. + + + + + Represent the shape start y position inside the chart. + + + + + Represent the shape to width inside the chart. + + + + + Represent the shape to height inside the chart. + + + + + Represent the shape to x position inside the chart. + + + + + Represent the shape to y position inside the chart. + + + + + Represent the shape X position inside the chart. + + + + + Represent the shape Y position inside the chart. + + + + + Represent the shape width inside the chart. + + + + + Represent the shape height inside the chart. + + + + + Indicates if this shape support shape color-line options. + + + + + Indicate if comments is valid or not + + + + + Indicate if left value is set. + + + + + Name of the shape. + + + + + Name of assigned Macro Name + + + + + Alternative text. + + + + + Shape's record. + + + + + Parent workbook for the shape. + + + + + Type of the shape. + + + + + Shape record. + + + + + Client anchor record. + + + + + Preset Geometry element specifies when a preset geometric shape should be used instead of a custom geometric shape. + + + + + Parent shapes collection. + + + + + OBJ record. + + + + + Shape's options. + + + + + Absolute coordinates of the shape in pixels. + + + + + Represents fill properties. + + + + + Represents shape line format. + + + + + Indicates is parse or serialize Line fill properties. + + + + + This object contains not parsed xml data. + + + + + This object contains not parsed type stream data. + + + + + Preserved relation to the image. + + + + + Preserved relation id. + + + + + Indicates whether we have to update absolute positions after setting TopRow, + BottomRow, LeftColumn, RightColumn. + + + + + Indicates whether shape is vml shape or not. + + + + + Id of this shape. + + + + + Macrolink of this shape + + + + + Tokens containing reference to the associated macro. + + + + + Visibility of the shape. + + + + + Represents Shadow + + + + + Represents the 3D features + + + + + Represens the Child Shapes in the Group. + + + + + Child Client anchor record. + + + + + Unknown record. + + + + + Preserves the Style properties. + + + + + Preserves the Style properties as string value. + + + + + FormulaMacro maintain as stream + + + + + Indicates the whether the shape has the borders. + + + + + Stream to preserve the Slicers graphic frame + + + + + Anchor type + + + + + Stream to preserve the ExtLst of picture. + + + + + Dictionary to have preserved streams of shape properties + + + + + Indicates whether custom geometry will be used for this shape. + + + + + + + Represents the group frame of the shape. + + + + + Indicates whether the group shape contains fill. + + + + + Indicates whether the group shape contains line. + + + + + Indicates whether the shape is slicer shape or not. + + + + + Indicates whether extent tag is present or not. + + + + + Serialize FOPTE structure. + + Parent collection. + Structure id to serialize. + Array of byte - main byte of structure. + + + + Serialize FOPTE structure. + + Parent collection. + Structure id to serialize. + Array of byte - main byte of structure. + Represents additional data. + Represents if valid + + + + Serialize FOPTE structure. + + Parent collection. + Structure id to serialize. + Represents UInt value of structure. + + + + Serialize FOPTE structure. + + Parent collection. + Structure id to serialize. + Represents int value of structure. + Represents additional data. + Represents if valid + + + + Indicates whether text frame should be autosized. + + + + + Initializes new instance of the shape. + + Application object for the new shape. + Parent object for the new shape. + + + + Initializes new instance of the shape. + + Application object for the new shape. + Parent object for the new shape. + Current object to clone. + + + + Initializes new instance of the shape. + + Application object for the new shape. + Parent object for the new shape. + Shape container record that describes the new shape. + Parse options. + + + + Initializes new instance of the shape. + + Application object for the new shape. + Parent object for the new shape. + Record that describes the new shape. + + + + Initializes new instance of the shape. + + Application object for the new shape. + Parent object for the new shape. + Record that describes the new shape. + Parse options. + + + + Creates default fill and line formatting options. + + + + + Parses shape container record. + + Parse options. + + + + Parses client data record. + + Record to parse. + Parse options. + + + + Parses all unknown records (should be overridden in child classes). + + Record to parse. + Parse options. + + + + Parses options. + + Options to parse. + + + + Parses fill options. + + Represents single fill option + Returns true if parsed correctly. + + + + Parses option record. + + Record to parse. + Value indicating fill option. + + + + Parses shape record. + + Record to parse. + + + + Parses client anchor record. + + Record to parse. + + + + Searches for all necessary parent objects. + + + + + Change the parent for the shape. + + + + + Raises events. + + + + + Suppress events. + + + + + Parses shape group record. + + Record to parse. + + + + Parses shape group container. + + Container to parse. + + + + Parses child anchor record. + + Record to parse. + + + + Parses Unknown record. + + Record to parse. + + + + Converts option value to color. + + Option to convert. + Corresponding color value. + + + + Gets single byte by index for forte structure. + + Represents current FORTE structure. + Byte index. + Returns single byte by index. + + + + Extracts shape name from option. + + Option that contains shape name. + Name extracted. + + + + Extracts all necessary option. + + Represents option holder. + + + + Extract necessary option. + + Option to extract. + Value indicating extracted option. + + + + Removes this shape from the collection. + + + + + Scales the shape. + + Width scale in percent. + Height scale in percent. + + + + Detaches events and disposes current object. + + + + + Serializes shape into shape group container. + + Shape group container that will receive shape data. + + + + Serializes shape record (MsofbtSp) into shape group container. + + Shape group container that will receive shape data. + + + + Serializes SizeTextToFitShape option. + + MsofbtOPT record to which text ID will be added. + + If options argument is NULL. + + + + + Serializes HitTest option. + + MsofbtOPT record to which text ID will be added. + + If options argument is NULL. + + + + + Serialize shape's options. + + Options record. + Option ID. + Option value. + + + + Serialize shape's options. + + Options record. + Option ID. + Option value. + Record with option. + + + + Serialize shape's options sorted by option id. + + Options record. + Option ID. + Option value. + + + + Serializes shape visibility. + + Option holder. + + + + Serializes shape name. + + Option holder. + + + + Serializes shape name. + + Options object to store name in. + Option id to store name in. + Name to serialize. + + + + Create default shape options. + + Record with option. + + + + Gets border thickness + + + + + + Get border color + + Color + + + + Get fill color. + + Color + + + + Gets the default fill color for the shape from style. + + Preserved flag to be checked. + Xml tag to create reader. + Shape for which fill color should be obtained. + color + + + + Get color from style element. + + AutoshapeImpl + Preserved flag to be checked. + Stream tage name + xml tag to the create reader + Fill or border color. + + + + Check whether color is empty or not. + + RGB Color object to check. + Returns true if color is empty. + + + + Generates default shape name and sets it. + + + + + This method is called when removing shapes from the collection. + + + + + Sets object with value. + + Value to be set. + + + + Creates a clone of the current shape and adds it to the parent shapes collection. + + New parent for the shape object. + Dictionary with new worksheet names. + Dictionary with new font indexes. + Indicates whether we should add created + shape into all necessary parent collections. + A copy of the current shape. + + + + Creates a clone of the current shape. + + New parent for the shape object. + A copy of the current shape. + + + + Copies settings from another shape object. + + Shape to copy settings from. + Dictionary with new worksheet names. + Dictionary with new font indexes. + + + + Checks whether it is possible insert row or column into iIndex. + + Index of row or column to insert. + Number of rows or columns to insert. + Indicates whether rows or columns are inserted. + Maximum possible index. + True if it is possible to insert row or column. + + + + Returns lower bound of the shape. + + Indicates whether lower row or lower column must be returned. + Lower bound of the shape. + + + + Returns upper bound of the shape. + + Indicates whether upper row or upper column must be returned. + Upper bound of the shape. + + + + Removes row or column. + + Index of row or column to remove. + Number of rows or columns to remove. + Indicates whether rows or columns are removed. + + + + This method should be called after rows or columns were inserted. + + Index of row or column to insert. + Number of rows or columns to insert. + Indicates whether rows or columns are inserted. + + + + Updates formulas after copy operation. + + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + + + + Sets shape name without updating parent shapes collection. + + Name to set. + + + + Registers shape in all required sub collections. + + + + + Copy comments options. + + Represents source shape. + Represents dictionary with font indexes. + + + + Sets instance value for the shape. + + Instance to set. + + + + Sets option with value. + + Represents shape option. + Represents value to be set. + + + + Updates indexes to named ranges. + + New indexes. + + + + Updates left column and offset values correspondingly + to X-coordinate changes. + + + + + Clears the Shape Offsets. + + Clears the offset if True. + + + + Update right column + + + + + + Updates right column and offset values correspondingly + to left column or offset or width changes. + + + + + Updates top row and offset values correspondingly + to Y-coordinate changes. + + + + + Updates bottom row of the shape. + + + + + Updates width of the shape. + + + + + Updates Height of the shape. + + + + + Converts offset value into pixels. + + Width of row or column. + Offset in row or column. + Indicates whether it is column offset. + Offset value in pixels. + + + + Converts offset value into pixels. + + Width or Height. + Offset in row or column. + Indicates whether it is column offset. + Offset value in pixels. + + + + Converts pixels into offset value. + + Index to the current row or column. + Size in pixels. + Indicates whether iCurRowColumn is column index should. + Size of the row / column in pixels. + + + + Converts pixels into offset value. + + Index to the current row or column. + Size in pixels. + Indicates whether iCurRowColumn is column index should. + Size of the row / column in pixels. + + + + Returns width of the area. + + Column index. + Column offset. + Second column index. + Offset in the second column. + Indicates whether offsets are in pixels. + Width in pixels of the specified area. + + + + Returns height of the specified area. + + The first row. + Offset in the first row. + The second row. + Offset in the second row. + Indicates whether offsets are in pixels. + Height in pixels of the specified area. + + + + Converts width offset into pixels and checks if it is out of range. + + Width of the target column. + Offset in the target column. + + Indicates whether offset is in pixels (True) or in the units + relative to width of the column (False). + + Offset in pixels. + + If resulting offset is more that column width. + + + + + Converts width offset into pixels and checks if it is out of range. + + Height of the target row. + Offset in the target row. + + Indicates whether offset is in pixels (True) or in the units + relative to height of the row (False). + + Offset in pixels. + + If resulting offset is more than row height. + + + + + Converts pixels into column width offset. + + Represents pixel. + Width of the target column. + Value in column width. + + + + Converts pixels into height offset. + + Pixels to convert. + Represents target row height. + Offset in terms of Row height. + + + + Evaluates top left position of the shape. + + + + + Evaluates left position. + + + + + Evaluates Right Position. + + + + + Evaluates top position. + + + + + Sets client anchor record. + + Represents anchor. + + + + This method is called when left column was changed. + + + + + This method is called when top row was changed. + + + + + Indicates whether specified row / column index is before shape. + + Row / column index. + Indicates whether it is row or column index. + True if specified row / column index is before shape. + + + + Indicates whether specified row / column index is in the middle of the shape. + + Row / column index. + Indicates whether it is row or column index. + True if specified row / column index is before shape. + + + + Indicates whether it is last row or column index + + Row / column index. + Indicates whether it is row or column index. + Value indicating whether it is last row or column index. + + + + Increases and updates both begin and end of the shape. + + Number of inserted rows / columns. + Indicates whether rows where inserted. + + + + Increases and updates end of the shape. + + Number of inserted rows / columns. + Indicates whether rows where inserted. + + + + Gets count of rows \ columns that is above shape. + + Represents start index. + Represents count of rows \ columns. + Indicates is in row. + Returns count of rows \ columns above shape. + + + + Gets count of rows inside. + + Represents first index. + Represents count. + Indicates is row or column. + Returns count of inside. + + + + Indicates is when remove or insert use top\left row\column. + + Represents start index of remove \ insert. + Represents count. + Indicates is in row. + If true - use first row\column; otherwise - false. + + + + Updates row \ column indexes. + + Count to update. + Indicates is update row indexes or column. + + + + Updates first row/column indexes. + + Indicates is in row. + Represents count. + + + + Updates shape that include not size and not move flags. + + Indicates is row or column to update. + Row or column index. + Number of inserted/removed rows/column. + + + + Updates inside row/column indexes. + + Represents count. + Indicates is in row. + + + + Updates last row\column indexes. + + Indicates is row or column. + + + + Updates record. + + Represents client anchor. + + + + Parses line and fill objects. + + Options holder. + + + + Updates mso object. + + Represents mso object to update. + Returns true if updated otherwise - false. + + + + Clones line and fill objects. + + Shape to be cloned. + + + + Column width change event. + + Represents sender object + Represents value changed event. + + + + Leaves bottom right corner of the shape. + + + + + This method should be called after any change in font of "Normal" style. + + Event sender. + Event arguments. + + + + This method should be called after row height changes. + + Event sender. + Event arguments. + + + + Checks the Left Offset. + + + + + Update GroupFrame for the shape.. + + Event sender. + Event arguments. + + + + Update GroupFrame for the shape.. + + Event sender. + Event arguments. + + + + Update the GroupFrame position. + + left position of the group frame + top position of the group frame + width position of the group frame + height position of the group frame + + + + Get the updated child shape positions. + + Group shape rectangle. + The group shape rotation. + The child shape rectangle to be updated. + The updated child shape rectangle. + + + + Get Shape Rotations. + + Group Shape. + Flip count. + + + + Get the updated the rectangle from the Matrix. + + Group Shape. + The shape rectangle. + The updated rectangle. + + + + Creates the from points array. + + The points. + The rectangle. + + + + Gets the transformation matrix for the AutoShape. + + Rectangle bounds of the AutoShape. + Rotation angle to be applied. + Horizontal flip. + Vertical flip. + Transformed matrix value in which shape will be rendered. + + + + Gets the transformation matrix for the AutoShape. + + Rectangle bounds of the AutoShape. + Rotation angle to be applied. + Horizontal flip. + Vertical flip. + Transformed matrix value in which shape will be rendered. + + + + Update the shape bounds based on ShapeRotation. + + Current Rectangle bound values of the AutoShape. + Rotation angle of the shape. + Updated Rectangle bounds of the AutoShape. + + + + Set postions for the shape. + + X-coordinate. + Y-coordinate. + Extenstion Width. + Extenstion Height. + + + + Set Left postion for the shape. + + double value to set. + + + + Set Top postion for the shape. + + double value to set. + + + + Set Height for the shape. + + double value to set. + + + + Set Height for the shape. + + double value to set. + + + + Set the group shape property value to all the inner shapes. + + Property value to set. + Property name. + + + + Gets or sets the height of the shape. + + + + + Gets or sets the height of the shape. + + + + + Gets Shape ID. + + + + + Gets the chart3 D properties. + + The chart3 D properties. + + + + Gets or sets the value indicating if comment has proper row column values + + + + + Gets the shadow properties. + + The shadow properties. + + + + Gets or sets the value indicating if Left value is set. + + + + + Gets or sets the value of the shape has extent tag or not + + + + + Gets or set x coordinate of upper left corner of shape. + + + + + Gets or set x coordinate of upper left corner of shape. + + + + + Gets or sets name of the shape. + + + + + Gets or sets the Y coordinate of the shape + + + + + Gets or sets the Y coordinate of the shape + + + + + Gets or sets width of the shape. + + + + + Gets or sets width of the shape. + + + + + Gets or sets shape type + + + + + Gets or set a value indicating whether shape is visible + + + + + Gets or sets alternative text of the shape + + + + + Gets or set a value indicating whether shape can move with cell + + + + + Gets or sets a value indicating whether shape can size with cell. + + + + + Represents fill properties. Read-only. + + + + + Represents line format properties. Read-only. + + + + + Preset Geometry element specifies when a preset geometric shape should be used instead of a custom geometric shape. + + + + + Gets or sets the macro name. + + + + + True if the size of the specified object is changed automatically + to fit text within its boundaries. Read/write Boolean. + + + + + Gets / sets xml data stream. + + + + + Gets or sets xml type stream. + + + + + Indicates whether this is vml shape or not. + + + + + Gets or sets macro-command that is called when action happens. + + + + + Gets or sets the Image relation id + + + + + Gets or sets the image relation + + + + + Returns or sets the rotation of the shape, in degrees. + + + + + + Returns a TextFrame object that contains the + alignment and anchoring properties for the specified shape. Read-only. + + + + + FormulaMacro Stream + + + + + Preserve the style as stream for further processing. + + + + + Gets and sets the shape x position inside the chart. + + + + + Gets and sets the shape y position inside the chart. + + + + + Gets and sets the shape width inside the chart. + + + + + Gets and sets the shape height inside the chart. + + + + + Gets and sets shape start x position inside the chart. + + + + + Gets and sets shape start y position inside the chart. + + + + + Get and sets shape ToWidth inside the chart. + + + + + Get and sets shape ToHeight inside the chart. + + + + + Gets and sets shape to x position inside the chart. + + + + + Get and sets shape to y position inside the chart. + + + + + Stream to preserve the Slicers graphic frame + + + + + Indicates the whether the shape has the borders. + + + + + Parent workbook. Read-only. + + + + + Parent workbook. Read-only. + + + + + Parent shapes collection. Read-only. + + + + + Parent worksheet. Read-only. + + + + + OBJ record. Read-only. + + + + + Client anchor. Read-only. + + + + + Top row for the shape. + + + + + Left column for the shape. + + + + + Bottom row for the shape. + + + + + Right column for the shape. + + + + + Top row offset for the shape. + + + + + Left column offset for the shape. + + + + + Bottom row offset for the shape. + + + + + Right column offset for the shape. + + + + + Gets or sets object id. + + + + + Returns internal shapes record. Read-only. + + + + + Returns inner sp record. Read-only. + + + + + Indicates whether it is short version of the shape + (without obj and maybe some other properties). + + + + + Returns number of shapes contained by this shape (1 means no sub shapes). Read-only. + + + + + Indicates whether we have to update absolute positions after setting TopRow, + BottomRow, LeftColumn, RightColumn. + + + + + Returns instance value. Read-only. + + + + + Indicates whether fill item was created. Read-only. + + + + + Indicates whether the group shape contains fill. + + + + + Indicates whether the group shape contains line. + + + + + Indicates whether line item was created. Read-only. + + + + + Gets / sets shape id. + + + + + Returns internal shape record, creates new one if necessary. Read-only. + + + + + Preserves the Shape style properties as string value. + + + + + We find the anchor type. + + + + + gets and sets the extlst of the picture,which intends to get preserved. + + + + + Represents whether the shape is slicer or not. + + + + + Represents the parent group shape. + + + + + Indicates whether the shape is group shape. + + + + + Gets stream of preserved elements in shape properties + + + + + Indicates whether custom geometry will be used for this shape. + + + + + Represents the shape frame of the shape. + + + + + Represents the group frame of the shape. + + + + + Gets shape options. + + + + + Represens the Child Shapes in the Group. + + + + + Child Client Anchor Record. + + + + + Represents an Image in a worksheet. + + + + + Gets the Filename, Read only. + + + The following code illustrates how to access the FileName property. + + using (ExcelEngine excelEngine = new ExcelEngine()) + { + //Create worksheet + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Excel2013; + IWorkbook workbook = application.Workbooks.Create(1); + IWorksheet worksheet = workbook.Worksheets[0]; + + //Create image stream from svg + Stream svgStream = new FileStream("image.svg", FileMode.Open); + + //Create image stream from png + Stream stream = new FileStream("image.png", FileMode.Open); + + //Add image + IPictureShape picture = worksheet.Pictures.AddPicture(1, 1, svgStream, stream, 50, 50); + + //Check + Console.Write(picture.FileName); + + //Save and dispose + workbook.SaveAs("Shapes.xlsx"); + workbook.Close(); + Console.ReadKey(); + } + //Output will be + //Picture0 + + + + + + Gets or sets the picture. + + + The following code illustrates how Picture property can be accessed. + + using (ExcelEngine excelEngine = new ExcelEngine()) + { + //Create worksheet + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Excel2013; + IWorkbook workbook = application.Workbooks.Create(1); + IWorksheet worksheet = workbook.Worksheets[0]; + + //Create image stream from svg + Stream svgStream = new FileStream("image.svg", FileMode.Open); + + //Create image stream from png + Stream stream = new FileStream("image.png", FileMode.Open); + + //Add image + IPictureShape picture = worksheet.Pictures.AddPicture(1, 1, svgStream, stream, 50, 50); + + //Check + Console.Write(picture.Picture != null); + + //Save and dispose + workbook.SaveAs("Shapes.xlsx"); + workbook.Close(); + Console.ReadKey(); + } + //Output will be + //True + + + + + + Gets or sets the svg data for the picture. + + + The following code illustrates how SvgData property can be accessed. + + using (ExcelEngine excelEngine = new ExcelEngine()) + { + //Create worksheet + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Excel2013; + IWorkbook workbook = application.Workbooks.Create(1); + IWorksheet worksheet = workbook.Worksheets[0]; + + //Create image stream from svg + Stream svgStream = new FileStream("image.svg", FileMode.Open); + + //Create image stream from png + Stream stream = new FileStream("image.png", FileMode.Open); + + //Add image + IPictureShape picture = worksheet.Pictures.AddPicture(1, 1, svgStream, stream, 50, 50); + + //Check + Console.Write(picture.SvgData != null); + + //Save and dispose + workbook.SaveAs("Shapes.xlsx"); + workbook.Close(); + Console.ReadKey(); + } + //Output will be + //True + + + + + + Instance field value for this shape. + + + + + Represents Blip id. + + + + + Name of the blip file. + + + + + Shape's picture (maybe should be moved to BitmapShape class). + + + + + Represents a bitmap image. + + + + + Stream that contains subnodes of the blip xml node in Excel 2007 format. + + + + + Stream that contains shape properties xml-tag in Excel 2007 format. + + + + + Stream that contains svg data. + + + + + Stream that contains shape properties xml-tag in Excel 2007 format. + + + Value indicating relation id for the Svg image. + + + + + Value indicating Svg picture path. + + + + + Boolean value indicating if the Svg stream is updated. + + + + + Stream that contains srcRect tag if shape was extracted from Excel 2007 file. + + + + + Macro name associated with this shape. + + + + + x-coordinate in the offset + + + + + y-coordinate in the offset + + + + + Specifies the length of the extents rectangle in EMUs. + + + + + Specifies the width of the extents rectangle in EMUs. + + + + + Specifies a vertical flip. When true, this attribute defines that the group is flipped + vertically about the center of its bounding box + + + + + Specifies a horizontal flip. When true, this attribute defines that the shape is flipped + horizontally about the center of its bounding box + + + + + Specifies the external link for the image. + + + + + Specifies the external link for the image. + + + + + + CropOptions of BitmapShape + + + + + Refer in Open XML specification for more details: + TODO: Need to add support transparancy details. + + + + + Represents the AlphaModeFix value. + + + + + Represents the Threshold value. + + + + + Indicates whether the GrayScale is applied in picture. + + + + + Indicates whether the alpha value is used in color change. + + + + + Represents the due tone color collection. + + + + + Represents the color change collection. + + + + + Initializes a new instance of the BitmapShapeImpl class. + + Current application. + Parent object + + + + Initializes a new instance of the BitmapShapeImpl class. + + Current application. + Parent object. + Indicates is shape include options. False supports only for header / footer image. + + + + Initializes a new instance of the BitmapShapeImpl class. + + Current application. + Parent object. + Represents container. + + + + Checks Blip parse option. + + Represents option. + Value indicating parse option. + + + + Parse the Crop Rectangle + + + + + + Parses blip id option. + + Option to parse. + + + + Parses blip name option. + + Option to parse. + + + + Extract necessary option. + + Option to extract. + value indicating extracted option. + + + + Dispose object. + + + + + Registers shape in all required sub collections. + + + + + This method is called when shapes is deleted. + + + + + This method is called when shapes is deleted. + + Removes image that is referenced by this shape from collection too, + if we didn't detect image usage. XlsIO doesn't detect this situation correctly in all cases + if there are shapes in charts in Excel 2007 or if some image shapes are grouped in any excel version. + If you are not sure whether image is referenced in charts or grouped shapes and you are working with + Excel 2007 version, set this argument to true (this could cause file size increase, but will keep + document in the correct state). + + + + Creates a clone of the current shape. + + New parent for the shape object. + Dictionary with new worksheet names. + Dictionary with new font indexes. + Indicates whether we should add created + shape into all necessary parent collections. This argument is ignored. + A copy of the current shape. + + + + Updates mso object. + + Represents mso object to update. + Returns true if updated otherwise - false. + + + + Generates default shape name and sets it. + + + + + Sets Blip id. + + new Blip id + + + + Download image from url + + Url + Image + + + + Used for internal purpose. + + + + + Gets or sets Blip file name + + + + + Gets or sets external link for the image. + + + + + Gets or sets external link for the image. + + + + + Gets or sets Blip id. + + + + + In and above MS Excel 2007 format, this value should be divided by + 1000 to get the left crop percentage of actual image size. + + + + + In and above MS Excel 2007 format, this value should be divided by + 1000 to get the right crop percentage of actual image size. + + + + + In and above MS Excel 2007 format, this value should be divided by + 1000 to get the bottom crop percentage of actual image size. + + + + + In and above MS Excel 2007 format, this value should be divided by + 1000 to get the top crop percentage of actual image size. + + + + + Gets or sets picture. + + + + + Gets or sets stream that contains subnodes of the blip xml node in Excel 2007 format. + + + + + Gets or sets Stream that contains shape properties xml-tag in Excel 2007 format. Obsolete, will be removed in future release. + + + + + Gets or sets Svg data for the picture. + + + + + Gets or sets the relation id for Svg image. + + + + + Gets or sets a boolean value indicating if the Svg stream is updated. + + + + + Gets or sets value indicating Svg picture path. + + + + + Gets stream of preserved elements in shape properties + + + + + Gets or sets stream that contains srcRect tag if shape was extracted from Excel 2007 file. + + + + + Returns instance value. Read-only. + + + + + Gets or sets macro name associated with this shape. + + + + + Gets or sets if the BitmapShape is DDE + + + + + Gets or sets if the BitmapShape is Camera + + + + + Gets or sets the offset X + + + + + Gets or sets the offset Y + + + + + Gets or sets the extents of X + + + + + Gets or sets the extents of Y + + + + + Gets or Sets vetical flip + + + + + Gets or Sets vetical flip + + + + + Indicates whether the alpha value is used in color change. + + + + + Represents the due tone color collection. + + + + + Represents the color change collection. + + + + + Represents the AlphaModeFix value. + + + + + Represents the Threshold value. + + + + + Indicates whether the GrayScale is applied in picture. + + + + + Class used for Chart Shapes. + + + + + Represents an Embedded Excel chart. [Chart embedded in a worksheet]. + + + + + Top row of the chart in the worksheet. + + + + + Bottom row of the chart in the worksheet. + + + + + Left column of the chart in the worksheet. + + + + + Right column of the chart in the worksheet. + + + + + Instance value of MsofbtSp record. + + + + + Version value of MsofbtSp record. + + + + + Version value of MsofbtOPT record. + + + + + Instance value of MsofbtOPT record. + + + + + Lock against grouping option value. + + + + + Value of LineColor option. + + + + + Value of NoLineDrawDash option. + + + + + Value of ShadowObscured option. + + + + + Fore color. + + + + + Back color. + + + + + Chart object. + + + + + Zero-based index of top row. + + + + + Zero-based index of bottom row. + + + + + Zero-based index of left column. + + + + + Zero-based index of right column. + + + + + Parent worksheet. + + + + + Initializes new instance of the shape. + + Application object for the new shape. + Parent object for the new shape. + Cloned object. + Dictionary with new names. + Dictionary with new font indexes. + + + + Initializes new instance of the chart shape. + + Application object for the new shape. + Parent object for the new shape. + + + + Initializes new instance of the chart shape. + + Application object for the new shape. + Parent object for the new shape. + Shape container record that describes new shape. + Flags to create. + + + + Sets the Worksheet data into the current chart. + + + + + Method saves the chart as image. + + The stream to save the image. + + + + Creates a clone of the current shape. + + New parent for the shape object. + Dictionary with new worksheet names. + Dictionary with new font indexes. + Indicates whether we should add created + shape into all necessary parent collections. + A copy of the current shape. + + + + Updates formulas after copy operation. + + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + + + + Registers shape in all required sub collections. + + + + + Parses client data record. + + Record to parse. + Parse options. + + + + Parses client anchor record. + + Record to parse. + + + + Creates default options. + + Created MsofbtOPT record. + + + + Searches for all parents + + + + + Converts chart shape into WorksheetBaseImpl. + + Shape to convert. + Converted object. + + + + Returns internal chart object. Read-only + + + + + Gets or sets the offset X + + + + + Gets or sets the offset Y + + + + + Gets or sets the extents of X + + + + + Gets or sets the extents of Y + + + + + Returns or sets the rotation of the 3-D chart view + (the rotation of the plot area around the z-axis, in degrees).(0 to 360 degrees). + + + + + Represents the series name level + + + + + Gets or sets the style index chart. + + + + + Represents the category name level + + + + + Represents the category collection + + + + + Returns or sets the elevation of the 3-D chart view, in degrees (�90 to +90 degrees). + + + + + Returns or sets the perspective for the 3-D chart view.( 0 - 100 ) + + + + + Returns or sets the height of a 3-D chart as a percentage of the chart width + (between 5 and 500 percent). + + + + + Returns or sets the depth of a 3-D chart as a percentage of the chart width + (between 20 and 2000 percent). + + + + + Returns or sets the distance between the data series in a 3-D chart, as a percentage of the marker width.( 0 - 500 ) + + + + + True if the chart axes are at right angles, independent of chart rotation or elevation. + + + + + True if Microsoft Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart.. + + + + + True if gridlines are drawn two-dimensionally on a 3-D chart. + + + + + Type of the chart. + + + + + DataRange for the chart series. + + + + + True if series are in rows in DataRange; + otherwise False. + + + + + Title of the chart. + + + + + Gets title text area. Read-only. + + + + + X coordinate of the upper-left corner + of the chart in points (1/72 inch). + + + + + Y coordinate of the upper-left corner + of the chart in points (1/72 inch). + + + + + Width of the chart in points (1/72 inch). + + + + + Height of the chart in points (1/72 inch). + + + + + Collection of the all series of this chart. Read-only. + + + + + Returns primary category axis. Read-only. + + + + + Returns primary value axis. Read-only. + + + + + Returns primary series axis. Read-only. + + + + + Returns secondary category axis. Read-only. + + + + + Returns secondary value axis. Read-only. + + + + + Returns an object that represents the complete chart area for the chart. Read-only. + + + + + Returns plot area frame format. Read-only. + + + + + Represents chart walls. Read-only. + + + + + sidewall property.. + + + + + backwall property.. + + + + + Represents chart floor. Read-only. + + + + + Represents charts dataTable object. + + + + + True if the chart has a data table. + + + + + True if the chart has a legend object. + + + + + True if the chart has a title. + + + + + Represents chart legend. + + + + + Indicates whether chart has plot area. + + + + + Represents the way that blank cells are plotted on a chart. + + + + + True if only visible cells are plotted. False if both visible and hidden cells are plotted. + + + + + True if Microsoft Excel resizes the chart to match the size of the chart sheet window. + False if the chart size isn't attached to the window size. Applies only to chart sheets. + + + + + Represents the Autoshape. + + + + + Extended the ShapeImpl class to support AutoShape. + + + + + Gets or set a value indicating whether shape can move with cell + + + + + Gets or sets a value indicating whether shape can size with cell. + + + + + Indicates whether shape fill color is preserved or not. + + + + + Indicates whether autoshape has noFill or not. + + + + + Instantiates the ShapeExt with the Shape Type. + + Type of the AutoShape. + Represents the Worksheet object. + + + + Updates the shape id. + + + + + + Updates the Placement Value for the shape. + + + + + Specifies a vertical flip. When true, this attribute defines that the group is flipped + vertically about the center of its bounding box + + + + + Specifies a horizontal flip. When true, this attribute defines that the shape is flipped + horizontally about the center of its bounding box + + + + + Gets the Extended ShapeImpl class to support AutoShape. + + + + + Indicates whether shape fill color is preserved or not. + + + + + Indicates whether autoshape has noFill or not. + + + + + Represents the Text Frame. + + + + + + Represents the Shape's Description. + + + + + Represents the Shape's unique id. + + + + + Represents the name of the Shape. + + + + + Represents the BottomRow position of the Shape. + + + + + Represents the BottomRowOffset of the Shape. + + + + + Represents the Height of the shape. + + + + + Represents the Left position of the shape. + + + + + Represents the Left position of the shape. + + + + + Represents the Left column offset of the shape. + + + + + Represents the RightColumn of the Shape. + + + + + Represent the Right Column Offset of the shape. + + + + + Represents the Top position of the shape. + + + + + Represents the Top row of the shape. + + + + + Represents of the top row offset of the shape. + + + + + Represents the Shape width. + + + + + Represents the Shape Rotation. + + + + + Represents the fill. + + + + + Represents the Line Format. + + + + + Indicates whether the shape is hidden. + + + + + Represents the shape title. + + + + + Gets or set a value indicating whether shape can move with cell + + + + + Gets or sets a value indicating whether shape can size with cell. + + + + + Represents the size information of the shape. + + + + + Represents the Current worksheet instance. + + + + + Intializes the members. + + Current Worksheet object. + + + + Specifies the direction for text. + + + + + Indicates the text direction is horizontal + + + + + Indicates the text direction is RotateAllText90 + + + + + Indicates the text direction is RotateAllText270 + + + + + Indicates the text direction is StackedLeftToRight + + + + + Indicates the text direction is StackedRightToLeft + + + + + Specifies the horizontal alignment of text in a text frame. + + + + + Indicates the text is aligned left horizontally. + + + + + Indicates the text is aligned centered horizontally. + + + + + Indicates the text is aligned right horizontally. + + + + + Indicates the text is aligned left middly horizontally. + + + + + Indicates the text is aligned centered middle horizontally. + + + + + Indicates the text is aligned right middle horizontally. + + + + + Specifies the vertical alignment of text in a text frame. + + + + + Aligns text to top of text frame. + + + + + Centers text vertically. + + + + + Aligns text to bottom of text frame. + + + + + Anchors top of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position. + + + + + Anchors center of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position. + + + + + Anchors bottom of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position. + + + + + Specifies the vertical overflow type for text + + + + + Indicates the vertical overflow type is OverFlow + + + + + Indicates the vertical overflow type is ellipsis + + + + + Indicates the vertical overflow type is clip + + + + + Specifies the horizontal overflow type for text + + + + + Indicates the horizontal overflow type is OverFlow + + + + + Indicates the horizontal overflow type is Clip + + + + + Extended the ShapeImp to add support for the Autoshape. + + + + + Shape guide dictionary to hold the path information of the autoshapes. + + + + + Represents custom geometry or not.(If shape is free form shape this is true). + + + + + List to hold the path information of the free form shape. + + + + + Initializes new instance of the shape extension. + + Auto shape type. + WorksheetBaseImpl. + + + + Searches for all necessary parent objects. + + + + + Shape guide dictionary to hold the path information of the autoshapes. + + + + + Represents custom geometry or not.(If shape is free form shape this is true). + + + + + List to hold the path information of the free form shape. + + + + + attribute used as prefix + + + + + autoshape parent + + + + + Name space used on serialization + + + + + mods enum value for the style element + style entry is not provided + + + + + It specifies a reference to a line style within the style matrix. + must be initialized for chartStyle + + + + + It specifies a multiplier to apply to the line width. + + + + + It reference to an effect style within the style matrix. + must be initialized for chartStyle + + + + + It specifies a reference to a fill style within the style matrix. + must be initialized for chartStyle + + + + + It specifies a reference to a themed font. + must be initialized for chartStyle + + + + + It specifies visual shape properties associated with this StyleEntry + + + + + It specifies the default text character properties for a text body associated with this StyleEntry. + + + + + It specifies the body properties for a text body associated with this StyleEntry + + + + + Constructor used for chart style + + input attribute value + input namespace value + input style modifier enum value + + + + Serialize the Style or font reference for entry + + input XML writer + input style entry reference + style entry reference name + boolean value indicates whether thr reference is font or not + + + + Serialize the input color and its values + + input XML writer + color model type + color value string + luminance modulation value + luminance offset 1 value + luminance offset 2 value + shade value on color + + + + Serialize the shape properties current object + + input XML writer + + + + Serialize the Default run paragraph properties + + input XML writer + + + + Serialize the current shape style and its member + + input XML writer + input parent element of chart style + + + + Gets / Sets the line reference style entry + + + + + Gets / Sets the effect reference of style entry + + + + + Gets / Sets the Fill reference of style entry + + + + + Gets / Sets the Font reference of style entry + + + + + Gets / Sets the shape properties of style entry + + + + + Gets / Sets the Default paragraph run properties of style entry + + + + + Gets / Sets the text body properties of style entry + + + + + Style entry Index + integer for lineRef, fillRef, effectRef style elements + enum integer value for fontRef style elements + + + + + Color model value + + + + + Its stores the value of color respect to color model + hexa color or schema color information + + + + + luminace modulation value for scheme color + + + + + luminance offset value 1 for scheme color + + + + + luminance offset value 2 for scheme color + + + + + stores the shade value + + + + + Initialize the member with its values + + Index value + colorModel value + color value + luminance modulation value + luminance offset 1 value + luminance offset value 2 + shade value of color + + + + Gets / Sets the value of member index + + + + + Gets / Sets the value of member ColorModelType + + + + + Gets / Sets the value of member ColorValue + + + + + Gets / Sets the value of member LumModValue + + + + + Gets / Sets the value of member LumOffValue1 + + + + + Gets / Sets the value of member LumOffValue2 + + + + + Gets / Sets the value of member Shade value + + + + + Stores the information of shape properties of style entry + + + + + Indicates whether the options are enabled. Bit position + 0-Shape fill + 1-Line fill + 2-line width (if set to 0, no fill) + 3-line cap + 4-line cmpd + 5-line align + + + + + enum indicates the fill type of shape s + + + + + indicates the line width + + + + + shape fill color model value + + + + + Its stores the value of shape fill color respect to color model + hexa color or schema color information + + + + + luminace modulation value for scheme color of shape fill + + + + + luminance offset value 1 for scheme color of shape fill + + + + + luminance offset value 2 for scheme color of shape fill + + + + + Color model value + + + + + Its stores the value of border color respect to color model + hexa color or schema color information + + + + + luminace modulation value for scheme color of border + + + + + luminance offset value 1 for scheme color of border + + + + + luminance offset value 2 for scheme color of border + + + + + Specifies the compound line type to be used for the underline stroke. + + + + + Indicates that lines joined together have a round join. + + + + + Specifies the ending caps that should be used for this line. + + + + + Specifies the alignment to be used for the underline stroke. + + + + + Default constructor + + + + + Gets / Sets the shapefillType member + + + + + Gets / Sets the Border Weight member + + + + + Gets / Sets the ShapeFillColorModel member + + + + + Gets / Sets the ShapeFillColorValue member + + + + + Gets / Sets the ShapeFill Luminance Modulation member + + + + + Gets / Sets the shapefill luminace offset 1 member + + + + + Gets / Sets the shapefill luminace offset 2 member + + + + + Gets / Sets the Border Fill ColorModelType member + + + + + Gets / Sets the BorderFill Color member + + + + + Gets / Sets the BorderFill Luminance Modulation member + + + + + Gets / Sets the borderFill Luminace Offset Value1 member + + + + + Gets / Sets the borderFill Luminace Offset Value2 member + + + + + Gets / Sets the shapeLineStyle member + + + + + Gets / Sets the BorderIsRound member + + + + + Gets / Sets the LineCap member + + + + + Gets / Sets the IsInsetPen member + + + + + Get the options enabled flags + + + + + Returns a TextFrame object that contains the + alignment and anchoring properties for the specified shape. Read-only. + + + + + Searches for all necessary parent objects. + + + + + Returns the TextRange object that represents the text in the object. Read-only. + + + + + Text of the comment. Read-only. + + + + + Searches for all necessary parent objects. + + + + + Initializes variables. + + + + + Comment text. + + + + + Class that stores that text body properties + + + + + text vertical overflow type + + + + + text horizontal overflow type + + + + + text direction enum + + + + + left margin point of text + + + + + top margin point of text + + + + + right margin point of text + + + + + bottom margin of text + + + + + boolean value indicates whether the text to be wrapped in text + + + + + struct type of columns + + + + + vertical alignment of text + + + + + horizontal alignment of text + + + + + Boolean value indicates whether the text is to be auto sized + + + + + Boolean value indicates whether margin is automatically generated + + + + + boolean value indicates whether the text to be preset wrapped in text + + + + + Get the anchor position from text direction and alignment + + input text Direction of the text body + input text body vertical alignment + input text body horizontal alignment + output anchor + the boolean value + + + + Get the string formatted text direction from enum + + input text direction enum + output string formatted text direction + + + + Get Left margin value of text body + + converted left margin value + + + + Set Left margin value of text body + + converted left margin value + + + + Get Top margin value of text body + + converted Top margin value + + + + Set Top margin value of text body + + converted Top margin value + + + + Get Right margin value of text body + + converted right margin value + + + + Set Right margin value of text body + + converted right margin value + + + + Get Bottom margin value of text body + + converted Bottom margin value + + + + Set Bottom margin value of text body + + converted Bottom margin value + + + + Get anchor position value of text body from current object properties + + anchor position value + + + + Serializes the text body properties attributes + + input XML writer + prefix of the element + namespace of the element + + + + Gets / Sets the TextVertOverflowType member + + + + + Gets / Sets the TextHorzOverflowType member + + + + + Gets / Sets the TextDirection member + + + + + Gets / Sets the LeftMarginPt member + + + + + Gets / Sets the TopMarginPt member + + + + + Gets / Sets the RightMarginPt member + + + + + Gets / Sets the BottomMarginPt member + + + + + Gets / Sets the WrapTextInShape member + + + + + Gets / Sets the VerticalAlignment member + + + + + Gets / Sets the HorizontalAlignment member + + + + + Gets / Sets the IsAutoSize member + + + + + Gets / Sets the IsAutoMargins member + + + + + Gets / Sets the number of column + + + + + Gets / Sets the spacingPt of column + + + + + This class represents single GradientStop of the gradient fill. + + + + + Size of the binary data. + + + + + GradientStop color. + + + + + Stop position. + + + + + Transparency. + + + + + Tint of the color for this GradientStop. + + + + + Shade of the color for this GradientStop. + + + + + Creates new instance of the GradientStop. + + GradientStop color. + GradientStop position. + GradientStop transparecy. + + + + Creates new instance of the GradientStop. + + GradientStop color. + GradientStop position. + GradientStop transparecy. + Color tint value. + Color shade value. + + + + Initializes new instance of the GradientStop and extracts settings from specified data array.. + + Data to parse. + Offset to start data parsing from. + + + + Serializes GradientStop into specified stream. + + Stream to serialize data into. + + + + Creates copy of the current instance. + + A copy of the current instance. + + + + Checks whether the specified GradientStop is equal to the current + GradientStop without taking transparency into consideration. + + Represents GradientStop. + Value indicating transparency + + + + Gets / sets color of this GradientStop. + + + + + Gets / sets position of this GradientStop. + + + + + Gets / sets transparency of this GradientStop. + + + + + Gets / sets tint of the color for this GradientStop. + + + + + Gets / sets shade of the color for this GradientStop. + + + + + Represents collection of gradient stops. + + + + + Maximum possible gradient position. + + + + + Gradient angle. + + + + + Gradient type. + + + + + This element defines the "focus" rectangle for the center shade, + specified relative to the fill tile rectangle. + + + + + Gradient fill rect element + + + + + Default constructor. + + + + + Initializes new instance of the gradient stops collection and extracts settings from byte array. + + Byte array to parse. + + + + Saves gradient stops into stream in binary format. + + Stream to serialize into. + + + + Parse byte array. + + Array to parse. + + + + Doubles gradient stops in the collection and updates their positions. + + + + + Inverts gradient stops order and updates their positions correctly. + + + + + Shrinks GradientStop. + + Shrinked Gradient stops. + + + + Creates copy of the current instance. + + Copy of the current instance. + + + + Checks whether specified Gradient stops has colors equal to this gradient stops. + + Represents GradientStop + Value indicating whether GradientStop has color. + + + + Gets / sets gradient angle. + + + + + Gets / sets type of the gradient. + + + + + This element defines the "focus" rectangle for the center shade, + specified relative to the fill tile rectangle. + + + + + it's define the tilerect property. + + + + + Returns true if gradient stops are symmetric. Read-only. + + + + + Specifies all possible gradient types. + + + + + This element specifies a linear gradient. + + + + + Gradient follows a circular path. + + + + + Gradient follows a rectangular path. + + + + + Gradient follows the shape. + + + + + Specifies x-coordinate in the offset + + + + + Specifies y-coordinate in the offset + + + + + Specifies the width of the extents rectangle. + + + + + Specifies the height of the extents rectangle. + + + + + Specifies the rotation of the shape. + + + + + Specifies the x-coordinate in the child shape offset + + + + + Specifies the y-coordinate in the child shape offset + + + + + Specifies the width of the extents rectangle for child shape. + + + + + Specifies the height of the extents rectangle for child shape. + + + + + Specifies the parent shape. + + + + + Initializes new instance of the shape frame. + + Parent shape. + + + + Set offset values for shape frame. + + shape rotation. + X-coordinate in the offset. + Y-coordinate in the offset. + Width of the extents rectangle. + Height of the extents rectangle. + + + + Set child offset values for shape frame. + + X-coordinate in the child offset. + Y-coordinate in the child offset. + Width of the extents rectangle for child shape. + Height of the extents rectangle for child shape. + + + + Creates a clone of the current shape frame. + + A copy of the current shape frame. + + + + Set parent for shape frame.. + + X-coordinate in the child offset. + + + + Close the shape frame. + + + + + Specifies x-coordinate in the offset + + + + + Specifies y-coordinate in the offset + + + + + Specifies the width of the extents rectangle. + + + + + Specifies the height of the extents rectangle. + + + + + Specifies the x-coordinate in the child shape offset + + + + + Specifies the y-coordinate in the child shape offset + + + + + Specifies the width of the extents rectangle for child shape. + + + + + Specifies the height of the extents rectangle for child shape. + + + + + Specifies the rotation of the shape. + + + + + Class used for Shapes Line Format. + + + + + Represents the line formatting properties. + + + + + Gets or sets the line weight. + + + + + Gets or sets the fore color of the line. + + + + + Gets or sets the back color of the line. + + + + + Gets or sets the fore color index of the line. + + + + + Gets or sets the back color index of the line. + + + + + Gets or sets the style of the arrowhead at the beginning of the specified line. + + + + + Gets or sets the style of the arrowhead at the end of the specified line. + + + + + Gets or sets the length of the arrowhead at the beginning of the specified line. + + + + + Gets or sets the length of the arrowhead at the end of the specified line. + + + + + Gets or sets the width of the arrowhead at the beginning of the specified line. + + + + + Gets or sets the width of the arrowhead at the end of the specified line. + + + + + Gets or sets the line dash style. + + + + + Gets or sets the line style. + + + + + Gets or sets the line transparency. + + + + + Gets or sets a boolean value indicates whether to visible the line or not. + + + + + Gets or set the line gradient pattern. + + + + + Gets or sets a boolean value indicates whether the line has pattern or not. + + + + + Represents default line weight mull. + + + + + Represents max line weight. + + + + + Represents length of helper parse array. + + + + + Represents helper byte array to parse pattern. + + + + + Represents weight of shape line. + + + + + Represents foreground color. + + + + + Represents foreground color. + + + + + Represents parent book. + + + + + Represents begin arrow style. + + + + + Represents end arrow style. + + + + + Represents begin arrow length. + + + + + Represents end arrow length. + + + + + Represents begin arrow width. + + + + + Represents end arrow width. + + + + + Represents dash style. + + + + + Represents line style. + + + + + Represents line transparency. + + + + + Represents is line format visible. + + + + + Represents line pattern. + + + + + Indicate if line format contain pattern. + + + + + Indicates whether border join is round. + + + + + Represent indicating whether line properties having nofill element or not. + + + + + Represent indicating whether line properties having solid element or not. + + + + + Default Style index + + + + + Initialize new static members. + + + + + Creates new instance of object. + + Current application. + Parent object. + + + + Creates new instance of object. Autoshape Implementation + + Current application. + Parent object. + + + + Finds all parent objects. + + + + + Parses transparency. + + Transparency value to parse. + Returns parsed value. + + + + Serialize transparency. + + Represents option holder. + Represents transparency id. + Represents transparency value. + + + + Serialize color to stream. + + Represents option holder. + Represents color to serialize. + Represents option id to serialize. + + + + Parses fill options. + + Record to parse. + Value indicating extracted option. + + + + Parses arrows options + + Represents option to parse. + Returns true if parsed; otherwise false. + + + + Parses current pattern. + + Represents pattern option. + Returns parsed pattern value. + + + + Parse visible property. + + Represents visible data. + + + + Serialize shape line format as biff format. + + Represents option holder. + + + + Serialize arrow line options. + + Represents options storage. + Returns updated option storage. + + + + Serialize dash style as biff recorded structure. + + Represents option holder. + + + + Serialize line style as biff recorded structure. + + Represents option holder. + + + + Serialize visible property. + + Represents option holder. + + + + Serialize pattern to mso option. + + Represents option holder. + + + + Gets pattern by pattern data. + + Represents patt data. + Returns parsed data. + + + + Clones current object. + + Represents parent object for new instance. + Returns cloned object. + + + + Represents weight of the line in pts.( 0 - 1584 ) + + + + + Represents foreground color. + + + + + Represents background color. + + + + + Represents foreground color index. + + + + + Represents background color index. + + + + + Represents begin arrow head style. + + + + + Represents end arrow head style. + + + + + Represents begin arrow head length. + + + + + Represents end arrow head length. + + + + + Represents begin arrow head width. + + + + + Represents end arrow head width. + + + + + Represents the dash style for the specified line. + + + + + Represents line style. + + + + + Represents line transparency. + + + + + Represents if line format is visible. + + + + + Represents line pattern. + + + + + Indicates if current line format contain pattern. + + + + + Represent indicating whether line properties having nofil element or not. + + + + + Represent indicating whether line properties having soild element or not. + + + + + Default line style index. + + + + + Returns parent workbook. Read-only. + + + + + Indicates whether join is round. + + + + + This is base class for text box shapes such as TextBox and Comment. + + + + + Represents default formatting run size. + + + + + Value of text direction property. + + + + + Horizontal alignment of the text. + + + + + Vertical alignment of the text. + + + + + Text rotation. + + + + + Indicates whether comment text is locked. + + + + + Comment text. + + + + + Length of text. + + + + + Length of formatting runs. + + + + + Shape filling color. + + + + + Represents worksheet + + + + + Color Object. + + + + + Initializes new instance of the class. + + Application object for the new item. + Parent object for the new item. + + + + Extracts comment from MsofbtSpContainer. + + Application object for the current object. + Parent object for the current object. + Container that represents comment. + Parse options. + + + + Creates a clone of the current shape. + + New parent for the shape object. + Dictionary with new worksheet names. + Dictionary with new font indexes. + Indicates whether we should add created + shape into all necessary parent collections. + A copy of the current shape. + + + + Sets text to the specified TextWithFormat value. + + RTF text to set. + + + + Parses TextObjectRecord. + + Record to parse. + If textObject is NULL. + + + + Parses two continue records. First contains text, second is formatting runs. + + Comment text. + Comment formatting runs. + Parse options. + + When textRecord or formattingRecord is NULL. + + + + + Initializes variables. + + + + + Parses ClientTextBox record. + + Record to parse. + Parse options. + + + + Copies data from another comment shape. + + Text shape to copy from. + Dictionary with new font indexes. + + + + Creates default shape options. + + Record containing default options. + + + + Serializes text direction. + + MsofbtOPT record to which text ID will be added. + + If options argument is NULL. + + + + + Parses all unknown for ShapeImpl records. + + Record to parse. + Parse options. + + + + Horizontal alignment of the text. + + + + + Vertical alignment of the text. + + + + + Text rotation. + + + + + Indicates whether comment text is locked. + + + + + Comment text. + + + + + Gets or sets text box text. + + + + + Gets inner rich text string object. Read-only. + + + + + Shape filling color. + + + + + Color Object. + + + + + This class represents TextBox form control. + + + + + This interface represents TextBox form control shape. + + + + + This interface represents TextBox form control shape. + + + + + This interface represents TextBox form control. + + + + + Horizontal alignment of the text. + + + + + Vertical alignment of the text. + + + + + Text rotation. + + + + + Indicates whether comment text is locked. + + + + + Text of the comment. Read-only. + + + + + Text of the comment. + + + + + Text of the comment. + + + + + Correct shape instance. + + + + + Correct shape version. + + + + + Represents embedded string. + + + + + Represents a formula linking to spreadsheet cell data + + + + + Represent indicating wheather text box is created or not. + + + + + Object to hold the textbody properties. + + + + + Represents Horizontal flip of the textbox + + + + + Represents vertical flip of the textbox + + + + + Represent indicating whether text box having the line element or not. + + + + + Indicates whether shape fill color is preserved or not + + + + + Indicates whether text box has noFill or not. + + + + + Initialize new instance of the text box shape. + + Application object for the new shape. + Parent object for the new shape. + + + + Initializes new instance of the text box shape. + + Application object for the new shape. + Parent object for the new shape. + Shape's container. + Parsing options. + + + + Creates default shape options. + + Record with default option specified. + + + + Creates a clone of the current shape. + + New parent for the shape object. + Dictionary with new worksheet names. + Dictionary with new font indexes. + Indicates whether we should add created + shape into all necessary parent collections. + A copy of the current shape. + + + + Indicates whether shape fill color is preserved or not + + + + + Indicates whether text box has noFill or not. + + + + + Specifies a formula linking to spreadhseet cell data + + + + + Represent indicating wheather text box is created or not. + + + + + Text body properties holder to hold the properties of the textbody. + + + + + Represents the horizontal flip of the textbox shape. + + + + + Represents vertical flip of the textbox shape. + + + + + Style wrapper for multicell range. Redirects all + properties and method calls to the range styles. + + + + + Array that contains all cells. + + + + + Parent workbook. + + + + + Application. + + + + + Creates object that will contain all styles that are used by range. + + Range from which styles must be taken. + + + + Creates object that will contain all styles that are used by range. + + Range from which styles must be taken. + + + + This method should be called before several updates to the object will take place. + + + + + This method should be called after several updates to the object. + + + + + For far east languages. Supported only for format. Always 0 for US. + + + + + Returns or sets the format code for the object as a string in the + language of the user. Read / write String. + + + + + Gets format index in m_book.InnerFormats. + + + + + Indicates whether style has border. Read-only Boolean. + + + + + Returns a Borders collection that represents the borders of a + style or a range of cells (including a range defined as part of + a conditional format). + + + + + True if the style is a built-in style. Read-only Boolean. + + + + + Gets / sets fill pattern. + + + + + Gets / sets index of fill background color. + + + + + Gets / sets fill background color. + + + + + Gets / sets index of fill foreground color. + + + + + Gets / sets fill foreground color. + + + + + Returns a Font object that represents the font of the specified + object. Read-only. + + + + + True if the formula will be hidden when the worksheet is protected. + Read/write Boolean. + + + + + Returns or sets the horizontal alignment for the specified object. + For all objects, this can be one of the following OfficeHAlign constants. + Read/write OfficeHAlign. + + + + + True if the style includes the AddIndent, HorizontalAlignment, + VerticalAlignment, WrapText, and Orientation properties. + Read/write Boolean. + + + + + True if the style includes the Color, ColorIndex, LineStyle, + and Weight border properties. Read/write Boolean. + + + + + True if the style includes the Background, Bold, Color, + ColorIndex, FontStyle, Italic, Name, OutlineFont, Shadow, + Size, Strikethrough, Subscript, Superscript, and Underline + font properties. Read/write Boolean. + + + + + True if the style includes the NumberFormat property. + Read/write Boolean. + + + + + True if the style includes the Color, ColorIndex, + InvertIfNegative, Pattern, PatternColor, and PatternColorIndex + interior properties. Read / write Boolean. + + + + + True if the style includes the FormulaHidden and Locked protection + properties. Read / write Boolean. + + + + + Returns or sets the indent level for the style. Read/write. + + + + + Indicates whether style is initialized (differs from Normal style). + Read-only. + + + + + True if the object is locked, False if the object can be + modified when the sheet is protected. Read/write Boolean. + + + + + Returns or sets the name of the object. Read-only String. + + + + + Returns or sets the format code for the object. Read / write String. + + + + + Gets / sets index of the number format. + + + + + Text rotation angle: + 0 Not rotated + 1-90 1 to 90 degrees counterclockwise + 91-180 1 to 90 degrees clockwise + 255 Letters are stacked top-to-bottom, but not rotated. + int.MinValue - different rotation angle for different ranges. + + Thrown when value is more than 0xFF. + + + + True if text automatically shrinks to fit in the available + column width. Read/write Boolean. + + + + + Returns or sets the vertical alignment of the specified object. + Read/write OfficeVAlign. + + + + + True if Microsoft Excel wraps the text in the object. + Read/write Boolean. + + + + + Text direction, the reading order for far east versions. + + + + + If true then first symbol in cell is apostrophe. + + + + + Returns or sets the color of the interior pattern as an index into the current color palette. + + + + + Returns or sets the color of the interior pattern as an Color value. + + + + + Returns or sets the color of the interior. The color is specified as + an index value into the current color palette. + + + + + Returns or sets the cell shading color. + + + + + Returns Interior object that represents the interior of the specified + object. Read-only. + + + + + Gets value indicating whether format was modified, compared to parent format. + + + + + Represents a style description. The Style object contains + all style attributes (font, number format, alignment, and so on) as + properties. There are several built-in styles, including Normal, + Currency, and Percent. Using the Style object is a fast and efficient + way to change several cell-formatting properties on multiple cells at + the same time. + For the Workbook object, the Style object is a member of the Styles + collection. The Styles collection contains all the defined styles for + the workbook. + + + + + First excel 2007 specific style in the styles array. + + + + + Constant indicating that one object is less than another. Used by CompareTo method. + + + + + Constant indicating that one object is equal to another. Used by CompareTo method. + + + + + Constant indicating that one object is larger than another. Used by CompareTo method. + + + + + Build in style index for RowLevel_n styles. + + + + + Build in style index for ColLevel_n styles. + + + + + Style record that describes style. + + + + + StyleExt record that describes style. + + + + + Indicates whether do not to compare name during CompareTo operation. + + + + + Initializes new instance of the style. + + Parent workbook. + + + + Initializes new instance of the style. + + Parent workbook. + Style record to parse. + + + + Initializes new instance of the style. + + Parent workbook. + Name of the style to create. + + + + Initializes new instance of the style. + + Parent workbook. + Name of the style to create. + Base style. + + + + Initializes new instance of the style. + + Parent workbook. + Name of the style to create. + Base style. + Indicates whether created style is built in. + + + + Copies default style settings into internal extended format from built-in style. + + Built-in style index. + + + + Updates style record according to the xf indexes. + + + + + This method is called after any changes are made in styles. + + + + + This method is called before any changed are made in styles. + + + + + Creates copy of the current instance. + + Parent object for the new collection. + Copy of the current instance. + + + + + + + + + + Indicates whether style is build in. Read-only. + + + + + Returns name of the style. Read-only. + + + + + Represents actual style name in case of AsciiConversion + + + + + Indicates whether style is initialized (differs from Normal style). + Read-only. + + + + + Returns index of the style's extended format. + + + + + Indicates whether do not to compare name during CompareTo operation. + + + + + Returns style record. Read-only. + + + + + /Represents if the stylename is encoded, when style name is greater than 256 symbols + + + + + StyleExt record that describes style. + + + + + This event is raised before any changes are made in styles. + + + + + This event is raised after any changes are made in styles. + + + + + This class stores default predefined styles settings. + + + + + Fill settings. + + + + + Font settings. + + + + + Borders information. + + + + + Initializes new instance of the class. + + Fill object. + Font object. + + + + Initializes new instance of the class. + + Fill object. + Font object. + Borders object. + + + + Style options. + + + + + Represents the 3-D format of the chart. + + + + + Gets or sets the top bevel. + + The bevel top. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie – start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie – start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series – start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the 3D format of chart serie + IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; + //Set the bevel top + format.BevelTop = Office2007ChartBevelProperties.CoolSlant; + //Set the height of bevel top + format.BevelTopHeight = 300; + //Set the width of bevel top + format.BevelTopWidth = 320; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the bottom bevel. + + The bevel bottom. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie – start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie – start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series – start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the 3D format of chart serie + IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; + //Set the bevel bottom + format.BevelBottom = Office2007ChartBevelProperties.Angle; + //Set the height of bevel bottom + format.BevelBottomHeight = 100; + //Set the width of bevel bottom + format.BevelBottomWidth = 120; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the material property of the chart. + + The material. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie – start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie – start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series – start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the 3D format of chart serie + IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; + //Set the 3D lightning + format.Lighting = Office2007ChartLightingProperties.Chilly; + //Set the 3D material + format.Material = Office2007ChartMaterialProperties.DarkEdge; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets lighting property of the chart. + + The lighting. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie – start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie – start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series – start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the 3D format of chart serie + IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; + //Set the 3D lightning + format.Lighting = Office2007ChartLightingProperties.Chilly; + //Set the 3D material + format.Material = Office2007ChartMaterialProperties.DarkEdge; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + + + + Gets or sets the top bevel height. + + The bevel top height. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie – start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie – start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series – start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the 3D format of chart serie + IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; + //Set the bevel top + format.BevelTop = Office2007ChartBevelProperties.CoolSlant; + //Set the height of bevel top + format.BevelTopHeight = 300; + //Set the width of bevel top + format.BevelTopWidth = 320; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + The value ranges from 0 to 1584 + + + + Gets or sets the top bevel width. + + The bevel top width. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie – start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie – start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series – start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the 3D format of chart serie + IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; + //Set the bevel top + format.BevelTop = Office2007ChartBevelProperties.CoolSlant; + //Set the height of bevel top + format.BevelTopHeight = 300; + //Set the width of bevel top + format.BevelTopWidth = 320; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + The value ranges from 0 to 1584 + + + + Gets or sets the bottom bevel height. + + The bevel bottom height. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie – start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie – start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series – start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the 3D format of chart serie + IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; + //Set the bevel bottom + format.BevelBottom = Office2007ChartBevelProperties.Angle; + //Set the height of bevel bottom + format.BevelBottomHeight = 100; + //Set the width of bevel bottom + format.BevelBottomWidth = 120; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + The value ranges from 0 to 1584 + + + + Gets or sets the bottom bevel width. + + The bevel bottom width. + + + IPresentation presentation = Presentation.Create(); + ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); + //Add chart to the slide with position and size + IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); + //Set chart data - Row1 + chart.ChartData.SetValue(1, 2, "Jan"); + chart.ChartData.SetValue(1, 3, "Feb"); + chart.ChartData.SetValue(1, 4, "March"); + //Set chart data - Row2 + chart.ChartData.SetValue(2, 1, "2011"); + chart.ChartData.SetValue(2, 2, "60"); + chart.ChartData.SetValue(2, 3, "70"); + chart.ChartData.SetValue(2, 4, "80"); + //Set chart data - Row3 + chart.ChartData.SetValue(3, 1, "2009"); + chart.ChartData.SetValue(3, 2, "80"); + chart.ChartData.SetValue(3, 3, "70"); + chart.ChartData.SetValue(3, 4, "60"); + //Set chart data - Row4 + chart.ChartData.SetValue(4, 1, "2010"); + chart.ChartData.SetValue(4, 2, "60"); + chart.ChartData.SetValue(4, 3, "70"); + chart.ChartData.SetValue(4, 4, "80"); + //Create a new chart series with the name + IOfficeChartSerie serieJan = chart.Series.Add("Jan"); + //Set the data range of chart serie – start row, start column, end row, end column + serieJan.Values = chart.ChartData[2, 2, 4, 2]; + //Create a new chart series with the name + IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); + //Set the data range of chart serie – start row, start column, end row, end column + serieFeb.Values = chart.ChartData[2, 3, 4, 3]; + //Create a new chart series with the name + IOfficeChartSerie serieMarch = chart.Series.Add("March"); + //Set the data range of chart series – start row, start column, end row, end column + serieMarch.Values = chart.ChartData[2, 4, 4, 4]; + //Get the 3D format of chart serie + IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; + //Set the bevel bottom + format.BevelBottom = Office2007ChartBevelProperties.Angle; + //Set the height of bevel bottom + format.BevelBottomHeight = 100; + //Set the width of bevel bottom + format.BevelBottomWidth = 120; + //Save the presentation + presentation.Save("Output.pptx"); + //Close the presentation + presentation.Close(); + + + The value ranges from 0 to 1584 + + + + Class used for Shadowformat Implementation + + + + + Bevel top height value + + + + + Bevel top width value + + + + + Bevel bottom height value + + + + + Bevel bottom width value + + + + + Preset Shape for Bevel + + + + + Represents the ligthning latitude. + + + + + Represents the lightning longitude. + + + + + Represents the lightning angle. + + + + + Creates the shadow and sets its Application and Parent + properties to specified values. + + Application object for the shadow. + Parent object for the shadow. + + + + Searches for all necessary parent objects. + + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + + A new object that is a copy of this instance. + + + + + Clone current Record. + + Parent object. + Returns clone of current object. + + + + Gets or sets the bevel top. + + The bevel top. + + + + Gets or sets the bevel bottom. + + The bevel bottom. + + + + Gets or sets the material. + + The material. + + + + Gets or sets the lighting. + + The lighting. + + + + Get or Set BevelT height + + Integer Number + The value ranges from 0 to 1584 + + + + Get or Set BevelB height + + Integer Number + The value ranges from 0 to 1584 + + + + Get or Set BevelT Width + + Integer Number + The value ranges from 0 to 1584 + + + + Get or Set BevelB height + + Integer Number + The value ranges from 0 to 1584 + + + + Boolean value indicates whether the bevel top width set or not. + + + + + Boolean value indicates whether the bevel top height set or not. + + + + + Boolean value indicates whether the bevel bottom width set or not. + + + + + Boolean value indicates whether the bevel bottom height set or not. + + + + + Gets or set the lightning latitude value. + + + + + Gets or set the lightning longitude value. + + + + + Gets or set the lightning angle value. + + + + + + + + + + + + Default capacity of internal buffers. + + + + + Array which store keys in sorted order. + + + + + Collection stores values. + + + + + Size of collection. + + + + + Version of collection data. + + + + + Default comparer for keys. + + + + + List of keys. + + + + + List of values. + + + + + Default constructor. + + + + + Creates an empty list with the specified initial capacity. + + Initial capacity. + + When initialCapacity is less than zero. + + + + + Creates an empty SortedList with the default initial capacity + and specified comparer. + + + The IComparer is used to determine whether two keys are equal. + + + + + Creates an empty SortedList with the specified initial capacity + and specified comparer. + + Initial capacity. + + The IComparer is used to determine whether two keys are equal. + + + + + Copies the elements from the specified dictionary to a new list + with the same initial capacity as the number of elements copied. + + The IDictionary to copy. + + + + Copies the elements from the specified dictionary to a new list with the same + initial capacity as the number of elements copied and with the specified comparer. + + The IDictionary to copy. + + The IComparer to use to determine whether two keys are equal. + + + When argument d is null. + + + + + Returns a synchronized (thread-safe) wrapper for the SortedList. + + The SortedList to synchronize. + A synchronized (thread-safe) wrapper for the SortedList. + + When list is null. + + + + + Adds an element with the provided key and value to the list. + + The Object to use as the key of the element to add. + The Object to use as the value of the element to add. + + When key is null. + + + When list already contains specified key. + + + + + Removes all elements from the collection. + + + + + Creates a new object that is a copy of the current instance. + + Copy of the current instance. + + + + Clone current instance. + + Returns clone of current object. + + + + Determines whether the list contains an element with the specified key. + + Key of the element to search. + True if list contains specified key. + + + + Determines whether the list contains an element with the specified key. + + Key of the element to search. + True if list contains specified key. + + + + Determines whether the list contains the specified value. + + Value of the element to search. + True if list contains specified value. + + + + Copies all the elements of the SortedListEx to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + If specified array is null. + + + If rank of the array is not 1 or there are not enough elements. + + + If specified arrayIndex is less than zero. + + + + + Gets the value at the specified index of the SortedListEx. + + The zero-based index of the value to get. + The value at the specified index of the SortedListEx. + + When index is less than zero or greater than size of the list. + + + + + Gets the value at the specified name of the SortedListEx. + + The value to get. + The value at the specified index of the SortedListEx. + + When string is null. + + + + + Gets the key at the specified index of the SortedListEx. + + The zero-based index of the key to get. + The key at the specified index of the SortedListEx. + + When index is less than zero or greater than size of the list. + + + + + Gets the keys in the SortedListEx. + + An IList containing the keys in the SortedListEx. + + + + Gets the values in the SortedListEx. + + An IList containing the values in the SortedListEx. + + + + Returns the zero-based index of the specified key. + + The key to locate. + The zero-based index of key, if key is found; otherwise, -1. + + If specified key is null. + + + + + Returns the zero-based index of the first occurrence of the specified value. + + The value to locate (can be NULL). + + The zero-based index of the first occurrence of value, if value is found; + otherwise, -1. + + + + + Removes the element at the specified index. + + The zero-based index of the element to remove. + + When index is less than zero or greater than size of the list. + + + + + Removes the element with the specified key from SortedListEx. + + The key of the element to remove. + + + + Replaces the value at the specific index. + + The zero-based index at which to save value. + The Object to save into. Can be NULL. + + When index is less than zero or greater than size of the list. + + + + + Sets the capacity to the actual number of elements. + + + + + Returns an IEnumerator that can iterate through the SortedListEx. + + An IEnumerator for the SortedListEx. + + + + + + + + + + Inserts element with specified key and value at specified index. + + The zero-based index to insert element at. + The key of the element to insert. + The value of the element to insert. + + + + Ensures that the capacity of this instance is at least the specified value. + + The minimum capacity to ensure. + + + + Capacity of internal buffers. + + + + + Size of the collection. Read-only. + + + + + List of keys. Read-only. + + + + + List of values. Read-only. + + + + + Returns True if list is readonly, False otherwise. Read-only. + + + + + Returns True if collection has fixed size, False otherwise. + + + + + Returns True if the collection is synchronized, False otherwise. + + + + + Returns the object that can be used to synchronize access to the collection. + Read-only. + + + + + Gets or sets the value associated with the specified key. + + + + + + + + + + List for which is this enumerator. + + + + + Key of the current element. + + + + + Values of the current element. + + + + + Index of current element. + + + + + Starting index for the enumerator. + + + + + Ending index for this enumerator. + + + + + Version of collection data. + + + + + True if current element is correct, False otherwise + (before beginning or after end). + + + + + Creates enumerator for specified list, starting from specified index + and with specified count. + + List for which enumerator is being created. + Starting index. + Number of elements to enumerate. + + + + Performs application-defined tasks associated with freeing, releasing, or + resetting unmanaged resources. + + + + + Creates a new object that is a copy of the current instance. + + Copy of the current instance. + + + + Advances the enumerator to the next element of the collection. + + + True if the enumerator was successfully advanced to the next element; + False if the enumerator has passed the end of the collection. + + + When the current version is not equal to the SortedListEx version. + + + + + Sets the enumerator to its initial position, which is before + the first element in the collection. + + + When the current version is not equal to the SortedListEx version. + + + + + Returns key of the current element. Read-only. + + + When the current version is not equal to the SortedListEx version + or if current is false. + + + + + Return DictionaryEntry for the current element. + + + When the current version is not equal to the SortedListEx version + or if current is false. + + + + + The current element in the collection. Read-only. + + + If current is false. + + + + + The current element in the collection. Read-only. + + + If current is false. + + + + + Returns value for the current element. + + + When the current version is not equal to the SortedListEx version + or if current is false. + + + + + + + + + + + + + + + Index of current element. + + + + + Version of collection data. + + + + + + + + + + + + + + + + + + + + + List for which this collection was created. + + + + + Creates KeyList for specified SortedListEx. + + TypedSortedListEx for which KeyList must be created. + + + + Adds an element with the provided key to the list. + + The Object to use as the key of the element to add. + + + + Removes all elements from the collection. + + + + + Determines whether the list contains an element with the specified key. + + Key of the element to search. + True if list contains specified key. + + + + Copies all the elements of the list to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + If array is null or rank of the array is not 1. + + + + + Copies all the elements of the list to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + If array is null or rank of the array is not 1. + + + + + Insert the value at the specific index. + + The zero-based index at which to save value. + The Object to save into. Can be NULL. + + + + Returns an IEnumerator that can iterate through the list. + + An IEnumerator for the list. + + + + Returns an IEnumerator that can iterate through the list. + + An IEnumerator for the list. + + + + Returns the zero-based index of the specified key. + + The key to locate. + The zero-based index of the key, if the key is found; otherwise, -1. + + + + Removes the element with the specified key from list. + + The key of the element to remove. + + + + Removes the element at the specified index from the list. + + The zero-based index of the element to remove. + + + + Size of the collection. Read-only. + + + + + Returns True if list is readonly, False otherwise. Read-only. + + + + + Returns True if collection has fixed size, False otherwise. + + + + + Returns True if the collection is synchronized, False otherwise. + + + + + Returns the object that can be used to synchronize access to the collection. + Read-only. + + + + + Gets or sets the key at the specified index. + + + + + + + + + + List for which this collection was created. + + + + + Array that contain values. + + + + + Creates ValueList for specified SortedListEx. + + List for which ValueList must be created. + + + + Re-read values from the list. + + + + + Adds an element with the provided key to the list. + + Value to add. + + + + Removes all elements from the collection. + + + + + Determines whether the list contains an element with the specified value. + + Value to search. + True if list contains specified value. + + + + Copies all the elements of the list to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + + + Copies all the elements of the list to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + + + Insert the value at the specific index. + + The zero-based index at which to save value. + The Object to save into. Can be NULL. + + + + Returns an IEnumerator that can iterate through the list. + + An IEnumerator for the list. + + + + Returns an IEnumerator that can iterate through the list. + + An IEnumerator for the list. + + + + Returns the zero-based index of the specified value. + + The value to locate. + The zero-based index of the value, if the value is found, otherwise -1. + + + + Removes the specified value from list. + + The value to remove. + + + + Removes the element at the specified index from the list. + + The zero-based index of the element to remove. + + + + Size of the collection. Read-only. + + + + + Returns True if list is readonly, False otherwise. Read-only. + + + + + Returns True if collection has fixed size, False otherwise. + + + + + Returns True if the collection is synchronized, False otherwise. + + + + + Returns the object that can be used to synchronize access to the collection. + Read-only. + + + + + Gets or sets the value at the specified index. + + + + + + This class contains utility methods, that cannot be logically placed in any other class. + + + + + Number of days that are incorrectly displayed by MS Excel. + + + + + Excel 2007 maximum row count. + + + + + Excel 2007 maximum column count. + + + + + Excel 97-03 maximum row count. + + + + + Excel 97-03 maximum column count. + + + + + To prevent creation instances of this class. + + + + + Determines if rectangles intersect with each other. + + The first rectangle to test. + The second rectangle to test. + This method returns true if there is any intersection. + + + + + + + + + + + + + Searches for the specified object and returns the index of + the first occurrence within the entire one-dimensional array. + + Array to search. + Value to locate in the array. + + The index of the first occurrence of value within the entire array, if found; + otherwise, -1. + + + + Searches for the specified object and returns the index of + the first occurrence within the entire one-dimensional array. + + Array to search. + Value to locate in the array. + + The index of the first occurrence of value within the entire array, if found; + otherwise, -1. + + + + Searches for the specified object and returns the index of + the first occurrence within the entire one-dimensional array. + + Array to search. + Value to locate in the array. + + The index of the first occurrence of value within the entire array, if found; + otherwise, -1. + + + + Converts DateTime into number. + + Value to convert. + Converted value. + + + + Converts number into DateTime. + + Number to convert. + Converted value. + + + + Creates new cell without adding it to the collection.. + + Zero-based row index of the cell to create. + Zero-based column index of the cell to create. + Record type. + Created cell. + + + + Removes first character from the string. + Warning: this method doesn't performs any argument check for performance purposes. + + Value to remove first character from. + Updated string. + + + + + + + + + + + + Gets maximum row and column count for specific version. + + + + + + + + Copies one stream into another. + + Source stream to copy from. + Destination stream to copy into. + + + + Creates copy of the MemoryStream. + + Source stream to copy. + A copy of the original MemoryStream. + + + + Creates a XmlReader from data stream. + + Data stream to create reader from. + Xml element tag to return the reader. + Newly created XmlReader from given stream. + + + + Creates xml reader to read data from the stream. + + Data to read. + Created xml reader. + + + + Creates xml reader to read data from the current stream position. + + Data to read. + Created xml reader. + + + + Creates xml reader to read data from the stream. + + Data to read. + Created xml reader. + + + + Creates xml writer to read data from the stream. + + Data to read. + Created xml writer. + + + + Creates xml writer to read data from the stream. + + Data to read. + Created xml writer. + + + + Creates xml writer to read data from the stream. + + Data to read. + Created xml writer. + + + + This class represents an Excel Workbook. + + + + + Represents an MS Excel Workbook. + + + + + Activates the first window associated with the workbook. + + + + + Adds font to the inner fonts collection and makes this font read-only. + + Font to add. + Added font. + + + + Closes the object. + + + + + + + Closes the object. + + If True, all changes will be saved. + + + + Closes the object without saving. + + + + + Closes the object and saves changes into specified file. + + + File name in which workbook will be saved if SaveChanges is true. + + + + + Saves changes to the specified workbook. + + + + + Short variant of SaveAs method. + + + + + + Short variant of SaveAs method. + + + + + + + Save active WorkSheet using separator. + + Path to save. + Current separator. + + + + Method creates a font object based on native font and register it in the workbook. + ] + Native font to get settings from. + Newly created font. + + + + Replaces specified string by data table values. + + String value to replace. + Data table with new data. + Indicates whether field name must be shown. + + + + Replaces specified string by data column values. + + String value to replace. + Data table with new data. + Indicates whether field name must be shown. + + + + Set user color for specified element in Color table. + + Index of Color in array. + New color which must be set. + + + + Method return Color object from workbook palette by its index. + + Index from palette array. + RGB Color. + + + + Gets the nearest color to the specified Color structure + from Workbook palette. + + + Color index from workbook palette. + + + + Method to create a font object and register it in the workbook. + ] + Newly created font. + + + + Sets protection for workbook. + + Indicates if protect workbook window. + Indicates if protect workbook content. + + + + Sets protection for workbook. + + Indicates if protect workbook window. + Indicates if protect workbook content. + Password to protect with. + + + + Creates copy of the current instance. + + Copy of the current instance. + + + + Returns an object that represents the active sheet (the sheet on top) + in the active workbook or in the specified window or workbook. Returns + Nothing if no sheet is active. Read-only. + + + + + Gets / sets index of the active sheet. + + + + + Returns or sets the author of the comment. Read-only String. + + + + + Gets or sets a value indicating whether to display horizontal scroll bar. + + + + + Gets or sets a value indicating whether to display vertical scroll bar. + + + + + Name which is used by macros to access the workbook items. + + + + + True if the workbook uses the 1904 date system. Read / write Boolean. + + + + + True if the precision to be used as displayed. + + + + + True if cell is protected. + + + + + True if window is protected. + + + + + For an Application object, returns a Names collection that represents + all the names in the active workbook. For a Workbook object, returns + a Names collection that represents all the names in the specified + workbook (including all worksheet-specific names). + + + + + True if the workbook has been opened as Read-only. Read-only Boolean. + + + + + True if no changes have been made to the specified workbook since + it was last saved. If current value is false then setting it to true cause Save() method call. + Read/write Boolean. + + + + + Returns a Styles collection that represents all the styles + in the specified workbook. Read-only. + + + + + Returns a Sheets collection that represents all the worksheets + in the specified workbook. Read-only Sheets object. + + + + + True indicate that opened workbook contains VBA macros. + + + + + Get Palette of colors which an Excel document can have. + Here is a table of color indexes to places in the color tool box + provided by Excel application: + -------------------------------------------- + | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | + ---+---------------------------------------- + |1 | 00 | 51 | 50 | 49 | 47 | 10 | 53 | 54 | + |2 | 08 | 45 | 11 | 09 | 13 | 04 | 46 | 15 | + |3 | 02 | 44 | 42 | 48 | 41 | 40 | 12 | 55 | + |4 | 06 | 43 | 05 | 03 | 07 | 32 | 52 | 14 | + |5 | 37 | 39 | 35 | 34 | 33 | 36 | 38 | 01 | + ---+---------------------------------------- + |6 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | + |7 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | + -------------------------------------------- + + + + + Index of tab which will be displayed on document open. + + + + + Indicates whether exception should be thrown when unknown + name was found in a formula. + + + + + This Property allows users to disable load of macros from + document. Excel on file open will simply skip macros and will + work as if document does not contain them. This options works + only when file contains macros (HasMacros property is True). + + + + + Returns or sets the standard font size, in points. Read/write. + + + + + Returns or sets the name of the standard font. Read/write String. + + + + + Indicates whether to allow usage of 3D ranges in DataValidation + list property (MS Excel doesn't allow). + + + + + Gets / sets row separator for array parsing. + + + + + Formula arguments separator. + + + + + Indicates whether worksheet is displayed right to left. + + + + + Indicates whether tabs are visible. + + + + + Returns collection of tab sheets. Read-only. + + + + + Indicates whether library should try to detect string value passed to Value (and Value2) + property as DateTime. Setting this property to false can increase performance greatly for + such operations especially on Framework 1.0 and 1.1. Default value is true. + + + + + Toggles string searching algorithm. If true then Dictionary will be used + to locate string inside strings dictionary. This mode is faster but uses + more memory. If false then each time string is added to strings dictionary + we will have to iterate through it and compare new strings with existing ones. + Default value is TRUE. + + + + + True to display a message when the file is opened, recommending that the file be opened as read-only. + + + + + Gets / sets password to encrypt document. + + + + + Returns maximum row count for each worksheet in this workbook. Read-only. + + + + + Returns maximum column count for each worksheet in this workbook. Read-only. + + + + + Gets / sets excel version. + + + + + This event is fired after workbook is successfully saved. + + + + + This event is fired when trying to save to a Read-only file. + + + + + Stream name that represent summary name. + + + + + Stream name that represent document summary name. + + + + + Stream name used by new versions of Excel. + + + + + Old styled name of stream in Excel binary file. + + + + + Name of sub-storage in input file which contains macros of opened file. + + + + + Sub-storage of Macros storage. Used for checks is file format correct + or not. + + + + + Self-referential external reference. + + + + + File name has been excoded. + + + + + Reference to an empty workbook name. + + + + + Represents an MS-DOS drive letter. It is followed by the drive letter. + For example, the formula ='D:\SALES.XLS'!A1 generates this character key + when the dependent workbook is not on the D drive. UNC file names, such as + \\server\share\myfile.xls, generate an @ character after this character key; + this replaces the initial double backslash (\\). + + + + + Indicates that the source workbook is on the same drive as the + dependent workbook (the drive letter is omitted). For example + the formula ='\SALES.XLS'!A1 generates this key when + the dependent workbook is not in the root directory. + + + + + Indicates that the source workbook is in a subdirectory of the current directory. + For example, the formula ='XL\SALES.XLS'!A1 generates the DEF_CHAR_DOWNDIR key. + The subdirectory name precedes the DEF_CHAR_DOWNDIR key, and the file + name follows it. + + + + + Indicates that the source workbook is in the parent directory of the current directory. + For example, the formula ='..\SALES.XLS'!A1 generates the DEF_CHAR_UPDIR key. + + + + + Not used. + + + + + Indicates that the source workbook is in the startup directory + (the Xlstart subdirectory of the directory that contains Excel.exe). + + + + + Indicates that the source workbook is in the alternate startup directory. + + + + + Indicates that the source workbook is in the Library directory. + + + + + Indicates that path is UNC file name (is replaced by \\). + + + + + Start of the UNC network path. + + + + + Indicates that current workbook is not protected. + + + + + Index of the removed sheet. + + + + + Start of the http url string. + + + + + Defines a new line character + + + + + First user-defined color. + + + + + + + + + + + + + + + + + + + + + + + + + Index of the removed sheet. + + + + + Content type for Excel 97. + + + + + Content type for Excel 2000. + + + + + Content type for Excel 2007. + + + + + Content type for CSV. + + + + + Standard password. + + + + + TextQualifier. + + + + + Default regular expression options. + + + + + Name of the book's group in regular expressions. + + + + + Name of the sheet's group in regular expressions. + + + + + Index of worksheet used for workbook references. + + + + + Name prefix for styles in ignore style mode. + + + + + Text for evaluation warning. + + + + + Name of the expired evaluation sheet. + + + + + First chart color index. + + + + + Last chart color index. + + + + + Separator between worksheets in the cross-worksheet formula (Sheet1:Sheet3!A1). + + + + + Represents the Difference value of 1904 and 1899 date system format. + + + + + + Default theme version on excel workbook 2007 and 2010 + + + + + Defines a default script factor. + + + + + Default Palette colors. + + + + + Records that should be stored in m_arrPivotRecords. + + + + + Regular expression for workbook-worksheet pair. + + + + + Array with streams that shouldn't be copied. + + + + + Array with characters that are reserved. + + + + + + + + + + + + + + + Default theme colors. + + + + + + Indicates whether all the formula in the workbook is evaluated. + + + + + Used to store records which belong to the Workbook part. + Temporary array which must be cleaned after read/parse operations. + + + + + Active sheet in the current workbook. + + + + + Returns a Sheets collection that represents all the worksheets + in the specified workbook. Read-only Sheets object. + + + + + Styles collection that represents all the styles + in the specified workbook. + + + + + Storage of all Fonts created in a workbook. + + + + + Storage of all ExtendedFormats created in a workbook. + + + + + Storage of NameRecords. + + + + + New value changes for the format Record + + + + + Collection of workbook's formats. + + + + + Storage of BoundSheet records. Is a temporary storage which + after read / parse operations must be cleaned. + + + + + Dictionary which is used for storage of SST strings. + + + + + Collection contains all SupBookRecords. + + + + + Represents the continuity of ExternSheet record + + + + + List of the ranges that should be reparsed. + + + + + Full name of the file where workbook was saved or loaded. + + + + + True if the workbook uses the 1904 date system. + + + + + True if workbook uses Precision + + + + + True if the workbook has been opened as Read-only. + + + + + True if no changes have been made to the specified workbook since + it was last saved. Read / write Boolean. + + + + + + + + + + Indicates whether workbook is in loading state. + + + + + Indicates whether workbook is in saving state. + + + + + True if cells are protected. + + + + + True if window is protected. + + + + + Default name of workbook used by macros. + + + + + True if pivot table Fields lists are hidden + + + + + Indicates default theme version for wokbook. + + + + + True - indicates that current workbook contains macros sub-storage. + + + + + True - indicates that current workbook contains summary information. + + + + + True - indicates that current workbook contains document summary information. + + + + + True - indicate that macros exists in document and they + are disabled, otherwise False. + + + + + Stores current workbook's palette. + + + + + True- indicates that user used custom palette instead of the default. + + + + + Window one record for the workbook. + + + + + Collection of all Name objects defined in the workbook + + + + + Collection of all Chart objects of the workbook. + + + + + Collection of Charts and Worksheets objects. + + + + + One of protection records. + + + + + One of protection records. + + + + + One of protection records. + + + + + + + + + + Data needed by workbook shapes (unique images and other things). + + + + + First unused color (color that wasn't redefined yet). + + + + + Current object id. + + + + + First free shape id. + + + + + + + + + + List of ExtendedXF Format record + + + + + + + + + + + Indicates whether to allow usage of 3D ranges in DataValidation + list property (MS Excel doesn't allow). + + + + + Collection of extern workbooks. + + + + + Collection of header / footer pictures. + + + + + Calculation options. + + + + + Workbook level Conditional Priority count. + + + + + Formula parser. + + + + + Represents group of selected worksheets. + + + + + Indicates whether original worksheet contains duplicated names. + + + + + Indicates whether workbook is write protected. + + + + + File sharing record. + + + + + Indicates whether library should try to detect string value passed to Value (and Value2) + property as DateTime. Setting this property to false can increase performance greatly for + such operations especially on .Net Framework 1.0 and 1.1. Default value is true. + + + + + Size of the default character measured using first function. + + + + + Size of the default character measured using second function. + + + + + Password used to encrypt document. + + + + + Encryption type. + + + + + Document id. + + + + + Maximum row count for each worksheet in this workbook. + + + + + Maximum column count for each worksheet in this workbook. + + + + + Maximum possible number of extended formats. + + + + + Maximum possible indent value. + + + + + Current excel version. + + + + + Default XF index. + + + + + File data holder, used to store data for Excel 2007 format. + + + + + Maximum digit width (used to evaluate different column width) + + + + + Workbook's heap handle. + + + + + This field is used to preserve BookExt record. + + + + + Contains list of theme colors. + + + + + Unparsed controls stream. + + + + + Maximum used table index. + + + + + Country code. + + + + + Stream contains custom table styles + + + + + Indicates whether workbook was loaded or it is created. + + + + + Indicates whether the theme colors of the workbook is parsed or not + + + + + Represents the Compatibility record + + + + + Represents the Shared string stream + + + + + Represents whether workbook has Inlinestring. + + + + + Preserves the pivot cache. + + + + + Store the font indexes. + + + + + Represents the Excel Parse Options. + + + + + Preserves the unique styles cells count. + + + + + Boolean that represent the extended format CRC value status. + + + + + Extended format CRC value. + + + + + Find the beginning version of excel + + + + + + + + + + Preserves the child element in the document management properties. + + + + + Illegal xml character defined names count. + + + + + Connection Support for Excel2003 + + + + + Represents to parse sheet on demand + + + + + Calc Identifier. + + + + + Preserves the DDE type link in workbook + + + + + Alogrithm name to protect/unprotect Workbook. + + + + + Hash value to ensure the workbook protected password. + + + + + Random generated Salt for the workbook password. + + + + + Spin count to loop the hash algorithm. + + + + + Custom date patterns in excel + + + + + Date time pattern for the current culture with custom date pattern + + + + + OfficeSheetType-to-Name. + + + + + Returns theme color by its index. + + + + + + + Returns theme color by its index on ExcelVersion 2013. + + index value on list of colors + the Color value + + + + Creates extended format record and registers it in workbook. + + Indicates whether to force add to collection. + Newly created extended format. + + + + Creates extended format based on baseFormat and registers it in workbook. + + Base format for the new format. + Indicates whether to force add. + Newly created format. + + + + Creates extended format based on baseFormat without registering it in the workbook. + + Base format for the new format. + Newly created format. + + + + Registers extended format. + + Format to register. + + Format from the collection if there were such format; + otherwise returns format that was added. + + + + + Registers extended format. + + Format to register. + Indicates whether to force format object registration in the collection. + + Format from the collection if there were such format; + otherwise returns format that was added. + + + + + Inserts SupbookRecord describing this workbook. + + + Index to the SupBookRecord that describes current workbook. + + + + + Adds internal sheet reference. + + Name of the sheet that should be referenced. + Index to the sheet in ExternSheetRecord. + + When can't find specified worksheet in this workbook. + + + + + Adds reference to the extern worksheet. + + + Workbook name (can be null or empty than sheet name is treated as book name. + + Worksheet name. + Index in the ExternSheet record. + + + + Adds internal sheet reference. + + Name of the sheet that should be referenced. + Worksheet to be referenced. + + When can't find specified worksheet in this workbook. + + + + + Adds internal sheet reference. + + Name of the sheet that should be referenced. + Worksheet to be referenced. + + When can't find specified worksheet in this workbook. + + + + + Adds internal sheet reference. + + Name of the sheet that should be referenced. + Worksheet to be referenced. + + When can't find specified worksheet in this workbook. + + + + + This method adds one TREF structure to the list. + + SUPBOOK index. + Index to first SUPBOOK sheet. + Index to last SUPBOOK sheet. + + Index of the old REF structure (if there was one) + or new REF structure. + + + + + Adds incorrect sheet reference. + + Worksheet to be referenced. + + When can't find specified worksheet in this workbook. + + + + + Decreases index (in ExternSheet record) of all worksheets with index + that is smaller than specified index. + + + + + + Increases index (in ExternSheet record) of all worksheets with index + that is larger or equal than specified index. + + + + + + This method updates external sheet table when a worksheet was moved. + + Old index of the worksheet. + New index of the worksheet. + + + + Updates active sheet index after move operation. + + Old sheet index. + New sheet index. + + + + Gets sheet index after move operation. + + Current sheet index. + Old index of the sheet that was moved. + New index of the sheet that was moved. + New index for current sheet index. + + + + Returns worksheet name. + + Reference to worksheet. + Returns sheet name. + + + + Returns worksheet name. + + Reference to worksheet. + Returns sheet name. + Indicates whether to throw exception if reference index is out of range. + + + + Get name of the external worksheet by reference. + + + + + Get name of the internal worksheet by reference. + + + + + Returns worksheet by its reference index. + + Reference index of the sheet. + Found worksheet. + + When can't find referenced worksheet. + + + + + Returns worksheet by its reference index. + + Reference index of the sheet. + + Indicates whether to throw exception when can't + find worksheet with specified index. + + Found worksheet. + + When can't find referenced worksheet. + + + + + Check for internal Reference; If external - rise NotSupported exception. + + Ref index. + + + + Indicates whether reference is reference to local worksheet. + + Reference index. + Value that indicates whether reference is reference to local worksheet. + + + + + + + + + + + Inserts reparse into array of object that should be reparsed + when loading will be complete. + + Object that will be reparsed later. + + + + Returns number from the style name, i.e. Normal_1 result is 1. + + Style name. + Parsed number. + + + + Raises argument to the second power. + + Value to be squared. + Squared value. + + + + Calculates distance between two colors. + + First color. + Second color. + Distance between two colors. + + + + Clears collection of references. + + + + + Raises FileSaved event. + + + + + Raises OnReadOnlyFile event. + + + + + + + + + + + + Returns extern workbook index by reference index. + + Reference index. + Extern workbook index. + + + + Returns external sheet object by reference index. + + Reference index. + External worksheet that corresponds to the specified reference index. + + + + Decodes name encoded in supbook. + + Name to decode. + Decoded name. + + + + Modifies record in skip styles mode. + + Record to modify. + Boolean value indicating that record should be added to the array. + + + + Modifies record in skip styles mode. + + Records to modify. + + + + Adds licensing worksheet if necessary. + + + + + Checks whether workbook contains licensing worksheet and removes it. + + + + + Checks whether protected content is correct. + + Worksheet to check. + True if content is correct. + + + + Optimizes internal references by removing unused ones. + + + + + Updates reference indexes. + + Array with updated indexes. + + + + Static constructor. + + + + + Base constructor which must be used when workbook is created + from scratch (maybe clipboard data)and not from file. + + Application object for the workbook. + Parent object for the workbook. + Excel version. + + + + Creates workbook with specific number of worksheets. + + Application object for the workbook. + Parent object for the workbook. + Quantity of empty worksheets to create. + Excel version. + + + + Create Workbook from file. + + Application object for the workbook. + Parent object for the workbook. + Name of the file with workbook. + Excel version. + + When can't find workbook stream in the file. + + + + + Create Workbook from file. + + Application object for the workbook. + Parent object for the workbook. + Name of the file with workbook. + Parse options. + Excel version. + + When can't find workbook stream in the file. + + + + + Create Workbook from file. + + Application object for the workbook. + Parent object for the workbook. + Name of the file with workbook. + Parse options. + Indicates whether to open workbook in read-only mode. + Password to decrypt workbook stream. + Excel version. + + When can't find workbook stream in the file. + + + + + Initializes a new instance of the class. + + Application object for the workbook. + Parent object for the workbook. + Name of the file with workbook. + Parse options. + Indicates whether to open workbook in read-only mode. + Password to decrypt workbook stream. + Excel version. + + When can't find workbook stream in the file. + + + + + Create WorkBook from file. + + Application object for the workbook. + Parent object for the workbook. + Stream to open. + Current separator. + Number of first row to write. + Number of first column to write. + Excel version. + Filename is used to generate worksheet name + + + + Create Workbook from stream. + + Application object for the workbook. + Parent object for the workbook. + Stream that contains workbook's data. + Parse options. + Excel version. + + When specified stream is NULL. + + + + + Parses new workbook from xml stream. + + Current application + Parent object. + Xml reader. + Xml open type. + + + + Initializes all internal collections. + + + + + Fills collection with default formats, extended format, and styles. + + + + + Inserts all default extended formats into special list. Excel has 21 + default formats for each workbook. + + + + + Inserts all default styles into special list. + + + + + Inserts all default styles into special list. + + Styles that were read from file. + + + + Registers default style inside styles collection. + + Style to register. + + + + + + + + + + + Gets file name with extension from the path. + + Url to get name from. + File name without extension from the path. + + + + Gets create workbook name. + + Workbook to get name from. + Workbook name. + + + + + + + + + + + + + + + + Compares two style records. + + First style record to compare. + Second style record to compare. + True if records describe same default style. + + + + Inserts default fonts into special list. + + + + + Disposes internal collections. + + + + + Clears all internal collections. + + + + + Clears the extended formats. + + + + + This method parses stream that holds data in Excel 2007 format (Open XML). + + Stream to parse. + Password to use during for decryption. + + + + Parses specified file. + + File to parse. + Password to use for decryption (null if file is not encrypted). + Excel version. + Parsing options. + + + + Parses specified stream. + + Stream to parse. + Password to use for decryption (null if file is not encrypted). + Excel version. + Parsing options. + + + + Class finalizer. + + + + + + Recheck the Format Record + + + + + Normalizes border settings for specified extended format record in some incorrect files. + + ExtendedFormatRecord to process. + + + + Prepares fonts, formats and styles collections. + + Indicates whether parsing is made in ignore styles mode. + List with all styles. + Dictionary with new extended format indexes for ignore styles mode. + + + + Prepares extended format records. + + + + + Parses all worksheets, charts, etc. on demand + + + + + Creates all necessary styles for the workbook. + + Array of all read StyleRecords. + + + + Searches StyleRecord for the specified index of the Extended + Format record in the list. + + List that contains StyleRecord. + Index of the Extended Format. + + Found style index (if it is greater or equal to zero than it is index + from arrStyles array; otherwise it is evaluated as index in arrDefaultStyles + increased by 1 and multiplied by -1. + . + + + + Returns array of default styles. + + Array of StyleRecords with default styles. + + + + Creates style each number format. + + + Dictionary with new extended format indexes. + + + + + Activates the first window associated with the workbook. + + + + + Closes the object and saves changes into specified file. + + + File name in which workbook will be saved if SaveChanges is true. + + + + + Closes the object. + + If True, all changes will be saved. + + File name in which workbook will be saved if SaveChanges is true. + + + + + Closes the object. + + If TRUE all changes will be saved + + + + Closes the object without saving. + + + + + Saves changes to the specified workbook. + + + If file name was not specified before. + + + + + Short variant of SaveAs method. + + + Name of the file into which workbook will be saved. + + + When FileName is NULL. + + + When FileName is empty. + + + + + Short variant of SaveAs method. + + + Name of the file into which workbook will be saved. + + Options for save. + + When FileName is NULL. + + + When FileName is empty. + + + + + Short variant of SaveAs method. + + + Name of the file into which workbook will be saved. + + Options for save. + Excel version that should be used. + + When FileName is NULL. + + + When FileName is empty. + + + + + Prepares shapes for serialization. + + + + + Registers new shapes (that have no shapeId yet) inside shapeIdReserver. + + IdReserver that helps in the id generation process. + Delegate used to get necessary shapes collection from a TabSheet. + + + + Updates shapes that were added after last save operation. + + IdReserver that helps in the id generation process. + Delegate used to get necessary shapes collection from a TabSheet. + + + + Assigns indexes to the new shapes. + + IdReserver that helps in the id generation process. + Shape collection to process. + + + + Gets number of free indexes inside currently allocated/reserved ids. + + IdReserver that helps in the id generation process. + Shape collection to process. + Number of free indexes inside currently allocated/reserved ids. + + + + Evaluates number of shapes without assigned id. + + Shape collection to check. + Number of shapes without assigned id. + + + + Registers absolutely new shape collections using IdReserver. + + IdReserver that helps in the id generation process. + Delegate used to get necessary shapes collection from a TabSheet. + + + + Allocates and assigns indexes for all shapes inside shape collection. + + IdReserver that helps in the id generation process. + Shape collection to process. + + + + Creates IdReserver based on the current shapes. + + Delegate used to get necessary shapes collection from a TabSheet. + IdReserver filled with current shape id's data. + + + + Re-indexes shape collections if necessary. + + Delegate used to get necessary shapes collection from a TabSheet. + True if there are shapes inside the workbook. + + + + Returns sheet's shapes collection. + + TabSheet to get collection from. + Extracted collection. + + + + Returns header/footer shapes collection. + + TabSheet to get collection from. + Extracted collection. + + + + Save active WorkSheet using separator. + + Path to save. + Current separator. + + + + Set user color for specified element in Color table. + + Index of Color in array. + New color which must be set. + + + + Method return Color object from workbook palette by its index. + + Index from palette array. + RGB Color. + + + + Gets the nearest color to the specified Color structure + from Workbook palette. + + Color to look for. + Color index from workbook palette. + + + + Gets the nearest color to the specified Color structure + from Workbook palette. + + Color to look for. + Start index. + Color index from workbook palette. + + + + Replaces specified string by data table values. + + String value to replace. + Data table with new data. + Indicates whether field name must be shown. + + + + Replaces specified string by data column values. + + String value to replace. + Data table with new data. + Indicates whether field name must be shown. + + + + Method to create a font object and register it in the workbook. + ] + Newly created font. + + + + Method creates a font object based on native font and register it in the workbook. + ] + Native font to get settings from. + Newly created font. + + + + Adds font into collection. + + Font to add. + + Current font with correct font index, or same font from the collection if was added before. + + + + + Method that creates font object based on another font object + and registers it in the workbook. + + Base font for the new one. + Newly created font. + + + + Method that creates font object based on another font object + and registers it in the workbook. + + Base font for the new one. + Indicates whether font should be added to the collection. + Newly created font. + + + + Sets protection for workbook. + + Indicates if protect workbook window. + Indicates if protect workbook content. + + + + Sets protection for workbook. + + Indicates if protect workbook window. + Indicates if protect workbook content. + Password to protect with. + + + + Creates copy of the current instance. + + Copy of the current instance. + + + + Creates copy of the palette. + + Copy of the palette. + + + + Saves workbook data in Excel 2007 format into specified stream. + + Stream to save into. + Represents type of the saving document (on the current + moment supported values are template or ordinary document). + + + + Creates serializator that can be used to serialize workbook into file or stream. + + Version that must be used to serialize workbook. + Created serializator. + + + + This method changes internal styles structure for Excel 97. + + + + + + + + + + + + + + + + + This method checks whether we must change styles model from 2007 into 97 format + (if document (or file) was created by XlsIO we don't need to change styles). + + True if additional styles must be added for Excel 97. + + + + + + + + + + + Converts extended format colors. + + + + + + + Reduces font count based by switching all colors into indexed color mode. + + List with new font indexes. + + + + Reads the complete stream and retruns false if the doument is notvalid. + + Read to get data from. + Separator between cell values. + Encoding scheme for the StreamReader. + boolean value. + + + + Serialize workbook for the clipboard. + + Record's list to serialize into. + Worksheet to serialize. + + + + Sets active worksheet. + + Worksheet that will be activated. + + + + Sets Saved flag to the False state. + + + + + Updates string indexes. + + List with new indexes. + + + + Looks through all records and calls AddIncrease for each LabelSST record. + + + + + Updates indexes in all records accordingly to the new maximum count property. + + New value of maximum possible XF index. + + + + Indicates whether specified xf index differs from the default one. + + XFIndex to check. + True if there is no difference. + + + + Evaluates maximum digit width of the font for Normal style. + + Maximum digit width of the font for Normal style. + + + + Evaluates maximum digit width of the font for Normal style. + + Maximum digit width of the font for Normal style. + + + + Evaluates maximum digit width of the specified font. + + Font to measure. + Maximum digit width of the specified font. + + + + Gets maximum digit height. + + Font to get digit height for. + Maximum digit height. + + + + Updates width from the rectangle. + + Current rectangle. + Current maximum value. + + + + Updates height from the rectangle. + + Current rectangle. + Current maximum value. + + + + Measures all digits using specified font and calls digitProcessor passing measurement results. + + Font to use. + DigitProcessor to call. + Value returned by digitProcessor after processing all digits. + + + + Converts column width in characters into column width in file. + + Column width in characters. + Column width in file. + + + + Convert column width that is stored in file into pixels. + + Column width in file. + Column width in pixels. + + + + Converts column width in pixels into column width in characters. + + Column width in pixels. + Column width in characters. + + + + + + + + + + + CRC checksum calculation + + + + + Add list of extended properties into XF extended record. + + + + + Add extended property into list. + + + + + Get extended property type. + + + + + Convert ARGB to RGBA. + + + + + Convert ARGB to RGBA. + + + + + Convert Color object to unsigned integer. + + + + + Convert unsigned integer to Color object. + + + + + Whether a given character is allowed by XML 1.0. + + + + + Remove illegal xml character which is not allowed by XML 1.0. + + + + + Find the font object style. + + The cell text + The rich text string + RTF Collection + The excel font + + + + + Update the rtf text. + + XlsIO font. + Pdf font collection. + DrawString Collection. + RTF text. + + + + Indicates whether the text is null or whitespace. + + The text. + returns true if the text is null or whitespace otherwise false. + + + + To get the cell scaled height. + + The cell font name. + The cell font size. + + + + To update the cell scaled width and height. + + scale[0] refers to the cell width. + scale[1] refers to the cell height + + + + Gets the system font from XlsIO font. + + XlsIO font. + returns system font. + + + + Gets the system font from XlsIO font. + + XlsIO font. + New font name for the font object. + returns system font. + + + + Gets the font style. + + XlsIO font. + return font style. + + + + Gets the font size. + + XlsIO font. + returns font size based on superscript and subscript. + + + + Returns an object that represents the active sheet (the sheet + on top) in the active workbook or in the specified window or + workbook. Returns Nothing if no sheet is active. Read-only. + + + + + Preserves the DDE type links in workbook + + + + + Gets / sets index of the active sheet. + + + + + Returns or sets the author of the comment. Read / write String. + + + + + Name which used by macros to access to workbook items. + + + + + Indicates whether pivot table fields option is hidden or not. + + + + + Indicates default theme version for wokbook + + + + + True if the workbook uses the 1904 date system. Read / write Boolean. + + + + + True if the workbook uses precision. + + + + + True if cells are protected. + + + + + True if window is protected. + + + + + For an Application object, it returns a Names collection that represents + all the names in the active workbook. For a Workbook object, it returns + a Names collection that represents all the names in the specified + workbook (including all worksheet-specific names). + + + + + True if the workbook has been opened as Read-only. Read-only Boolean. + + + + + True if no changes have been made to the specified workbook since + it was last saved. If current value is false then setting it to true cause Save() method call. + Read/write Boolean. + + + + + Returns a Styles collection that represents all the styles + in the specified workbook. Read-only. + + + + + Returns a Sheets collection that represents all the worksheets + in the specified workbook. Read-only Sheets object. + + + + + True indicates that opened workbook contains VBA macros. + + + + + Gets a Palette of colors the Excel document can have. + Here is a Table of color indexes their places in the color tool box + provided by XlsIO application: + -------------------------------------------- + | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | + ---+---------------------------------------- + |0 | 00 | 51 | 50 | 49 | 47 | 10 | 53 | 54 | + |1 | 08 | 45 | 11 | 09 | 13 | 04 | 46 | 15 | + |2 | 02 | 44 | 42 | 48 | 41 | 40 | 12 | 55 | + |3 | 06 | 43 | 05 | 03 | 07 | 32 | 52 | 14 | + |4 | 37 | 39 | 35 | 34 | 33 | 36 | 38 | 01 | + ---+---------------------------------------- + |5 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | + |6 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | + -------------------------------------------- + + + + + Index of the tab which will be displayed on document open. + + + + + + + + + + Gets or sets the value to display horizontal scrollbar + + + + + Gets or sets the value to display vertical scrollbar + + + + + This Property allows users to disable load of macros from + document. Excel on file open will simply skip macros and will + work like document does not contains them. This options works + only when file contains macros (HasMacros property is True ). + + + + + Returns or sets the standard font size. Read/write. + + + + + Returns or sets the name of the standard font. Read/write String. + + + + + Indicates whether to allow usage of 3D ranges in DataValidation + list property (MS Excel doesn't allow). + + + + + Gets / sets row separator for array parsing. + + + + + Formula arguments separator. + + + + + Indicates whether worksheet is displayed right to left. + + + + + Indicates whether workbook tabs are visible. + + + + + Returns collection with all tabsheets in the workbook. Read-only. + + + + + Indicates whether library should try to detect string value passed to Value (and Value2) + property as DateTime. Setting this property to false can increase performance greatly for + such operations especially on Framework 1.0 and 1.1. Default value is true. + + + + + Toggles string searching algorithm. If true then Dictionary will be used + to locate string inside strings dictionary. This mode is faster but uses + more memory. If false then each time string is added to strings dictionary + we will have to iterate through it and compare new strings with existing ones. + Default value is TRUE. + + + + + True to display a message when the file is opened, recommending that the file be opened as read-only. + + + + + Gets / sets password to encrypt document. + + + + + Returns maximum row count for each worksheet in this workbook. Read-only. + + + + + Returns maximum column count for each worksheet in this workbook. Read-only. + + + + + Returns maximum possible number of extended formats. Read-only. + + + + + Gets maximum possible indent value. Read-only. + + + + + Workbook level Conditional Priority count. + + + + + Indicates whether all the formula in the workbook is evaluated. + + + + + Represents the Excel Parse Options. + + + + + gets/ Sets the pivot table last index + + + + + Preserves the pivot cache. + + + + + Store the font indexes. + + + + + /Return file data holder, used to store data for Excel 2007 format. + + + + + Return WorkbookNamesColection from parent WorkBook. + + + + + Returns name of the file the workbook was saved + in last time or loaded from. + + + + + Collection of all fonts used in the workbook. Read-only. + + + + + Collection of all ExtendedFormats used in the workbook. + + + + + Collection of all formats used in the workbook. Read-only. + + + + + SSTDictionary that contains all strings used in the workbook. Read-only. + + + + + Indicates whether workbook is loading. Read-only. + + + + + Indicates whether workbook is in saving process. Read-only. + + + + + Stores the attributes of the workbook window. Read-only. + + + + + Returns count of charts and worksheets in the workbook. + + + + + + + + + + Gets or sets the SST stream. + + The SST stream. + + + + Gets or sets a value indicating whether this instance has inline strings. + + + true if this instance has inline strings; otherwise, false. + + + + + Gets / sets PasswordRecord. + + + + + + + + + + First free shape id. + + + + + + + + + + + + + + + Returns collection of named objects owned by the workbook + (worksheet and charts). Read-only. + + + + + + + + + + Worksheets collection. + + + + + Charts collection. + + + + + Returns collection of external workbooks. + + + + + Returns calculation options. Read-only. + + + + + Returns class for formula parsing. Read-only. + + + + + Returns grouped worksheets. Read-only. + + + + + Indicates whether original file contains duplicated external names. + + + + + Returns data that is shared by all shapes (global options, unique pictures, etc. ). + + + + + Returns data that is shared by all header/footers. + + + + + Gets externSheet record. Read - only. + + + + + Gets / sets internal flag that indicates whether workbook was saved or not. + + + + + + + + + + + + + + + Gets a value indicating whether this Workbook is converted. + + + true if this instance is converted; otherwise, false. + + + + + Gets / sets excel version. + + + + + Returns index to the default extended format. + + + + + Returns internal array with palette colors. Read-only. + + + + + Gets value indicating whether workbook controls stream or not. Read-only. + + + + + Gets value indicating whether workbook controls stream or not. Read-only. + + + + + Gets or sets maximum used table (list object) index. + + + + + Gets value indicating whether workbook was loaded from file or stream. + + + + + Specifies wheather the workbook checks the Compability of earlier version + + + + + Gets or sets a value indicating whether the name ranges has apostrophe. + + + true if this instance has apostrophe; otherwise, false. + + + + + Indicates whether book has oleObjects + + + + + Indicates whether Ole Objects are copied + + + + + Gets or sets boolean value to parse worksheets on demand + + + + + Alogrithm name to protect/unprotect workbook. + + + + + Hash value to ensure the workbook protected password. + + + + + Random generated Salt for the workbook password. + + + + + Spin count to loop the hash algorithm. + + + + + This event is fired after workbook is successfully saved. + + + + + This event is fired when user tries to save into read-only file. + + + + + Gets or sets standard ( default ) row height of all the worksheets. + in points. Double. + + + + + Contains the Date Time patterns od the current culture with date custom format + + + + + Delegate used for digit size evaluation. + + Rectangle containing current digit size. + Current maximum value. + + + + Summary description for WorkbookShapeDataImpl. + + + + + Array of blips that should be parsed by MsoMetafilePicture. + + + + + Contains all workbook's pictures. + + + + + Drawing group not parsed records. + + + + + Parent workbook. + + + + + Dictionary, key - image hash (ArrayWrapper), value - MsofbtBSE structure that describes + + + + + Shape getter. + + + + + Last used worksheet shapes collection id. + + + + + Dictionary blip type - to - Instance, RequiredMac, RequiredWin32, subrecord type values. + + + + + Preserved Clusters. + + + + + Indexed Pixel Types and not supported image format + + + + + Static constructor. + + + + + Initializes new instance. + + Application object for the new instance. + Parent object for the new instance. + Shape getter to use for retrieving shapes from worksheet. + + + + Searches for all necessary parent objects. + + + + + Adds picture to the storage. + + Picture to add. + Desired image format. + Name of the picture. + Number of pictures after adding new picture (blip id). + + + + Adds picture to the storage. + + Picture to add. + Number of pictures after adding new picture.. + + + + Returns picture record. + + Picture index. + Picture record. + + + + Removes picture from this collection. + + Picture id to remove. + Indicates whether to remove image (not picture + shape) from workbook if we didn't detect any reference to it. + + + + Clears all internal data. + + + + + Creates a new object that is a copy of the current instance. + + Parent object for a copy of this instance. + A new object that is a copy of this instance. + + + + Registers new shapes collection. + + + + + + Converts image format into blip type. + + Format to convert. + Returns appropriate image format. + + + + Converts image format into blip type. + + Format to convert. + Desired image format. + + + + + Indicates whether blip is bitmap blip. + + Blip type to check. + True if specified blip is bitmap blip; False otherwise. + + + + Returns BlipParams for picture record. + + MsofbtBSE record to set fields. + BlipParams for picture record. + + + + List with all pictures. Read-only. + + + + + Indicates whether this mso drawing group has to be serialized. + + + + + Contains information about different properties of image. + + + + + Instance property value. + + + + + ReqMac property value. + + + + + ReqWin32 property value. + + + + + SubRecordType property value. + + + + + + + + + + + + + + Indicates if there is formula record. + + Worksheet to get data for. + Represents row index. + Represents column index. + Indicates whether cell contains formula record. + + + + Returns row from the collection or creates one if necessary. + + Worksheet to get row from. + Zero-based row index. + Indicates whether to create row if it doesn't exist. + Desired row object. + + + + Gets row information. + + One-based row index. + Row information. + + + + Updates FirstColumn and LastColumn indexes. + + Column that was accessed. + + + + Updates FirstRow and LastRow indexes. + + Row to access. + + + + Represents a worksheet. The Worksheet object is a member of the + Worksheets collection. The Worksheets collection contains all the + Worksheet objects in a workbook. + + + + + Default character (for width measuring). + + + + + One degree in radians. + + + + + Maximum column width. + + + + + Width of the zero character. + + + + + Default size for the dictionary of ranges. + + + + + Default size of autofilter arrow width. + + + + + Represents indent width. + + + + + + Maximum OleDateValue + + + + + Represents the Carriage Return character. + + + + + Represents the Carriage new line character. + + + + + Microsoft Excel. + + + + + Default number format index for date. + + + + + Indicates whether this instance has Alernate Content. + + + + + Represents the object associated with implementation + + + + + Indicate the shapes are able to copy for sorting + + + + + Collection of all pictures in the worksheet. + + + + + Enables the calculation support. + + Enabling this method will initialize objects and retrieves calculated values of formulas in a worksheet. + + + + + Create and update named ranges + + + + + Update external formula. + + + + + Gets the position of array record position of the cell. + + Input row + Input column + Height to be considered + Width to be considered + Sheet reference to be considered + Returns Array Record Position + + + + Get external worksheet. + + + + + Try to Get Identifier of given formula. + + Workbook. + Formula to updated. + the boolean value, indicates whether the formula is updated + + + + Try to Get Identifier of given formula. + + External workbook. + Identifier to get. + Sheet index to get. + the boolean value, indicates whether the Identifier is updated + + + + Gets external worksheet index from the specified external workbook. + + worksheet name to search. + External workbook. + External worksheet index. + + + + Checked whether the string is a cell range or not. + + workbook. + string to check. + True if the string is cell range, otherwise false + + + + Raises the event. + + The row of the change. + The column of the change. + The changed value. + + + + Returns the formula string if the cell contains a formula, or the value if + the cell cantains anything other than a formula. + + The row of the cell. + The column of the cell. + The formula string or value. + + + + Sets the value of a cell. + + The value to be set. + The row of the cell. + The column of the cell. + + + + Not implemented. + + + + + Array with autofilter record types. + + + + + Represent the Unsupported forumulas. + + + + + Represents to parse sheet on demand + + + + + Range that contains all used cells. + + + + + The dictionary holds a records objects, representing each cell. + Holds information about used cells only. + Key - cell index. + Value - corresponding BiffRecordRaw. + + + + + In the dictionary store, where ColumnIndex-to-ColumnInfoRecord. + Column Index is started from 1. + + + + + Indicates whether page breaks should be displayed. + + + + + Object that contains information about page setup, i.e. + paper size, paper orientation, footers, headers, etc. + + + + + Standard column width. + + + + + Object that contains all merged regions of the worksheet. + + + + + Array store containing all selection records. + + + + + + + + + + Collection of all names defined in the worksheet (like named ranges). + + + + + Type of the worksheet. + + + + + Indicates if values are preserved as strings. + + + + + Array of all records for autofilter. + + + + + SortedList with all NoteRecords. + + + + + Notes sorted by cell index, key - cell index, value - note record. + + + + + + + + + + Contains all worksheet's sort records. + + + + + Start index for pivot table records. + + + + + Start index for hyperlinks records. + + + + + Start index for conditional formatting records. + + + + + Start index for data validation formatting records. + + + + + Start index of custom properties block. + + + + + DCon records. + + + + + Migrant range - row and column of this range object can be changed by user. + + + + + There are two different algorithms to create UsedRange object: + 1) Default. This property = true. The cell is included into UsedRange when + it has some record created for it even if data is empty (maybe some formatting + changed, maybe not - cell was accessed and record was created). + 2) This property = false. In this case XlsIO tries to remove empty rows and + columns from all sides to make UsedRange smaller. + + + + + Indicates to include the CFRange in UsedRange. + + + + + Contains settings of string preservation for ranges. + + + + + Object used for shape coordinates evaluation on loading. + + + + + List with preserved table object's records. + + + + + To set Ishidden property + + + + + For Zeroheight attribute to enable or disable + + + + + Specifies the number of characters of the maximum digit width of the normal style's font. + + + + + 'True' if rows have a thick bottom border by default. + + + + + 'True' if rows have a thick top border by default. + + + + + Highest number of outline levels for columns in this sheet. + + + + + Default column width of sheet. + + + + + Highest number of outline level for rows in this sheet. + + + + + List of Outline Wrappers collection + + + + + Represents the Column group outline dictionary collection + + + + + Represents the row group outline dictionary collection + + + + + Represents the Collection of InlineStrings + + + + + Preserves the External connection setting in the worksheet. + + + + + Preserves the pivot tables. + + + + + Stream to preserve the worksheet slicer + + + + + Represents a formula string for external links + + + + + Represents the Data table export + + + + + + + + + + Creates worksheet and set its Application and Parent + properties to specified values. + + Application object for the worksheet. + Parent object for the worksheet. + + + + Initializes all inner data such as Comments collection, + Page setup, etc. + + + + + Clear all internal collections. + + + + + Clear all internal collections. + + Allows to avoid clearing of some properties. + + + + Copies names from another worksheet. + + Worksheet to copy names from. + Dictionary with new worksheet names. + Dictionary, key - old name index, value - new name index. + Represents hash table with new extern sheet indexes. + + + + Searches for all used named range objects. + + Dictionary where key means named range index. + + + + Copies row height. + + Source worksheet. + Dictionary with new extended format indexes. + + + + Copies autofilters. + + Base worksheet. + + + + Copies column width. + + Source worksheet. + Array with new extended format indexes. + + + + Returns true if specified column index can be found inside list of columns with default width. + + List of columns with default width (sorted). + Start index in the list. + Column index to check. + True if specified column index can be found inside list if columns. + + + + Updates indexes of extended formats. + + Collection with IOutline elements that should be updated. + Source worksheet. + Dictionary with new extended format indexes. + + + + Updates indexes of extended formats. + + Collection with IOutline elements that should be updated. + Source worksheet. + Dictionary with new extended format indexes. + Indicates whether update default format index. + + + + Updates indexes of extended formats. + + Collection with IOutline elements that should be updated. + Array with new extended format indexes. + + + + Creates columns on update. + + Represents column collection. + Represents new XF indexes. + List of columns that had default column width and were create by this method. + Items in this list are placed in ascending order. + + + + Copies merged regions. + + Source worksheet. + + + + + + + + + + + + + + This method is called during dispose operation. + + + + + Copies page setup from another worksheet. + + Worksheet to copy from. + + + + Updates style indexes. + + Array with changed style indexes. + + + + Indicates whether to parseCF or not. + + + + + Gets object that is clone of current worksheet in the specified workbook. + + Dictionary with update worksheet names. + New workbook object. + Object that is clone of the current worksheet. + + + + This method should be called immediately after extended format removal. + + Dictionary with updated extended formats. + + + + This method updates indexes to the extended formats after version change. + + New restriction for maximum possible XF index. + + + + Creates Rtf string for LabelSST record. + + Cell index. + Created rtf string. + + + + Returns found values or null. + + Storage range. + Value for finding. + If true - finds as error; otherwise as bool value. + If true - finds first value; otherwise - all values. + If findfirst - true then returns range; otherwise - array with all found values. + + + + Returns found values or null. + + Storage range. + Value for finding. + Finding flags. + If true - finds first value; otherwise - all values. + If findfirst - true then returns range; otherwise - array with all found values. + + + + Returns found values or null. + + Storage range. + Value for finding. + If true - finds first value; otherwise - all values. + If findfirst - true then returns range; otherwise - array with all found values. + Range array with found values. + + + + Returns found values or null. + + Storage range. + Value for finding. + If true - finds first value; otherwise - all values. + If findfirst - true then returns range; otherwise - array with all found values. + Range array with found values. + + + + Removes all formulas in colRemove from internal ArrayFormula collection. + + Formulas to remove. + Indicates whether to clear range before remove operation. + + + + Updates formulas after copy operation. + + Current worksheet index. + Source worksheet index. + Source rectangle. + Destination worksheet index. + Destination rectangle. + + + + Autofits row. + + Row index. + + + + Autofits column. + + Column index. + + + + Copies all data from another worksheet. + + Parent worksheet. + Dictionary with style names. + Dictionary with new worksheet names. + Dictionary with new font indexes. + Copy flags. + + Dictionary with new extended format indexes. + + Dictionary with new name indexes. + Represents collection with extern sheets indexes. + + + + Copies all table objects. + + Worksheet to copy table objects from. + + + + Gets range from string value. + + Range value represented in string. + Extracted Range. + + + + Returns string index of the specified cell. + + Cell index to locate. + String index of the specified cell. + + + + Returns TextWithFormat object corresponding to the specified cell. + + Cell index. + TextWithFormat object corresponding to the specified cell. + + + + Returns extended format for specified cell. + + Cell index. + Extended format for specified cell. + + + + Sets string index in the specified cell. + + Cell index to set sst index in. + SST index to set. + + + + Updates string indexes. + + List with new indexes. + + + + Sets active cell + + Cell to activate. + + + + Sets active cell + + Cell to activate. + + + + Gets selection with active cell. + + + + + + Returns active cell. + + Currently active cell. + + + + Tells whether specific FormulaRecord is array-entered formula. + + FormulaRecord to check. + True if it is array-entered formula. + + + + Returns height from RowRecord if there is a corresponding RowRecord. + Otherwise returns StandardHeight. + + One-based index of the row + Indicates whether to raise events on row autofitting. + + Height from RowRecord if there is corresponding RowRecord. + Otherwise returns StandardHeight. + + + + + Creates copy of the current object. + + Parent object for the new object. + Indicates whether we should clone shapes or not. + Copy of the current object. + + + + Looks through all records and calls AddIncrease for each LabelSST record. + + + + + Gets string preservation option for the range. + + Range to get value for. + True if strings are preserved for all cells of the range, + false - if it is not preserved, + null - undefined or different cells have different values. + + + + Sets the value indicating whether string should be preserved for range. + + Range to set value for. + Value to set. + + + + Sets items with used reference indexes to true. + + Array to mark used references in. + + + + Updates reference indexes. + + Array with updated indexes. + + + + Creates default pane. + + + + + Removes required number of last rows from the worksheet. + + Indicates whether to update formulas after row remove. + Number of rows to remove. + + + + Removes all formulas in colRemove from internal ArrayFormula collection. + + Formula to remove. + Indicates whether to clear range before remove operation. + + + + Autofits row. + + Row index. + One-based index of the first column to be used for autofit operation. + One-based index of the last column to be used for autofit operation. + If true then raise events. + + + + Sets inner row height. + + Row index. + Value to set. + If true then bad row height. + Current units. + if true then raise events. + + + + Returns True if row is empty;Checking only for styles. + + One-based row index to check. + True if row is empty. + + + + Returns True if row is empty + + One-based row index to check. + If true - checking for styles and value, otherwise - for value only. + True if row is empty. + + + + Returns True if column is empty. + + One-based column index to check. + True if column is empty. + + + + Indicate if column is empty. + + One-based Column index. + If true - ignore styles. + If true - column is empty. + + + + Parses Range. + + Current Range. + String where parsing is. + Current separator. + Current index of parsing string. + Index of parsed range. + + + + Gets size of string that contain cell found by cellindex. + + Cell index to Autofit. + If true then autofit Rows, otherwise - columns. + RichTextString object to use for text measuring - + to reduce time and memory consumption. + Indicates whether rotation must be ignored. + Returns new size of string. + + + + Updates indent size. + + Represents current size. + Represents extended format. + Returns updated size by indent value. + + + + Updates text width by rotation. + + String size without rotation. + Current rotation. + If true then update height otherwise - width. + Updated width or height. + + + + Copies different sheet options. + + Source sheet. + + + + This method is called after RealIndex property change. + + Old value. + + + + Creates migrant range. + + + + + Copies style from above/below/left/right after insert row/column operation. + + Index where insert operation took place. + Number of inserted rows/columns. + Insert options. + Indicates whether rows where inserted. + + + + Copies row and column settings + + Represents source row. + Represents source column. + Represents row or column + Source index + Current index + Insert option + + + + Calculates row or column index from which style must be copied + into inserted area. + + Row or column index whether insert operation was called. + Number of rows/columns to insert. + Insert options. + Update row or column index. + + + + Gets value from the cell record. + + Cell to get value from. + String representation of the cell's value. + + + + Updates dictionary with outlines after extended format removal. + + Dictionary to update. + Dictionary with updated extended formats. + + + + Converts list of cell indexes into ranges array. + + List of cell indexes. + Array with ranges. + + + + Returns Range which represents specified cell. + + Column index of the cell. + Row index of the cell. + Range which represents specified cell. + + + + Returns Range which represents specified cell. + + Column index of the cell. + Row index of the cell. + Index to extended format for new range. + Range which represents specified cell. + + + + Returns Range which represents specified cell. + + Column index of the cell. + Row index of the cell. + Index to extended format for new range. + Range which represents specified cell. + + + + Converts biff record into range. + + Record to convert. + Created range. + + + + Sets Range which represents specified cell. + + Column index of the cell. + Row index of the cell. + Range which represents specified cell. + + + + Sets cell value. + + One-based column index. + One-based row index. + Record to set into cell. + + + + Returns dimensions of the worksheet. + + Variable that receives index of the first used column. + Variable that receives index of the first used row. + Variable that receives index of the last used column. + Variable that receives index of the last used row. + + + + Updates LabelSST indexes after SST record parsing. + + Dictionary with indexes to update, key - old index, value - new index. + + + + Insert into columns. + + Represents column index. + Represents number of columns to be inserted. + Represents insert options. + + + + Remove from column. + + Represents column index. + Represents number of columns to remove. + Insert Options + + + + Updates coordinates for used range, by removing empty rows and columns if necessary. + + First row to start looking from. + First column to start looking from. + Last row to finish looking at. + Last column to finish looking at. + + + + Checks whether row is empty. + + Row index to check. + True if the whole row is empty. + + + + Checks whether column is empty. + + Column index to check. + True if the whole column is empty. + + + + Creates used range. + + Represents first row of the range. + Represents first column of the range. + Represents last row of the range. + Represents last column of the range. + + + + Prepares protection options before setting protection. + + + + + + + Method opens excel file using separator. + + Stream to reading. + Current separator. + First row to write. + First column to write. + boolen value for the valid document + + + + Read single cell value plus ending separator or new line character if present. + + Read to get data from. + Separator between cell values. + Builder to store temporary results. + Boolean value for the Valid Document. + Extracted cell value. + + + + Checks whether data inside specified string builder ends with specified string. + + Builder to check. + Separator to locate. + True if it ends with specified value. + + + + Read data from reader until it find specified character. + + Reader to read data from. + Character to locate. + Builder to put extracted data into. + BoolenValue for the ValidDocument. + + + + Parses worksheet's data. + + + + + Replaces all shared formula with ordinary formula. + + + + + Parses ColumnInfo record. + + Record to parse. + Indicates whether we should ignore styles settings. + + + + Parses row record. + + Record to parse. + Indicates whether we should ignore styles settings. + + + + Extracts calculation options. + + Position in the records array after extraction. + + + + Extracts page setup from biff records array + + Start index of the first pagesetup record. + + + + Extracts custom properties from the records array. + + Position of the first custom property record. + + + + Returns width from ColumnInfoRecord if there is corresponding ColumnInfoRecord + or StandardWidth if not. + + One-based index of the column. + Width of the specified column. + + + + Converts column width into pixels. + + Column width to convert. + Column width in pixels. + + + + Converts pixels count into column width value. + + Column width in pixels. + Column width. + + + + Returns width displayed by Excel. + + Width written in file. + Width displayed by Excel. + + + + Handler for NameIndexChanged event. + + Event sender. + Event arguments. + + + + Returns record at specified cell index. + + One-based row index. + One-based column index. + Record at specified cell index. + + + + Parses dimensions record. + + Record to parse. + + + + Creates all necessary selection records. + + + + + Re-indexes selection records. + + Dictionary with currently used selection indexes. + + + + Tries to add next pane index if necessary. + + Dictionary with pane indexes that must be present in the file. + Panes that are absent. + Indexes that are currently present. + Pane index to add. + + + + Gets free index for the selection. + + Start index to try. + Dictionary with used indexes. + Unused index that can be used as pane index. + + + + Clears the worksheet. All the data including formatting and merges are removed. + + + + + Clears the data in the worksheet. Only the data in the cells are removed. + The formatting and merges are not removed. + + + + + Indicates whether a cell was initialized or accessed by the user. + + One-based row index of the cell. + One-based column index of the cell. + Value indicating whether the cell was initialized or accessed by the user. + + + + Creates new instance of IRanges. + + New instance of ranges collection. + + + + Shows / Hides the specified column. + + One-based column index to show or hide. + TRUE - show column, FALSE - hide column. + + + + Hides the specified column. + + One-based column index to hide. + + + + Hides the specified row. + + One-based row index to hide. + + + + Shows / Hides the specified row. + + One-based row index to show or hide. + TRUE - show row, FALSE - hide row. + + + + Shows / Hides the specified range. + + Range specifies the particular range to show / hide + True - Range is visible; false - hidden. + + + + Shows/ Hides the collection of range. + + Ranges specifies the range collection. + True - Row is visible; false - hidden. + + + + Shows/ Hides an array of range. + + Ranges specifies the range array. + True - Row is visible; false - hidden. + + + + Method check is Column with specified index visible to end user or not + + Index of column + True - column is visible, otherwise False + + + + Method check is Row with specified index visible to user or not + + Index of row visibility of each must be checked + True - row is visible to user, otherwise False + + + + Returns width in pixels from ColumnInfoRecord if there is corresponding ColumnInfoRecord + or StandardWidth if not. + + One-based index of the column. + Width in Excel units of the specified column. + + + + Returns width in pixels from ColumnInfoRecord if there is corresponding ColumnInfoRecord + or StandardWidth if not. + + One-based index of the column. + Width in pixels of the specified column. + + + + Returns height from RowRecord if there is a corresponding RowRecord. + Otherwise returns StandardHeight. + + One-based index of the row + + Height from RowRecord if there is corresponding RowRecord. + Otherwise returns StandardHeight. + + + + + Returns height from RowRecord if there is a corresponding RowRecord. + Otherwise returns StandardHeight. + + One-based index of the row. + + Height in pixels from RowRecord if there is corresponding RowRecord. + Otherwise returns StandardHeight. + + + + + Imports an array of objects into a worksheet. + + Array to import. + + Row of the first cell where array should be imported. + + + Column of the first cell where array should be imported. + + + TRUE if array should be imported vertically; FALSE - horizontally. + + Number of imported elements. + + + + Checks the string object is a formula. + + The value. + + + + + + + Imports an array of objects into a worksheet. + + Array to import. + + Row of the first cell where array should be imported. + + + Column of the first cell where array should be imported. + + + TRUE if array should be imported vertically; FALSE - horizontally. + + Number of imported elements. + + + + Imports an array of strings into a worksheet. + + Array to import. + + Row of the first cell where array should be imported. + + + Column of the first cell where array should be imported. + + + TRUE if array should be imported vertically; FALSE - horizontally. + + Number of imported elements. + + + + Imports an array of integers into a worksheet. + + Array to import. + + Row of the first cell where array should be imported. + + + Column of the first cell where array should be imported. + + + TRUE if array should be imported vertically; FALSE - horizontally. + + Number of imported elements. + + + + Imports an array of doubles into a worksheet. + + Array to import. + + Row of the first cell where array should be imported. + + + Column of the first cell where array should be imported. + + + TRUE if array should be imported vertically; FALSE - horizontally. + + Number of imported elements. + + + + Imports data from a DataTable into worksheet + + DataTable with desired data + TRUE if column names must also be imported + + Row of the first cell where DataTable should be imported + + + Column of the first cell where DataTable should be imported + + Number of imported rows + + + + Imports data from a DataTable into worksheet + + DataTable with desired data + TRUE if column names must also be imported + + Row of the first cell where DataTable should be imported + + + Column of the first cell where DataTable should be imported + + Maximum number of rows to import + Maximum number of columns to import + Number of imported rows + + + + Imports data from a DataTable into worksheet + + DataTable with desired data + TRUE if column names must also be imported + + Row of the first cell where DataTable should be imported + + + Column of the first cell where DataTable should be imported + + Maximum number of rows to import + Maximum number of columns to import + Array of columns to import. + Indicates whether to preserve column types. + Number of imported rows + + + + Imports data from a DataTable into worksheet + + DataTable with desired data + TRUE if column names must also be imported + + Row of the first cell where DataTable should be imported + + + Column of the first cell where DataTable should be imported + + Maximum number of rows to import + Maximum number of columns to import + Array of columns to import. + Indicates whether to preserve column types. + Indicates whether to serialize the data table directly. + Number of imported rows + + + + Replace the string data type value into SST index. + + DataTable with desired data. + Represents shared string collection. + Date time style index. + + + + Imports data column. + + Data column to import. + Indicates whether to import field names. + Index of the first row. + Index of the first column + Number of imported rows. + + + + Imports array of data columns. + + Data columns to import. + Indicates whether to import field names. + Index to the first row. + Index to the first column. + Number of imported rows. + + + + Intersects two ranges. + + First range to intersect. + Second range to intersect. + Intersection of two ranges or null if there is no ranges intersection. + + When range1 or range2 is null. + + + + + + Replaces specified string by data table values. + + String value to replace. + Data table with new data. + Indicates whether field name must be shown. + + This can be long operation (needs iteration through all cells + in the worksheet). Better use named ranges instead and call + Import function instead of placeholders. + + + + + Replaces specified string by data table values. + + String value to replace. + Data column with new data. + Indicates whether field name must be shown. + + This can be long operation (needs iteration through all cells + in the worksheet). Better use named ranges instead and call + Import function instead of placeholders. + + + + + Removes worksheet from parent worksheets collection. + + + + + + + + + + + Sets column width. + + One-based column index. + Width to set. + + + + Sets column width in pixels. + + One-based column index. + Width in pixels to set. + + + + Save tabsheet using separator. + + File to save. + Current separator. + + + + Save tabsheet using separator. + + File to save. + Current separator. + Encoding to use. + + + + Save tabsheet using separator. + + Stream to save. + Current separator. + + + + Save tabsheet using separator. + + Stream to save. + Current separator. + Encoding to use. + + + + Save tabsheet using separator. + + Stream to save. + Current separator. + Encoding to use. + + + + Imports data table without checking arguments for correctness. + + Data table to import. + Index of the first row to import. + Index of the first column to import. + Maximum number of rows to import. + Maximum number of columns to import. + Array of columns to import. + + + + Imports data table with type preservation, but without checking arguments for correctness. + + Data table to import. + Index of the first row to import. + Index of the first column to import. + Maximum number of rows to import. + Maximum number of columns to import. + Array of columns to import. + + + + Converts object value into RangeProperty enum. + + Value to convert. + Column index in DataRowView. + Dictionary to cache results. + Corresponding RangeProperty. + + + + Raises ColumnWidthChanged event. + + Zero-based column index. + New width value. + + + + Raises RowHeightChanged event. + + Zero-based row index. + New height. + + + + This method is called when normal font changes. + + Event sender. + Event arguments. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets the value in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Value to set. + + + + Sets text in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Text to set. + + + + Sets formula in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Formula to set. + + + + Sets formula in the specified cell. + + One-based row index of the cell to set value. + One-based column index of the cell to set value. + Formula to set. + Indicates is formula in R1C1 notation. + + + + Sets blank record into cell with specified row and column. + + Row index. + Column index. + + + + Sets number record into cell with specified row and column. + + One-based row index. + One-based column index. + Value to set. + Represents xf index. + + + + Sets formula value. + + One based row index. + One based column. + Formula value to set. + Indicates whether range is represented as R1C1 notation. + + + + Sets formula number value. + + One based row index. + One based column index. + Represents formula number value for set. + + + + Sets formula error value. + + One based row index. + One based column index. + Represents formula error value for set. + + + + Sets formula bool value. + + One based row index. + One based column index. + Represents formula bool value for set. + + + + Sets formula string value. + + One based row index. + One based column index. + Represents formula string value for set. + + + + Sets string to a range. + + Row index + Column index + String value to set. + + + + Removes string from a cell. + + Row index. + Column index. + Index to extended format + + + + Returns index of an extended format for specified cell. + + One-based row index. + One-based column index. + Index to the extended format. + + + + Returns index of an extended format for specified Row. + + One-based row index. + Index to the extended format. + + + + Returns index of an extended format for specified Column. + + first column index. + last column index. + Index to the extended format. + + + + Tries to create Rk record from double value. + + Row index. + Column index. + Double that should be converted to RkRecord. + Created RkRecord if succeeded, null otherwise. + + + + Tries to create Rk record from double value. + + Row index. + Column index. + Double that should be converted to RkRecord. + Represents xf index. + Created RkRecord if succeeded, null otherwise. + + + + Creates record. + + Record to create. + One-based row index. + One-based column index. + Created biff record. + + + + Creates record. + + Record to create. + One-based row index. + One-based column index. + Represents xf index. + Created biff record. + + + + Sets formula number. Use for setting FormulaError, FormulaBoolean, FormulaNumber values. + + One based row index. + One based column index. + Represents value for set. + + + + Sets formula value. Use for setting FormulaError, FormulaBoolean, FormulaNumber, FormulaString values. + + One based row index. + One based column index. + Represents value for set. + Represents string record as formula string value. Can be null. + + + + Returns formula corresponding to the cell. + + One-based row index of the cell to get value from. + One-based column index of the cell to get value from. + Indicates whether R1C1 notation should be used. + Formula contained by the cell. + + + + Returns formula corresponding to the cell. + + One-based row index of the cell to get value from. + One-based column index of the cell to get value from. + Indicates whether R1C1 notation should be used. + Formula contained by the cell. + + + + Returns formula corresponding to the cell. + + One-based row index of the cell to get value from. + One-based column index of the cell to get value from. + Indicates whether R1C1 notation should be used. + Formula utilities to use for parsing. + Formula contained by the cell. + + + + Returns formula corresponding to the cell. + + Zero-based row index of the cell to get value from. + Zero-based column index of the cell to get value from. + Array with formula tokens. + Indicates whether R1C1 notation should be used. + Formula utilities to use for parsing. + Formula contained by the cell. + + + + Gets formula array. + + Represents formula. + Formula array. + + + + Returns string value corresponding to the cell. + + One-based row index of the cell to get value from. + One-based column index of the cell to get value from. + String contained by the cell. + + + + Returns formula string value corresponding to the cell. + + One-based row index of the cell to get value from. + One-based column index of the cell to get value from. + String contained by the cell. + + + + Returns number value corresponding to the cell. + + One-based row index of the cell to get value from. + One-based column index of the cell to get value from. + Number contained by the cell. + + + + Returns formula number value corresponding to the cell. + + One-based row index of the cell to get value from. + One-based column index of the cell to get value from. + Number contained by the cell. + + + + Gets error value from cell. + + Row index. + Column index. + Returns error value or null. + + + + Gets formula error value from cell. + + Row index. + Column index. + Returns error value or null. + + + + Gets bool value from cell. + + Represents row index. + Represents column index. + Returns found bool value. If cannot found returns false. + + + + Gets formula bool value from cell. + + Represents row index. + Represents column index. + Returns found bool value. If cannot found returns false. + + + + Indicates is has array formula. + + Represents row index. + Represents column index. + Indicates is contain array formula record. + + + + Indicates whether tokens array contains array formula reference. + + Tokens to check. + True if it refers to + + + + Gets cell type from current column. + + Indicates row. + Indicates column. + Indicates is need to indentify formula sub type. + Returns cell type. + + + + Indicates is formula in cell is formula to external workbook. + + Represents row index. + Represents column index. + If contain extern formula returns true; otherwise false. + + + + Get the idex of the first row in UsedRange + + index of first row + + + + get the index of the last row in UsedRange + + index of last row + + + + This API supports the .NET Framework infrastructure and is not intended to be used directly from your code + + + + + + Gets the first column index. + + Index of first column + + + + Gets the last column index / column count. + + Index of last column + + + + This API supports the .NET Framework infrastructure and is not intended to be used directly from your code + + + + + + Archive Item name holds the path for embedded excel file work sheet + + + + + Try to Get intersection range of given names. + + cell range string or named range string + intersection range to be got + the boolean value, indicates whether the given ranges are intersected or not + + + + Get the intersection range. + + named range collection + range address array + intersection range + + + + Check if the string is entire range or not. + + Range string to be checked + The boolean value, indicates whether the given string is entire range + + + + Add worksheet name to range address. + + range address + range address with sheet name + + + + Try to Get intersection range of external ranges. + + External cell range string or named range string + intersection range to be got + the boolean value, indicates whether the given ranges are intersected or not + + + + + Event raised when an unknown function is encountered. + + + + + Gets or sets the a object associated with implementation. + + + + + Indicates the shapes can be copied while sorting + + + + + Gets a value indicating whether this instance has sheet calculation. + + + true if this instance has sheet calculation; otherwise, false. + + + + + Gets a value indicating whether this instance has Alernate Content. + + + true if this instance has sheet AlernateContent; otherwise, false. + + + + + An event raised on the IWorksheet whenever a value changes. + + + + + Stream to preserve the worksheet slicer + + + + + Default column width mentioned in the attribute + + + + + Read-only. Access to merged cells. + + + + + Read-only. Access to column info records. + + + + + Gets or sets position of vertical split. + + + + + Gets or sets position of horizontal split. + + + + + Gets or sets first visible row in bottom pane. + + + + + Max_Coloumn width + + + + + Gets or sets first visible column in right pane. + + + + + Gets a value indicating selection count of pane. + + + + + Gets or sets the view setting of the sheet. + + + + + + Return default row height in pixel. + + + + + Returns inner names collection. Read-only. + + + + + Returns collection of cell records. Read-only. + + + + + Returns a PageSetup object that contains all the page setup settings + for the specified object. Read-only. + + + + + Gets pain record or null. Read-only. + + + + + Gets array with selection records or null. Read-only. + + + + + Indicates whether all created range objects should be cached. Default value is true. + + + + + Returns all autofilter records. Read-only. + + + + + Returns all DCon records that were met in the source document. Read-only. + + + + + Returns all Sort records that were met in the source document. Read-only. + + + + + Returns quoted name of the worksheet. + + + + + Gets or sets excel version. + + + + + Returns object used for records creation/extraction from data provider. Read-only. + + + + + + + + + + Indicates whether IsHidden property is set. + + + + + Indicates whether ZeroHeight property has enabled or not. + + + + + Specifies the number of characters of the maximum digit width of the normal style's font. + + + + + 'True' if rows have a thick bottom border by default. + + + + + 'True' if rows have a thick top border by default. + + + + + Highest number of outline levels for columns in this sheet. + + + + + Highest number of outline level for rows in this sheet. + + + + + Highest number of outline level for rows in this sheet. + + + + + Returns the rows outline level count + + + + + Returns the columns outline level count + + + + + Returns or sets the list of outline wrapper collection + + + + + Indicates whether worksheet has merged cells. Read-only. + + + + + Gets the default protection options for the worksheet. + + + + + Gets the inline strings. + + The inline strings. + + + + Preserves the External connection setting in the worksheet. + + + + + Preserves the pivot tables. + + + + + Gets or sets the boolean value to load worksheets on demand + + + + + Return or sets the columns outline levels collection + + + + + Returns the row outline levels collection + + + + + Get cell by row and index. + + + + + Get cell range. + + + + + Get cell range. + + + + + Get cell range. + + + + + Gets / sets index of the active pane. + + + + + For a Worksheet object, returns an array of Range objects that represents + all used columns on the specified worksheet. Read-only Range object. + + + + + True if page breaks (both automatic and manual) on the specified + worksheet are displayed. Read / write Boolean. + + + + + True if zero values to be displayed + False otherwise. + + + + + True if gridlines are visible; + False otherwise. + + + + + True if row and column headers are visible. + False otherwise. + + + + + Indicates if all values in the workbook are preserved as strings. + + + + + Name used by macros to access to workbook items. + + + + + Returns a PageSetup object that contains all the page setup settings + for the specified object. Read-only. + + + + + Gets or sets range indicating first visible row and column. + + + + + Read-only. Returns a Range object that represents a cell or a range of cells. + + + + + For a Worksheet object, returns an array of Range objects that represents + all the rows on the specified worksheet. Read-only Range object. + + + + + Defines whether freeze panes are applied. + + + + + Gets or sets range for vertical and horizontal split + + + + + Gets or sets standard ( default ) height of all the rows in the worksheet, + in points. Double. + + + + + Gets or sets the standard (default) height option flag, which defines that + standard (default) row height and book default font height do not match. Bool. + + + + + Returns or sets the standard ( default ) width of all the columns in the + worksheet. Read/write Double. + + + + + Returns or sets the worksheet type. Read-only OfficeSheetType. + + + + + Returns a Range object that represents the used range on the + specified worksheet. Read-only. + + + + + Indicates whether worksheet is empty. Read-only. + + + + + Returns instance of migrant range - row and column of this range + object can be changed by user. Read-only. + + + + + There are two different algorithms to create UsedRange object: + 1) Default. This property = true. The cell is included into UsedRange when + it has some record created for it even if data is empty (maybe some formatting + changed, maybe not - cell was accessed and record was created). + 2) This property = false. In this case XlsIO tries to remove empty rows and + columns from all sides to make UsedRange smaller. + + + + + Indicates whether to include CFRange in Used range. + + + + + Indicates is current sheet is protected. + + + + + Returns ImportDTHelper objects. + + + + + Indicates whether it is importing. + + + + + This event is raised after column width changed. + + + + + This event is raised after column height changed. + + + + + Gets top left cell of the worksheet. + + + + + + Get/Set the archive item name referred in the worksheet + + + + + Defines which property of IRange should be used. + + + + + Represents range value type. + + + + + Represents Blank type. + + + + + Represents Error type. + + + + + Represents Boolean type. + + + + + Represents Number type. + + + + + Represents Formula type. + + + + + Represents String type. + + + + + Delegate for outline creation. + + + + + + Represents the method that will return array of biff records for MsoDrawing record. + + + + + Event delegate for MissingFunction event. + + The CalcEngine. + The for this event. + + + + The event args for the MissingFunction event which is raised whenever the CalcEngine encounters a function + that is does not know. + + + + + Gets the name of the unknown function. + + + + + Gets the location of the missing function. + + + + + Class used for parsing Excel 2007 workbooks. + + + + + Represents HLS max value. + + + + + Represents RGB max value. + + + + + Represents undefined HLS value. + + + + + CarriageReturn ControlCharacters + + + + + LineFeed ControlCharacters + + + + + NullChar ControlCharacters + + + + + BackSpace ControlCharacters + + + + + Tab ControlCharacters + + + + + Content TypeSchema + + + + + Content Type NameSpace + + + + + Xml Schema NameSpace + + + + + Element Name + + + + + Name Attribute + + + + + Display Name Attribute + + + + + Internal Name Attribute + + + + + Ref attribute + + + + + Complex content + + + + + Parent workbook. + + + + + Formula utils. + + + + + Dictionary with all available shape parsers. Key - shape instance value, + or o:spt value; Value - shape parser. + + + + + Theme colors list. + + + + + Dictionary of theme colors: key - theme color name, value - corresponding color. + + + + + Dictionary to store the color mapping values. + + + + + Dictionary of theme override colors + + + + + Parent element name. + + + + + Represents the current worksheet. + + + + + Collecton of Outline levels + + + + + The number format indexes that are always serialized. + + + + + Initializes new instance of the parser. + + Parent workbook. + + + + Converts theme color name into rgb color value. + + Color name to get rgb color value for. + Rgb color object that corresponds to the theme color. + + + + Converts theme color name into rgb color value. + + Color name to get rgb color value for. + Dictionary that holds theme color name and color. + Rgb color object that corresponds to the theme color. + + + + + + + + + + + + Parses workbook part. + + XmlReader to extract workbook part data from. + Workbook relations. + Object that stores document data. + Absolute path in zip archive to the parent workbook. + Stream that will get all xml tags before worksheets. + Stream that will get all xml tags after named ranges section. + Workbook views collection. + + + + Parses workbook Pr tag and parses Date1904 value + + XmlReader to extract workbook part data from. + + + + Parses calculation tag and reads Precision + + XmlReader to extract workbook part data from. + + + + Extracts workbook protection options. + + XmlReader to extract protection options from. + + + + Parses workbook views. + + Reader to get data from. + Active sheet index. + Display tab index. + Workbook views collection. + + + + Parses workbook view. + + Reader to get data from. + Dictionary where key - attribute name, value - attribute value. + + + + Parses sheet (chart of worksheet). + + Reader to get data from. + Sheet to parse. + Absolute path to the parent worksheet item. + This stream will receive xml text starting just + after "worksheet" tag to "col" or "sheetData" tag. + This stream contains conditional formatting. + List with new style indexes (index - old + style index, value - new one). + Dictionary with archive items to remove after parsing. + + + + Parses worksheet before sheetData tag. + + + + + + + + + Parses sheet views. + + Reader to get data from. + Worksheet to place extracted data into. + + + + Parses single sheet view item. + + XmlReader to get data from. + Worksheet to put extracted data into. + + + + Extracts selection data. + + XmlReader to get data from. + Worksheet to put extracted data into. + + + + Extracts pane objects. + + XmlReader to get data from. + Worksheet to put extracted data into. + + + + Parses pane state. + + WindowTwo record that stores pane state flags. + State value to parse + + + + Check whether the choice denotes chartEx or not + + input XML reader + the boolean value indicates the chartEx choice or not + + + + + + + + + + + + + + Extracts default row height from sheet format properties tag. + + XmlReader to get info from. + Worksheet to put settings into. + + + + Extracts Zero row height from sheet format properties tag. + + XmlReader to get info from. + Worksheet to put settings into. + + + + This methods extracts named ranges from XmlReader. + + Reader to get information from. + + + + Parses styles of the workbook. + + XmlReader to read styles data from. + Stream that will get Dxfs formatting. + + + + Parses shared strings table. + + XmlReader to get data from. + Dictionary with updated string indexes. + + + + Parses string item. + + XmlReader to get data from. + Added string index. + + + + Parses string item. + + XmlReader to get data from. + Added string index. + + + + Extracts relations collection from XmlReader. + + Reader to extract data from. + Extracted relations collection. + + + + Extracts sheet data from reader and insets it into worksheet. + + XmlReader to get data from. + Worksheet to put data into. + List with new style indexes (index - old style index, value - new one). + Tag used for cell definition. + Dictionary with all attributes of sheetData tag. + + + + This method extracts drawings from specified XmlReader. + + XmlReader to extract data from. + Worksheet to place extracted shapes into. + Absolute path to the drawings. + List that will get relation id of the picture + (used to remove parsed relations after parsing). + Dictionary with archive items to remove after parsing. + + + + This method extracts all xml tags after SheetData tag. + + Reader to get data from. + + + + Extracts single drawing defined by TwoCellAnchor tag name from the specified XmlReader. + + XmlReader to get shape data from. + Worksheet to put extracted shape into. + Absolute path to the drawings. + Relation ids that were parsed (to remove them from the collection later). + Dictionary with archive items to remove after parsing. + + + + Parse group shape specified by "grpSp" tag and registers it in required collections. + + XmlReader to get shape data from. + Worksheet to put extracted shape into. + Absolute path to the drawings. + Relation ids that were parsed (to remove them from the collection later). + Created group shape object. + + + + This method extracts all xml tags from group shape spPr element. + + Reader to get data from. + Group shape to parse. + + + + Parses the transformation2D of group shape + + xmlreader object + group shape being parsed + + + + Extracts shape specified by "sp" tag and registers it in required collections. + + XmlReader to get data from. + Parent worksheet. + Stream that will contains xml representation of the shape if necessary. + Created shape object. + + + + Checks and returns of type if AutoShape type is . + + Custom geometry's stream. + Parent Worksheet of the . + XmlReader to extract the properties. + + + + + Tries to extract chart object from specified stream with GraphicFrame tag. + + Stream with GraphicFrame tag. + Parent worksheet. + Path to the drawing item. + Extracted chart shape; or null if chart wasn't located. + + + + Tries to extract chart object from specified stream with GraphicFrame tag. + + Stream with GraphicFrame tag. + Parent worksheet. + Path to the drawing item. + Extracted chart shape; or null if chart wasn't located. + + + + + + + + + + + Extracts extent settings from reader and converts them into pixels. + + Reader to get extent data from. + Size of the shape in pixels. + + + + Extracts anchor point from the specified XmlReader. + + Reader to get data from. + Rectangle with extracted data. + + + + Parse the row and column emu value is convert to rectangle. + + XmlReader + + + + + Parse picture shape. + + XmlReader to get picture data from. + Worksheet to place extracted shape into. + Absolute path to the drawings. + List that will get relation id of the picture + (used to remove parsed relations after parsing). + Dictionary with archive items to remove after parsing. + + + + This method extracts shape properties from the specified XmlReader. + + XmlReader to get data from. + Shape to put extracted data into. + + + + Extracts blip data from the specified XmlReader. + + Reader to get blip data from. + Shape to put extracted data into. + Worksheet drawings relations collection. + Path to the parent item. + Parent file data holder. + List that will get relation id of the picture + (used to remove parsed relations after parsing). + Dictionary with archive items to remove after parsing. + + + + Parses blip tag and sets appropriate image to the specified shape. + + Reader to get data from. + Shape to put image into. + Collection with all drawings relations. + Path to the parent item (used to resolve related relation path). + Parent file data holder. + List that will get relation id of the picture + (used to remove parsed relations after parsing). + Dictionary with archive items to remove after parsing. + + + + This method parses picture properties. + + Reader to extract data from. + Shape to put properties into. + + + + Parses non visual picture canvas properties. + + XmlReader to get data from. + Shape to place extracted data into. + + + + Parses non visual canvas properties. + + XmlReader to get data from. + Shape to store extracted data. + + + + Parses Click Hyper link properties. + + XmlReader to get data from. + Shape to store extracted data. + + + + Parses rich text run. + + XmlReader to get data from. + Index of the added string. + + + + Extracts TextWithFormat from the specified XmlReader. + + XmlReader to get data from. + Tag that means that we have to stop parsing. + Parsed text with format. + + + + + + + + + + + Parses text content. + + XmlReader to get data from. + Parsed string index. + + + + Parses text content. + + XmlReader to get data from. + Parsed string index. + + + + Extracts named styles from specified XmlReader. + + XmlReader to get data from. + List with updated font indexes, index - font index + in the file, value - font index in our document (we can change indexes during parsing). + List with extracted fill objects. + List with extracted borders. + List with indexes of created extended formats. + + + + Extracts cell formats from specified XmlReader. + + XmlReader to get data from. + List with updated font indexes, index - font index + in the file, value - font index in our document (we can change indexes during parsing). + List with extracted fill objects. + List with extracted borders. + List with updated parent indexes, index - xfId in + the xml document, value - xf index in our internal collection. + List with indexes of created extended formats. + + + + Parses named style settings (name, etc.). + + XmlReader to get data from. + List with modified indexes to named + style's extended formats. + + + + Converts style name sting to Ascii string + + + + + + + Parses single style object. + + XmlReader to get data from. + List with modified indexes to named + style's extended formats. + + + + Extracts single extended format from the XmlReader. + + XmlReader to get data from. + List with updated font indexes, index - font index + in the file, value - font index in our document (we can change indexes during parsing). + List with extracted fill objects. + List with extracted borders. + List with updated parent indexes. + Created ExtendedFormat object. + + + + Parse alignment and protection properties for extended format + if they are present in the document. + + XmlReader to get data from. + ExtendedFormatRecord to put data into. + + + + Parses alignment settings. + + XmlReader to get alignment data from. + Record to write alignment data into. + + + + Parses protection settings. + + XmlReader to get protection data from. + Record to write protection data into. + + + + Extracts Include (IncludeAlignment, IncludeFont, etc.) attributes from XmlReader. + + XmlReader to get data from. + ExtendedFormat to put data into. + + + + This method extracts font, fill and border settings from specified + XmlReader and sets inside specified ExtendedFormat. + + XmlReader to get data from. + Extended format to put data into. + List with updated font indexes, index - font index + in the file, value - font index in our document (we can change indexes during parsing). + List with extracted fill objects. + List with extracted borders. + + + + Copies border settings from specified borders collection into ExtendedFormatImpl. + + BordersCollection to copy settings from. + Format object to copy into. + + + + Extracts single relation item from the reader and puts it into relations collection. + + XmlReader to extract relation from. + Relations collection that should get extracted value. + + + + Parses sheet options. + + XmlReader to extract sheet options from (name, visibility, relation, etc.). + Workbook relations. + Object that holds document data. + Absolute path in zip archive to the parent workbook. + + + + Parses sheet entry from workbook item. + + Reader to extract data from. + Workook's relations collection. + FileDataHolder that stores document data. + Absolute path in zip archive to the parent workbook. + + + + Sets sheet visibility. + + Worksheet to set visibility into. + Visibility string value. + + + + + + + + + + + + + Extracts single MergeRegion from reader and inserts it into collection inside worksheet. + + XmlReader to get data from. + Named range value. + + + + Extracts fonts from XmlReader. + + XmlReader to get data from. + List with new font indexes. + + + + Extracts font object from specified XmlReader. + + Reader to read font data from. + List to add new font index into. + + + + Extracts font settings from specified XmlReader. + + Reader to read font data from. + Font to extract data into. + + + + Parses the family. + + The reader. + + + + + Extracts + + + + + + + Extracts collection of number formats from specified reader. + + XmlReader to get data from. + + + + Extracts single number format entry from specified reader. + + Reader to extract from. + + + + Extracts color from XmlReader. + + XmlReader to get data from. + Extracted color index (on the current moment we support only indexed colors). + + + + Extracts color from XmlReader. + + XmlReader to get data from. + Color object to put extracted values into. + + + + Extracts backgroundcolor from XmlReader. + + XmlReader to get data from. + Color object to put extracted values into. + + + + Applies tint to the specified color. + + Color to apply tint value to. + Tint value to apply. + Color after applying tint value. + + + + Applies tint to the specified color. + + Color to apply tint value to. + Tint value to apply. + Color after applying tint value. + + + + Calculate double value from int. + + + double value + + + + Calculate int value from double. + + + int value. + + + + Converts color to HLS values. + + Color to convert. + Hue value. + Luminance value. + Saturation value. + + + + Converts HLS components to RGB color values and returns Color, according to this values. + + Hue value. + Luminance value. + Saturation value. + + + + + Converts Hue value to RGB single component. + + Magic number 1. + Magic number 2. + Hue value. + RGB component value. + + + + Extracts boolean value from the current xml tag. + + XmlReader to get value from. + Name of the attribute where value is stored. + Default value (when there is no attribute specified). + Extracted value. + + + + Extract value of the attribute from reader. + + XmlReader to get data from. + Name of the attribute to extract. + Extracted value; or null if there were no attribute with such name. + + + + Extracts fill objects from XmlReader. + + XmlReader to get data from. + List with all extracted fills. + + + + Extracts single fill object from specified XmlReader. + + XmlReader to read fill data from. + Indicates whether fore and back colors should be swapped. + Extracted Fill object. + + + + Extracts single gradient fill object from specified XmlReader. + + XmlReader to read gradient fill from. + Extracted gradient fill object. + + + + Extracts single path gradient fill object from specified XmlReader. + + XmlReader to read gradient fill from. + Extracted path gradient fill object. + + + + Extracts stop colors from specified XmlReader. + + XmlReader to read stop colors from. + Colors list. + + + + Extracts single linear gradient fill object from specified XmlReader. + + XmlReader to read linear gradient fill from. + Extracted linear gradient fill object. + + + + Sets gradients fill style and variant values according to degree value. + + Fill to set data into. + Degree value. + + + + Extracts attribute value. + + XmlReader to extract attribute value from. + Attribute name. + Attribute double value. + + + + Extracts pattern fill from specified XmlReader. + + XmlReader to get data from. + Indicates whether fore and back colors should be swapped. + Extracted fill object. + + + + Converts specified string in MS Excel 2007 pattern format into pattern value. + + Value to convert. + Converted value. + + + + Extracts border objects from XmlReader. + + XmlReader to get data from. + List with new borders indexes. + + + + Extracts border collection from specified XmlReader. + + XmlReader to get data from. + Extracted borders collection. + + + + Extracts single border from the XmlReader. + + XmlReader to get data from. + Output - index of the extracted border (left, top, etc.). + Extracted border. + + + + Extracts row data from reader and inserts it into worksheet. + + XmlReader to get data from. + Worksheet to put data into. + Style hashtable. Key - recovered from xml extended format id, + value - extended format index in workbook collection. + Current row id. + + + + Extracts cell from reader and inserts it into worksheet. + + XmlReader to get data from. + Worksheet to put data into. + Style hashtable. Key - recovered from xml extended format id, + value - extended format index in workbook collection. + + + + Returns type of the cell. + + String representation of the cell type. + + + + + Extracts formula from reader and inserts it into worksheet. + + XmlReader to get data from. + Worksheet to put data into. + Current row index. + Current column index. + Extended format index. + + + + Extracts and fills palette settings from specified XmlReader. + + XmlReader to get palette from. + + + + + + + + + + Parses columns collection. + + XmlReader to get data from. + Worksheet that will store extracted data. + List with new style indexes. + + + + + + + + + + + + + + + + + Extracts themes. + + XmlReader to get data from. + + + + Skips the white spaces in the XML. + + + + + + Extracts theme colors. + + XmlReader to get data from. + Dictionary that will be filled with theme colors, + key - color name, value - color value. + Returns theme colors list. + + + + Extracts sheet-level properties from reader and inserts it into worksheet. + + XmlReader to get data from. + Worksheet to put data into. + + + + Parses worksheet page setup properties. + + Reader to extract data from. + Object to put extracted data into. + + + + Parses worksheet outline properties. + + Reader to get data from. + Page setup to put data into. + + + + Parses external link file. To set URL field we have to have access to + relations, so it is better to do it in some other place. + + XmlReader to get data from. + Item's relations. + + + + Parses the OLE object link. + + The reader. + The relations. + + + + + + + + + + + Extracts external names from the reader. + + XmlReader to get data from. + External workbooks to put defined names into. + + + + Extracts single external name from the reader. + + XmlReader to get external name data from. + External workbook to put extracted name into. + + + + Extracts cached external data. + + XmlReader to get data from. + External workbook to put cache into. + + + + Extracts single external worksheet cached data from XmlReader. + + XmlReader to get cached data from. + External workbook to place extracted data into. + + + + Creates external workbook. + + Relations collection that helps to locate external workbook. + Relation id of the target workbook. + Name of the workbook's worksheets. + + + + + Extract names of external worksheets from the reader. + + XmlReader to get data from. + List with extracted names. + + + + Parses workbook part of the external links description. + + Reader to get data from. + + + + Parses single external link from the workbook. + + Reader to get link information from. + + + + Creates cell record. + + Cell type. + Record value. + Current cells collection. + Represents column index. + Represents row index. + Represents extended format index. + + + + Sets formula value. + + Worksheet to set formula value into. + Cell type. + Value to set. + Represents row index. + Represents column index. + + + + Sets array formula record into worksheet. + + Worksheet to put data into. + Formula string to insert. + Cell range of the formula. + Extended format index. + + + + Sets shared formula record into worksheet. + + Worksheet to put data into. + Formula string to insert. + Cell range of the formula. + Shared formula group index. + Current row index. + Current column index. + Extended format index. + + + + Converts color by applying shade value. + + Color to process. + Shade to apply. + Modified color. + + + + Copies fill settings from fill object into extended format. + + Fill to copy from. + Extended format to copy into. + + + + Parse the theme overrided colors from the chart + + Input chart object + the parsed theme colors + + + + Gets FformulaUtil that corresponds to invariant culture. + + + + + Gets the worksheet. + + The worksheet. + + + + Gets the workbook. + + The workbook. + + + + This class is responsible for vml shape and shape type parsing. + + + + + Saves current node into stream. + + Reader to get node from. + Stream with current node's data. + + + + Saves current node into stream. + + Reader to get node from. + Stream with current node's data. + + + + Reads node from the stream and writes it into XmlWriter. + + Writer to write node into. + Stream to get node from. + + + + Reads node from the stream and writes it into XmlWriter. + + Writer to write node into. + Stream to get node from. + + + + This class is used to parse text box shape. + + + + + Extracts text box settings from XmlReader. + + TextBox to fill with settings. + XmlReader to get data from. + Parser used to help in parsing process. + + + + Parses non visual shape properties. + + Shape to be parsed. + XML reader to extract data from. + Parser used to help in parsing process. + + + + Parses shape properties. + + TextBox to be parsed. + XML reader to extract data from. + Parser used to help in parsing process. + + + + Parses rich text. + + XmlReader to read rich text from. + Parser object that helps to extract data. + TextBox to be parsed. + + + + Parses text area body properties. + + XmlReader to read body properties from. + Text area to put body properties into. + Textbox to be parsed. + + + + Parses text rotation value. + + Rotation value to parse. + TextBox to put extracted value into. + + + + Parses anchor (vertical alignment). + + Anchor value to parse. + TextBox to put extracted value into. + + + + Extracts list styles for a text area. + + XmlReader to extract list styles from. + Text area that will get extracted settings. + + + + Parses paragraph. + + XmlReader to get paragraph tag from. + Text box that needs its paragraph text to be parsed. + Parser object that helps to extract data. + + + + Extracts paragraph properties + + XmlReader to get data from. + TextBox to put data into. + + + + Parses paragraph run. + + XmlReader to get paragraph run from. + Text area to put extracted properties into. + Parser object that helps to extract data. + + + + Parses paragraph run. + + XmlReader to extract paragraph tag from. + Text area that will get paragraph run information (formatting and text). + Parser object that helps to extract data. + Font attributes of the paragraph run. + + + + Serialize line properties. + + XmlReader to serialize into. + Chart line properties to serialize. + Indicates whether border is rounded or not + Excel2007Parser to help in extraction process. + + + + Font name. + + + + + Font size. + + + + + Value indicating whether font is bold. + + + + + Value indicating whether text + + + + + Value indicating whether text is underlined. + + + + + Value indicating whether text is striked. + + + + + Language used to display text. + + + + + Font color. + + + + + Represents the baseline properties + + + + + Specifies the minimum font size at which character kerning occurs for this text run. + default -1, it was non negative on chart style + + + + + Specifies the spacing between characters within a text run. + default -1, it was non negative + + + + + Adds slash ('/') before the file name if necessary. + + + + + Initializes a new instance of the AddSlashPreprocessor class. + + + + + Somehow converts full path into name that will be stored in the zip archive. + + Name to process. + Converted name. + + + + Class used for holding border settings. + + + + + Returns or sets the primary color of the object. + Read/write ExcelKnownColors. + + + + + Represents border line style. + + + + + This field is used only by Diagonal borders. For any other + border index property will have no influence. + + + + + Specifies a boolean value that indicate whether the border setting has a empty border + + + + + Initializes a new instance of the BorderSettingsHolder class. + + + + + Creates a shallow copy of the current System.Object. + + A shallow copy of the current System.Object. + + + + Gets or sets the primary color of the object. + Read/write ExcelKnownColors. + + + + + Gets color of the border. + + + + + Gets or sets color of the border. + + + + + Gets or sets the line style for the border. Read/write OfficeLineStyle. + + + + + Gets or sets a value indicating whether to show Diagonal lines. This property is used only by Diagonal borders. For any other border + index property will have no influence. + + + + + Specifies a boolean value that indicate whether the border setting has a empty border + + + + + Parent object for this object. + + + + + This class is responsible for chart axis parsing. + + + + + Default font name. + + + + + Default axis font size. + + + + + Represents dictionary for Ticklabel to Attribute value. + + + + + Represents dictionary for TickMark to Attribute value. + + + + + Represents axis id of the bar series. + + + + + Indicate whether series is bar chart or not + + + + + Initializes static members of the ChartAxisParser class. + + + + + Extracts date axis from XmlReader. + + XmlReader to serialize into. + Axis to serialize. + Chart item relations. + Prognosed type of the chart (or chart part) that is being parsed. + + + + Serializes category axis. + + XmlReader to extract data from. + Axis to serialize. + Chart item relations. + Prognosed type of the chart (or chart part) that is being parsed. + + + + Extracts value axis. + + XmlReader to extract axis from. + Axis to put extracted data into. + Chart item relations. + Prognosed type of the chart (or chart part) that is being parsed. + + + + Extracts series axis data. + + XmlReader to extract data from. + Axis to put extracted data into. + Chart item relations. + Prognosed type of the chart (or chart part) that is being parsed. + + + + Extracts common part of the axis. + + XmlReader to extract data from. + Axis to serialize. + Relations collection for chart item that is being parsed. + Prognosed type of the chart (or chart part) that is being parsed. + + + + Extracts chart axis text properties from the reader. + + XmlReader to get data from. + Axis to put extracted data into. + + + + Extracts text body properties + + XmlReader to get data from. + Axis to put extracted data into. + + + + Parses crosses xml tag. + + XmlReader to extract data from. + Axis to put extracted data into. + + + + Parses cross axis tag. + + XmlReader to extract data from. + Axis to put extracted data into. + + + + Extracts tick mark. + + XmlReader to extract data from. + Extracted value. + + + + Extracts tick label position. + + XmlReader to extract data from. + Axis to set tick label position. + + + + Extracts number format used by the axis. + + XmlReader to extract data from. + Axis to put extracted number format into. + + + + Extracts single gridline object. + + XmlReader to extract data from. + Gridlines to put extracted data into. + Parent file data holder. + Chart item relations. + + + + Extracts axis position. + + XmlReader to extract data from. + Axis to serialize. + Extracted Axis position. + + + + Extracts scaling tag and all necessary child tags. + + XmlReader to serialize into. + Extracted Axis scale. + + + + Extracts display unit from XmlReader. + + XmlReader to extract data from. + Axis to put extracted data into. + + + + Extracts built-in display unit. + + XmlReader to get value from. + Value axis to put extracted value into. + + + + Parses additional tags of category axis. + + XmlReader to get data from. + Axis to put data into. + Chart relations. + + + + Parses additional tags of date axis. + + XmlReader to get data from. + Axis to put data into. + Chart relations. + + + + Parses additional tags of value axis. + + XmlReader to get data from. + Axis to put data into. + Chart relations. + + + + Parses additional tags of series axis. + + XmlReader to get data from. + Axis to put data into. + Chart relations. + + + + This class is responsible for chartEx axis parsing + + + + + Select and Parse the chartEx axis from the reader + + input XML reader + input secondaryAxisId + input chart + input chart relation collections + excel 2007 parser + input file data holder + + + + Extracts display unit from XmlReader. + + XmlReader to extract data from. + Axis to put extracted data into. + + + + Parse the Axis attributes return the axis values + + input XML reader + output axis hidden value + output axis id value + + + + Parse the chart axis (category or value scaling element) attributes + + input XML reader + input chart Axis + boolean value indicates whether the axis is value or category + + + + Extracts tick mark. + + XmlReader to extract data from. + Extracted value. + + + + Class used for representing chart axis scale. + + + + + Represents logarithmic scale. + + + + + Indicates whether datapoint plot from last to first. + + + + + Represents maximum value. + + + + + Represents minimum value. + + + + + Represents the log base. + + + + + Method used to copy the axis scale. + + Represents Chart value axis. + + + + This class is responsible for chart axis serialization. + + + + + Defines text rotation multiplier constant. + + + + + Represents dictionary for TickLabel to Attribute value. + + + + + Represents dictionary for TickMark to Attribute value. + + + + + Initializes static members of the ChartAxisSerializator class. + + + + + Serializes chart axis. + + XmlWriter to serialize into. + Axis to serialize. + + + + Serializes date axis. + + XmlWriter to serialize into. + Axis to serialize. + + + + Convert date unit to string. + + ExcelChartBaseUnit to serialize. + Date unit as string. + + + + Serializes category axis. + + XmlWriter to serialize into. + Axis to serialize. + + + + Serializes value axis. + + XmlWriter to serialize into. + Axis to serialize. + + + + Serializes series axis. + + XmlWriter to serialize into. + Axis to serialize. + + + + Serializes common part of the axis. + + XmlWriter to serialize into. + Axis to serialize. + + + + Returns pair for the specified axis, it is category axis for value axis and vice versa. + + Axis to get pair for. + Pair for the specified axis. + + + + Serializes cross axis. + + XmlWriter to serialize into. + Axis to serialize. + + + + Serializes tick mark. + + XmlWriter to serialize into. + Tag name to use. + Tick mark to serialize + + + + Serializes tick label position. + + XmlWriter to serialize into. + Axis to get tick label position from. + + + + Serializes number format used by the axis. + + XmlWriter to serialize into. + Axis to serialize number format for. + + + + Serializes axis gridlines. + + XmlWriter to serialize into. + Axis to serialize gridlines for. + + + + Serializes single gridline object. + + XmlWriter to serialize into. + Gridlines to serialize. + Name of the xml tag to use. + Parent workbook. + + + + Serializes axis position. + + XmlWriter to serialize into. + Axis to serialize. + + + + Serializes scaling tag and all necessary child tags. + + XmlWriter to serialize into. + Axis to serialize settings for. + + + + Serializes display unit. + + XmlWriter to serialize into. + Value to serialize. + Custom unit value (used only if displayUnit is set to custom). + + + + Serializes text settings. + + XmlWriter to serialize into. + Axis to serialize settings for. + + + + Serializes text settings. + + XmlWriter to serialize into. + + + + Object that gives access to border, interior and fill of the ChartSerieDataFormatImpl. + + + + + Provides access to filling options (border, interior and fill) of some chart object. + + + + + Gets border object. Read-only. + + + + + Gets interior object. Read-only. + + + + + Gets fill object. Read-only. + + + + + Gets Shadow object.Read-only + + + + + Gets the three_ D.Read-only + + + + + Parent data format to get fill objects from. + + + + + Initializes a new instance of the ChartFillObjectGetter class. + + Parent data format. + + + + Gets chart border object. Read-only. + + + + + Gets chart interior object. Read-only. + + + + + Gets chart fill object. Read-only. + + + + + Gets Shadow object.Read-only + + + + + + Gets the three_ D.Read-only + + + + + + Object that gives access to border, interior and fill. + + + + + Border object. + + + + + Interior object. + + + + + Fill object. + + + + + Shadow object + + + + + Three_D object + + + + + Initializes a new instance of the ChartFillObjectGetterAny class. + + Border object to use. + Interior object to use. + Fill object to use. + + + + Gets border object. Read-only. + + + + + Gets chart interior object. Read-only. + + + + + Gets fill object. Read-only. + + + + + Gets Shadow object.Read-only + + + + + + Gets the three_ D.Read-only + + + + + + This class is responsible for charts parsing. + + + + + Excel engine. + + + + + Extracts chart from XmlReader. + + XmlReader to serialize into. + Chart to serialize. + Chart item relations. + version of the app. + + + + Calculate chart with shapes position. + + Chart impl + chart width + chart height + + + + Parse the invert solid fill format. + + Preserved stream. + Chart serie. + returns the color object. + + + + Extracts chart from XmlReader. + + XmlReader to serialize into. + Chart to serialize. + Chart item relations. + + + + Assign the key as chart group for common data points collection + + chart to be changed + + + + Extracts data lables from chart. + + XmlReader to extract data from. + Parent Chart + Chart item relations. + chart group identified by this values,added to dictionary + + + + Serializes data label for single data point. + + XmlReader to extract data from. + Parent Chart + Chart item relations. + chart group identified by this values,added to dictionary + + + + Parse the stream and set the style id for the chart + + input alternate content stream + the input chart + + + + Parses the Chart default text properties. + + The Xml reader to parse from. + The chart to put the extracted data. + + + + Parses chart body properties + + + + + + + Parses Chart Paragraph Properties + + + + + + + Checks Default Text Settings for the axis. + + + + + Parses user shapes. + + XmlReader to serialize into. + Chart to serialize. + Chart item relations. + + + + Parses main chart xml tag. + + XmlReader to extract data from. + Chart to put extracted data into. + Chart's relations. + + + + Parse the chart title / legend attributes for chart Ex + + input XML reader + output isoverlay boolean value + output position value + + + + Copies 3D settings from Chart3DRecord into chart. + + Chart to copy data into. + Record to copy data from. + + + + Extracts chart legend from XmlReader. + + XmlReader to extract data from. + Chart legend to put extracted data into. + Chart object that stores specified legend. + Chart relations collection. + + + + Convert the chartExLegend position and returns the chart legend position + + position short value + the chart legend position value + + + + Extracts legend entry from specified reader. + + XmlReader to extract legend entry from. + Legend to put extracted legend entry into. + Excel2007Parser object to use if necessary. + + + + Extracts 3-D view options from XmlReader. + + XmlReader to get data from. + Chart to put extracted options into. + Record with 3D view settings. + + + + Serializes error bars. + + XmlReader to extract data from. + Series to put extracted error bars into. + Chart item relations. + + + + Extracts error bar range. + + XmlReader to extract data from. + Represents Workbook. + Extracted range. + + + + Extracts trendlines collection. + + XmlReader to extract data from. + Series to put extracted data into. + Chart item relations. + + + + Extracts trend line. + + XmlReader to extract data from. + Series to put extracted data into. + Chart item relations. + + + + Extracts trend line label settings. + + XmlReader to extract data from. + Data label to serialize. + + + + Serializes surface (wall or floor). + + XmlWriter to serialize into. + Surface to serialize. + Parent data holder. + Drawing's relations. + + + + Extracts plotarea tag from XmlReader. + + XmlReader to get data from. + Chart to put extracted data into. + Chart item relations. + + + + parse the bar chart + + + + + Parses bar chart. + + XmlReader to extract chart from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Parse the Filtered Series + + + + + + + + + + + + Stores extracted axis id inside structures for future use. + + XmlReader to get data from. + Series list. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Parses bar 3D chart. + + XmlReader to extract chart from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts shape of the bar chart. + + XmlReader to extract data from. + Chart serie data format. + + + + Extracts part of the bar chart that is common for all bar charts. + + XmlReader to extract data from. + Chart to put extracted data into. + Chart item relations. + Indicates whether we are parsing 3D chart. + List that will get extracted series. + First extracted series. + + + + Parse Secondary Axis Filter + + + + + + + + + + + + + When we parsing the categoryfiltered chart, we need to find the filtered category + + + + + + + + + + Supporting method for Find Filter + + + + + + + + Find the series or category Range + + + + + + + + + + Find series in Row or Column. + + + + + + + Converts direction and grouping values into type of bar series. + + Represents direction of bar series. + Represents series grouping value. + Indicates whether we are parsing 3D chart. + Extracted chat type. + + + + Converts grouping value into type of area series. + + Area series grouping value. + Indicates whether we are parsing 3D chart. + Area chart type that corresponds to grouping and is3D values. + + + + Converts grouping value into type of line series. + + Line series grouping value. + Indicates whether we are parsing 3D chart. + Line chart type that corresponds to grouping and is3D values. + + + + Extracts area3D chart. + + XmlReader to extract data from. + Chart to serialize. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts area chart from XmlReader. + + XmlReader to get data from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts properties common to the area chart. + + XmlReader to extract data from. + Chart to put extracted data into. + Indicates whether we are parsing 3D chart. + Chart item relations. + List that will get extracted series. + + + + This method extracts common properties of the line charts. + + XmlReader to extract data from. + Chart to put extracted data into. + Indicates whether we are parsing 3D chart. + Chart item relations. + List that will get extracted series. + One of the extracted series. + + + + Extracts line3DChart from XmlReader. + + XmlReader to extract line 3d chart from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts line chart. + + XmlReader to extract data from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts bubble chart. + + XmlReader to extract data from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts 2-D surface chart from XmlReader. + + XmlReader to extract data from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts common part of the surface charts. + + XmlReader to extract data from. + Chart to put extracted data into. + Indicates whether we are parsing 3D chart. + Chart item relations. + List that will get extracted series. + + + + Extracts band formats from the stream. + + + + + + + Returns type of the series to create. + + Indicates whether surface is wireframe or not. + Indicates whether we are parsing 3D chart. + Surface chart type. + + + + Extracts radar chart. + + XmlReader to extract data from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts scatter chart. + + XmlReader to extract chart from. + Chart to serialize. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts pie chart. + + XmlReader to extract data from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts 3-D pie chart. + + XmlReader to extract data from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts pie of pie or pie of bar chart. + + XmlReader to extract data from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts stock chart. + + XmlReader to extract from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts hi-low lines object from xml reader. + + XmlReader to extract data from. + Series object to extract. + + + + Extracts doughnut chart. + + XmlReader to extract data from. + Chart to put extracted data into. + Chart item relations. + Dictionary with axis id, key - series index, value - axis index (category or value). + + + + Extracts common properties of a pie charts. + + XmlReader to extract data from. + Chart to put extracted data into. + Type of the series to create. + Chart item relations. + List that will get extracted series. + One of the parsed series. + + + + Extracts data lables. + + XmlReader to extract data from. + Parent series. + + + + Serializes data label for single data point. + + XmlReader to extract data from. + Chart series to put extracted data into. + + + + Extracts data labels settings. + + XmlReader to extract data from. + Data labels to put extracted data into. + Excel2007Parser to use if necessary. + + + + Parse the DataLeabels extension lists + + XmlReader to extract data from. + Data labels to put extracted data into. + File Data Holder + Chart item relations. + + + + Parse the DataLables Extension and leaderlines. + + XmlReader to extract data from. + Data labels to put extracted data into. + File Data Holder + Chart item relations. + + + + Parse the DataLables leader lines. + + XmlReader to extract data from. + Data labels to put extracted data into. + File Data Holder + Chart item relations. + + + + Parses single chart series of a bar chart. + + XmlReader to extract series from. + Parent chart object. + Type of the series to create. + Extracted chart series. + Chart item relations. + + + + Parse Series or category name filter + + + + + + + Parse data labels range. + + Xml reader + Chart series. + + + + parse datalabel range cache. + + Xml reader. + Chart series. + + + + Parses single chart series of a surface chart. + + XmlReader to extract series from. + Parent chart object. + Type of the series to create. + Extracted chart series. + Chart item relations. + + + + Extracts single chart series for pie chart. + + XmlReader to extract data from. + Chart to put extracted data into. + Type of the series to extract. + Chart item relations. + Extracted series. + + + + Parse the data label visibilty settings for chart series + + input XML reader + Data labels visibilty to be set + + + + Extracts line series. + + XmlReader to extract data from. + Chart to put extracted series into. + Type of the extracted series. + Chart item relations. + Extracted series. + + + + Extracts scatter series. + + XmlReader to extract series data from. + Chart to put extracted series into. + Type of the series to extract. + Chart item relations. + Extracted series. + + + + Extracts radar series. + + XmlReader to extract data from. + Chart to put extracted data into. + Type of the series to create. + Chart item relations. + Extracted series. + + + + Extracts single chart series for bubble chart. + + XmlReader to extract data from. + Chart to put extracted series into. + Extracted series. + Chart item relations. + + + + Extracts single chart series for area chart. + + XmlReader to extract data from. + Chart to put extracted series into. + Type of the series to extract. + Chart item relations. + Extracted series. + + + + Parses common part of the series. + WARNING: this method doesn't call last Read(), so this call + must be made by parent item after series parsing complete. + + XmlReader to extract data from. + Series to put extracted data into. + Chart item relations. + + + + Parses name of the series. + + XmlReader to extract data from. + Series to put extracted name into. + + + + Parses single data point. + + XmlReader to extract from. + Series to put data point into. + Parent relations. + + + + Extracts series values. + + XmlReader to extract data from. + Series to parse values for. + Array of series values. + Indicates whether axis is ValueAxis or CategoryAxis. + Range referencing series values. + + + + Extracts null reference tag. + + XmlReader to extract data from. + String which is enclosed inside the formula tag. + + + + Filtered Number Reference + + + + + + + + + Extracts string reference tag. + + XmlReader to extract data from. + String which is enclosed inside the formula tag. + + + + Filtered series range + + + + + + + + Extracts multi level string reference tag. + + XmlReader to extract data from. + String which is enclosed inside the formula tag. + + + + Parse the multi level string cache of the chart. + + XmlReader to extract the data from. + Chart Series to set the multi level cache data to. + Tag name to start parsing. + + + + + Extracts series marker from XmlReader. + + XmlReader to extract data from. + Series to serialize marker for. + + + + Parser marker fill. + + Reader to get fill information from. + Data format to put extracted marker information into. + Parser to help with color parsing. + + + + Extracts up/down bars. + + XmlReader to extract data from. + Series to put up/down bars into. + Chart item relations. + + + + Extracts single drop bar (up or down bar). + + XmlReader to extract data from. + Drop bar to put extracted data into. + Parent file data holder. + Chart item relations. + + + + This method extracts chart data table. + + XmlReader to extract data table from. + Chart to put extracted data into. + + + + Extracts series formatting options. + + XmlReader to extract formatting from. + Series to extract formatting from. + Chart item relations. + + + + Extracts default text formatting. + + XmlReader to extract data from. + Object with text formatting. + Excel2007Parser to use if necessary. + + + + Extracts number or string value from the reader. + + XmlReader to get value from. + Extracted object. + + + + Class used to parse the chartEx (Excel 2016 charts) + + + + + Extracts chart from XmlReader. + + XmlReader to serialize into. + Chart to serialize. + Chart item relations. + + + + Parse the chart data from the reader + + input XML reader + input chart + input chart relations + the chart data parsed + + + + Parse the external Data attributes and store it in chart + + input XML reader + input chart + + + + Parse the every Data node of collection and returns the list + + input XML reader + input chart + relation + the chart data parsed + + + + Parse the (string/numeric) dimension data + + input XML reader + input cache + + + + Parse the (string/numeric) data values + + input XML reader + input cache + boolean value indicates whether the dimension is string or numeric + + + + Parse the chart element data from the reader + + input XML reader + input chart + input chart relations + Chart serie Index and dataId pair + + + + Parse the chart plot area from the reader + + input XML reader + input chart + input chart relations + excel 2007 parser + Chart serie Index and dataId pair + + + + Parse the chart plot area region from the reader + + input XML reader + input chart + input chart relations + excel 2007 parser + secondary axis Id + The collection of data Id and series index pair + + + + + Parse the pareto line format + + input XML reader + input Pareto Line format + input File Data holder + input chart relations + Returns the axis id integer value + + + + Parse the ChartEx series and set the chart type and format Index + + input XML reader + input chart + output pareto line series + the output series + + + + Parse the chartEx series properties and set the series settings + + input XML reader + input chartEx series + input relation collections + + + + Parse the binning properties for histogram and pareto charts + + input XML reader + input chart serie data format + + + + Parse the chartEx series visibility for series + Box and whisker , waterfall chart + + input XML reader + input Serie Data Format + + + + Parse the chart plot area surface from the reader + + input XML reader + input chart + input chart relations + excel 2007 parser + + + + Parse the chart axes from the reader + + input XML Reader + input secondaryAxis ID + hashCodeList to identify the + Parser used to parse the Axis + input chart + Input File Data Holder + Excel 2007 parser + input chart relations + the hashcode for an axis, which will not be further modified + + + + Parse the Axis element and retruns the required axis + + input axis reader + input Axis Parser + input chart + current parsed axis id + secondary axis id + + + + + Parse the data label visibilty settings for chart series + + input XML reader + Data labels visibilty to be set + + + + Class used for parsing charts. + + + + + Contains chart line pattern values. + + + + + Initializes static members of the ChartParserCommon class. + + + + + Parses text area. + + XmlReader to extract data from. + Text area to put extracted data into. + Parent data holder object. + Chart's relations. + + + + Parses text area. + + XmlReader to extract data from. + Text area to put extracted data into. + Parent data holder object. + Chart's relations. + Default font size. + + + + Parses text area tag. + + XmlReader to extract data from. + Text area to put extracted data into. + Parent data holder object. + Chart's relations. + Default font size. + + + + Extracts default text formatting. + + XmlReader to extract data from. + Object with text formatting. + Excel2007Parser to use if necessary. + + + + Extracts value from XmlReader.. + + XmlReader to extract data from. + Extracted value. + + + + Assigns default value for val attribute. + + LocalName of the current tag. + Assigned value. + + + + Extracts boolean value from xml tag. + + XmlReader to extract data from. + Extracted value. + + + + Extracts int value from xml tag. + + XmlReader to extract data from. + Extracted value. + + + + Extracts double value from xml tag. + + XmlReader to extract data from. + Extracted value. + + + + Extracts Line properties of chart. + + XmlReader to extract data from. + Chart line properties to parse. + Excel2007Parser to help in extraction process. + + + + Extracts pattern fill. + + XmlReader to extract data from. + Fill to put extracted data into. + Excel2007Parser to help in extraction process. + + + + Extracts solid fill. + + XmlReader to extract data from. + Interior to put extracted data into. + Excel2007Parser to help in extraction process. + + + + Extracts solid fill. + + XmlReader to extract data from. + Object that is used to help in color parsing. + Color object to put extracted color into. + + + + Extracts solid fill. + + XmlReader to extract data from. + Object that is used to help in color parsing. + Color object to put extracted color into. + + + + Extracts rgb color. + + XmlReader to extract data from. + Extracted color. + + + + Extracts rgb color. + + XmlReder to extract data from. + Alpha component of the extracted color (0-100000). + Tint part of the extracted color (0-100000) or -1 if no tint part was present. + Shade part of the extracted color (0-100000) or -1 if no shade part was present. + Extracted color. + + + + Extracts scheme color and converts it into rgb. + + XmlReader to extract data from. + Excel2007Parser to help in extraction process. + Extracted color. + + + + Extracts scheme color and converts it into rgb. + + XmlReader to extract data from. + Output alpha value. + Excel2007Parser to help in extraction process. + Extracted color. + + + + Extracts preset color and converts it into rgb. + + XmlReader to extract data from. + Output alpha value. + Excel2007Parser to help in extraction process. + Extracted color. + + + + Extracts system color and converts it into rgb. + + XmlReader to extract data from. + Output alpha value. + Excel2007Parser to help in extraction process. + Extracted color. + + + + Serialize line properties. + + XmlReader to serialize into. + Chart line properties to serialize. + Indicates whether border is rounded or not + Excel2007Parser to help in extraction process. + + + + Represents ParseArrow setting + + + + + + + + Represents get head style + + + + + + + Represents get head legnth + + + + + + + Extracts picture fill. + + XmlReader to extract data from. + Fill to put extracted data into. + Chart item relations. + Parent file data holder. + + + + Extracts text from XmlReader and places it into text area. + + XmlReader to extract data from. + Text area to put extracted data into. + Parser object that helps to extract data. + + + + Parse and returns the formula / value from the reader + + input XML reader + output formula + output value + + + + Extracts layout from XmlReader and places it into text area. + + XmlReader to extract data from. + Layout to put extracted data into. + Parser object that helps to extract data. + + + + Parse the chart title stream + + input chart title stream + input chart text area element + parent data holder for chart + relation collections of chart + + + + Parses manual layout. + + XmlReader to read rich text from. + manualLayout that will get extracted the manual position settings. + Parser object that helps to extract data. + + + + Parse the string cache and used to stores it in array + + XML reader object used to parse + the parsed string array + + + + Parses rich text. + + XmlReader to read rich text from. + Text area that will get extracted rich text. + Parser object that helps to extract data. + + + + Parses text area body properties. + + XmlReader to read body properties from. + Text area to put body properties into. + + + + Extracts list styles for a text area. + + XmlReader to extract list styles from. + Text area that will get extracted settings. + + + + Parses paragraph. + + XmlReader to get paragraph tag from. + Text area that will get paragraph information (formatting and text). + Parser object that helps to extract data. + Default text area that will get default paragraph information. + + + + Parses fld element. + + XmlReader to get paragraph run from. + Text area to put extracted properties into. + Parser object that helps to extract data. + Default text settings. + Default font size + + + + Parses paragraph properties. + + XmlReader to get data from. + + + + Extracts default paragraph properties from the reader. + + Reader to get properties from. + Instance of Excel2007Parser that helps in parsing process. + Default paragraph properties. + + + + Extracts default paragraph properties from the reader. + + Reader to get properties from. + Instance of Excel2007Parser that helps in parsing process. + Default font size. + Default paragraph properties. + + + + Extracts color of the default paragraph. + + + + + + + Parses paragraph run. + + XmlReader to get paragraph run from. + Text area to put extracted properties into. + Parser object that helps to extract data. + Default text settings. + + + + Parses paragraph run. + + XmlReader to extract paragraph tag from. + Text area that will get paragraph run information (formatting and text). + Parser object that helps to extract data. + Default text settings. + + + + + Extracts gradient stops collection from the specified reader. + + XmlReader to extract data from. + Excel2007Parser to help in extraction process. + Extracted gradient stops. + + + + Extracts gradient path. + + XmlReader to extract from. + Resulting GradientStop collection + + + + Extracts GradientStops collection. + + XmlReader to extract data from. + Parser object that helps to extract data. + Extracted collection. + + + + Extracts single GradientStop settings. + + XmlReader to extract data from. + Excel parser to help in extraction process. + Extracted GradientStop. + + + + Parse the Scheme color. + + + + + + + + Parse the Scheme color of shadow + + + + + + + + Extracts color settings. + + XmlReader to extract data from. + Transparency part of the extracted color (0-100000) or -1 if no transparecy part was present. + Tint part of the extracted color (0-100000) or -1 if no tint part was present. + Shade part of the extracted color (0-100000) or -1 if no shade part was present. + Excel parser to help in extraction process. + Color extracted. + + + + Converts Excel 2007 gradient stops collection into set of properties used by Excel 97-2003. + + Gradient stops collection to convert. + Fill object to put extracted properties into. + + + + To check the default settings of text area + + Text area to check the default values + + + + Copies color data from GradientStop. + + Color object to copy data into. + GradientStop to copy color data from. + + + + Extracts shape properties. + + XmlReader to extract data from. + Object that provides access to filling objects. + FileDataHolder of the document that is parsed. + Chart item relations. + + + + Parses the lighting. + + The reader. + The shadow. + The relations. + The holder. + + + + Checks the specified lighttype. + + The lighttype. + + + + + This method tries to get the Bevel properties read from the XML + + Linewidth mentions the Width of the line and represents the 'W' tag + LineHeight mentions the Heigth and represents the 'H' tag + Presetshape mentions the shape of the 3D feature + XmlReader to extract data from. + it returns the Excel2007Chartbevel properties or Noangle will be returned(which means 0) + + + + This method tries to get the material properties + + Material is denotes the type of the Material properties read from the XML + XmlReader to extract data from. + Excel 2007 chartmaterial properties or Noeffect value will be returned(which means 0) + + + + Checks the specified custom shadow color. + + The shadow. + The reader. + The parser. + + + + + Parses the Shadow Properties + + XmlReader to extract data from. + Shadow object to access the properties + Object that provides access to filling objects. + FileDataHolder of the document that is parsed. + Chart item relations. + Excel 2007 Parser + + + + + + It gets the Blur Radius Tag value + It gets the Sizex Tag value + It gets the Sizey Tag value + It gets the Distance Tag Tag value + It gets the Direction Tag value + It gets the Alignment Tag value + It gets the Rotationwithshape Tag value + Excel 2007 Parser + Shadow object to access the properties + Xml reader to extract data from. + The Office2007ChartPresetsOuter value or Noshadow value will be returned(Which means 0) + + + + Checks the specified Custom Outer Shadow . + + The blurval. + The sizex. + The disttag. + The dirtag. + The align. + The rot. + The shadow. + The reader. + The parser. + + + + + Parses the shadow alpha. + + The reader. + The shadow. + + + + Extracts value from XmlReader.. + + XmlReader to extract data from. + Extracted value. + + + + This Method tries to get the value of perspective shadow + + It gets the Blur Radius Tag value + It gets the Sizex Tag value + It gets the Sizey Tag value + It gets the Kx Tag value + It gets the Distance Tag Tag value + It gets the Direction Tag value + It gets the Alignment Tag value + It gets the Rotationwithshape Tag value + the Excel2007Chartpresetsperspective value or NoShadow value will be returned(which means 0) + + + + This method tries to get the Inner shadow values based on the parsed Info + + It gets the Blur Radius Tag value + It gets the Distance Tag Tag value + It gets the Direction Tag value + This returns the Office2007ChartPresetsInner value or No shadow (which means 0) + + + + Checks the Custom Inner Shadow. + + The blurval. + The disttag. + The dirtag. + The shadow. + The reader. + if set to true [Current format has Custom shadow style]. + + + + + This method tries to detect gradient color settings (One or Two color gradient). + + Gradient stops to detect gradient color + Detected gradient color or -1 if it is neither one nor two color gradient. + + + + Detects gradient variant type. + + Gradient stops to detect variant type for. + Already detected gradient style. + Already detected gradient color. + Indicates whether gradient stops for preset + gradient are in inverted order. This argument is used in the case of OfficeGradientColor.Preset. + Detected gradient variant type. + + + + Detects diagonal gradient variant. + + Checks whether gradient stops in the collection are in inverted order or not. + Represents double order variant. + Detected gradient variant. + + + + Detects gradient variant. + + Checks whether gradient stops in the collection are in inverted order or not. + Represents double ordered variant. + Detected gradient variant. + + + + Detects gradient variant for FromCorner gradient style. + + FillToRect used by gradient stops collection. + Detected gradient variant. + + + + Checks whether gradient stops in the collection are in inverted order or not. + + Gradient stops to check. + Gradient color type. + Indicates whether gradient stops for preset + gradient are in inverted order. This argument is used in the case of OfficeGradientColor.Preset. + True if gradient stops are inverted. + + + + Detect Gradient style. + + Gradient stops to check. + Detected Gradient style. + + + + Gets gradient style for rectangular gradient. + + Gradient stops collection to get gradient style for. + Converted gradient style. + + + + Gets gradient style for linear gradient. + + Gradient stops collection to get gradient style for. + Converted gradient style. + + + + Tries to find preset gradient corresponding to the specified collection. + + Gradient stops collection to analyze. + Indicates whether gradient stops are in inverted order. + Preset value or ( OfficeGradientPreset )( -1 ) if there is no corresponding preset value found. + + + + Sets GradientDegree property if necessary. + + Gradient stops to detect degree from. + Detected gradient color. + Fill to set gradient degree for. + + + + This class is responsible for chart object serialization into XmlWriter in Excel 2007 SpreadsheetML format. + + + + + Default constructor + + + + + Serializes chart inside XmlWriter. + + XmlWriter to serialize into. + Chart to serialize. + Name of the xml file containing chart item. + Represent the version of the application + + + + Serializes chart inside XmlWriter. + + XmlWriter to serialize into. + Chart to serialize. + Name of the xml file containing chart item. + + + + Serializes clrMapOvr tag. + + + + + + + Serializes the Chart default text properties. + + XmlWriter to serializes into. + chart to get the data to serialize. + + + + Serializes shapes. + + XmlWriter to serialize into. + Chart to serialize shapes for. + Name of the xml file containing chart item. + + + + Serializes chart legend. + + XmlWriter to serialize into. + Chart legend to serialize. + Parent chart object. + + + + Serializes single legend entry. + + XmlWriter to serialize legend entry into. + Legend entry to serialize. + Legend entry index. + Parent workbook object. + + + + Serializes view 3D. + + XmlWriter to serialize legend entry into. + Chart to serialize shapes for. + + + + Serializes error bars. + + XmlWriter to serialize into. + Error bars to serialize. + Error bars direction (x or y). + Parent workbook. + + + + Serializes trendlines collection. + + XmlWriter to serialize into. + Trendlines to serialize. + Parent workbook. + + + + Serializes trend line. + + XmlWriter to serialize into. + Trend line to serialize. + Parent workbook. + + + + Serializes trend line label settings. + + XmlWriter to serialize into. + Data label to serialize. + + + + Serializes surface (wall or floor). + + XmlWriter to serialize into. + Surface to serialize. + Name of the top xml tag to use. + Parent chart object. + + + + Serializes plotarea tag and everything inside it. + + XmlWriter to serialize into. + Chart to serialize. + + + + Serializes bar chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized bar series. + + + + Serializes axis id's for bar chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + + + + Serialize bar3D chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized 3Dbar series. + + + + Serializes gap depth. + + XmlWriter to serialize into. + Chart to serialize gap depth for. + + + + Serializes shape of the bar chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + + + + Serializes part of the bar chart that is common for all bar charts. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized bar series. + + + + Serializes chart series with the same formatting. + + XmlWriter to serialize into. + Chart to get series from. + First series in the list of the series to serialize. + It is used to determine which series should be serialized. + Delegate used to serialize chart series. + Number of serialized series. + + + + serialiae filtered serie + + + + + + + Serilaize filtered series + + + + + + + Serialize Filtered Text + + + + + + + Serialize filtered text values + + + + + + + + serialize filtered category + + + + + + + + serialize filtered values + + + + + + + + Returns the series filter type + + + + + + + Serializes grouping tag. + + XmlWriter to serialize into. + Chart to serialize grouping for. + + + + Serializes area3D chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized area3D series. + + + + Serializes area chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized area series. + + + + Serializes properties common to the area chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized series. + + + + This method serializes common properties of the line charts. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized line series. + + + + Serialize line3DChart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized line3D series. + + + + Serializes line chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized line series. + + + + Serialize bubble chart. + + XmlWriter to serialize chart into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized bubble series. + + + + Serializes 2-D surface chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized series. + + + + Serializes 3-D surface chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized series. + + + + Serializes common part of the surface charts. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized series. + + + + Serializes preserved band formats if necessary. + + XmlWriter to serialize into. + Chart to serialize. + + + + Serializes main chart tag. + + XmlWriter to serialize into. + Chart to serialize. + Index of the series group to serialize. + Number of the serialized series. + + + + Serializes radar chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized series. + + + + Serializes scatter chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized series. + + + + Serializes pie chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized series. + + + + Serializes 3-D pie chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized series. + + + + Serializes pie of pie or pie of bar chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized series. + + + + Serializes stock chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized series. + + + + Serializes doughnut chart. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized series. + + + + Serializes common properties of pie charts. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with the + same formatting to serialize. + Number of the serialized series. + + + + Serializes data lables. + + XmlWriter to serialize into. + parent chart + data points to be serialized + + + + Serializes data lables. + + XmlWriter to serialize into. + DataLabels to serialize. + Parent series. + + + + Serializes number format. + + XmlWriter to serialize into. + Number format serialize. + Parent series. + + + + Serializes data label for single data point. + + XmlWriter to serialize into. + Data labels to serialize. + Data point index. + Parent chart object. + + + + Serializes data labels settings. + + XmlWriter to serialize into. + Data labels to serialize. + Parent chart. + + + + Serializes default text formatting. + + XmlWriter to serialize into. + Text formatting to serialize. + Parent workbook. + + + + Serializes IsVaryColors option. + + XmlWriter to serialize into. + First series in the list of series with the + same formatting to serialize vary colors option for. + + + + Serializes single chart series for bar chart. + + XmlWriter to serialize into. + Series to serialize. + + + + Serialize the InvertIfNegativeColor. + + Xml writer + Series to serialize. + + + + Seriealize value from cells range in datalabels. + + Xml Writer + ChartSerieImpl + + + + Serialize datalabel range cache. + + Xml writer + series value from cell range values. + + + + Find the category filter + + + + + + + To update the filtered value range + + + + + + Update the category filterlabel range + + + + + + serialize the filtered category or series name + + + + + + + + serilaize the category name + + + + + + + Serializes single chart series for pie chart. + + XmlWriter to serialize into. + Series to serialize. + + + + Serializes error bars. + + XmlWriter to serialize into. + Series to serialize. + + + + Serialize line series. + + XmlWriter to serialize into. + Chart line series to serialize. + + + + Serializes scatter series. + + XmlWriter to serialize into. + Chart scatter series to serialize. + + + + Serializes chart radar series. + + XmlWriter to serialize into. + Chart series to serialize. + + + + Serializes single chart series for bubble chart. + + XmlWriter to serialize into. + Series to serialize. + + + + Serializes single chart series for area chart. + + XmlWriter to serialize into. + Series to serialize. + + + + Serializes common part of the series. + WARNING: this method doesn't call last WriteEndElement(), so this call + must be made by parent item after series serialization complete. + + XmlWriter to serialize into. + Series to serialize. + + + + Serializes single data point. + + XmlWriter to serialize into. + Data point to serialize. + + + + Serializes series category. + + XmlWriter to serialize into. + Series to serialize category labels for. + + + + Serializes series category. + + XmlWriter to serialize into. + Series to serialize category labels for. + + + + Serializes series values. + + XmlWriter to serialize into. + Series to serialize values for. + + + + Serializes series values. + + XmlWriter to serialize into. + Series to serialize values for. + + + + Serializes series values. + + XmlWriter to serialize into. + Range to serialize values for. + Name of the xml tag to use. + + + + Serializes the normal reference. + + The writer. + The range. + The values. + Name of the tag. + + + + Serializes number or string reference. + + + + + + + Serializes number references. + + XmlWriter to serialize into. + Range to serialize values for. + Range values to serialize cache values for. + + + + This function is used for serializing the number cache values. + + This is used for serializing the chart date in XML format. + This is Holding the chart serie type of values. + This is used to get the current tag name. + + + + Serializes string references. + + XmlWriter to serialize into. + Range to serialize values for. + + + + Serializes String references. + + XmlWriter to serialize into. + Range to serialize values for. + + + + This function is used for serializes the string cache values for the current chart serie. + + Used to write the string cache values in XML format. + This is holding the Chart Serie contents. + + + + This is used for serializes the Category type of string Cache values. + + This is used to write the chart serie category values in XMl format. + This is holding the Chart serie contents. + + + Returns a DateTime equivalent to the specified OLE Automation Date. + An OLE Automation Date value. + An object that represents the same date and time as input date. + + This function is used to fint the object type and convert to string based on cluture. + + Object type of value + + + + + Serializes Multi level string references. + + XmlWriter to serialize into. + Range to serialize values for. + Range values to serialize cache values for. + + + + Serializes multi level string cache. + + XmlWriter to serialize into. + Chart series to get the cache data from. + + + + Serializes the formula if the range is null + + XMLWriter to serialize into + Tag to serialize values for + Formula to serialize for the tag + + + + Serializes chart axes. + + XmlWriter to serialize into. + Chart to serializes axes of. + + + + Serializes series marker if necessary. + + XmlWriter to serialize into. + Series to serialize marker for. + + + + Serializes series marker if necessary. + + XmlWriter to serialize into. + Series to serialize marker for. + + + + Serializes line with the specified color. + + XmlWriter to serialize into. + Line color. + Parent workbook. + + + + Serializes up/down bars. + + XmlWriter to serialize into. + Chart to serialize. + First series in the list of series with same + formatting to serialize up/down bars for. + + + + Serializes single drop bar (up or down bar). + + XmlWriter to serialize into. + Drop bar to serialize. + Name of the main tag. + Chart to serialize dropbar for. + + + + This method serializes chart data table. + + XmlWriter to serialize into. + Chart to serialize data table for. + + + + Serializes series value that were entered directly. + + XmlWriter to serialize into. + Values to serialize. + + + + Serializes series value that were entered directly. + + XmlWriter to serialize + Values to serialize. + series to get the format code + + + + Converts object into xml string. + + Value to convert. + Converted value. + + + + This delegate is used for series serialization. + + XmlWriter to serialize series into. + Series to serialize. + + + + This class is responsible for chartEx object (all) serialization into XmlWriter in Excel SpreadsheetML format. + + + + + Represents dictionary for TickMark to Attribute value. + + + + + Initialize the members of this class + + + + + Serialize the chart + + input XML writer + input chart + + + + Serialize the chart tag input element + + input XML writer + input chart + input relations + + + + Serializes plotarea tag and everything inside it. + + XmlWriter to serialize into. + Chart to serialize. + input relation collection + + + + Serialize the required axes + + XmlWriter to serialize into. + Chart to serialize. + chart type of the chart + input relation collection + + + + Serialzie the single axis + + input XML writer + input axis to be serialized + input Chart to serialize. + input relation collection + axis Id of the axis + + + + Serialzie the single axis common properties + + input XML writer + input axis to be serialized + input Chart to serialize. + input relation collection + axis Id of the axis + + + + Serialzie the axis display unit + + input XML writer + input axis to be serialized + input Chart to serialize. + input relation collection + axis Id of the axis + + + + Serialize the chart's every pareto line as series + + input XML writer + input chart + input chartType + + + + Serialize the input serie and everything inside it. + + input XML writer + input chart serie + input chart serie Index for data referring + chart type + input chart + relation collection of the chart + + + + Serialize the input chart serie layout properties + + input XML writer + input chart serie + input chart + relation collection of the chart + + + + Serialize the subtotal data points of the series + + input XML writer + input serie to subtotal serialized + + + + Serialize the bin properties of the chart + + input XML writer + input chart serie data format for binning properties + input chart + + + + Serialize the single chart serie data labels + + input XML writer + input serie to data labels serialized + input chart + input chart relations + + + + Serializes the input data label settings + + input XML writer + input data labels + paret chart of the data labels + chart relation collection + + + + check whether the frame format is formatted or not + + input chart frame format impl + the boolean value + + + + Serializes number format. + + XmlWriter to serialize into. + dataLabels of data points which have number format to serialize + + + + Serialize the data point properties of the chart serie + + input XML writer + input chart serie + + + + Serialize the chart serie name + + input XML writer + input chart serie + + + + Serialize the single chart serie attributes + + input XML writer + input chart serie + chart type of the chart + chart serie index + boolean value indicates whether the pareto line option is serialized or not + + + + Serialize the chart legend + + input XML writer + input chart legend + input chart + + + + Serialize the chart text area properties for text elements + + input XML writer + input chart text area + input chart + input relation collection + default font size for text area + input XML elemet parent + boolean value indicates whether the title is auto + boolean value indicates whether element is chart title + + + + Serialize the chart text element properties for chart title and legend + + input XML writer + input position of element + boolean value indicates the layout of element + + + + Serialize the chart text area Tx and rich + + input XML writer + input chart text area + input chart + default font size for text area + boolean value indicates whether the title serialized as rich text or not + + + + Serialize the chartEx data element + + input XML writer + input chart + + + + Individial series data serialized with this. + + input XML chart + input chart serie + serie index + chart type + + + + Serialize the dimension data for series + + input XML writer + input range + input direct values array + boolean value indicates whether range is in row + number format code + Indeicates whether the range is category or series values + + + + This class contains common code used for charts serialization. + + + + + Key - OfficeChartLinePattern, + Value - pair, where key is Excel 2007 pattern value, value - preset pattern of the pattern fill. + + + + + Jagged Array represents the Outer Shadow Attributes + + + + + Jagged Array represents the Inner Shadow Attributes + + + + + Jagged Array represents the Perspective Shadow Attributes + + + + + Jagged Array represents the 3D Bevel Attributes + + + + + Jagged Array represents the 3D Material Attributes + + + + + Jagged Array represents the 3D Lighting Attributes + + + + + Initializes static members of ChartSerializatorCommon class. + + + + + Serializes frame format. + + XmlWriter to serialize into. + Fill format to serialize. + Parent chart object. + Indicates whether area corners should be rounded. + + + + Serializes frame format. + + XmlWriter to serialize into. + Fill format to serialize. + Parent chart object. + Indicates whether area corners should be rounded. + + + + Serializes frame format. + + XmlWriter to serialize into. + Fill format to serialize. + Parent file data holder. + Chart's relations collection + Indicates whether area corners should be rounded. + + + + This method serializes the Shadow properties + + XmlWriter to serialize into. + Shadow format to serialize into + Whether the current format contains the Custom Shadow Style + + + + Serializes the custom shadow properties + + XmlWriter to serialize into. + The ShadowImpl object. + + + + Serializes the inner shadow. + + XmlWriter to serialize into. + The jagged array index of the InnerAttributeArry. + if set to true [custom shadow style]. + The ShadowImpl object. + + + + This method Serializes the Outer Shadow + + XmlWriter to serialize into. + the jagged array index of OuterAttributeArry + if set to true [custom shadow style]. + The ShadowImpl object + + + + This method serializes the Perspective shadow properties + + XmlWriter to serialize into. + the jagged array index of PerspectiveAttributeArry + if set to true [custom shadow style]. + The ShadowImpl object + + + + This method Serailizes the 3DProperties + + XmlWriter to serialize into. + ThreeD format + + + + This method serailize the Lighting properties + + XmlWriter to serialize into. + the jagged array index of LightingPropertiesArray + + + + This method serialize the Material properties + + XmlWriter to serialize into. + the jagged array index of MaterialPropertiesArray + + + + This method serialize the Bevel top + + XmlWriter to serialize into. + the jagged array index of bevelpropertiesArray + + + + This method serializes the Bevel Bottom + + XmlWriter to serialize into. + the jagged array index of Bevelproperties Array + + + + Serializes fill object. + + XmlWriter to serialize into. + Fill to serialize. + Parent file data holder. + Chart's relations collection + + + + Serializes text area. + + XmlWriter to serialize into. + Text area to serialize. + Parent workbook. + Chart's relations. + + + + Serialize xml tag that contains value attribute with tag value. + + XmlWriter to serialize into. + Tag name to serialize. + Value to serialize. + + + + Serialize the double value attributes. + + + + + + + + Serialize xml tag that contains value attribute with tag value. + + XmlWriter to serialize into. + Tag name to serialize. + Namespace of the xml tag. + Value to serialize. + + + + Seralize the double value + + + + + + + + + Serialize xml tag that contains value attribute with tag value. + + XmlWriter to serialize into. + Tag name to serialize. + Value to serialize. + + + + Serializes chart line properties. + + XmlWriter to serialize into. + Border to serialize. + Parent workbook. + + + + Serializes pattern fill. + + XmlWriter to serialize into. + Color to serialize. + Indicates whether color is automatic and should be ignored or not. + Preset dash value. + Preset pattern value. + Parent workbook. + + + + Serializes pattern fill. + + XmlWriter to serialize into. + Foreground color. + Indicates whether foreground color is auto and foreColor argument should be ignored. + Background color. + Indicates whether background color is auto and backColor argument should be ignored. + Preset pattern value. + Parent workbook. + + + + Serializes pattern fill. + + XmlWriter to serialize into. + Foreground color. + Indicates whether foreground color is auto and foreColor argument should be ignored. + Background color. + Indicates whether background color is auto and backColor argument should be ignored. + Pattern to serialize. + Parent workbook. + + + + Serializes solid fill. + + XmlWriter to serialize into. + Color that is used for filling. + Indicates whether color is automatic or was manually changed. + Parent workbook. + + + + Serializes rgb color. + + XmlWriter to serialize into. + Color to serialize. + + + + Serializes rgb color. + + XmlWriter to serialize into. + Color index to serialize. + Parent workbook. + + + + Serializes rgb color. + + XmlWriter to serialize into. + Color to serialize. + Alpha component of the color to serialize, 0 - 100000. + + + + Serializes rgb color. + + XmlWriter to serialize into. + Color to serialize. + Alpha component of the color to serialize, 0-100000. + Tint value of the color to serialize, 0-100000. + Shape value of the color to serialize, 0-100000. + + + + Serialize line properties. + + XmlWriter to serialize into. + Chart line properties to serialize. + Indicates whether border is rounded or not + Parent workbook. + + + + Returns the cap style for serializing. + + + + + + + + Serailize Line Join Type + + XmlWriter to serialize into. + Line Join Type + + + + Return the image stream from the given image + + the input image + the image object + + + + Serializes picture fill. + + XmlWriter to serialize into. + Picture to serialize. + Parent file data holder object. + Relations collection to add relation to. + Indicates whether image should be tiled. + + + + Serialize the picture with fillrect and source rect. + + + + + Serializes texture fill. + + XmlWriter to serialize into. + Fill object that contains settings to serialize. + Parent file data holder object. + Relations collection to add relation to. + + + + Serializes gradient fill. + + XmlWriter to serialize into. + Fill to serialize. + Parent workbook. + + + + Serializes default text formatting. + + XmlWriter to serialize into. + Text formatting to serialize. + Parent workbook. + + + + Serializes text from text area. + + XmlWriter to serialize into. + Text area to serialize values for. + Parent workbook. + + + + Serializes rich text. + + XmlWriter to serialize into. + Text area that contains rich text to serialize. + Parent workbook. + Name of the main xml tag. + + + + Serialize text area body properties. + + XmlWriter to serialize into. + Text area to serialize body properties for. + + + + Serializes list styles for a text area. + + XmlWriter to serialize into. + Text area to serialize list styles for. + + + + Serializes paragraph. + + XmlWriter to serialize paragraph tag into. + Text area that contains paragraph information (formatting and text). + Parent workbook. + + + + Serializing the rich-text formatting + + XmlWriter to serialize paragraph tag into. + Text area that contains paragraph information (formatting and text) of text area. + Parent workbook. + Default font size + + + + Serializing the rich-text formatting + + XmlWriter to serialize paragraph tag into. + Text area that contains paragraph information (formatting and text) of text area. + Parent workbook. + Default font size + Default text area that contains paragraph information (formatting and text) of text area. + Run properties start index. + + + + Serializing the rich-text formatting + + XmlWriter to serialize paragraph tag into. + Text area that contains paragraph information (formatting and text) of data labels. + Parent workbook. + Default font size + + + + Check the serialize fld element. + + Chart data label + Data label text. + fld element type + if serialize the fld return true otherwise false. + + + + Serializes paragraph run. + + XmlWriter to serialize paragraph tag into. + Text area that contains paragraph run information (formatting and text). + Name of the main xml tag. + Parent workbook. + + + + Serializes paragraph run. + + XmlWriter to serialize paragraph tag into. + Text area that contains paragraph run information (formatting and text). + Name of the main xml tag. + Parent workbook. + + + + Serializes string reference settings. + + XmlWriter to serialize into. + Text area to get settings from. + String array used as cache values + + + + Serializes text area layout settings. + + XmlWriter to serialize into. + Text area to serialize layout settings for. + + + + Boolean value indicates whether the element is manual layoutted + + input manual layout object + the boolean value + + + + Serializes text area manual layout settings. + + XmlWriter to serialize into. + Manual layout to serialize manual layout settings for. + + + + This method serialize the Bevel bottom + + XmlWriter to serialize into. + Bevel bottom Height Value + Bevel bottom width Value + + + + This method serialize the Bevel top + + XmlWriter to serialize into. + Bevel top Height Value + Bevel top width Value + + + + This class contains constants used for autofilter parsing and serialization in Excel 2007 format. + + + + + Name of the xml tag name that represents auto filter settings. + + + + + Name of the xml attribute that represents reference to the cell range to which the AutoFilter is applied. + + + + + Name of the xml tag that identifies a particular column in the AutoFilter range and specifies + filter information that has been applied to this column + + + + + Name of the xml attribute that indicates the AutoFilter column to which this filter information applies. + + + + + Name of the xml tag that specifies the top N (percent or number of items) to filter by. + + + + + Name of the xml attribute that represents top or bottom value to use as the filter criteria. + + + + + Name of the xml attribute that represents flag indicating whether or not to filter by top order. + + + + + Name of the xml attribute that represents the actual cell value in the range + which is used to perform the comparison for this filter. + + + + + Name of the xml attribute that represents flag indicating whether or not to filter by percent value of the column. + + + + + Name of the xml tag that groups filter criteria together. + + + + + Flag indicating whether to filter by blank. + + + + + Name of the xml tag that expresses a filter criteria value. + + + + + Name of the xml attribute that represents filter value used in the criteria. + + + + + Name of the xml tag that represents custom filters criteria. + + + + + Name of the xml attribute that represents flag indicating whether the two criteria have an "and" relationship. + '1' indicates "and", '0' indicates "or". + + + + + Name of the xml tag that represents custom filter criteria. + + + + + Name of the xml attribute name that represents operator used by the filter comparison. + + + + + Show results which are equal to criteria. + + + + + Show results which are greater than criteria. + + + + + Show results which are greater than or equal to criteria. + + + + + Show results which are less than criteria. + + + + + Show results which are less than or equal to criteria. + + + + + Show results which are not equal to criteria. + + + + + This class contains constants required for charts parsing and serialization in Excel 2007 format. + + + + + Main charts namespace. + + + + + Main charts namespace. + + + + + Namespace of the slicer + + + + + Main charts namespace for Excel 2010 + + + + + Chart color style namespace for Excel 2013 + + + + + Chart style namespace for Excel 2013 + + + + + Uri for the pivot chart. + + + + + prefix for the Excel 2010 chart tag. + + + + + This element specifies a category axis. + + + + + This element specifies a value axis. + + + + + This element specifies a series axis. + + + + + This element specifies a date axis. + + + + + Value attribute. + + + + + Some value axis id. + + + + + Some category axis id. + + + + + Some series axis id. + + + + + Some secondary category axis id. + + + + + Some secondary value axis id. + + + + + This element contains additional axis settings. + + + + + This element specifies the logarithmic base for a logarithmic axis. + + + + + This element specifies the maximum value of the axis. + + + + + This element specifies the minimum value of the axis. + + + + + This element specifies the stretching and stacking of the picture on the + data point, series, wall, or floor. + + + + + When specified as a child element of valAx, dateAx, catAx, or serAx, + this element specifies the identifier for the axis. When specified as + a child element of a chart, this element specifies the identifier of + an axis that defines the coordinate space of the chart. + + + + + Specifies that the values on the axis shall be reversed so they go from maximum to minimum. + + + + + Specifies that the axis values shall be in the usual order, minimum to maximum. + + + + + This element specifies the position of the axis on the chart. + + + + + Specifies that the axis shall be displayed at the left of the plot area. + + + + + Specifies that the axis shall be displayed at the right of the plot area. + + + + + Specifies that the axis shall be displayed at the top of the plot area. + + + + + Specifies that the axis shall be displayed at the bottom of the plot area. + + + + + This element specifies major gridlines. + + + + + This element specifies minor gridlines. + + + + + This element specifies number formatting for the parent element. + + + + + This element specifies a string representing the format code to apply. + + + + + Indicates whether number format is applied to the axis. + + + + + This element specifies the position of the tick labels on the axis. + + + + + Specifies the axis labels shall be at the high end of the perpendicular axis. + + + + + Specifies the axis labels shall be at the low end of the perpendicular axis. + + + + + Specifies the axis labels shall be next to the axis. + + + + + Specifies the axis labels are not drawn. + + + + + This element specifies the major tick marks. + + + + + This element specifies the minor tick marks. + + + + + Specifies there shall be no tick marks. + + + + + Specifies the tick marks shall be inside the plot area. + + + + + Specifies the tick marks shall be outside the plot area. + + + + + Specifies the tick marks shall cross the axis. + + + + + This element specifies the ID of axis that this axis crosses. + + + + + This element specifies whether the value axis crosses the category axis between categories. + + + + + Specifies the value axis shall cross the category axis between data markers. + + + + + Specifies the value axis shall cross the category axis at the midpoint of a category. + + + + + This element specifies the distance between major ticks. + + + + + This element specifies the distance between minor tick marks. + + + + + This element specifies the distance of labels from the axis. + + + + + This element specifies how many tick labels to skip between label that is drawn. + + + + + This element specifies how many tick marks shall be skipped before the next one shall be drawn. + + + + + This element specifies whether multi level labels exists or not + + + + + This element specifies the smallest time unit that is represented on the date axis. + + + + + This element specifies the time unit for major tick marks. + + + + + This element specifies the time unit for the minor tick marks. + + + + + This element specifies the chart. + + + + + This element specifies the plot area of the chart. + + + + + This element specifies whether the series form a bar (horizontal) chart or a column (vertical) chart. + + + + + Specifies that the chart is a bar chart - the data markers are horizontal rectangles. + + + + + Specifies that the chart is a column chart - the data markers are vertical rectangles. + + + + + This element specifies the type of grouping for a bar chart. + + + + + Specifies that the chart series are drawn next to each other along the category axis. + + + + + Specifies that the chart series are drawn next to each other along the + value axis and scaled to total 100%. + + + + + Specifies that the chart series are drawn next to each other on the value axis. + + + + + Specifies that the chart series are drawn next to each other on the depth axis. + + + + + This element specifies that each data marker in the series shall have a different color. + + + + + This element specifies a series on a chart. + + + + + This element specifies the index of the containing element. This index + shall determine which of the parent's children collection this element applies to. + + + + + This element specifies the order of the series in the collection. It is 0 based. + + + + + This element specifies the data values which shall be used to define + the location of data markers on a chart. + + + + + This element specifies the data used for the category axis. + + + + + This element specifies a reference to numeric data with a cache of the last values used. + + + + + This element specifies a reference to string data with a cache of the last values used. + + + + + This element specifies a reference to data for the category axis (or for the x-values in a bubble or scatter chart)), + along with a cache of the last values used. + + + + + This element specifies the last numeric data used for a chart. + + + + + This element specifies the last string data used for a chart. + + + + + This element specifies a cache of the labels on the category axis, or the x-values in a bubble or scatter chart. + + + + + This element specifies a reference to source of the data contained in this chart. + + + + + This element specifies overall settings for a single chart, and is the root node for the chart part. + + + + + This element specifies the 3-D area series on this chart. + + + + + This element specifies the 2-D area series on this chart. + + + + + This element contains the 2-D bar or column series on this chart. + + + + + This element contains the 3-D bar or column series on this chart. + + + + + This element contains the 3-D line chart series. + + + + + This element contains the 2-D line chart series. + + + + + This element specifies the space between bar or column clusters, + as a percentage of the bar or column width. + + + + + This element specifies the space between bar or column clusters, + as a percentage of the bar or column width. + + + + + This element specifies how much bars and columns shall overlap on 2-D charts. + + + + + Specifies the chart shall be drawn as a cone, with the base of the cone + on the floor and the point of the cone at the top of the data marker. + + + + + Specifies the chart shall be drawn with truncated cones such that the + point of the cone would be the maximum data value. + + + + + Specifies the chart shall be drawn as a rectangular pyramid, with the + base of the pyramid on the floor and the point of the pyramid at the + top of the data marker. + + + + + Specifies the chart shall be drawn with truncated cones such that the + point of the cone would be the maximum data value. + + + + + Specifies the chart shall be drawn as a cylinder. + + + + + Specifies the chart shall be drawn with a box shape. + + + + + This element specifies the shape of a series or a 3-D bar chart. + + + + + This element contains the bubble series on this chart. + + + + + This element specifies that the bubbles have a 3-D effect applied to them. + + + + + Default bubble scale value. + + + + + This element specifies the scale factor for the bubble chart. This element can be + an integer value from 0 to 300, corresponding to a percentage of the default size. + + + + + This element specifies negative sized bubbles shall be shown on a bubble chart. + + + + + Specifies the area of the bubbles shall be proportional to the bubble size value. + + + + + Specifies the radius of the bubbles shall be proportional to the bubble size value. + + + + + This element specifies how the bubble size values are represented on the chart. + + + + + This element contains the set of 2-D contour charts. + + + + + This element contains the set of 3-D surface series. + + + + + This element specifies the surface chart is drawn as a wireframe. + + + + + This element contains the radar chart series on this chart. + + + + + This element specifies what type of radar chart shall be drawn. + + + + + This element contains the scatter chart series for this chart. + + + + + This element specifies the type of lines for the scatter chart. + + + + + This element contains the 2-D pie series for this chart. + + + + + This element contains the 3-D pie series for this chart. + + + + + This element specifies the angle of the first pie or doughnut chart slice, + in degrees (clockwise from up). + + + + + This element contains the doughnut chart series. + + + + + This element specifies the size of the hole in a doughnut chart group. + + + + + This element contains the pie of pie or bar of pie series on this chart. + + + + + Specifies that the chart is pie of pie chart, not a bar of pie chart. + + + + + Specifies that the chart is a bar of pie chart, not a pie of pie chart. + + + + + This element specifies whether this chart is pie of pie or bar of pie. + + + + + This element specifies a value that shall be used to determine which data + points are in the second pie or bar on a pie of pie or bar of pie chart. + + + + + This element specifies the size of the second pie or bar of a pie of pie + chart or a bar of pie chart, as a percentage of the size of the first pie. + + + + + This element specifies how to determine which data points are in the + second pie or bar on a pie of pie or bar of pie chart. + + + + + This element contains the collection of stock chart series. + + + + + This element serves as a root element that specifies the settings for the + data labels for an entire series or the entire chart. It contains child + elements that specify the specific formatting and positioning settings. + + + + + This element specifies the position of the data label. + + + + + This element specifies the show the dalabels range. + + + + + This element specifies the dalabel range. + + + + + This element specifies the dalalabelRangeCache name. + + + + + This element specifies the Uri Tag. + + + + + This element specifies the Uri Id link. + + + + + This element specifies the C15 nameSpaces. + + + + + This element specifies a cellRange tag. + + + + + This element specfies a seriesName tag. + + + + + This element specifies a value tage. + + + + + This element specifies a category name tag. + + + + + This element specifies a percentage tag. + + + + + This element specifies a category x axis tag. + + + + + This element specifies a value y axis tag. + + + + + Prefix for Chart 15. + + + + + This element specifies that the value shall be shown in a data label. + + + + + This element specifies that the category name shall be shown in the data label. + + + + + This element specifies that the percentage shall be shown in a data label. + + + + + This element specifies the bubble size shall be shown in a data label. + + + + + This element specifies that the series name shall be shown in a data label. + + + + + This element specifies legend keys shall be shown in data labels. + + + + + This element specifies Leader Lines shall be shown in data labels. + + + + + This element specifies text that shall be used to separate the parts of a data label. + The default is a comma, except for pie charts showing only category name and percentage, + when a line break shall be used instead. + + + + + This element specifies a data marker. + + + + + This element specifies the marker that shall be used for the data points. + + + + + This element specifies the size of the marker in points. + + + + + This element specifies the floor of a 3D chart. + + + + + This element specifies the back wall of the chart. + + + + + This element specifies the side wall. + + + + + This element specifies a title. + + + + + This element specifies a trend line. + + + + + This element specifies the name of the trend line. + + + + + This element specifies the type of the trend line. + + + + + This element specifies the order of the polynomial trend line. + It is ignored for other trend line types. + + + + + This element specifies the period of the trend line for a moving average + trend line. It is ignored for other trend line types. + + + + + This element specifies the number of categories (or units on a scatter + chart) that the trend line extends after the data for the series that is + being trended. On non-scatter charts, the value must be a multiple of 0.5. + + + + + This element specifies the number of categories (or units on a scatter chart) + that the trend line extends before the data for the series that is being trended. + On non-scatter charts, the value shall be 0 or 0.5. + + + + + This element specifies the value where the trend line shall cross the y + axis. This property shall be supported only when the trend line type is + exp, linear, or poly. + + + + + This element specifies that the R-squared value of the trend line is + displayed on the chart (in the same label as the equation). + + + + + This element specifies that the equation for the trend line is displayed + on the chart (in the same label as the R-squared value). + + + + + This element specifies error bars. + + + + + This element specifies the type of the error bars - positive, negative, or both. + + + + + This element specifies the type of values used to determine the length of the error bars. + + + + + This element specifies an end cap is not drawn on the error bars. + + + + + This element specifies a value which is used with the Error Bar Type + to determine the length of the error bars. + + + + + This element specifies the error bar value in the positive direction. + It shall be used only when the errValType is cust. + + + + + This element specifies the error bar value in the negative direction. + It shall be used only when the errValType is cust. + + + + + Specifies that error bars shall be shown in the x direction. + + + + + Specifies that error bars shall be shown in the y direction. + + + + + This element specifies the direction of the error bars. + + + + + This element specifies the 3-D view of the chart. + + + + + This element specifies the amount a 3-D chart shall be rotated in the X direction. + + + + + This element specifies the height of a 3-D chart as a percentage of the + chart width (between 5 and 500). + + + + + This element specifies the amount a 3-D chart shall be rotated in the Y direction. + + + + + This element specifies that the chart axes are at right angles, + rather than drawn in perspective. Applies only to 3-D charts. + + + + + This element specifies the field of view angle for the 3-D chart. + This element is ignored if Right Angle Axes is true. + + + + + This element specifies the depth of a 3-D chart as a percentage of the + chart width (between 20 and 2000 percent). + + + + + This element specifies the legend. + + + + + This element specifies the position of the legend. + + + + + This element specifies that other chart elements shall be allowed to overlap this chart element. + + + + + This element specifies a legend entry. + + + + + This element specifies that the chart element specified by its containing + element shall be deleted from the chart. + + + + + This element specifies how blank cells shall be plotted on a chart. + + + + + This element specifies that only visible cells should be plotted on the chart. + + + + + This element specifies the page margins for a chart. + + + + + Specifies the contents of this attribute will contain the left page margin in inches. + + + + + Specifies the contents of this attribute will contain the right page margin in inches. + + + + + Specifies the contents of this attribute will contain the top page margin in inches. + + + + + Specifies the contents of this attribute will contain the bottom page margin in inches. + + + + + Specifies the contents of this attribute will contain the header margin in inches. + + + + + Specifies the contents of this attribute will contain the footer margin in inches. + + + + + This element specifies the up and down bars. + + + + + This element specifies the up bars on the chart. + + + + + This element specifies the down bars on the chart. + + + + + This element specifies text to use on a chart, including rich text formatting. + + + + + This element contains a string with rich text formatting. + + + + + This is the root element of Sheet Parts that are of type 'chartsheet'. + + + + + Prefix for chart namespace. + + + + + Underline the text with a single line of normal thickness. + + + + + Underline the text with two lines of normal thickness. + + + + + A single strikethrough is applied to the text. + + + + + Text is not strike through. + + + + + This element specifies how this axis crosses the perpendicular axis. + + + + + This element specifies where on the axis the perpendicular axis crosses. + The units are dependent on the type of axis. + + + + + The category axis crosses at the zero point of the value axis (if possible), + or the minimum value (if the minimum is greater than zero) or the maximum + (if the maximum is less than zero). + + + + + The axis crosses at the maximum value + + + + + This element specifies the x values which shall be used to define the + location of data markers on a chart. + + + + + This element specifies the y values which shall be used to define the + location of data markers on a chart. + + + + + This element specifies the data for the sizes of the bubbles on the bubble chart. + + + + + This element specifies the amount the data point shall be moved from the center of the pie. + + + + + This element specifies series lines for the chart. + + + + + This element specifies the line connecting the points on the chart shall + be smoothed using Catmull-Rom splines. + + + + + This element specifies the label for the trend line. + + + + + This element specifies text for a series name, without rich text formatting. + + + + + This element specifies a text value for a category axis label or a series name. + + + + + This element specifies the high-low lines for the series. + + + + + This element specifies how the chart element is placed on the chart. + + + + + This element specifies how the chart element is placed on the chart manually + + + + + This element specifies the chart layout target + + + + + Represents left element for manual layout + + + + + Represents top element for manual layout + + + + + Represents the x location (left) of the chart element as a + fraction of width of the chart + + + + + Represents the y location (top) of the chart element as a + fraction of width of the chart + + + + + Represents the width or horizontal offset + + + + + Represents the height or a vertical offset + + + + + Represents the layout mode for the width of the element + + + + + Represents the layout mode for the height of the element + + + + + Represents the width of the element + + + + + Represents the height of the element + + + + + This element specifies a single data point. + + + + + This element specifies a data label. + + + + + This element specifies the logarithmic base for a logarithmic axis. + + + + + Default value of the logBase tag. + + + + + This element specifies the scaling value of the display units for the value axis. + + + + + This element specifies the display unit is one of the built in values. + + + + + This element specifies a custom value for the display unit. + + + + + This element specifies a data table. + + + + + This element specifies the horizontal borders shall be shown in a data table. + + + + + This element specifies the vertical border shall be shown in a data table. + + + + + This element specifies the outline shall be shown on a data table. + + + + + This element specifies the legend keys shall be shown in a data table. + + + + + This element specifies drop lines. + + + + + This element contains text properties. + + + + + This element specifies that this axis is a date or text axis based on + the data that is used for the axis labels, not a specific choice. + + + + + This element specifies the rounded corner tag. + + + + + This element specifies the style tag. + + + + + This element specifies the shapes drawn on top of the chart. + + + + + This element specifies that the shape described here to reside within a + chart should be sized based on absolute anchor points. + + + + + This element specifies that the shape described here to reside within a + chart should be sized based on relative anchor points. + + + + + This element specifies the relative x coordinate that is used to define + the percentage-based horizontal position for a shape within a chart drawing object. + + + + + This element specifies the relative y coordinate that is used to define + the percentage-based vertical position for a shape within a chart drawing object. + + + + + Multiplier for coordinates transform. + + + + + This element specifies a set of numbers used for the parent element. + + + + + This element specifies a set of strings used for the parent element. + + + + + This element contains the number of values in the cache. + + + + + This element specifies data for a particular data point. + + + + + This element specifies the series + to invert its colors if the value is negative. + + + + + Value attribute. + + + + + Represents the standard Number format attribute. + + + + + Name of the leader lines element + + + + + This element describes Arrow width as large + + + + + This element describes arrow width as small + + + + + This element describes arrow width as medium + + + + + This element describes Arrow shape as arrow + + + + + This element describes Arrow shape as diamond + + + + + This element describes Arrow shape as none + + + + + This element describes Arrow shape as oval + + + + + This element describes Arrow shape as stealth + + + + + This element describes Arrow shape as triangle + + + + + This element describes type + + + + + This element describes width + + + + + This element describes length. + + + + + Value indicates the show data lables over max element. + + + + + This class contains constants required for chartExs parsing and serialization in Excel 2016 format. + + + + + Main chartExs namespace. + + + + + Prefix for chartEx namespace. + + + + + Prefix for chartEx1 namespace for required. + + + + + Namespace used in choice content + + + + + The element specifies the chart data used for chartEx + + + + + The element specifies the data used for chartEx + + + + + The element specifies the text data used for chartEx text + + + + + The element specifies the value used for chartEx value + + + + + The element specifies the chart element position + + + + + The element specifies the chart element alignment + + + + + The element specifies the chart plot area region + + + + + The element specifies the chart axis + + + + + The element specifies the chart series + + + + + The element specifies the plot surface + + + + + The element specifies the chart data point + + + + + The element specifies the chart data labels + + + + + The element specifies the chart data label of single data point + + + + + The element specifies the chart data Id used in series + + + + + The element specifies the chart layout properties used in series + + + + + The element specifies the chart axis Id used in series + + + + + The element specifies the chart data Label position + + + + + The element specifies the data label hidden in setting + + + + + The element specifies the data label visibility setting + The element also specifies the visibility options on box and whisker, waterfall + + + + + The attribute specifies the data label visibility option of series Name + + + + + The attribute specifies the data label visibility option of category Name + + + + + The attribute specifies the data label visibility option of value + + + + + The attribute specifies the layout Id on series + + + + + The attribute specifies the series is hidden or not + + + + + The attribute specifies the owner index on series for refering other series + Pareto line series only + + + + + The attribute specifies the series unique Identifier + + + + + The attribute specifies the format index for series + + + + + The element specifies the parent label layout + + + + + The element specifies the by category option in histogram and pareto chart + + + + + The element specifies the binning option in histogram and pareto chart + + + + + The element specifies the statistics for the box and whisker series + + + + + The element specifies the subtotal for the water fall series + + + + + This attribute specifies the connector line used in Water fall chart + + + + + This attribute specifies the mean line used in Box and Whisker chart + + + + + This attribute specifies the mean marker used in Box and Whisker chart + + + + + This attribute specifies the mean non outliers used in Box and Whisker chart + + + + + This attribute specifies the outliers used in Box and Whisker chart + + + + + This attribute specifies the interval closing in Histogram, Pareto chart + + + + + This attribute specifies the underflow bin value in Histogram, Pareto chart + + + + + This attribute specifies the overflow bin value in Histogram, Pareto chart + + + + + This element specifies the bin width value in Histogram, Pareto chart + + + + + This element specifies the bin count in Histogram, Pareto chart + + + + + This attribute specifies the quartile method used in box and whisker chart + + + + + This value specifies the exclusive quartile method used in box and whisker chart + + + + + This value specifies the inclusive quartile method used in box and whisker chart + + + + + This element speifies the category axis scaling + + + + + This element speifies the value axis scaling + + + + + This attribute specifies the index of element + + + + + This string denotes the automatic value on current property + + + + + This element specifies the display unit axis + + + + + This element specifies the major tick marks. + + + + + This element specifies the minor tick marks. + + + + + Describes the tick marks in the axis + + + + + Describes the type attribute tag + + + + + Describes the Display unit label tag + + + + + Describes the Display unit attribute tag + + + + + This element describes the external data referenced in chartEx + + + + + This attibute specifies whether the work book need to be updated or not + + + + + This element describes the numeric dimension of data + + + + + This element describes the string dimension of data + + + + + This element describes the level of data + + + + + This attibute specifies direction for data dimension + + + + + Value indicates the diemension is column wise + + + + + Value indicates the diemension is row wise + + + + + This class contains the required chart style elements + + + + + It specifies visual and text properties for all elements present on a chart + + + + + It specifies colors used to resolve StyleColor in a ChartStyle. + + + + + Element specifies reference to a line style within the style matrix. + + + + + Element that specifies a multiplier to apply to the line width. + + + + + Element that specifies a reference to a fill style within the style matrix. + + + + + Element that specifies a reference to an effect style within the style + + + + + Element that specifies a reference to a themed font. + + + + + Element that specifies visual shape properties of the part of the chart associated with this CT_StyleEntry. + + + + + Element that specifies the default text character properties for a text body on a chart which is associated with this CT_StyleEntry + + + + + Element that specifies the body properties for a text body on a chart that is associated with this CT_StyleEntry. + + + + + Attribute that specifies the style matrix index of the style referred to. + + + + + Attribute that specifies a list of modifiers for this reference. + + + + + (Accent Color 1) Extra scheme color 1 + + + + + (Accent Color 2) Extra scheme color 2 + + + + + (Accent Color 3) Extra scheme color 3 + + + + + (Accent Color 4) Extra scheme color 4 + + + + + (Accent Color 5) Extra scheme color 5 + + + + + (Accent Color 6) Extra scheme color 6 + + + + + (Background Color 1) Semantic background color + + + + + (Background Color 2) Semantic additional background color + + + + + (Dark Color 1) Main dark color 1 + + + + + (Dark Color 2) Main dark color 2 + + + + + (Followed Hyperlink Color) Followed Hyperlink Color + + + + + (Hyperlink Color) Regular Hyperlink Color + + + + + (Light Color 1) Main Light Color 1 + + + + + (Light Color 2) Main Light Color 2 + + + + + (Style Color) A color used in theme definitions which means to use the color of the style. + + + + + (Text Color 1) Semantic text color + + + + + (Text Color 2) Semantic additional text color + + + + + It specifies a list of transforms that are appended to all colors in a ColorStyle to produce a variation of the color style + + + + + + Bitmap image content type. + + + + + Jpeg image content type. + + + + + Png image content type. + + + + + Emf image content type. + + + + + Gif image content type. + + + + + Svg image content type. + + + + + Content type for xml files. + + + + + Content type for rels files. + + + + + Content type for workbook item (used in [Content_Types].xml). + + + + + Content type for workbook item that contains macros (used in [Content_Types].xml). + + + + + Content type for macro template item that contains macros (used in [Content_Types].xml). + + + + + Content type for template item that contains macros (used in [Content_Types].xml). + + + + + Content type for calculation chain item. + + + + + Content type of the worksheet. + + + + + Content type of the chartsheet. + + + + + Content type of the dialogsheet. + + + + + Content type of the macrosheet + + + + + Content type of the intlmacrosheet + + + + + Content type of the shared strings table. + + + + + Content type of the styles. + + + + + Content type of the vml drawings item. + + + + + Content type of the comments item. + + + + + Content type for drawings item. + + + + + Content type for chart drawings item. + + + + + Content type for core properties. + + + + + Content type for extended properties. + + + + + Content type for custom properties. + + + + + Content type for extern link item. + + + + + Content type for chart object. + + + + + Content type for chartEx object. + + + + + Content type for worksheet custom property. + + + + + Content type for pivot table. + + + + + Content type for pivot cache definition. + + + + + Content type for pivot cache records. + + + + + Content type for table object. + + + + + Content type for CustomXml Objects + + + + + Tiff image content type. + + + + + Content type for chart Style object. + + + + + Content type for chart color Style object. + + + + + This class contains constants required for document properties parsing and serialization in Excel 2007 format. + + + + + Core properties enable users to get and set well-known and common sets of property metadata within packages. + + + + + Represents a categorization of the content of this package. + + + + + Represents the date of creation of the resource. + + + + + Represents an entity primarily responsible for making the content of the resource. + + + + + Represents an explanation of the content of the resource. + + + + + Represents a delimited set of keywords to support searching and indexing. + + + + + Represents the user who performed the last modification. + + + + + Represents the date and time of the last printing. + + + + + Represents the date on which the resource was changed. + + + + + Represents the topic of the content of the resource. + + + + + Represents the name given to the resource. + + + + + Represents Xsi attribute. + + + + + Represents Xsi attribute value. + + + + + Represents date time format structure. + + + + + This element specifies the application properties of a document. + + + + + This element specifies the name of the application that created this document. + + + + + This element specifies the total number of characters in a document. + + + + + This element specifies the name of a company associated with the document. + + + + + MS Excel uses this Tag to represents the xml parts. In our XlsIO, + this tag is used to find the document is generated by MS Excel. + + + + + Tag to represents the file is generated by XlsIO. + + + + + This element specifies the total number of lines in a document when last saved by a conforming producer if applicable. + + + + + This element specifies the name of a supervisor associated with the document. + + + + + This element specifies the total number of sound or video clips that are present in the document. + + + + + This element specifies the number of slides in a presentation containing notes. + + + + + This element specifies the total number of pages of a document if applicable. + + + + + This element specifies the total number of paragraphs found in a document if applicable. + + + + + This element specifies the intended format for a presentation document. + + + + + This element specifies the total number of slides in a presentation document. + + + + + This element specifies the name of an external document template containing format and style information + used to create the current document. + + + + + Total time that a document has been edited. The default time unit is minutes. + + + + + This element specifies the total number of words contained in a document when last saved. + + + + + This element specifies the base string used for evaluating relative hyperlinks in this document. + + + + + Represents default Excel97-03 hyperlink base name. + + + + + Parent element for the custom file properties part. + + + + + This element specifies a single custom file property. + + + + + Uniquely relates a custom property with an OLE property. + + + + + Uniquely relates a custom property with an OLE property. + + + + + Specifies the name of this custom file property. + + + + + This element specifies a Boolean variant type. + + + + + This element specifies a wide string variant type. + + + + + This element specifies a string variant type. + + + + + This element specifies a date variant type of type date-time as defined in RFC 3339. + + + + + This element specifies a 4-byte signed integer variant type. + + + + + This element specifies a 8-byte real number variant type. + + + + + This element specifies an integer variant type. + + + + + This element specifies a file-time variant type of type date-time. + + + + + Class used for defining constants and namespace for drawings. + + + + + preset text warp + + + + + Specifies the shape autofit element tag + + + + + This element specifies the location of the bounding box of a child object. + + + + + This element specifies the size of the bounding box enclosing the referenced child object. + + + + + This element specifies that blip fill. + + + + + Vertical flip attribute tag + + + + + Horizontal flip attribute tag + + + + + Specifies the minimum font size at which character kerning occurs for this text run. + + + + + This element specifies shade. + + + + + specifies the capitialization for rich text + + + + + Specifies the spacing between characters within a text run. + + + + + Specifies the left inset of the bounding rectangle attribute + + + + + Specifies the bottom inset of the bounding rectangle attribute + + + + + Specifies the top inset of the bounding rectangle attribute + + + + + Specifies the right inset of the bounding rectangle attribute + + + + + Determines whether the text can flow out of the bounding box vertically + + + + + Determines whether the text can flow out of the bounding box horizontally + + + + + + Attribute used to denote the requires + + + + + This element specifies a two cell anchor placeholder for a group, a shape, + or a drawing element. It moves with cells and its extents are in EMU units. + + + + + Element specifies the fallback content + + + + + Main spreadsheet drawings namespace ('xdr' abbreviation is used in MS Excel documents). + + + + + Main drawings namespace ('a' abbreviation is used in MS Excel documents). + + + + + Main chartsheet drawings namespace ('cdr' abbreviation is used in MS Excel documents). + + + + + Main drawings namespace ('cs' abbreviation is used in MS Excel documents). + + + + + Prefix used by MS Excel for XdrNamespace definition. + + + + + Prefix used by MS Excel for CdrNamespace definition. + + + + + Prefix used by MS Excel for ANamespace definition. + + + + + This element specifies a one cell anchor placeholder for a group, a shape, + or a drawing element. It moves with the cell and its extents is in EMU units. + + + + + Specifies how the DrawingML contents shall be moved and/or resized when + the rows and columns between its start and ending anchor (the from and + to child elements) are resized, or have additional rows/columns inserted + within them, or additional row/columns are added before them. + + + + + This element specifies the first anchor point for the drawing element. + This will be used to anchor the top and left sides of the shape within + the spreadsheet. That is when the cell that is specified in the from + element is adjusted, the shape will also be adjusted. + + + + + This element specifies the second anchor point for the drawing element. + This will be used to anchor the bottom and right sides of the shape within + the spreadsheet. That is when the cell that is specified in the to element + is adjusted, the shape will also be adjusted. + + + + + This element specifies the column that will be used within the from and to + elements to specify anchoring information for a shape within a spreadsheet. + + + + + This element is used to specify the column offset within a cell. + + + + + This element specifies the row that will be used within the from and to + elements to specify anchoring information for a shape within a spreadsheet. + + + + + This element is used to specify the row offset within a cell. + + + + + This element specifies the non visual properties for a picture. + This allows for additional information that does not affect + the appearance of the picture to be stored. + + + + + This element specifies non-visual canvas properties. + + + + + This element specifies non-visual GroupShape properties. + + + + + This element specifies GroupShape properties. + + + + + This element specifies the non-visual connector shape drawing properties + + + + + This element specifies the non-visual properties for the picture canvas. + + + + + This element specifies the on-click hyperlink information to be applied to a run of text. + When the hyperlink text is clicked the link is fetched. + + + + + This element specifies the type of picture fill that the picture object + will have. Because a picture has a picture fill already by default, + it is possible to have two fills specified for a picture object. + + + + + This element specifies the existence of an image (binary large image + or picture) and contains a reference to the image data. + + + + + It's define the Picture fill option + + + + + It's define the values of Transparency + + + + + Specifies the identification information for an embedded picture. This + attribute is used to specify an image that resides locally within the file. + + + + + Specifies that the current start and end positions shall be maintained + with respect to the distances from the absolute start point of the worksheet. + + + + + Specifies that the current drawing shall move with its row and column + (i.e. the object is anchored to the actual from row and column), but + that the size shall remain absolute. + + + + + Specifies that the current drawing shall move and resize to maintain its + row and column anchors (i.e. the object is anchored to the actual from + and to row and column). + + + + + This element specifies that a BLIP should be stretched to fill the target rectangle. + + + + + This element specifies that a BLIP should be tiled to fill the available space. + + + + + This element specifies the portion of the blip used for the fill. + + + + + This element specifies a fill rectangle. When stretching of an image is specified, + a source rectangle, srcRect, is scaled to fit the specified fill rectangle. + + + + + This element specifies the existence of a picture object within the document. + + + + + Name of the xml attribute that stores id. + + + + + Name of the xml attribute that stores shape name. + + + + + Name of the xml attribute that stores alternative description. + + + + + This element specifies all locking properties for a graphic frame. + + + + + Specifies that the generating application should not allow aspect ratio + changes for the corresponding connection shape. If this attribute is not + specified, then a value of false is assumed. + + + + + This element specifies the visual shape properties that can be applied to a shape. + + + + + This element specifies the thickness of the walls or floor as a percentage of the largest dimension of the plot volume. + + + + + It's define picturefill in shapeproperty. + + + + + It's define pictureformat options + + + + + It's define the Pictureformatvalue + + + + + This element represents 2-D transforms for ordinary shapes. + + + + + This element specifies the location of the bounding box of an object. + + + + + This element specifies the size of the bounding box enclosing the referenced object. + + + + + Specifies a coordinate on the x-axis. + + + + + Specifies a coordinate on the x-axis. + + + + + Specifies the length of the extents rectangle in EMUs. + + + + + Specifies the width of the extents rectangle in EMUs. + + + + + Specifies the preset geometry that will be used for this shape. + + + + + This elemet specifies that the chart has inverted shape elements and that is to be filled with a solid color. + + + + + Specifies the preset geometry that will be used for this shape. + + + + + This element indicates that the sheet contains drawing components built + on the drawingML platform. + + + + + This element specifies all drawing objects within the worksheet. + + + + + This element specifies the adjust values that will be applied to the specified shape. + + + + + This element is used to set certain properties related to a drawing element + on the client spreadsheet application. + + + + + This element describes a single graphical object frame for + a spreadsheet which contains a graphical object. + + + + + This element specifies the existence of a single shape. A shape can either + be a preset or a custom geometry, defined using the SpreadsheetDrawingML + framework. In addition to a geometry each shape can have both visual and + non-visual properties attached. Text and corresponding styling information + can also be attached to a shape. This shape is specified along with all + other shapes within either the shape tree or GroupShape elements. + + + + + This element specifies the properties for a connection shape drawing element. + A connection shape is a line, etc. that connects two other shapes in this drawing. + + + + + This element specifies a GroupShape that represents many shapes grouped together. + This shape is to be treated just as if it were a regular shape but instead of being + described by a single geometry it is made up of all the shape geometries encompassed + within it. Within a GroupShape each of the shapes that make up the group are + specified just as they normally would. The idea behind grouping elements however + is that a single transform can apply to many shapes at the same time. + + + + + This element specifies the custom function associated with the object. + + + + + This element specifies the existence of a single graphic object. + + + + + This element specifies the reference to a graphic object within the document. + + + + + Specifies the URI, or uniform resource identifier that represents the data + stored under this tag. The URI is used to identify the correct 'server' that + can process the contents of this tag. + + + + + This element specifies all non-visual properties for a graphic frame. + + + + + This element defines the body properties for the text body within a shape. + + + + + This element specifies the list of styles associated with this body of text. + + + + + This element specifies the presence of a paragraph of text within the containing text body. + + + + + This element contains all paragraph level text properties for the containing paragraph. + These paragraph properties should override any and all conflicting properties that are + associated with the paragraph in question. + + + + + This element contains all default run level text properties for the text + runs within a containing paragraph. These properties are to be used when + overriding properties have not been defined within the rPr element. + + + + + This element specifies the presence of a run of text within the containing text body. + + + + + This element specifies the actual text for this text run. This is the + text that will be formatted using all specified body, paragraph and run + properties. This element must be present within a run of text. + + + + + This element contains all run level text properties for the text runs within a containing paragraph. + + + + + Specifies whether a run of text will be formatted as bold text. If this + attribute is omitted, than a value of 0, or false is assumed. + + + + + Specifies whether a run of text will be formatted as italic text. If this + attribute is omitted, than a value of 0, or false is assumed. + + + + + Specifies whether a run of text will be formatted as strikethrough text. + If this attribute is omitted, than no strikethrough is assumed. + + + + + Specifies the size of text within a text run. Whole points are specified + in increments of 100 starting with 100 being a point size of 1. For instance + a font point size of 12 would be 1200 and a font point size of 12.5 would be + 1250. If this attribute is omitted, than the value in defRPr should be used. + + + + + Specifies whether a run of text will be formatted as underlined text. + If this attribute is omitted, than no underline is assumed. + + + + + This element is used as an anchor placeholder for a shape or group of shapes. + It will anchor the object in the same position relative to sheet position + and its extents are in EMU unit. + + + + + This element describes the position of a drawing element within a spreadsheet. + + + + + Specifies that the generating application should not allow shape grouping + for the corresponding connection shape. + + + + + This element specifies all locking properties for a graphic frame. + + + + + This element specifies the non-visual drawing properties for a graphic frame. + + + + + This element specifies an outline style that can be applied to a number + of different objects such as shapes and text. + + + + + Specifies the width to be used for the underline stroke. If this + attribute is omitted, then a value of 0 is assumed. + + + + + Specifies the width cap of the dashStyle + + + + + Specifies the compound line type to be used for the underline stroke. + If this attribute is omitted, then a value of sng is assumed. + + + + + This element specifies that no fill will be applied to the parent element. + + + + + This element specifies a solid color fill. The shape is filled entirely with the specified color. + + + + + This element specifies a highlight color. + + + + + border miter join Tag + + + + + border bevel join tag + + + + + This element specifies a color using the red, green, blue RGB color model. + Red, green, and blue is expressed as sequence of hex digits, RRGGBB. + A perceptual gamma of 2.2 is used. + + + + + This element specifies a color bound to a user's theme. As with all elements + which define a color, it is possible to apply a list of color transforms to + the base color defined. + + + + + This color is based upon the value that this color currently has + within the system on which the document is being viewed. + + + + + Applications shall use the lastClr attribute to determine + the absolute value of the last color used if system colors + are not supported. + + + + + This element specifies that a preset line dashing scheme should be used. + + + + + This element specifies the background color of a Pattern fill. + + + + + This element specifies the foreground color of a pattern fill. + + + + + This element specifies a pattern fill. A repeated pattern is used to fill the object. + + + + + Specifies one of a set of preset patterns to fill the object. + + + + + This element specifies that lines joined together will have a round join. + + + + + This element defines a gradient fill. + + + + + This element specifies decorations which can be added to the head of a line. + + + + + This element specifies decorations which can be added to the tail of a line. + + + + + The list of gradient stops that specifies the gradient colors and their + relative positions in the color band. + + + + + This element specifies a linear gradient. + + + + + It's define the Tailtag property + + + + + Specifies the direction of color change for the gradient. To define this + angle, let its value be x measured clockwise. Then ( -sin x, cos x ) is + a vector parallel to the line of constant color in the gradient fill. + + + + + Whether the gradient angle scales with the fill region. + + + + + This element defines that a gradient fill will follow a path vs. a linear line. + + + + + Specifies the shape of the path to follow. + + + + + This element defines a GradientStop. A GradientStop consists of a position + where the stop appears in the color band. + + + + + Specifies where this GradientStop should appear in the color band. + + + + + This element specifies its input color with the specific opacity, + but with its color unchanged. + + + + + This element defines the "focus" rectangle for the center shade, specified + relative to the fill tile rectangle. The center shade fills the entire tile + except the margins specified by each attribute. + + + + + This element specifies a Color Change Effect. Instances of clrFrom are replaced with instances of clrTo + + + + + Specifies the left edge of the rectangle. + + + + + Specifies the top edge of the rectangle. + + + + + Specifies the right edge of the rectangle. + + + + + Specifies the bottom edge of the rectangle. + + + + + This element specifies a lighter version of its input color. A 10% tint is 10% + of the input color combined with 90% white. + + + + + This element specifies a darker version of its input color. A 10% shade is 10% + of the input color combined with 90% black. + + + + + This element specifies that the output color rendered by the generating + application should be the sRGB gamma shift of the input color. + + + + + This element specifies that the output color rendered by the generating + application should be the inverse sRGB gamma shift of the input color. + + + + + This element specifies the input color with its luminance modulated by the given percentage. + + + + + This element specifies the input color with its luminance shifted, but with its hue and saturation unchanged. + + + + + This element specifies the input color with its saturation modulated by the given percentage. + + + + + This element specified the rotation of text. + + + + + Specifies that all text in the parent object shall be aligned to the baseline of + each character when displayed. + + + + + This element specifies that a Latin font be used for a specific run of text. + + + + + Represents font type face. + + + + + Represents embedded controls in worksheet. + + + + + Represents a single embedded control. + + + + + This element specifies the non-visual drawing properties for a shape. These properties + are to be used by the generating application to determine how the shape should be dealt with. + + + + + Specifies that the corresponding shape is a text box and thus should be treated + as such by the generating application. If this attribute is omitted then it is + assumed that the corresponding shape is not specifically a text box. + + + + + This element specifies all non-visual properties for a shape. This element + is a container for the non-visual identification properties, shape properties + and application properties that are to be associated with a shape. This + allows for additional information that does not affect the appearance + of the shape to be stored. + + + + + This element specifies the existence of text to be contained within the + corresponding shape. All visible text and visible text related properties + are contained within this element. There can be multiple paragraphs and + within paragraphs multiple runs of text. + + + + + Default value for subscript baseline value. + + + + + Default value for superscript baseline value. + + + + + Specifies the anchoring position of the txBody within the shape. If this + attribute is omitted, then a value of t, or top is implied. + + + + + Determines if the text within the given text body should be displayed vertically. + If this attribute is omitted, then a value of horz, or no vertical text is implied. + + + + + This attribute indicates whether to allow text editing within this drawing + object when the parent worksheet is protected. + + + + + Specifies the alignment that is to be applied to the paragraph. Possible + values for this include left, right, centered, justified and distributed. + If this attribute is omitted, then a value of left is implied. + + + + + Specifies the constant value used for converting angle + + + + + Represents the glow properties tag. + + + + + Represents the lgihtning rotation tag. + + + + + Represents the lightning latitude attribute. + + + + + Represents the ligtning longitude attribute. + + + + + This class contains constants related with external links storing in Excel 2007 format. + + + + + Main namespace for external links file. + + + + + This element is a container for specific types of external links. + + + + + This element represents an external workbook which is supplying data to the current workbook. + + + + + This element is the container for all of the worksheet names in a supporting workbook. + + + + + Name of a worksheet in the supporting workbook. + + + + + This element defines the collection of external references for this workbook. + + + + + This element defines an external reference that stores data for workbook elements. + + + + + Name of the xml attribute that stores sheet name value. + + + + + This element serves as the collection for 1 or more sheetData elements. + + + + + This element is a collection of the defined names associated with the supporting workbook. + + + + + This element contains information about a named range in an external workbook. + + + + + The defined name attribute. + + + + + Name range definition string. + + + + + The index of the worksheet that the named range applies to for named ranges + that are scoped to a particular worksheet rather than the full workbook. + + + + + This class gives access to xml tag/attribute names used for + pagesetup serialization/parsing. + + + + + Gets name of the xml tag that stores margin settings. Read-only. + + + + + Gets name of the xml attribute used to store left margin. Read-only. + + + + + Gets name of the xml attribute used to store right margin. Read-only. + + + + + Gets name of the xml attribute used to store top margin. Read-only. + + + + + Gets name of the xml attribute used to store bottom margin. Read-only. + + + + + Gets name of the xml attribute used to store header margin. Read-only. + + + + + Gets name of the xml attribute used to store footer margin. Read-only. + + + + + Gets tag's namespace. Read-only. + + + + + This class stores all constants connected with page setup settings. + + + + + Print options for the sheet. + + + + + Used in conjunction with gridLinesSet. If both gridLines and gridlinesSet are true, then + grid lines shall print. Otherwise, they shall not (i.e., one or both have false values). + + + + + Used in conjunction with gridLines. If both gridLines and gridLinesSet are true, then + grid lines shall print. Otherwise, they shall not (i.e., one or both have false values). + + + + + Print row and column headings. + + + + + Center on page horizontally when printing. + + + + + Center on page vertically when printing. + + + + + Page margins for a sheet or a custom sheet view. + + + + + Bottom Page Margin in inches. + + + + + Footer Page Margin in inches. + + + + + Header Page Margin in inches. + + + + + Left Page Margin in inches. + + + + + Right Page Margin in inches. + + + + + Top Page Margin in inches. + + + + + Page setup settings for the worksheet. + + + + + Print black and white. + + + + + This attribute specifies how to print cell comments. + + + + + Number of copies to print. + + + + + Print without graphics. + + + + + Specifies how to print cell values for cells with errors. + + + + + Page number for first printed page. If no value is specified, then 'automatic' is assumed. + + + + + Number of vertical pages to fit on. + + + + + Number of horizontal pages to fit on. + + + + + Horizontal print resolution of the device. + + + + + Relationship Id of the devMode printer settings part. + + + + + Orientation of the page. + + + + + Order of printed pages. + + + + + Paper size + + + + + Print scaling. Valid values range from 10 to 400. + + + + + Use firstPageNumber value for first page number, and do not auto number the pages. + + + + + Use the printer�s defaults settings for page setup values and don't use the default values + specified in the schema. For example, if dpi is not present or specified in the XML, the + application shall not assume 600dpi as specified in the schema as a default and instead + shall let the printer specify the default dpi. + + + + + Vertical print resolution of the device. + + + + + Print cell comments as displayed. + + + + + Do not print cell comments. + + + + + Print cell comments at end of document. + + + + + Display cell errors as blank. + + + + + Display cell errors as dashes. + + + + + Display cell errors as displayed on screen. + + + + + Display cell errors as #N/A. + + + + + Header and footer settings. + + + + + Odd header string. + + + + + Odd footer string. + + + + + Header Footer Scales with Document string + + + + + Header Footer Margins align with Document string + + + + + Header Footer Odd/Even pages is different with the document string + + + + + Header Footer first page is different with document string + + + + + This class contains constants used for pane parsing/serialization. + + + + + Represents worksheet view pane. + + + + + Horizontal position of the split, in 1/20th of a point; 0 (zero) if none. + If the pane is frozen, this value indicates the number of columns visible + in the top pane. + + + + + Vertical position of the split, in 1/20th of a point; 0 (zero) if none. + If the pane is frozen, this value indicates the number of rows visible + in the left pane. + + + + + Location of the top left visible cell in the bottom right pane (when in Left-To-Right mode). + + + + + The pane that is active. + + + + + Indicates whether the pane has horizontal / vertical splits, + and whether those splits are frozen. + + + + + Panes are frozen, but were not split being frozen. In this state, when the + panes are unfrozen again, a single pane results, with no split. + + + + + Panes are frozen and were split before being frozen. In this state, when + the panes are unfrozen again, the split remains, but is adjustable. + + + + + Panes are split, but not frozen. In this state, the split bars are adjustable by the user. + + + + + Selected or active cell information + + + + + Active cell in the worksheet + + + + + Sequence of References + + + + + Possible values for active pane. + + + + + Bottom left pane, when both vertical and horizontal splits are applied. + This value is also used when only a horizontal split has been applied, + dividing the pane into upper and lower regions. In that case, this value + specifies the bottom pane. + + + + + Bottom right pane, when both vertical and horizontal splits are applied. + + + + + Top left pane, when both vertical and horizontal splits are applied. + This value is also used when only a horizontal split has been applied, + dividing the pane into upper and lower regions. In that case, this value + specifies the top pane. This value is also used when only a vertical split + has been applied, dividing the pane into right and left regions. In that + case, this value specifies the left pane. + + + + + Top right pane, when both vertical and horizontal splits are applied. + This value is also used when only a vertical split has been applied, + dividing the pane into right and left regions. In that case, this value + specifies the right pane. + + + + + Specifies a boolean value that indicates whether the application will + refresh the cache when the workbook has been opened. + + + + + Specifies the name of the end-user who last refreshed the cache. + + + + + Specifies the date when the cache was last refreshed. + + + + + Specifies the version of the application that created the cache. + + + + + Specifies the version of the application that last refreshed the cache. + + + + + Specifies the earliest version of the application that is required to refresh the cache. + + + + + Specifies the number of records in the cache. + + + + + Represents the description of data source whose data is stored in the pivot cache. + + + + + Specifies the cache type. + + + + + Indicates that the cache contains data that + consolidates ranges. + + + + + Indicates that the cache contains data from an + external data source. + + + + + Indicates that the cache contains a scenario summary + report + + + + + Indicates that the cache contains worksheet data. + + + + + Represents the location of the source of the data that is stored in the cache. + + + + + Specifies the reference that defines a cell range that is the source of the data. + + + + + Specifies the name of the sheet that is the source for the cached data. + + + + + Represents the collection of field definitions in the source data. + + + + + Specifies the number of fields in the cache. + + + + + Represent a single field in the PivotCache. + + + + + Specifies the name of the cache field. + + + + + Represents the PivotTable root element for non-null PivotTables. + + + + + This element enumerates pivot cache definition parts used by pivot tables and formulas in this workbook. + + + + + This element represents a cache of data for pivot tables and formulas in the workbook. + + + + + Specifies the unique identifier for the pivot cache for this workbook in the pivot cache part. + + + + + Specifies the name of the value area field header in the PivotTable. + + + + + Specifies the version of the application that last updated the PivotTable view. + + + + + Specifies a boolean value that indicates whether calculated members should be shown + in the PivotTable view. This attribute applies to PivotTables from OLAP-sources only. + + + + + Specifies a boolean value that indicates whether auto formatting has + been applied to the PivotTable view. + + + + + Specifies a boolean value that indicates whether PivotItem names should + be repeated at the top of each printed page. + + + + + Specifies the indentation increment for compact axis and can be used to + set the Report Layout to Compact Form. + + + + + Specifies a boolean value that indicates whether new fields should have + their outline flag set to true. + + + + + Specifies a boolean value that indicates whether data fields in the + PivotTable should be displayed in outline form. + + + + + Specifies a boolean value that indicates whether the fields of a PivotTable + can have multiple filters set on them. + + + + + Represents the collection of fields that appear on the PivotTable. + + + + + Represents a single field in the PivotTable. + + + + + Specifies a boolean value that indicates whether to show all items for this field. + + + + + Represents location information for the PivotTable. + + + + + Specifies the first row of the PivotTable header, relative to the top + left cell in the ref value. + + + + + Specifies the first row of the PivotTable data, relative to the top left cell in the ref value. + + + + + Specifies the first column of the PivotTable data, relative to the top left cell in the ref value. + + + + + Represents the pivotCacheDefinition part. This part defines each field + in the source data, including the name, the string resources of the + instance data (for shared items), and information about the type of + data that appears in the field. + + + + + Represents the collection of row fields for the PivotTable. + + + + + Represents the collection of items in row axis of the PivotTable. + + + + + Represents the collection of fields that are on the column axis of the PivotTable. + + + + + Represents the collection of column items of the PivotTable. + + + + + Specifies the index to the number format applied to this data field. + + + + + Represent information on style applied to the PivotTable. + + + + + Specifies a boolean value that indicates whether to show row headers for the table. + + + + + Specifies a boolean value that indicates whether to show column headers for the table. + + + + + Specifies a boolean value that indicates whether to show row + stripe formatting for the table. + + + + + Specifies a boolean value that indicates whether to show column stripe + formatting for the table. + + + + + Specifies a boolean value that indicates whether to show the last column. + + + + + Specifies a boolean value that indicates whether grand totals should be + displayed for the PivotTable columns. + + + + + Specifies a boolean value that indicates whether grand totals should be + displayed for the PivotTable rows. + + + + + Specifies a boolean value that indicates whether drill indicators should be hidden. + + + + + Represents the collection of unique items for a field in the PivotCacheDefinition. + + + + + Specifies a boolean value that indicates that this field contains text values. + The field may also contain a mix of other data type and blank values. + + + + + Specifies a boolean value that indicates whether this field contains a text value. + + + + + Specifies a boolean value that indicates whether this field contains numeric values. + + + + + Specifies a boolean value that indicates whether this field contains integer values. + + + + + Specifies a boolean value that indicates that the field contains at least one date. + + + + + Specifies a boolean value that indicates that the field contains at + least one value that is not a date. + + + + + Specifies a boolean value that indicates whether this field contains a blank value. + + + + + Specifies a boolean value that indicates wheter this field contains a long Text. + + + + + Specifies a boolean value that indicates whether to suppress display of pivot field. + + + + + Represents a generic field that can appear either on the column or the row region of the PivotTable. + + + + + Specifies the index to a pivotField item value. + + + + + Represents the collection of items in the row or column region of the PivotTable. + + + + + GrandTotal constant + + + + + Row Labels of pivot table + + + + + Specifies the type of the item. + + + + + constant + + + + + Represents an array of indexes to cached member property values. + + + + + Represents the collection of items in the data region of the PivotTable. + + + + + Represents a field from a source list, table, or database that contains data that is summarized in a PivotTable. + + + + + Specifies the index to the field (<r>) in the pivotCacheRecords part that this data item summarizes. + + + + + Specifies the index to the base field when the ShowDataAs calculation is in use. + + + + + Specifies the index to the base item when the ShowDataAs calculation is in use. + + + + + Specifies the aggregation function that applies to this data field. + + + + + Specifies the custom text that is displayed for the subtotals label. + + + + + Specifies the region of the PivotTable that this field is displayed. + + + + + Specifies a boolean value that indicates whether this field appears in the + data region of the PivotTable. + + + + + Represents the collection of items in a PivotTable field. + + + + + Represents a single item in PivotTable field. + + + + + Specifies the type of this item. A value of 'default' indicates the subtotal or total item. + + + + + Indicates the pivot item represents the default type for this PivotTable. + The default pivot item type is the "total" aggregate function. + + + + + Represents the collection of records in the PivotCache. + + + + + Represents a single record of data in the PivotCache. + + + + + Represents a numeric value in the PivotTable. + + + + + Represents a character value in a PivotTable. + + + + + Represents a value that was not specified. + + + + + Represents a date-time value in the PivotTable. + + + + + Represents a boolean value for an item in the PivotTable. + + + + + Unified date time format. + + + + + Specifies the value of the item. + + + + + Specifies a boolean value that indicates whether to apply the 'Average' + aggregation function in the subtotal of this field. + + + + + Specifies a boolean value that indicates whether to apply the 'countA' + aggregation function in the subtotal of this field. + + + + + Specifies a boolean value that indicates whether to apply the 'count' + aggregation function in the subtotal of this field. + + + + + Specifies a boolean value that indicates whether to apply the 'max' + aggregation function in the subtotal of this field. + + + + + Specifies a boolean value that indicates whether to apply the 'min' + aggregation function in the subtotal of this field. + + + + + Specifies a boolean value that indicates whether to apply 'product' + aggregation function in the subtotal of this field. + + + + + Specifies a boolean value that indicates whether to apply the 'stdDevP' + aggregation function in the subtotal of this field. + + + + + Specifies a boolean value that indicates whether to use 'stdDev' + in the subtotal of this field. + + + + + Specifies a boolean value that indicates whether apply the 'sum' + aggregation function in the subtotal of this field. + + + + + Specifies a boolean value that indicates whether to apply the 'varP' + aggregation function in the subtotal of this field. + + + + + Specifies a boolean value that indicates whether to apply the 'variance' + aggregation function in the subtotal of this field. + + + + + Specifies a boolean value that indicates whether the default subtotal + aggregation function is displayed for this field. + + + + + Specifies a boolean value that indicates whether the application should query and + retrieve records asynchronously from the cache. + + + + + Specifies a boolean value that indicates whether the user can refresh the cache. + + + + + Specifies a boolean value that indicates whether the cache needs to be refreshed. + + + + + Specifies a boolean value that indicates whether the application will apply optimizations + to the cache to reduce memory usage + + + + + Specifies a boolean value that indicates whether the pivot records are saved with the + cache. + + + + + Specifies whether the cache's data source supports attribute drilldown + + + + + Specifies whether the cache's data source supports subqueries. + + + + + Specifies a boolean value that indicates whether the cache is scheduled for version + upgrade. + + + + + Specifies a boolean value that indicates whether this field came from the source + database + + + + + Specifies the formula for the calculated field + + + + + Represents the collection of properties for a field group. + + + + + Specifies a boolean value that indicates whether an asterisks should be displayed in + subtotals and totals + + + + + Specifies the string to be displayed in column header in compact mode. This attribute + depends on whether the application implements a compact mode for displaying + PivotTables in the user interface. + + + + + Specifies the compact new fileds + + + + + Specifies the display compact Data + + + + + This attribute indicates the wheater to auto sort pivot table or not + + + + + This attribute represents the multiple fields in the data region + is located in the row area or the column area + + + + + This attribute represents the position for the field which representing multiple data field in the PivotTable + + + + + this attribute indicates whether to disable the PivotTable field list. + + + + + This attribute that indicates whether the user is allowed to edit the cells in + the data area of the PivotTable. + + + + + This attribute that indicates whether the user is prevented from drilling down + on a PivotItem or aggregate value. + + + + + indicates whether the user is prevented from displaying + PivotField properties. + + + + + This attribute that indicates whether the user is prevented from displaying + the PivotTable wizard. + + + + + This attribute Specifies the string to be displayed in cells that contain errors. + + + + + this attribute that indicates whether fields in the PivotTable are sorted in + non-default order in the field list. + + + + + Specifies the display name + + + + + Specifies the number of columns per page for this PivotTable that the filter area will + occupy. + + + + + Specifies the number of rows per page for this PivotTable that the filter area will occupy. + + + + + Specifies a boolean value that indicates whether the approximate number of child items + for this item is greater than zero. + + + + + Specifies a boolean value that indicates whether this item has been expanded in the + PivotTable view. + + + + + Specifies a boolean value that indicates whether attribute hierarchies nested next to + each other on a PivotTable row or column will offer drilling "across" each other or not. + + + + + Specifies a boolean value that indicates whether this item is a calculated member. + + + + + Specifies a boolean value that indicates whether the item is hidden. + + + + + Specifies the user caption of the item. + + + + + Specifies a boolean value that indicates whether the item has a character value. + + + + + Specifies a boolean value that indicates whether the details are hidden for this item. + + + + + Specifies a boolean value that indicate whether the item has a missing value. + + + + + Specifies the type of this item. A value of 'default' indicates the subtotal or total item. + + + + + Specifies the base of this field, + + + + + Specifies the parent of this field, + + + + + Represents the collection of discrete grouping properties for a field group + + + + + Represents the collection of items in a field group. + + + + + Represents the collection of range grouping properties. + + + + + Specifies a boolean value that indicates whether the application uses the source data to + set the ending range value. + + + + + Specifies a boolean value that indicates whether we use source data to set the beginning + range value. + + + + + Specifies the ending value for date grouping if autoEnd is false. + + + + + Specifies the ending value for numeric grouping if autoEnd is false. + + + + + Specifies the grouping. + + + + + Specifies the grouping interval for numeric range grouping. Specifies the number of days + to group by in date range grouping + + + + + Specifies the starting value for date grouping if autoStart is false. + + + + + Specifies the starting value for numeric grouping if autoStart is false. + + + + + Specifies a boolean value that indicates whether an "AutoShow" filter is applied to this + field. + + + + + Specifies a boolean value that indicates whether the field can be removed from the + PivotTable. + + + + + Specifies a boolean value that indicates whether the field can be dragged to the column + axis. + + + + + Specifies a boolean value that indicates whether the field can be dragged to the data + region. + + + + + Specifies a boolean value that indicates whether the field can be dragged to the page + region + + + + + Specifies a boolean value that indicates whether the field can be dragged to the row axis + + + + + Specifies a boolean value that indicates whether new items that appear after a refresh + should be hidden by default. + + + + + Specifies a boolean value that indicates whether manual filter is in inclusive mode. + + + + + Specifies a boolean value that indicates whether to insert a blank row after each item. + + + + + Specifies a boolean value that indicates whether to insert a page break after each item. + + + + + Specifies the number of items showed per page in the PivotTable. + + + + + Specifies a boolean value that indicates whether field has a measure based filter. + + + + + Specifies a boolean value that indicates whether the field can have multiple items + selected in the page field. + + + + + Specifies a boolean value that indicates whether to hide drop down buttons on PivotField + headers + + + + + Specifies a boolean value that indicates whether to show the property as a member + caption. + + + + + Specifies a boolean value that indicates whether to show the member property value in a + tooltip on the appropriate PivotTable cells. + + + + + Specifies the type of sort that is applied to this field. + + + + + Specifies the unique name of the member property to be used as a caption for the field + and field items. + + + + + Represents an item within a PivotTable field that uses a formula + + + + + Represents an item within a PivotTable field that uses a formula + + + + + Represents a set of selected fields and selected items within those fields + + + + + Represents a set of selected fields and selected items within those fields + + + + + Flag indicating whether any indexes refer to fields or items in the Pivot cache + + + + + Flag indicating whether the column grand total is included. + + + + + Flag indicating whether only the data values + + + + + Position of the field within the axis to which this rule applies. + + + + + Flag indicating whether the row grand total is included + + + + + Flag indicating whether only the item labels for an item selection + are selected and does + not include the data values + + + + + A Reference that specifies a subset of the selection area. + + + + + Specifies a boolean value that indicates whether the + item is referred to by position rather than item index. + + + + + Specifies a boolean value that indicates whether the item is + referred to by a relative reference rather than an absolute reference + + + + + Specifies a boolean value that indicates whether this field has selection + + + + + Pivot Area tag + + + + + Pivot Area Type + + + + + Represents the collection of conditional formats applied to a PivotTable + + + + + Represents the conditional formatting defined in the PivotTable. + + + + + Specifies a boolean value that indicates whether the in-grid drop zones should be + displayed at runtime, and whether classic layout is applied. + + + + + Specifies a boolean value that indicates how the page fields are laid out + when there are multiple PivotFields in the page area. + + + + + Specifies a boolean value that indicates whether to show error messages in cells + + + + + Specifies a boolean value that indicates + whether to show a message in cells with no value. + + + + + Specifies a boolean value that indicates whether to + show a message in cells with no value. + + + + + Specifies a boolean value that indicates whether the formatting applied by + the user to the PivotTable cells is discarded on refresh. + + + + + Specifies a boolean value that indicates whether tooltips should be + displayed for PivotTable data cells. + + + + + + + + + + Specifies a boolean value that indicates whether row or column titles that span multiple + cells should be merged into a single cell. + + + + + Specifies the number of page fields to display before starting another row or column. + + + + + Represents the collection of filters that apply to this PivotTable. + + + + + Specifies the description of the pivot filter. + + + + + Specifies the evaluation order of the pivot filter. + + + + + Specifies the index of the measure field. + + + + + Specifies the index of the measure cube field. + + + + + Indicates whether the AutoFilter button for this column is hidden + + + + + Flag indicating whether the filter button is visible. + + + + + Specifies the element for Auto filter. + + + + + Specifies the element for filter column + + + + + Specifies the attributes for operator which is applied in pivot filter. + + + + + Specifies the string value "1" used by label pivot filters. + + + + + Zero-based index indicating the AutoFilter column to which this filter information applies. + + + + + Specifies the string value "2" used by label pivot filters. + + + + + Specifies the unique identifier of the pivot filter as assigned by the PivotTable. + + + + + Specifies the element for Custom filters. + + + + + Specifies the element for Custom filter + + + + + Attribute specifying whether and operator is used. + + + + + Top or bottom value to use as the filter criteria. + + + + + Flag indicating whether to filter by blank. + + + + + The actual cell value in the range which is used to perform the comparison for this filter. + + + + + Flag indicating whether or not to filter by percent value of the column. + + + + + Flag indicating whether or not to filter by top order + + + + + Specifies the element for Top 10 filter + + + + + Represents the collection of filter that apply to this PivotFilters. + + + + + Represents the collection of custom formats apply to the pivot table. + + + + + Represents the collection of formats applied to PivotChart. + + + + + Specifies the string to be displayed in row header in compact mode. + + + + + Represents the sorting scope for the PivotTable. + + + + + Represents a Error value in a PivotTable. + + + + + Represents the collection of OLAP hierarchies in the PivotCache. + + + + + Represents the collection of Key Performance Indicators (KPIs) + defined on the OLAP server and stored in the PivotCache. + + + + + Represents the collection of PivotTable OLAP dimensions. + + + + + Represents a PivotTable OLAP measure group. + + + + + Represents the PivotTable OLAP measure group - Dimension maps. + + + + + Represents the collection of OLAP hierarchies associated with the PivotTable. + + + + + Represents the collection of references to OLAP hierarchies on the row axis of a PivotTable. + + + + + Specifies the hierarchy that this field is part of. + + + + + Specifies the hierarchy level that this field is part of. + + + + + Represents the Pivot Field Captions. + + + + + Specifies a boolean value that indicates whether sort is applied to this field in the datasource. + + + + + Specifies a boolean value that indicates the drill state of the attribute hierarchy in an + OLAP-based PivotTable. + + + + + Specifies a boolean value that indicates whether all items in the field are expanded. + Applies only to OLAP PivotTables. + + + + + Indicates whether the pivot cache has missing items. + + + + + Specifies the hierarchy level that this page field is part of. + + + + + Specifies a boolean value that indicates whether this field Member Property + database + + + + + Specifies the string to be displayed for grand totals. + + + + + Defines constants required for protection parsing/serialization in Excel 2007 format. + + + + + This collection expresses the sheet protection options to enforce when the sheet is protected. + + + + + Specifies the hash of the password required for editing this worksheet. + This protection is optional and may be ignored by applications that choose not + to support this functionality. The hash is generated from an 8-bit wide character. + + + + + Objects are locked when the sheet is protected. + + + + + Scenarios are locked when the sheet is protected. + + + + + Formatting cells is locked when the sheet is protected. + + + + + Formatting columns is locked when the sheet is protected. + + + + + Formatting rows is locked when the sheet is protected. + + + + + Inserting columns is locked when the sheet is protected. + + + + + Inserting rows is locked when the sheet is protected. + + + + + Inserting hyperlinks is locked when the sheet is protected. + + + + + Deleting columns is locked when the sheet is protected. + + + + + Deleting rows is locked when the sheet is protected. + + + + + Selection of locked cells is locked when the sheet is protected. + + + + + Sorting is locked when the sheet is protected. + + + + + Autofilters are locked when the sheet is protected. + + + + + Selection of unlocked cells is locked when the sheet is protected. + + + + + Pivot tables are locked when the sheet is protected. + + + + + Sheet is locked when the sheet is protected. + + + + + Specifies the specific cryptographic hashing algorithm which shall be used along with the + salt attribute and input password in order to compute the hash value. + + + + + Specifies the hash value for the password required to edit this worksheet. + + + + + Specifies the number of times the hashing function shall be iteratively run. + + + + + Specifies the salt which was prepended to the user-supplied password before it was + hashed using the hashing algorithm. + + + + + Specifies the specific cryptographic hashing algorithm which shall be used along with the + salt attribute and input password in order to compute the hash value. + + + + + Specifies the hash value for the password required to edit this workbook. + + + + + Specifies the number of times the hashing function shall be iteratively run. + + + + + Specifies the salt which was prepended to the user-supplied password before it was + hashed using the hashing algorithm. + + + + + This element specifies options for protecting data in the workbook. Applications + may use workbook protection to prevent anyone from accidentally changing, moving, + or deleting important data. + + + + + Specifies a boolean value that indicates whether structure of workbook is locked. + + + + + Specifies a boolean value that indicates whether the windows that comprise the workbook are locked. + + + + + Specifies the hash of the password required for unlocking this workbook. + + + + + This class simply hold all constants required by relations. + + + + + Content type for workbook item (used in relations). + + + + + Content type for styles item (used in relations). + + + + + Content type for SST dictionary item (used in relations). + + + + + Content type for calculation chain item (used in relations). + + + + + Content type for vml drawings (used in worksheet relations). + + + + + Content type of comment notes items (used in worksheet relations). + + + + + Content type for drawings (used in worksheet relations). + + + + + Content type for chart drawings (used in worksheet relations). + + + + + Represents package level relationships namespace. + + + + + Content type for theme item (used in relations). + + + + + Content type for image item (used in relations). + + + + + Content type for core properties item (used in relations). + + + + + Content type for extended properties item (used in relations). + + + + + Content type for custom properties item (used in relations). + + + + + Content type for path to extern link source (used in relations). + + + + + Content type for external link (used in relations). + + + + + Content type for chart. + + + + + Relation type for worksheet custom property. + + + + + Content type for path to extern link source that is missing. + + + + + Content type for pivot cache definition. + + + + + Content type for pivot cache records. + + + + + Content type for pivot table. + + + + + Content type for table object. + + + + + Content Type for Ole object. + + + + + Content Type for External connection. + + + + + Content Type for Query Table. + + + + + Content Type for Theme Override. + + + + + This class contains constants required for vml shapes parsing and serialization. + + + + + Name of a namespace used by VML (marked by 'v' in MS Excel 2007 documents). + + + + + Name of a namespace used by VML (marked by 'o' in MS Excel 2007 documents). + + + + + Name of a namespace used by VML (marked by 'x' in MS Excel 2007 documents). + + + + + Namespace prefix used in vml shapes. + + + + + Namespace prefix used in vml shapes. + + + + + Namespace prefix used in vml shapes. + + + + + Root tag for vml shapes. + + + + + Name of the xml tag that represents shape type definition in VML. + + + + + String format used to create shape type id. {0} must be replaced with instance + field of the shape object. + + + + + String format used to create shape id. {0} must be replaced with correct shape id number. + + + + + Name of the xml attribute that stores shape type id. + + + + + Name of the xml attribute that stores shape (or shape type) coordinate size. + + + + + Default value of the coord size for comment shape. + + + + + Name of the xml attribute that stores spt option (it looks like it equals to instance field of the shape). + + + + + Name of the xml attribute that stores shape path value. + + + + + Default value of the path value for comment shape. + + + + + Default value of the path value for bitmap shape. + + + + + Name of the xml tag that stores vml shape client data. + + + + + Name of the xml attribute that stores vml shape type. + + + + + Name of the xml tag that indicates whether shape should be moved with cells or not. + + + + + Name of the xml tag that indicates whether shape should be sized with cells or not. + + + + + Name of the xml tag that stores anchor settings. + + + + + Name of the xml tag that stores all shape settings. + + + + + Name of the xml tag that stores all shape layout settings. + + + + + Name of the xml tag that stores shape type attribute. + + + + + Name of the xml tag that stores information about vml drawings inside worksheet part. + + + + + Name of the xml tag that stores information about vml header/footer drawings inside + worksheet part. + + + + + Name of the xml tag that stores row index of the note shape. + + + + + Name of the xml tag that stores column index of the note shape. + + + + + Style attribute for vml shapes. + + + + + Name of the xml attribute that stores vml shape fill color value. + + + + + Name of the xml tag that stores vml shape shadows settings. + + + + + Name of the xml attribute that specifies whether to show a shadow. + + + + + Name of the xml attribute that specifies whether a shadow is transparent. + Default is false. If true, the shadow is transparent if there is no fill on the shape. + + + + + Name of the xml attribute that specifies the color of the primary shadow. + Default is gray (RGB 128,128,128). + + + + + Specifies text alignment. + + + + + Name of xml attribute that specifies whether the application calculates the + internal text margin instead of using the inset attribute. Default is custom. + This attribute is only meaningful for text boxes. + + + + + Name of the xml tag that stores some of text box settings. + + + + + Name of the xml tag that stores div settings. + + + + + Part of the style attribute value that defines whether shape is visible or hidden. + + + + + One of possible visibility values. Indicates that shape is hidden. + + + + + Name of the xml tag that specifies whether text is locked or not. + + + + + Name of the xml tag that specifies the horizontal text alignment for the object. + + + + + Name of the xml tag that specifies the vertical text alignment for the object. + + + + + This element is used to draw an image that has been loaded from an external source. + + + + + Specifies the relationship ID of the relationship to the image. + + + + + Determines the flow of the text layout in a textbox. + + + + + CheckStateChanged of layout-flow attribute which indicates that text is displayed vertically. + + + + + Specifies the alternate layout flow for text in textboxes. + + + + + Specifies the top to bottom layout flow for text in textboxes. + + + + + /// Specifies the bottom to top layout flow for text in textboxes. + + + + + Specifies whether the shape will stretch to fit the text in the textbox + + + + + Represents true expression + + + + + Represents false expression + + + + + This element defines a set of formulas whose calculated values are referenced by other attributes. + + + + + This element defines a single value as the result of the evaluation of an expression. + + + + + Specifies a single formula, which consists of a named operation followed + by up to three parameters. + + + + + This element defines the path that makes up the shape. + + + + + Specifies whether an extrusion is allowed to be displayed. + + + + + Specifies whether a gradient path will be made up of repeated concentric paths. + + + + + Specifies the type of connection points used for attaching shapes to other shapes. + + + + + Specifies whether the original size of an object is saved after reformatting. + + + + + Specifies whether the closed path will be filled. + + + + + Specifies whether the path defining the shape is stroked with a solid line. + + + + + This element describes how to draw the path if something beyond solid line + with a solid color is desired. + + + + + Specifies the join style for line ends. + + + + + This element specifies locks against actions that can be effected in the UI + of an authoring application or programmatically through an object model. + + + + + Specifies an optional value that indicates how applications that implement + VML should interpret extensions not defined as part of the original + specification of core VML. + + + + + Specifies whether the aspect ratio of a shape is locked from being edited. + + + + + Tag that stores checkbox checked state. + + + + + Specifies font and text inside div element. + + + + + Font face. + + + + + Font size. + + + + + Font color. + + + + + Fill style color. + + + + + Represents check box shape type. + + + + + + Represents combo box shape type. + + + + + This element specifies that the object is an AutoLine object. If this + element is specified without a value, it is assumed to be true. + + + + + This element specifies that the object is an AutoFill object. If this + element is specified without a value, it is assumed to be true. + + + + + This element specifies the cell the object is linked to, using standard cell reference syntax. + + + + + This element specifies whether the object is first button of the Grouped objects, + + + + + This element specifies the scroll bar position as the index of the list + item just above the item at the top of the view, given the current scroll + position. The list indexes are 1-based. + If omitted, the value is assumed to be 0. + + + + + This element specifies the minimum scroll bar position as the index of + the list item just above the item at the top of the view when the control + is scrolled all the way up, typically 0. The list indexes are 1-based. + If omitted, the value is assumed to be 0. + + + + + Specifies the position of the center rectangle of a radial gradient. The vector is a fraction + of the width and height of the shape. The first is a percentage of the fill to the left edge; + the second is a percentage of the fill to the top. Default is 0,0. To position a radial fill at + the center of a shape, use a value of 50%,50%. + + + + + Specifies the size of the center rectangle of a radial gradient. The vector is a fraction of + the width and height of the shape. The first is a percentage of the fill to the right edge; + the second is a percentage of the fill to the bottom. Default is 0,0. + + + + + lightness or darkness of "one color" option in Gradient + + + + + Colors attributes specifies the combination of colors + applied to the shape. this attribute usde for preset colors + + + + + This element specifies the number of lines to move the scroll bar on an increment click. + If omitted, the increment is 0. + + + + + This element specifies the number of lines to move the scroll bar on a page click. + + + + + This element specifies the width of the scroll bar in screen pixels. + + + + + This element specifies that 3D effects are disabled. If this element + is specified without a value, it is assumed to be true. + + + + + This element specifies that 3D effects are disabled. If this element + is specified without a value, it is assumed to be true. + + + + + This element specifies the range of source data cells used to populate + the list box, using standard cell reference syntax. + + + + + This element specifies that the object represents a password edit field. + If this element is specified without a value, it is assumed to be true. + + + + + This element specifies the selection type for the list box. If omitted, the control is assumed to be Single. + + + + + This element specifies the list box callback type. The application should + use the callback to determine how to handle user actions on the list box. + The only allowed value is Normal. + + + + + Normal value of the callback type. + + + + + This element specifies the style of the dropdown. + + + + + This element specifies the maximum number of lines in the dropdown before + scrollbars are added. + + + + + this part contains tags used in VML + + + + + Gradient Fill Method + + + + + Gradient fill method value none. + + + + + This element specifies how the shape should be filled + + + + + for two color fill + + + + + link attribute + + + + + solid fill tag + + + + + Texture Attribute value + + + + + Picture Attribute Value + + + + + Pattern Attribute Value + + + + + Fill type Tag value represents gradient fill type + + + + + Fill type Tag value represents gradient radial (From corner or Center) fill type + + + + + Fill type Tag value represents gradient radial (From corner or Center) fill type + + + + + fill One Color Darkeness + + + + + fillOne Color Lightness + + + + + "Transparency From" of the filled color + + + + + "Transparency To" of the filed color + + + + + Filled color Shading (Horizontal , vertical...) + + + + + filled color rotates with the shape + + + + + shape's border Line wieght + + + + + focus attribute specifies to shading variants + Values range from 100% to -100%. Default is 0. + + + + + Relation id for the resource + + + + + Title of the texture or picture or pattern + + + + + FillType specifies the pattern fill of + Line in VMLtexbox shapes + + + + + Represent Dash Style (solid, shortDash) + + + + + Represent line style (ThinThick,..) + + + + + Represents solid fill type of the shape + + + + + Alternate text for the Shape + + + + + represents the place holder image + + + + + Link Attribute value + + + + + Specifies that the fill uses an image + + + + + represents the path + + + + + represents the extrusion + + + + + represent strokeok + + + + + represent fillok + + + + + represent conect type + + + + + represent lock + + + + + represent extension + + + + + represent Shape type + + + + + represent shadoe ok + + + + + represent ole Update + + + + + Colors are prefixed with this char + + + + + indexed color enclosed with this char + + + + + Size value prefixed with this char + + + + + Size value store with this string + + + + + opacity value divided by this + + + + + Degree value divided by this + + + + + degree's dark limit + + + + + This enum specifies possible selection types. + + + + + The listbox may only have one selected item. + + + + + The listbox may have multiple items selected by clicking on each item. + + + + + The listbox may have multiple items selected by holding a control key and clicking on each item. + + + + + Possible drop styles. + + + + + Standard combo box. + + + + + Editable combo box. + + + + + Standard combo box with only the dropdown button visible when the box is not expanded. + + + + + Class used for Excel 2007 Serialization. + + + + + Maximum allowed formula length. + + + + + File heading. + + + + + Namespace with ContentTypes items. + + + + + Namespace for hyperlink. + + + + + Namespace for relation tags/attributes. + + + + + Main xml namespace. + + + + + Name of the relation type that indicates that part contains worksheet data. + + + + + Name of the relation type that indicates that part contains chartsheet data. + + + + + Name of the relation type that indicates that part contains extended document properties. + + + + + Name of the relation type that indicates that part contains core properties. + + + + + Name of the relation type that indicates that part contains the Sparkline properties. + + + + + Main Microsoft Namespace + + + + + Uri for the Sparkline properties. + + + + + Prefix for core properties namespace. + + + + + Name of the relation type that indicates dublin core part. + + + + + Prefix for dublin core namespace. + + + + + Name of the relation type that indicates dublin core terms part. + + + + + Prefix for dublin core terms namespace. + + + + + Name of the relation type that indicates DCMIType part. + + + + + Prefix for DCMIType namespace. + + + + + Name of the relation type that indicates XSI part. + + + + + Prefix for XSI namespace. + + + + + Name of the relation type that indicates that part contains custom properties. + + + + + Name of the relation type that indicates DocPropsVTypes namespace + + + + + OleObject Content Type + + + + + OleObject File Extension + + + + + Prefix for DocPropsVTypes namespace. + + + + + Prefix for relation namespace. + + + + + Prefix for Sparkline namespace. + + + + + Prefix for Microsoft Main Namespace. + + + + + Name of the xml tag that stores content types definitions. + + + + + Name of the xml attribute with part extension. + + + + + Name of the xml tag that stores default type name. + + + + + Name of the xml tag that stores content type string. + + + + + Name of the xml tag that stores type override. + + + + + Name of the xml attribute that stores part name. + + + + + Name of the xml tag that defines the structure of the workbook. + + + + + Name of the xml tag that represents the collection of sheets in the workbook. + + + + + Name of the xml tag that defines a sheet in this workbook. + + + + + Name of the xml attribute that stores sheet name. + + + + + Default worksheet path format + + + + + Relation id format + + + + + Name of the xml attribute that stores unique sheet id. + + + + + Name of the xml attribute that stores relation id. + + + + + Name of the xml attribute that stores relation id, + it is used in .rels file (starts with capital letter). + + + + + Name of the xml attribute that specifies the visible state of this sheet. + + + + + This element defines the collection of properties the application uses + to record calculation status and details. + + + + + Default delimiter between worksheet rows. + + + + + Indicates the book window is hidden, but can be shown by the user via the user interface. + + + + + Indicates the sheet is hidden and cannot be shown in the user interface (UI). + This state is only available programmatically. + + + + + Indicates the sheet is visible. + + + + + Name of the xml tag that holds relationships data. + + + + + Name of the xml tag that holds relationship data. + + + + + Name of the xml attribute that holds relationship type. + + + + + Name of the xml attribute that holds relationship target. + + + + + Name of the xml attribute that holds relationship target mode. + + + + + Name of relationship external target mode. + + + + + Name of the xml tag that contains merged cells data. + + + + + Name of the count attribute. + + + + + Name of the xml tag that contains single merge region's data. + + + + + Name of the ref attribute. + + + + + Name of the xml tag that contains all defined named ranges. + + + + + Name of the xml tag that contains single defined named range. + + + + + Name of the name attribute. + + + + + Name of the attribute that stores sheet id for named range. + + + + + Name of the xml tag that contains all styles settings (fonts, number formats, fills, etc.) inside. + + + + + Name of the xml tag that contains all fonts settings inside. + + + + + Name of the xml tag that contains all font settings inside. + + + + + Name of the xml tag that indicates that font is bold. + + + + + Name of the xml tag that indicates that font is italic. + + + + + Name of the xml tag that stores font underline settings. + + + + + Name of the value attribute. + + + + + Name of the xml tag that stores font underline settings. + + + + + Name of the xml tag that indicates that font has strike settings. + + + + + Name of the xml tag that represents font name. + + + + + Name of the xml tag that contains color settings. + + + + + Name of the indexed attribute in the color tag. + + + + + Name of the xml attribute that represents index into the theme colors collection. + + + + + Name of the xml attribute that represents the tint value applied to the color. + + + + + Name of the rgb attribute in the color tag. + + + + + Name of the default color attribute. + + + + + Name of the xml tag that stores indexed color values. + + + + + Name of the xml tag that stores color settings. + + + + + Name of the xml tag that stores rgb color. + + + + + Name of the xml tag that stores MacOSShadow settings. + + + + + Name of the xml tag that stores font vertical alignment settings. + + + + + Name of the xml tag that stores font family settings. + + + + + Name of the xml tag that stores font charset settings. + + + + + Name of the xml tag that represents number formats. + + + + + Name of the xml tag that represents single number format. + + + + + Name of the xml attribute that defines number format id. + + + + + Name of the xml attribute that defines number format string. + + + + + Name of the xml tag that represents fills collection. + + + + + Name of the xml tag that represents single fill object. + + + + + Name of the xml tag that represents pattern fill object. + + + + + Name of the xml tag that represents gradient-style cell fill. + + + + + Name of the xml attribute that represents type of gradient fill. + + + + + This gradient fill is of linear gradient type. + + + + + This gradient fill is of path gradient type. + + + + + Name of the xml attribute that represents angle of the linear gradient - vertical, horizontal, diagonal. + + + + + Name of the xml attribute that specifies in percentage format (from the top to the bottom) the + position of the bottom edge of the inner rectangle (color 1). + + + + + Name of the xml attribute that specifies in percentage format (from the left to the right) the + position of the left edge of the inner rectangle (color 1). + + + + + Name of the xml attribute that specifies in percentage format (from the left to the right) the + position of the right edge of the inner rectangle (color 1). + + + + + Name of the xml attribute that specifies in percentage format (from the top to the bottom) the + position of the top edge of the inner rectangle (color 1). + + + + + Name of the xml tag name that represents one of a sequence of two or more gradient stops, constituting this gradient fill. + + + + + Name of the xml attribute that represents position information for this GradientStop. + + + + + Name of the xml attribute that defines pattern. + + + + + Name of the xml tag that represents background color. + + + + + Name of the xml tag that represents foreground color. + + + + + Name of the xml tag that stores all border collections inside. + + + + + Name of the xml tag that stores single border collection. + + + + + Name of the xml attribute that represents border style. + + + + + Name of the xml tag that stores border color. + + + + + This is the root element of Sheet Parts that are of type 'worksheet'. + + + + + Name of the xml tag that stores worksheet dimension. + + + + + Name of the xml tag that stores sheet data. + + + + + Name of the xml tag that stores cell in the worksheet. + + + + + Name of the xml attribute that represents the cell metadata record associated with this cell. + + + + + Name of the xml attribute that represents boolean value to show phonetic information. + + + + + Name of the xml attribute that represents an A1 style reference to the location of this cell. + + + + + Name of the xml attribute that represents the index of this cell's style. + + + + + Name of the xml attribute that represents an enumeration representing the cell's data type. + + + + + Name of the xml attribute that represents index of the value metadata + record associated with this cell's value. + + + + + Name of xml tag that represents formula. + + + + + Name of xml tag that represents cell value. + + + + + Name of xml tag that represents rich text. + + + + + Name of xml tag that represents rich text run properties. + + + + + Name of xml tag that represents rich text run font name. + + + + + Name of the xml tag that stores all column settings. + + + + + Name of the xml tag that stores column settings range. + + + + + Name of the xml attribute that stores minimum column index of the column range. + + + + + Name of the xml attribute that stores maximum column index of the column range. + + + + + Name of the xml attribute that stores width of each column from column range. + + + + + Name of the xml attribute that stores style of each column from column range. + + + + + Name of the xml attribute that indicates whether column width differs from the default one. + + + + + + + + + + Name of xml tag that represents row. + + + + + Name of xml attribute that represents row index. + + + + + Name of xml attribute that represents row height in point size. + + + + + Name of xml attribute that shows whether row is visible or not. + + + + + Name of xml attribute that shows whether row style should be applied or not. + + + + + Name of xml attribute that shows whether row height has been manually set or not. + + + + + Name of xml attribute that shows whether row has been collapsed or not. + + + + + Name of xml attribute that represents outlining level of the row. + + + + + Name of xml attribute that represents thick bottom flag. + + + + + Name of xml attribute that represents thick top flag. + + + + + Name of xml attribute that represents formula type. + + + + + True indicates that this formula is an array formula and the entire array shall be + calculated in full. If false the individual cells of the array shall be calculated as needed. + + + + + Name of xml attribute that represents shared formula group index. + + + + + Name of xml attribute that represents range of cells which the formula applies to. + + + + + Name of the xml tag that holds list of all comment authors. + + + + + Name of the xml tag that holds single author name. + + + + + Name of the xml tag that holds all comment notes. + + + + + Name of the xml tag that holds single comment note. + + + + + Name of the xml tag that stores comment text. + + + + + Name of the xml tag that stores all comment notes settings. + + + + + Name of the xml attribute that stores comment author id. + + + + + Defines default cell data type. + + + + + Name of the xml tag that stores extended formats for named styles. + + + + + Name of the xml tag that stores extended formats for cell formats. + + + + + Name of the xml tag that stores extended formats for differential formats. + + + + + Name of the xml tag that stores table styles. + + + + + Name of the xml tag that stores single extended format settings. + + + + + Name of the xml attribute that represents font id. + + + + + Name of the xml attribute that represents fill id. + + + + + Name of the xml attribute that represents border id. + + + + + Name of the xml attribute that represents extended format index. + + + + + Name of the xml tag that stores named cell styles settings. + + + + + Name of the xml tag that stores single named cell style settings. + + + + + Name of the xml attribute that stores built in style id. + + + + + Name of the xml attribute that define the customized buildinstyles. + + + + + Indicates that this formatting is for an outline style. + + + + + Name of the xml attribute indicating whether the alignment formatting + specified for this xf should be applied. + + + + + Name of the xml attribute indicating whether the border formatting + specified for this xf should be applied. + + + + + Name of the xml attribute indicating whether the font formatting + specified for this xf should be applied. + + + + + Name of the xml attribute indicating whether the number formatting + specified for this xf should be applied. + + + + + Name of the xml attribute indicating whether the fill formatting + specified for this xf should be applied. + + + + + Name of the xml attribute indicating whether the protection formatting + specified for this xf should be applied. + + + + + Name of the xml tag that hold all style's alignment information. + + + + + Name of the xml tag that hold all style's protection information. + + + + + Name of the xml attribute that stores style indent level settings. + + + + + Name of the xml attribute that specifies the type of horizontal alignment in cells. + + + + + Name of the xml attribute indicating if the cells justified or distributed + alignment should be used on the last line of text. + + + + + Name of the xml attribute that holds reading order settings. + + + + + Name of the xml attribute that holds shrink to fit option. + + + + + Name of the xml attribute that holds text rotation value. + + + + + Name of the xml attribute that holds wrap text option. + + + + + Name of the xml attribute that specifies the type of vertical alignment in cells. + + + + + Name of the xml attribute that indicates whether cell is hidden. + + + + + Name of the xml attribute that indicates whether cell is locked. + + + + + Default value for FormulaHidden value. + + + + + Default value for Locked value. + + + + + Name of the xml attribute that stores value indicating whether the text + string in a cell should be prefixed by a single quote mark. + + + + + Name of the xml attribute that indicates whether diagonalDown border is present. + + + + + Name of the xml attribute that indicates whether diagonalUp border is present. + + + + + Name of the xml tag that represents shared string table. + + + + + Name of the xml attribute that represents the total count of unique strings in the SST. + + + + + Name of the xml tag that represents individual string in SST. + + + + + Name of the xml tag that represents the text content shown as part of a string. + + + + + Name of the xml tag that represents rich text run. + + + + + Root items for data preserving. + + + + + Attribute to specify string spacing. + + + + + Xml prefix. + + + + + Value specifying white space preservation in a string. + + + + + Represents Number data type. + + + + + Represents string data type. + + + + + Represents boolean data type. + + + + + Represents error. + + + + + Represents formula. + + + + + Represents inline string + + + + + Name of the xml tag that represents the root level complex type associated with a shared style sheet (or theme). + + + + + Name of the xml tag that represents the root level complex type associated with a shared style sheet (or theme) overrided. + + + + + Name of the xml tag that represents the theme formatting options for the theme and is the workhorse of the theme. + + + + + Name of the xml tag that represents a set of colors which are referred to as a color scheme. + + + + + Name of the xml attribute name that the actual color value, expressed as a sequence of hex digits RRGGBB. + + + + + Name of the xml tag that represents a color bound to predefined operating system elements. + + + + + Name of the xml attribute that represents the system color value. + + + + + Name of the xml attribute that represents the color value that was last computed by the generating application. + + + + + Name of the xml tag that represents a single dxf record, expressing incremental formatting to be applied. + + + + + Name of the xml tag that represents a collection of phonetic properties that affect the display of phonetic text. + + + + + Represents sorting state. + + + + + Name of the xml tag that represents a collection of hyperlinks. + + + + + Name of the xml tag that represents a single hyperlink. + + + + + Name of the xml attribute that represents display string, if different from string in string table. + + + + + Name of the xml attribute that represents relationship Id in this sheet's relationships part, + expressing the target location of the resource. + + + + + Name of the xml attribute that represents location within target. + + + + + Name of the xml attribute that represents cell location of hyperlink on worksheet. + + + + + Name of the xml attribute that represents additional text to help the user understand more about the hyperlink. + + + + + Name of the xml tag that represents sheet level properties. + + + + + Page setup properties of the worksheet. + + + + + Flag indicating whether the Fit to Page print option is enabled. + + + + + Name of the xml tag that represents background color of the sheet tab. + + + + + Name of the xml tag that represents sheet outline properties. + + + + + Name of the xml tag that represents Summary Row below property of sheet outline + + + + + Name of the xml tag that represents Summary column right property of sheet outline + + + + + Name of the xml tag that represents Background sheet image. + + + + + Represent file hyperlink string prefix. + + + + + Represent http hyperlink string prefix. + + + + + Name of the xml tag that stores sheet format properties. + + + + + Name of the xml attribute that stores rows are hidden by default. + + + + + Name of the xml attribute that stores default row height setting. + + + + + Name of the xml attribute that stores default col width setting. + + + + + Name of the xml attribute that stores base column width setting + + + + + Name of the xml attribute that stores thickBottom setting + + + + + Name of the xml attribute that stores thickTop setting + + + + + Name of the xml attribute that stores outlineLevelCol setting + + + + + Name of the xml attribute that stores outlineLevelRow setting + + + + + Name of the xml tag that specifies the collection of workbook views. + + + + + Name of the xml tag that specifies a single Workbook view. + + + + + Name of the xml attribute that specifies an unsignedInt that contains the index to the active sheet in this book view. + + + + + Name of the xml attribute that specifies a boolean value that indicates whether to group dates + when presenting the user with filtering options in the user interface. + + + + + Name of the xml attribute that specifies the index to the first sheet in this book view. + + + + + Name of the xml attribute that specifies a boolean value that indicates whether the book window is minimized. + + + + + Name of the xml attribute that specifies a boolean value that indicates whether + to display the horizontal scroll bar in the user interface. + + + + + Name of the xml attribute that specifies a boolean value that indicates whether + to display the sheet tabs in the user interface. + + + + + Name of the xml attribute that specifies a boolean value that indicates whether to display the vertical scroll bar. + + + + + Name of the xml attribute that specifies ratio between the workbook tabs bar and the horizontal scroll bar. + + + + + Name of the xml attribute that specifies visible state of the book window. + + + + + Name of the xml attribute that specifies the height of the workbook window. + + + + + Name of the xml attribute that specifies the width of the workbook window. + + + + + Name of the xml attribute that specifies the X coordinate for the upper left corner of the book window. + + + + + Name of the xml attribute that specifies the Y coordinate for the upper left corner of the book window. + + + + + Name of the xml tag that represents horizontal page break information. + + + + + Name of the xml tag that represents vertical page break information + + + + + Name of the xml attribute that represents number of breaks in the collection. + + + + + Name of the xml attribute that represents number of manual breaks in the collection. + + + + + Name of the xml tag that represents individual row or column breaks; + + + + + Name of the xml attribute that represents zero-based row or column Id of the page break. + Breaks occur above the specified row and left of the specified column. + + + + + Name of the xml attribute that represents manual Break flag. + '1' means the break is a manually inserted break. + + + + + Name of the xml attribute that represents zero-based index of end row or column of the break. + For row breaks, specifies column index; for column breaks, specifies row index. + + + + + Name of the xml attribute that represents zero-based index of start row or column of the break. + For row breaks, specifies column index; for column breaks, specifies row index. + + + + + Worksheet/chartsheet views collection. + + + + + This element specifies a chart sheet view. + + + + + Flag indicating whether this sheet should display zero values. + + + + + Zero-based index of this workbook view, pointing to a workbookView + element in the bookViews collection. + + + + + String used to serialize sheet zooming + + + + + String used to serialize sheet view + + + + + String used to serialize sheet zooming + + + + + String used to serialize Page break preview layout. + + + + + String used to serialize Normal layout. + + + + + String used to serialize boolean True value. + + + + + String used to serialize boolean False value. + + + + + String used to serialize Sparkline Column type. + + + + + String used to serialize Sparkline WinLoss type. + + + + + String used to serialize Display of Empty Cells as gaps. + + + + + String used to serialize Display of Empty Cells as zero. + + + + + String used to serialize Display of Empty Cells as Continued lines. + + + + + String used to serialize Vertical Axis type as custom. + + + + + String used to serialize Vertical Axis type as same. + + + + + Flag indicating whether this sheet should display gridlines. + + + + + Flag indicating whether the sheet is in 'right to left' display mode. + When in this mode, Column A is on the far right, Column B ;is one column + left of Column A, and so on. Also, information in cells is displayed in + the Right to Left format. + + + + + Flag indicating whether this sheet gridline is modified by user + + + + + String used to specify the color of grid line + + + + + This collection is used to reference binary parts containing arbitrary user-defined data. + + + + + The custom property element provides a mechanism to store name/value pairs + of arbitrary user-defined data. The name is stored in the attribute name, + the arbitrary data is stored in the binary part referenced by the relationshipId. + + + + + A collection of ignored errors, by cell range. + + + + + A single ignored error type for a range of cells. + + + + + + + + + + + + + + + Attribute used to store range reference. + + + + + This element defines properties that track which version of the application + accessed the data and source code contained in the file. + + + + + Specifies the incremental public release of the application. + For example, betas, service packs, and versions. + + + + + This xml element stores the details of WorkbookPr. + + + + + This element stores information about the Date format to be used. + + + + + This element stores information about the Precision to be followed. + + + + + Specifies the application name. + + + + + Value of the application name attribute. + + + + + Flag indicating whether the panes in the window are locked due to workbook protection. + This is an option when the workbook structure is protected. + + + + + Xml attribute containing sheet codename. + + + + + Attribute for showing or hiding the fields list of pivot table in workbook + + + + + Xml Tags and Attributes containing Sheet Sparklines. + + + + + Attribute to show two-dimenssional data table + + + + + Attribute to show one-dimentional data table is a row or column + + + + + Attribute to represent first input cell for data table. + + + + + First visible character. + + + + + Flag indicating whether this sheet should display row and column headers. + + + + + Properties Constant + + + + + DocumentManagement Constalt + + + + + Properties NameSpace + + + + + PartnerControls NameSpace + + + + + Default Theme Version + + + + + Represent the connections + + + + + Represent the connections + + + + + Represent the WebProperties + + + + + Represent the Olap Property + + + + + Indicating whether cell has pivot button + + + + + CustomXmlParts Constants + + + + + Sequence of error types (must be in the same order as in ErrorTagsSequence). + + + + + String that formulas for Ole images. + + + + + String for the BorderColor of OleObject Image + + + + + Sequence of error xml attribute names corresponding to error types defined in ErrorsSequence. + + + + + Chars with codes less than 0x20 which are allowed to be used inside xml strings. + + + + + Parent workbook. + + + + + Formula utils. + + + + + Record extractor. + + + + + Collection with vml shapes seriliazators. + + + + + Collection with header/footer vml shapes seriliazators. + + + + + Conditional formats list. + + + + + List of Sheet names. + + + + + Special characters can use in the sheet name. + + + + + Initializes a new instance of the Excel2007Serializator class. + + Parent workbook. + + + + Serializes styles collection into specified XmlWriter. + + XmlWriter to serialize styles into. + Stream that contains Dxfs formatting tags. + Dictionary with new XF indexes. + + + + Serialize the sheet format properties + + the XML writer + the input worksheet object + + + + Serializes Data table into sheet. + + XmlWriter to serialize into. + Worksheet to serialize. + + + + Serializes worksheet's dimension. + + XmlWriter to serialize into. + Worksheet to serialize dimension of. + + + + Serializes worksheet's view properties. + + XmlWriter to serialize into. + Worksheet to serialize. + + + + Serializes active cell. + + Writer to write selection information into. + Worksheet to get active cell from. + + + + Serializes pane record. + + XmlWriter to serialize into. + Worksheet to serialize pane for. + + + + Serializes stream. + + XmlWriter to serialize into. + Data to be serialized. + + + + Serializes stream data. + + XmlWriter to serialize into. + Data to be serialized + Root name of the data. + + + + Serializes fonts collection into specified XmlWriter. + + XmlWriter to serialize fonts into. + + + + Serialize single font object into specified XmlWriter. + + XmlWriter to serialize fonts into. + Font to serialize. + Element tag name to serialize font for. + + + + Serializes font color object. + + XmlWriter to serialize into. + Name of the tag to use. + Color object to serialize. + + + + Serializes number formats collection into XmlWriter. + + XmlWriter to serialize into. + + + + Serialize single instance of number format into XmlWriter. + + Writer to save number format into. + Number format to serialize. + + + + Serializes fills into specified writer. + + XmlWriter to save fills into. + Array with fill indexes, index in array means extended format index, value means fill index. + + + + Serializes single fill object into specified XmlWriter. + + XmlWriter to serialize into. + Object to serialize. + + + + Serializes single pattern fill object into specified XmlWriter. + + XmlWriter to serialize into. + Object to serialize. + + + + Serializes single gradient fill object into specified XmlWriter. + + XmlWriter to serialize into. + Object to serialize. + + + + Serializes single degree gradient fill object into specified XmlWriter. + + XmlWriter to serialize into. + Object to serialize. + + + + Serializes single from corner or from center gradient fill object into specified XmlWriter. + + XmlWriter to serialize into. + Object to serialize. + + + + Serializes stop color for gradient fill object into specified XmlWriter. + + XmlWriter to serialize into. + Stop position attribute value. + Represents Color. + + + + Converts specified pattern into string that can be understood by MS Excel 2007. + + Pattern to convert. + Converted value. + + + + Serializes borders into specified XmlWriter. + + XmlWriter to save borders into. + Border indexes. + + + + Serializes color into XmlWriter. + + XmlWriter to serialize color into. + Name of the color tag. + Color value. + + + + Serializes rgb color value. + + XmlWriter to serialize into. + Xml tag name to use for color serialization. + Color to serialize. + + + + Serializes theme color into XmlWriter. + + XmlWriter to serialize color into. + Name of the color tag. + Color value. + + + + Serializes color into XmlWriter. + + XmlWriter to serialize color into. + Name of the color tag. + Color value. + + + + Serializes borders collection into specified XmlWriter. + + XmlWriter to serialize borders into. + Borders collection to serialize. + + + + Serializes single border entry inside BordersCollection. + + XmlWriter to serialize border into. + Border to serialize. + + + + Gets border. + + Represents Border line type + Border extracted. + + + + Gets Border line style. + + Border line style to be extracted for. + Extracted line style. + + + + Serializes extended formats used by named styles. + + XmlWriter to serialize into. + Index to fill objects (position in array - xf index, + value - fill index). + Index to border objects (position in array - xf index, + value - border index). + Dictionary containing extended format indexes. + + + + Serialize extended formats that are responsible for cell format (do not have names). + + XmlWriter to serialize into. + Index to fill objects (position in array - xf index, + value - fill index). + Index to border objects (position in array - xf index, + value - border index). + Dictionary with new parent indexes. + Dictionary containing extended format indexes. + + + + Serializes single extended format. + + XmlWriter to serialize into. + Array with fill indexes. + Array with border indexes. + Format to serialize. + Dictionary with new parent indexes. + Default value for ApplyAlignment, ApplyBorder, etc. + + + + Serializes alignment options if necessary. + + XmlWriter to serialize into. + ExtendedFormat to serialize. + + + + Checks whether specified extended format has default alignment options. + + Extended format to check. + True if extended format has default alignment options. + + + + Serializes protection options if necessary. + + XmlWriter to serialize into. + ExtendedFormat to serialize. + + + + Serializes all named styles. + + XmlWriter to serialize into. + Dictionary with new extended format indexes. + Key - index in our collection of extended formats, value - index in the cellStyleXfs block. + + + + Serializes single named style object. + + XmlWriter to serialize into. + Style object to serialize. + Dictionary with new extended format indexes. + Key - index in our collection of extended formats, value - index in the cellStyleXfs block. + + + + Lower first letter in the string. + + String to process. + New string with the first letter in lower case. + + + + Serializes attribute if it differs from default value. + + XmlWriter to serialize into. + Attribute name. + Attribute value. + Default value. + + + + Serializes attribute if it differs from default value. + + XmlWriter to serialize into. + Attribute name. + Attribute value. + Default value. + + + + Serializes attribute if it differs from default value. + + XmlWriter to serialize into. + Attribute name. + Attribute value. + Default value. + + + + Serializes attribute if it differs from default value. + + XmlWriter to serialize into. + Attribute name. + Attribute value. + Default value. + Namespace of the attribute that is being serialized. + + + + Serializes attribute if it differs from default value. + + XmlWriter to serialize into. + Attribute name. + Attribute value. + Default value. + + + + Serializes sheet data. + + XmlWriter to serialize into. + Cell record collection. + Dictionary with new extended format indexes. + Key - index in our collection of extended formats, value - index in the cellStyleXfs block. + + + + Serializes single row. + + XmlWriter to serialize into. + Row to serialize. + Cell record collection. + Row index. + Dictionary with new extended format indexes. + Key - index in our collection of extended formats, value - index in the cellStyleXfs block. + + + + Serializes cells. + + XmlWriter to serialize into. + Current row. + Cell record collection. + Dictionary with new extended format indexes. + Key - index in our collection of extended formats, value - index in the cellStyleXfs block. + + + + Serializes cells, which are not represented by Blank, MulBlank and MulRK records. + + XmlWriter to serialize into. + Record to serialize. + Row storage enumerator. + Cell record collection. + Dictionary with new extended format indexes. + Key - index in our collection of extended formats, value - index in the cellStyleXfs block. + + + + Serialize blank cell. + + XmlWriter to serialize into. + Row index. + Column index. + Extended format index. + Dictionary with new extended format indexes. + Key - index in our collection of extended formats, value - index in the cellStyleXfs block. + + + + Serializes MulBlank record. + + XmlWriter to serialize into. + MulBlank record to serialize. + Dictionary with new extended format indexes. + Key - index in our collection of extended formats, value - index in the cellStyleXfs block. + + + + Serialize MulRKRecord cell values. + + XmlWriter to serialize into. + MulRK record. + Dictionary with new extended format indexes. + Key - index in our collection of extended formats, value - index in the cellStyleXfs block. + + + + Serializes array formula. + + XmlWriter to serialize into. + Formula array record. + + + + Serializes formula. + + XmlWriter to serialize into. + Formula record. + Cell record collection. + + + + Serializes cell value. + + XmlWriter to serialize into. + Record to get value from. + Cell type. + + + + Serializes formula value. + + XmlWriter to serialize into. + Formula record to serialize from. + Cell type. + Row storage enumerator. + + + + Defines cell data type to serialize. + + Biff record. + String representation of the cell type. + Extracted Cell data type. + + + + Serializes shared string table into specified XmlWriter. + + XmlWriter to save SST into. + + + + Serializes string item into specified XmlWriter. + + XmlWriter to save string item into. + Rich text or string object to serialize. + + + + Replaces characters with codes less then 0x20. + + Text to replace chars in. + + + + + Ignores the hexa string with the hexa code before serialize + + string to ignore the hexa string + ignored hexa string + + + + Checks whether specified string is hexadecimal number. + + + + + + + Serializes rich text run into specified XmlWriter. + + XmlWriter to save rich text into. + Rich text run to serialize. + + + + Serializes rich text run single entry. + + XmlWriter to save rich text into. + Fonts collection. + String to serialize. + Font index. + + + + Serializes colors settings. In the current implementation it serializes palette if necessary. + + Writer to serialize into. + + + + Serializes palette. + + XmlWriter to serialize palette into. + + + + Determines whether palette contains default colors. + + True if all colors have default value; false otherwise. + + + + Serializes column settings. + + XmlWriter to serialize into. + Worksheet that stores column settings. + Dictionary with modified style indexes. + + + + Serialize single ColumnInfoRecord into specified XmlWriter. + + Writer to serialize into. + Record to serialize. This value can be null, + in this case no data will be serialized. + Dictionary with modified style indexes. + Default column width. + Parent worksheet. + Last index in the sequence of the same columns. + + + + Checks whether columns after iColumnIndex have the same settings and + returns the last number in the sequence. + + Worksheet to search in. + Column index to start searching from. + Last index in the sequence of the same columns. + + + + Gets the active pane. + + The pane record. + + + + + Serializes worksheet properties. + + XmlWriter to serialize properties into. + Worksheet to get properties from. + + + + Serialize the individual worksheets in the workbook + + input file archive + the input workbook + the input chart + defalut worksheet index + the styleindex collection + the boolean value indicates whether the file is default + + + + Parse and Returns Worksheetstream data rather than the worksheet data + + input stream + the extra relation attributes + the sheet stream rather than data + + + + Serialize the default worksheet + + input file archive + the input workbook + the input chart + defalut worksheet index + the styleindex collection + + + + Gets Dictionary with serializators that can be used to serialize header/footer vml shapes. Read-only. + + + + + Gets Dictionary with serializators that can be used to serialize vml shapes. Read-only. + + + + + Gets version that is supported by this serializator. + + + + + Represents the cell's data type. + + + + + Cell containing a boolean. + + + + + Cell containing an error. + + + + + Cell containing an (inline) rich string. + + + + + Cell containing a number. + + + + + Cell containing a shared string. + + + + + Cell containing a formula string. + + + + + Represents type of formula. + + + + + Formula is an array entered formula. + + + + + Formula is a data table formula. + + + + + Formula is a regular cell formula. + + + + + Formula is part of a shared formula. + + + + + Class used for Excel 2007 Serialization. + + + + + Uri for data bar properties + + + + + Gets version that is supported by this serializator. + + + + + Gets version that is supported by this serializator. + + + + + Class used for holding file data. + + + + + Classes that implement this interface are responsible for whole + workbook serialization into stream or into file. + + + + + Name of the zip item with content types description. + + + + + Name of the directory with relations. + + + + + Extension for relations file. + + + + + Path to the top relations. + + + + + Xml files extension. + + + + + Relations default extension. + + + + + Binary item extension. + + + + + Default name of the workbook part. + + + + + Default name of the CustomXml Parts + + + + + Default name of the shared strings part. + + + + + Default name of the styles part name. + + + + + Default name of the themes part name. + + + + + Path format for the worksheet part. + + + + + Path format for the chartsheet part. + + + + + Path format for pictures. + + + + + Default name of the extended properties part. + + + + + Default name of the core properties part. + + + + + Default name of the custom properties part. + + + + + Format for relation id generation. + + + + + Default name format for the external link items. + + + + + Start of the External links item name. + + + + + Start of the worksheet custom property item. + + + + + Default name format for cache definition. + + + + + Default name format for cache records. + + + + + Default name format for pivot table. + + + + + Format to get full path to zip archive item that stores tables. + + + + + External connection + + + + + Dictionary which contains the stream of the emf image file and wmf image file + + + + + Represents Zip Archive. + + + + + Parent workbook. + + + + + Parser to parse data if necessary. + + + + + Dictionary which is used to identify content type and stores default types. + Key - file extension (string), Value - content type (string). + + + + + Dictionary which is used to identify content type and stores type overrides. + Key - part name, Value - content type (string). + + + + + Top-level relations. + + + + + Name of the workbook part. + + + + + Name of the shared strings table part. + + + + + Name of the styles part. + + + + + Connection part. + + + + + Name of the themes part. + + + + + Object used for workbook serialization. + + + + + Represents list of workbook styles. + + + + + Workbook-level relations. + + + + + Specifies style relation id. + + + + + Specifies shares string relation id. + + + + + Specifies theme relation id. + + + + + Specifies workbook content type. + + + + + Memory stream that will get workbook part after /sheets tag or after /definedNames tag. + + + + + Memory stream that will get workbook part before sheets tag. + + + + + Stream that can contains Dxfs formatting tags. + + + + + Index used to generate comments zip item names. + + + + + Index used to generate vml zip item names. + + + + + Index used to generate drawing zip item names. + + + + + Index used to generate image zip item names. + + + + + Represents image id. + + + + + Index used to generate chart zip item names. + + + + + Index used to generate the pivotCache item name + + + + + Index used to generate the pivotCacheRecords item name + + + + + Index used to generate extern link zip item name. + + + + + Array that contains names of the image items. + + + + + Workbook views collection. + + + + + Items that must be removed after parsing complete. + + + + + Stream containing functionGroups tag. + + + + + Build version, last edited version, etc.. + + + + + Calculation id. + + + + + Initializes a new instance of the FileDataHolder class. + + Parent workbook for the new instance. + + + + Initializes a new instance of the FileDataHolder class. + + Parent workbook for the new instance. + File name to get initial data from. + Password to use during for decryption. + + + + Parses document. + + Represents theme colors in document. + + + + Finds workbook part name according to content type. + + Content type. + True if item was found; false otherwise. + + + + Gets the Workbook Save Type. + + Workbook Content Type. + + + + Parses content type. + + + + + Parses all document properties. + + + + + Parses archive item by content type. Removes relation for this item and the item itself. + + Content type. + + + + Returns XmlReader for corresponding content type. + + Content type. + Name of the item that has specified content type. + Item name. + + + + Saves document into specified file. + + Name of the file to save into. + Type of the saving format. + + + + Converts image format into content type and file extension. + + Image format to convert. + Resulting file extension. + Content type for this image format. + + + + Parses workbook. + + Represents theme color in workbook. + + + + Parses relations item. + + Path to the item to parse. + Parsed relations collection; null if there are no such relation item. + + + + Tries to find path to the item by content type. + + Content type to locate. + First occurrence of the item with specified content type. + + + + Tries to find path to the item by content type inside default types. + + Content type to locate. + First occurrence of the item with specified content type. + + + + Tries to find path to the item by content type inside overridden types. + + Content type to locate. + First occurrence of the item with specified content type. + + + + Gets relations. + + Item name to get corresponding relation. + Extracted relation + + + + Splits item name (including path) into item name and path to this item. + + Item name to split. + Path without item name. + Item name without path. + + + + Gets image. + + Path of the image. + Extracted image + + + + Creates XmlReader for specified zip archive item. + + Item to create reader for. + Created reader. + + + + Creates XmlReader for specified zip archive item. + + Relation that points to the archive item. + Path to the parent item. + Created reader. + + + + Creates XmlReader for specified zip archive item. + + Relation that points to the archive item. + Path to the parent item. + Path to the desired item. + Created reader. + + + + Returns single zip item based on the relation and parent path. + + Relation that points to the archive item. + Path to the parent item. + Path to the desired item. + Requested zip item. + + + + Parses external link. + + Represents relation id. + + + + Tries to combine two paths into one. + + First part of the path. + Second part of the path. + Combined path. + + + + Saves styles into internal zip archive. + + Dictionary with new XF indexes. + + + + This method removes calculation chain item from the document. + + + + + Saves workbook into specified file. + + Destination file name. + Workbook to save. + Save type. + + + + Creates copy of the current object. + + Parent workbook for the new object. + A copy of the current object. + + + + Creates copy of the workbook's views. + + List with cloned items. + + + + Gets parent workbook. Read-only. + + + + + Gets Excel 2007 parser. + + + + + Returns archive item corresponding to the relation. + + + + + Gets object used for serialization. + + + + + Gets cell styles. + + + + + Gets zip archive object that stores Excel 2007 document. + + + + + Gets Items that must be removed after parsing complete. Read-only. + + + + + This class is responsible for gradient serialization. + + + + + Serializes gradient stops collection into specified XmlWriter. + + XmlWriter to serialize into. + Collection to serialize. + Parent workbook object. + + + + Serializes collection of gradient stops. + + XmlWriter to serialize into. + Collection to serialize. + Parent workbook. + + + + Serializes single GradientStop. + + XmlWriter to serialize into. + GradientStop to serialize. + Parent workbook. + + + + This class stores relation data (except relation id). + + + + + Represents Target. + + + + + Target type. + + + + + Defines whether target is external or not. + + + + + Initializes a new instance of the Relation class. + + Represents target. + Represents destination type. + + + + Initializes a new instance of the Relation class. + + Represents target. + Represents destination type. + Value indicating whether target is external. + + + + Create copy of the current object. + + A copy of the current object. + + + + Gets target. Read-only. + + + + + Gets destination type. Read-only. + + + + + Class used for Relations Collection. + + + + + Relation id start. + + + + + Length of the relation id start. + + + + + Dictionary with relations. Key - relation id, value = relation object. + + + + + Path to the item (this member should be filled when extracting collection from file). + + + + + Initializes a new instance of the RelationsCollection class. + + + + + Removes relation by id. + + Relation id to remove. + + + + Removes relation by content type. + + Content type of relation to delete. + + + + Searches for relation with appropriate content type. + + Content type to find. + Relation id. + Relation that contains desired content type or null if not found. + + + + Generates relation id that can be used as relation key. + + Free relation key. + + + + Generates id and adds relations to there collection. + + Relation to add. + Relation id. + + + + Removes all items from the collection. + + + + + Creates copy of the current collection. + + A copy of the current collection. + + + + Creates copy of the current collection. + + A copy of the current collection. + + + + Returns an enumerator that can iterate through a collection. + + An IEnumerator that can be used to iterate through the collection. + + + + Gets / sets relation by id. + + + + + Gets number of items in the collection. Read-only. + + + + + Gets or sets path to the item (this member should be filled when extracting collection from file). + + + + + This class is responsible for chart shape serialization. + + + + + Format for the default chart item. + + + + + Format for the default chart Ex item. + + + + + Format for the default chart style + + + + + Format for the default chart color style + + + + + This is general interface for classes that are responsible for shape serialization. + + + + + Xml serializator. Serializes XlsIO workbook into MsExcel xml file format. + + + + + Represents xml version. + + + + + Represents application string; + + + + + Represents o namespace. + + + + + Represents x namespace. + + + + + Represents ss namespace. + + + + + Represents html namespace. + + + + + Represents ss pref. + + + + + Represents html pref. + + + + + Represents o pref. + + + + + Represents x pref. + + + + + Represents default pref. + + + + + Represents xmlns pref. + + + + + dummy namespace + + + + + Represents WorkBook pref. + + + + + Represents WorkSheet pref. + + + + + Represents Name pref. + + + + + Represents Table pref. + + + + + Represents Row pref. + + + + + Represents Cell pref. + + + + + Represents Data pref. + + + + + Represents Names pref. + + + + + Represents NamedRange pref. + + + + + Represents Styles pref. + + + + + Represents Style pref. + + + + + Represents Font pref. + + + + + Represents Protection pref. + + + + + Represents Alignment pref. + + + + + Represents NumberFormat pref. + + + + + Represents Interior pref. + + + + + Represents Borders pref. + + + + + Represents Border pref. + + + + + Represents AutoFilter pref. + + + + + Represents AutoFilterColumn pref. + + + + + Represents AutoFilterAnd pref. + + + + + Represents AutoFilterCondition pref. + + + + + Represents AutoFilterOr pref. + + + + + Represents Comment pref. + + + + + Represents B tag. + + + + + Represents B end tag. + + + + + Represents I tag. + + + + + Represents I end tag. + + + + + Represents U tag. + + + + + Represents U end tag. + + + + + Represents S tag. + + + + + Represents S end tag. + + + + + Represents Sub tag. + + + + + Represents Sub end tag. + + + + + Represents Sup tag. + + + + + Represents Sup end tag. + + + + + Represents Font end tag. + + + + + Represents Font tag. + + + + + Represents Span pref. + + + + + Represents Column pref. + + + + + Represents ConditionalFormatting pref. + + + + + Represents Condition pref. + + + + + Represents Qualifier pref. + + + + + Represents Value1 pref. + + + + + Represents Value2 pref. + + + + + Represents worksheet options pref. + + + + + Represents page setup pref. + + + + + Represents footer pref. + + + + + Represents header pref. + + + + + Represents layout pref. + + + + + Represents page margins pref. + + + + + Represents print pref. + + + + + Represents print comments layout pref. + + + + + Represents print errors pref. + + + + + Represents fit to page pref. + + + + + Represents LeftToRight pref. + + + + + Represents active pane pref. + + + + + Represents first visible row pref. + + + + + Represents split horizontal pane pref. + + + + + Represents split vertical pane pref. + + + + + Represents top row bottom pane pref. + + + + + Represents left col right pane pref. + + + + + Represents freeze panes pref. + + + + + Represents freeze no split panes pref. + + + + + Represents panes pref. + + + + + Represents pane pref. + + + + + Represents number pane pref. + + + + + Represents active column pane pref. + + + + + Represents active row pane pref. + + + + + Represents tab color index pref. + + + + + Represents zoom pref. + + + + + Represents Do Not Display Gridlines pref. + + + + + Represents Visible pref. + + + + + Represents don't display headings pref. + + + + + Represents ExcelWorkbook pref. + + + + + Represents Active sheet pref. + + + + + Represents Selected pref. + + + + + Represents selected sheets pref. + + + + + Represents first visible sheet pref. + + + + + Represents DataValidation pref. + + + + + Represents RightToLeft pref. + + + + + Represents Index pref. + + + + + Represents Type pref. + + + + + Represents Ticked pref. + + + + + Represents Formula pref. + + + + + Represents RefersTo pref. + + + + + Represents ID pref. + + + + + Represents Parent pref. + + + + + Represents Bold pref. + + + + + Represents FontName pref. + + + + + Represents Color pref. + + + + + Represents Italic pref. + + + + + Represents Outline pref. + + + + + Represents Shadow pref. + + + + + Represents Size pref. + + + + + Represents StrikeThrough pref. + + + + + Represents Underline pref. + + + + + Represents Protected pref. + + + + + Represents HideFormula pref. + + + + + Represents Horizontal pref. + + + + + Represents Indent pref. + + + + + Represents ReadingOrder pref. + + + + + Represents Rotate pref. + + + + + Represents ShrinkToFit pref. + + + + + Represents Vertical pref. + + + + + Represents VerticalText pref. + + + + + Represents WrapText pref. + + + + + Represents Format pref. + + + + + Represents PatternColor pref. + + + + + Represents Pattern pref. + + + + + Represents Position pref. + + + + + Represents Range pref. + + + + + Represents Operator pref. + + + + + Represents Value pref. + + + + + Represents Author pref. + + + + + Represents ShowAlways pref. + + + + + Represents DefaultColumnWidth pref. + + + + + Represents DefaultRowHeight pref. + + + + + Represents Width pref. + + + + + Represents Hidden pref. + + + + + Represents StyleID pref. + + + + + Represents AutoFitWidth pref. + + + + + Represents AutoFitHeight pref. + + + + + Represents Height pref. + + + + + Represents Face pref. + + + + + Represents line style pref. + + + + + Represents weight pref. + + + + + Represents vertical align pref. + + + + + Represents merge column count pref. + + + + + Represents merge row count pref. + + + + + Represents hyper link tip pref. + + + + + Represents hyper link reference pref. + + + + + Represents margin pref. + + + + + Represents margin top pref. + + + + + Represents margin right pref. + + + + + Represents margin left pref. + + + + + Represents margin bottom pref. + + + + + Represents center horizontal pref. + + + + + Represents center vertical pref. + + + + + Represents orientation pref. + + + + + Represents start page number pref. + + + + + Represents number of copies to print. + + + + + Represents default numbers of copies to print. + + + + + Represents horizontal resolution pref. + + + + + Represents paper size index pref. + + + + + Represents Scale pref. + + + + + Represents fit width pref. + + + + + Represents fit height pref. + + + + + Represents gridlines pref. + + + + + Represents BlackAndWhite pref. + + + + + Represents DraftQuality pref. + + + + + Represents row and column headings pref. + + + + + Represents colon. + + + + + Represents semicolon. + + + + + Represents font color. + + + + + Represents font style. + + + + + Represents font weight style. + + + + + Represents bold font weight. + + + + + Represents regular font weight. + + + + + Represents italic font const. + + + + + Represents line through + + + + + Represents line through + + + + + Represents Single line through + + + + + Represents font underline. + + + + + Represents pattern back color. + + + + + Represents fill pattern. + + + + + Represents border constant. + + + + + Represents border top constant. + + + + + Represents border bottom constant. + + + + + Represents border left constant. + + + + + Represents border right constant. + + + + + Represents Arial font name. + + + + + Represents none style. + + + + + Represents default font size. + + + + + Represents left diagonal border index. + + + + + Represents right diagonal border index. + + + + + Represents zero constant. + + + + + Represents rotation constant. + + + + + Represents default style font size. + + + + + Represents default rotation text. + + + + + Represents default border increment. + + + + + Represents default style name. + + + + + Represents unique prephix. + + + + + Represents style align none. + + + + + Represents style align Subscript. + + + + + Represents style align Superscript. + + + + + Represents default margin. + + + + + Represents default page scale. + + + + + Represents default page fit. + + + + + Represents default zoom. + + + + + Represents xml true string. + + + + + Represents xml false string. + + + + + Represents All autofilter type. + + + + + Represents color string prefix. + + + + + Represents Bottom autofilter type. + + + + + Represents Top autofilter type. + + + + + Represents Percent autofilter type. + + + + + Represents blanks autofilter type. + + + + + Represents Custom autofilter type. + + + + + Represents non blanks autofilter type. + + + + + Represents default column width. + + + + + Represents default row Height. + + + + + Represents default column div. + + + + + Represents default row div. + + + + + Represents data time mask. + + + + + Represents default merged style first index. + + + + + Represents 13/10 chart. + + + + + Represents bad reference. + + + + + Represents bad reference in xml. + + + + + Represents bad formula reference. + + + + + Represents default maximum column index. + + + + + Represents default minimum column index. + + + + + Represents default cod for generate unique style index. + + + + + This class stores worksheet data extracted from document and is responsible + for parsing and serialization of this data into special FileDataHolder. + + + + + Format to get full path to zip archive item that stores vml drawings for worksheet. + + + + + Format got get full path to zip archive item that stores comments description for worksheet. + + + + + Format to get full path to zip archive item that stores drawings for worksheet. + + + + + Relations default extension. + + + + + Archive item that stores worksheet data. + + + + + Objects that stores workbook data. + + + + + This stream stores xml text starting just after "worksheet" tag to + "col" or "sheetData" tag. + + + + + This stream stores xml text with conditional formatting. + + + + + This stream stores xml text with conditional formattings in extended list. + + + + + Relation id in the parent workbook. Null means that item hasn't been serialized + yet and we must generate new id. + + + + + Sheet id. + + + + + Worksheet relations. + + + + + Drawings relations. + + + + + Header/footer drawings relations. + + + + + Relation id for vml drawings. Null means no vml drawings present (or were present). + + + + + Relation id for vml header/footer drawings. Null means no vml drawings present (or were present). + + + + + Relation id for comment notes. Null means no comment note present (or were present). + + + + + Relation id for drawings. Null means no drawings present (or were present). + + + + + Stream with controls data. + + + + + Initializes a new instance of the WorksheetDataHolder class. + + Objects that stores workbook data. + Relation that points at (relative path) necessary worksheet. + Path to the relation parent object (to convert relative + path into absolute). + + + + Initializes new instance of the WorksheetDataHolder class. + + Objects that stores workbook data. + Archive item with sheet data. + + + + Parses worksheet data. + + Worksheet to parse. + + + + This method tries to parse drawings part. + + Parent worksheet. + Relation pointing at drawings xml item.. + Dictionary with archive items to remove after parsing. + + + + Create copy of the current object. + + A copy of the current object. + + + + Gets parent FileDataHolder. Read-only. + + + + + Gets or sets Worksheet's relation id in the workbook. + + + + + Gets or sets sheet id extracted from the file. + + + + + Gets drawings relation collection. Read-only. + + + + + Gets or sets relation id for drawings. Null means no drawings present (or were present). + + + + + + Class used as message sender on Property value change. Class provides old and + new values which allow user to create advanced logic. + + + + + Storage of Old value. + + + + + Storage of new value. + + + + + Name of property or unique identifier of the object + whose value changed. + + + + + Value changed event arguments. + + + + + Default constructor. + + + + + Main constructor. + + Old property value. + New property value. + Unique Identifier of object whose value changed. + + + + Main constructor. + + Old property value. + New property value. + Unique Identifier of object whose value changed. + Next property which must be changed. + + + + New property value. Event handler property has new value set. + Read-only. + + + + + Old property value. Event handler property has new value set. + Read-only. + + + + + + Delegate which can be used for Property Changed events declarations. + + + + + Summary description for _constants. + + + + + This value is used instead of possible minimum row or column index. + + + + + This value is used instead of possible maximum row or column index. + + + + + This value is used instead of maximum used row or column index. + + + + + This value is used instead of minimum used row or column index. + + + + + Size of the Int32 value. + + + + + Size of the Int16 value. + + + + + Size of the Int64 value. + + + + + Number of bits inside single short value. + + + + + Number of bits inside single byte value. + + + + + Size of the Double value in bytes. + + + + + Optimized version of SortedList collection. Instead of keeping two + arrays, one for keys and one for values, the values array on + Hashtable collection are changed. Performance of this collection is better than that of SortedList. + + + + + Default capacity of internal buffers. + + + + + Array which store keys in sorted order. + + + + + Collection stores values. + + + + + Size of collection. + + + + + Version of collection data. + + + + + Default comparer for keys. + + + + + List of keys. + + + + + List of values. + + + + + Default constructor. + + + + + Creates an empty list with the specified initial capacity. + + Initial capacity. + + When initialCapacity is less than zero. + + + + + Creates an empty SortedList with the default initial capacity + and specified comparer. + + + The IComparer is used to determine whether two keys are equal. + + + + + Creates an empty SortedList with the specified initial capacity + and specified comparer. + + Initial capacity. + + The IComparer is used to determine whether two keys are equal. + + + + + Copies the elements from the specified dictionary to a new list + with the same initial capacity as the number of elements copied. + + The IDictionary to copy. + + + + Copies the elements from the specified dictionary to a new list with the same + initial capacity as the number of elements copied and with the specified comparer. + + The IDictionary to copy. + + The IComparer to use to determine whether two keys are equal. + + + When argument d is null. + + + + + Returns a synchronized (thread-safe) wrapper for the SortedList. + + The SortedList to synchronize. + A synchronized (thread-safe) wrapper for the SortedList. + + When list is null. + + + + + Adds an element with the provided key and value to the list. + + The Object to use as the key of the element to add. + The Object to use as the value of the element to add. + + When key is null. + + + When list already contains specified key. + + + + + Removes all elements from the collection. + + + + + Creates a new object that is a copy of the current instance. + + Copy of the current instance. + + + + Clone current instance. + + Returns clone of current object. + + + + Determines whether the list contains an element with the specified key. + + Key of the element to search. + True if list contains specified key. + + + + Determines whether the list contains an element with the specified key. + + Key of the element to search. + True if list contains specified key. + + + + Determines whether the list contains the specified value. + + Value of the element to search. + True if list contains specified value. + + + + Copies all the elements of the SortedListEx to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + If specified array is null. + + + If rank of the array is not 1 or there are not enough elements. + + + If specified arrayIndex is less than zero. + + + + + Gets the value at the specified index of the SortedListEx. + + The zero-based index of the value to get. + The value at the specified index of the SortedListEx. + + When index is less than zero or greater than size of the list. + + + + + Gets the key at the specified index of the SortedListEx. + + The zero-based index of the key to get. + The key at the specified index of the SortedListEx. + + When index is less than zero or greater than size of the list. + + + + + Gets the keys in the SortedListEx. + + An IList containing the keys in the SortedListEx. + + + + Gets the values in the SortedListEx. + + An IList containing the values in the SortedListEx. + + + + Returns the zero-based index of the specified key. + + The key to locate. + The zero-based index of key, if key is found; otherwise, -1. + + If specified key is null. + + + + + Returns the zero-based index of the first occurrence of the specified value. + + The value to locate (can be NULL). + + The zero-based index of the first occurrence of value, if value is found; + otherwise, -1. + + + + + Removes the element at the specified index. + + The zero-based index of the element to remove. + + When index is less than zero or greater than size of the list. + + + + + Removes the element with the specified key from SortedListEx. + + The key of the element to remove. + + + + Replaces the value at the specific index. + + The zero-based index at which to save value. + The Object to save into. Can be NULL. + + When index is less than zero or greater than size of the list. + + + + + Sets the capacity to the actual number of elements. + + + + + Returns an IDictionaryEnumerator that can iterate through the SortedListEx. + + An IDictionaryEnumerator for the SortedListEx. + + + + Returns an IEnumerator that can iterate through the SortedListEx. + + An IEnumerator for the SortedListEx. + + + + Inserts element with specified key and value at specified index. + + The zero-based index to insert element at. + The key of the element to insert. + The value of the element to insert. + + + + Ensures that the capacity of this instance is at least the specified value. + + The minimum capacity to ensure. + + + + Capacity of internal buffers. + + + + + Size of the collection. Read-only. + + + + + List of keys. Read-only. + + + + + List of values. Read-only. + + + + + Returns True if list is readonly, False otherwise. Read-only. + + + + + Returns True if collection has fixed size, False otherwise. + + + + + Returns True if the collection is synchronized, False otherwise. + + + + + Returns the object that can be used to synchronize access to the collection. + Read-only. + + + + + Gets or sets the value associated with the specified key. + + + + + Wrapped SortedListEx. + + + + + Sync object. + + + + + Creates SyncSortedListEx for specified SortedListEx. + + SortedListEx that will be wrapped. + + + + Adds an element with the provided key and value to the list. + + The Object to use as the key of the element to add. + The Object to use as the value of the element to add. + + + + Removes all the elements from the collection. + + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of the current instance. + + + + Determines whether the list contains an element with the specified key. + + Key of the element to search. + True if list contains specified key. + + + + Determines whether the list contains an element with the specified key. + + Key of the element to search. + True if list contains specified key. + + + + Determines whether the list contains the specified value. + + Value of the element to search. + True if list contains specified value. + + + + Copies all the elements of the list to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + + + Gets the value at the specified index of the list. + + The zero-based index of the value to get. + The value at the specified index of the SortedListEx. + + + + Returns an IDictionaryEnumerator that can iterate through the list. + + An IDictionaryEnumerator for the list. + + + + Gets the key at the specified index of the list. + + The zero-based index of the key to get. + The key at the specified index of the list. + + + + Gets the keys in the list. + + An IList containing the keys in the list. + + + + Gets the values in the list. + + An IList containing the values in the list. + + + + Returns the zero-based index of the specified key. + + The key to locate. + The zero-based index of key, if key is found; otherwise, -1. + + + + Returns the zero-based index of the first occurrence of the specified value. + + The value to locate (can be NULL). + + The zero-based index of the first occurrence of value, if value is found; + otherwise, -1. + + + + + Removes the element at the specified index. + + The zero-based index of the element to remove. + + + + Removes the element with the specified key from list. + + The key of the element to remove. + + + + Replaces the value at a specific index. + + The zero-based index at which to save value. + The Object to save into. Can be NULL. + + + + Sets the capacity to the actual number of elements. + + + + + Capacity of internal buffers. + + + + + Size of the collection. Read-only. + + + + + Returns the object that can be used to synchronize access to the collection. + Read-only. + + + + + Returns True if list is readonly, False otherwise. Read-only. + + + + + Returns True if collection has fixed size, False otherwise. + + + + + Returns True if the collection is synchronized, False otherwise. + + + + + Gets or sets the value associated with the specified key. + + + + + If it is assumed to getObjectRetType, Current will return key + of the current element. + + + + + If it is assumed to getObjectRetType, Current will return value + of the current element. + + + + + If it is assumed to getObjectRetType, Current will return both - + key and value (as DictionaryEntry). + + + + + List for which is this enumerator. + + + + + Key of the current element. + + + + + Values of the current element. + + + + + Index of current element. + + + + + Starting index for the enumerator. + + + + + Ending index for this enumerator. + + + + + Version of collection data. + + + + + True if current element is correct, False otherwise + (before beginning or after end). + + + + + Specifies what should return method Current (Key, Value or both). + + + + + Creates enumerator for specified list, starting from specified index + and with specified count. + + list for which to create enumerator. + Starting index. + Number of elements to enumerate. + Type of enumerating values (keys, value, DicEntry). + + + + Creates a new object that is a copy of the current instance. + + Copy of the current instance. + + + + Advances the enumerator to the next element of the collection. + + + True if the enumerator was successfully advanced to the next element; + False if the enumerator has passed the end of the collection. + + + When the current version is not equal to the SortedListEx version. + + + + + Sets the enumerator to its initial position, which is before + the first element in the collection. + + + When the current version is not equal to the SortedListEx version. + + + + + Returns key of the current element. Read-only. + + + When the current version is not equal to the SortedListEx version + or if current is false. + + + + + Return DictionaryEntry for the current element. + + + When the current version is not equal to the SortedListEx version + or if current is false. + + + + + The current element in the collection. Read-only. + + + If current is false. + + + + + Returns value for the current element. + + + When the current version is not equal to the SortedListEx version + or if current is false. + + + + + List for which this collection was created. + + + + + Creates KeyList for specified SortedListEx. + + SortedListEx for which KeyList must be created. + + + + Adds an element with the provided key to the list. + + The Object to use as the key of the element to add. + + + + Removes all elements from the collection. + + + + + Determines whether the list contains an element with the specified key. + + Key of the element to search. + True if list contains specified key. + + + + Copies all the elements of the list to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + If array is null or rank of the array is not 1. + + + + + Insert the value at the specific index. + + The zero-based index at which to save value. + The Object to save into. Can be NULL. + + + + Returns an IEnumerator that can iterate through the list. + + An IEnumerator for the list. + + + + Returns the zero-based index of the specified key. + + The key to locate. + The zero-based index of the key, if the key is found; otherwise, -1. + + + + Removes the element with the specified key from list. + + The key of the element to remove. + + + + Removes the element at the specified index from the list. + + The zero-based index of the element to remove. + + + + Size of the collection. Read-only. + + + + + Returns True if list is readonly, False otherwise. Read-only. + + + + + Returns True if collection has fixed size, False otherwise. + + + + + Returns True if the collection is synchronized, False otherwise. + + + + + Returns the object that can be used to synchronize access to the collection. + Read-only. + + + + + Gets or sets the key at the specified index. + + + + + List for which this collection was created. + + + + + Array list that contain values. + + + + + Creates ValueList for specified SortedListEx. + + SortedListEx for which ValueList must be created. + + + + Re-read values from the list. + + + + + Adds an element with the provided key to the list. + + The Object to use as the key of the element to add. + + + + Removes all elements from the collection. + + + + + Determines whether the list contains an element with the specified value. + + Value to search. + True if list contains specified value. + + + + Copies all the elements of the list to the specified one-dimensional Array + starting at the specified destination Array index. + + The one-dimensional Array that is the destination of the + elements copied from the current list. + The index in array at which copying begins. + + + + Insert the value at the specific index. + + The zero-based index at which to save value. + The Object to save into. Can be NULL. + + + + Returns an IEnumerator that can iterate through the list. + + An IEnumerator for the list. + + + + Returns the zero-based index of the specified value. + + The value to locate. + The zero-based index of the value, if the value is found, otherwise -1. + + + + Removes the specified value from list. + + The value to remove. + + + + Removes the element at the specified index from the list. + + The zero-based index of the element to remove. + + + + Size of the collection. Read-only. + + + + + Returns True if list is readonly, False otherwise. Read-only. + + + + + Returns True if collection has fixed size, False otherwise. + + + + + Returns True if the collection is synchronized, False otherwise. + + + + + Returns the object that can be used to synchronize access to the collection. + Read-only. + + + + + Gets or sets the value at the specified index. + + + + + Comparer for strings. + + + + + Compare two strings. + + String to compare. + String to compare. + Returns compared results. + + + + Dictionary is used for grouping strings used by Excel in order to prevent + doubling of data. Dictionary stores information as key string and value. + + + + + Default reserved space by internal collections. + + + + + Index of the empty string. + + + + + Default count of empty strings. + Returned by GetStringsCount method. + Arbitrary number but should be larger than 1. + + + + + Maximum allowed cell length. + + + + + Dictionary key-to-index in the array. + + + + + Strings data. + + + + + Array that contains indexes that are free (strings that were removed). + + + + + Parent workbook. + + + + + Original SSTRecord. + + + + + Indicates whether original SSTRecord was parsed. + + + + + Temporary string. + + + + + Number of references to each string. + + + + + Indicates whether we should use hashtable to increase search speed. + + + + + Default constructor. Reserves space for strings. + + + + + Returns SST content. + + Index of the target string. + SST content object. + + + + Clears the list. + + + + + Searches for all strings with specified text. + + String to search. + Dictionary, key - string index, value - null. + + + + Adds string into dictionary. If the string exists in dictionary, + add reference count. Method can influence on SST Indexes. + + Index to the string. + + + + Adds string into dictionary. If the string exists in dictionary, + add reference count. Method can influence on SST Indexes. + + String to add + Index of the added string. + + + + Adds string into dictionary. If the string exists in dictionary, + add reference count. Method can influence on SST Indexes. + + String to add + Reference count for new entries. + Index of the added string. + + + + Checks whether new string value is within allowed limits. + + + + + + Remove reference of string. When reference count reaches zero, string will be + removed from dictionary. Method can influence the SST indexes. + + String index to remove. + + + + Returns number of strings in the dictionary. + + Index of the target string. + + + + Creates copy of the current instance. + + Copy of the current instance. + + + + Updates internal array that stores reference count. + + + + + This methods looks through all row storages to find out used strings. + And removes all unnecessary strings after that. + + + + + Moves strings. + + Start index. + End index. + Decrease index. + List with new strings indexes. + + + + Removes all unused strings from inner collections. + + + + + Sets number of references to the string. + + String index. + References count to set. + + + + Gets number of references to the string. + + String index. + number of references to the string. + + + + Fills internal hash used for string searching. + + + + + Here we have to parse our SST record + + + + + Updates LabelSST indexes after SST record parsing. + + Dictionary with indexes to update, key - old index, value - new index. + + + + Returns LabelSST used. + + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + + + + + + Gets text with format. + + + + + Gets quantity of unique strings. + + + + + Returns parent workbook. Read-only. + + + + + Gets / sets original SSTRecord. + + + + + + + + + + Contains types that are used to create�and manipulate charts. + + + + + + Represents chart plot area interface. + + + + + Represents the chart to image convertertion. + + + + + Converts the chart to image and saves the image to the specified stream. + + Represents the chart object to convert. + The stream to save the image + + + + Gets or sets a type that represents quality of the converted image. + + + + //Open a PowerPoint presentation file + IPresentation presentation = Presentation.Open("Template.pptx"); + //Create an instance of ChartToImageConverter + presentation.ChartToImageConverter = new ChartToImageConverter(); + //Set the scaling mode as best + presentation.ChartToImageConverter.ScalingMode = Syncfusion.OfficeChart.ScalingMode.Best; + //Convert the first slide into image + System.Drawing.Image image = presentation.Slides[0].ConvertToImage(Syncfusion.Drawing.ImageType.Metafile); + //Save the image as file + image.Save("slide1.png"); + //close the presentation instance + presentation.Close(); + + + 'Open a PowerPoint presentation file + Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") + 'Create an instance of ChartToImageConverter + presentation__1.ChartToImageConverter = New ChartToImageConverter() + 'Set the scaling mode as best + presentation__1.ChartToImageConverter.ScalingMode = Syncfusion.OfficeChart.ScalingMode.Best + 'Convert the first slide into image + Dim image As System.Drawing.Image = presentation__1.Slides(0).ConvertToImage(Syncfusion.Drawing.ImageType.Metafile) + 'Save the image as file + image.Save("slide1.png") + 'close the presentation instance + presentation__1.Close() + + + + + + Summary description for IWorksheetCustomProperties. + + + + + Determines whether collection contains property with a specific name. + + The name of the property to locate. + True if collection contains required element. + + + + Enumeration of the sheet types in Excel. + + + + + Charts. + + + + + Dialogs. + + + + + Excel 4.0 International Macros. + + + + + Excel 4.0 Macros. + + + + + Worksheets. + + + + + Enumeration of the border line styles for cells in Excel. + + + + + Represents no border line style. + + + + + Represents the thin border line style. + + + + + Represents the medium border line style. + + + + + Represents the dashed border line style. + + + + + Represents the dotted border line style. + + + + + Represents the thick border line style. + + + + + Represents the double border line style. + + + + + Represents the hair border line style. + + + + + Represents the medium_dashed medium_dashed line style. + + + + + Represents the dash_dot border line style. + + + + + Represents the medium dash_dot border line style. + + + + + Represents the dash_dot_dot border line style. + + + + + Represents the medium dash_dot_dot border line style. + + + + + Represents the medium slanted_dash_dot border line style. + + + + + Enumeration of the border and diagonal line types in Excel. + + + + + Represents the diagonal line from top left to right bottom. + + + + + Represents the diagonal line from bottom left to right top. + + + + + Represents the border line on the bottom. + + + + + Represents the border line on the left. + + + + + Represents the border line on the right. + + + + + Represents the border line on the top. + + + + + Enum that defines different types of the formula calculations. + + + + + Represents the MANUAL calculation type. + + + + + Represents the AUTOMATIC calculation type. + + + + + Represents the AUTOMATIC EXCEPT TABLES calculation type. + + + + + Enumeration of the horizontal alignment options for cell formatting in Excel. + + + + + Represents the general horizontal alignment setting. + + + + + Represents left horizontal alignment setting. + + + + + Represents center horizontal alignment setting. + + + + + Represents center horizontal alignment setting. + + + + + Represents fill horizontal alignment setting. + + + + + Represents justify horizontal alignment setting. + + + + + Represents center across selection horizontal alignment setting. + + + + + Represents distributed horizontal alignment setting. + + + + + Enumeration of the vertical alignment options for cell formatting in Excel. + + + + + Represents top vertical alignment setting. + + + + + Represents center vertical alignment setting. + + + + + Represents bottom vertical alignment setting. + + + + + Represents justify vertical alignment setting. + + + + + Represents distributed vertical alignment setting. + + + + + Specifies whether a print device prints multi-page documents from front-to-back or back-to-front. + + + + + Indicates Down, then over setting. + + + + + Indicates Over, then down setting. + + + + + Specifies how pages of content are oriented on print media. + + + + + Indicates content of the imageable area is rotated on the page 90 degrees counterclockwise from standard (portrait) orientation. + + + + + Indicates standard orientation. + + + + + Specifies the paper size in the PaperSize property. + + + + + Indicates 10- by 14-inch sheet. + + + + + Indicates 11- by 17-inch sheet. + + + + + Indicates A3 sheet, 297- by 420-millimeters. + + + + + Indicates A4 sheet, 210- by 297-millimeters. + + + + + Indicates A4 small sheet, 210- by 297-millimeters. + + + + + Indicates A5 sheet, 148- by 210-millimeters. + + + + + Indicates B4 sheet, 250- by 354-millimeters. + + + + + Indicates B5 sheet, 182- by 257-millimeter paper. + + + + + Indicates C Sheet, 17- by 22-inches. + + + + + Indicates D Sheet, 22- by 34-inches. + + + + + Indicates #10 Envelope, 4 1/8- by 9 1/2-inches. + + + + + Indicates #11 Envelope, 4 1/2- by 10 3/8-inches. + + + + + Indicates #12 Envelope, 4 3/4- by 11-inches. + + + + + Indicates #14 Envelope, 5- by 11 1/2-inches. + + + + + Indicates #9 Envelope, 3 7/8- by 8 7/8-inches. + + + + + Indicates B4 Envelope, 250- by 353-millimeters. + + + + + Indicates B5 Envelope, 176- by 250-millimeters. + + + + + Indicates B6 Envelope, 176- by 125-millimeters. + + + + + Indicates C3 Envelope, 324- by 458-millimeters. + + + + + Indicates C4 Envelope, 229- by 324-millimeters. + + + + + Indicates C5 Envelope, 162- by 229-millimeters. + + + + + Indicates C6 Envelope, 114- by 162-millimeters. + + + + + Indicates C65 Envelope, 114- by 229-millimeters. + + + + + Indicates DL Envelope, 110- by 220-millimeters. + + + + + Indicates Italy Envelope, 110- by 230-millimeters. + + + + + Indicates Monarch Envelope, 3 7/8- by 7 1/2-inches. + + + + + Indicates 6 3/4 Envelope, 3 5/8- by 6 1/2-inches. + + + + + Indicates E Sheet, 34- by 44-inches. + + + + + Indicates Executive, 7 1/4- by 10 1/2-inches. + + + + + Indicates German Legal Fanfold, 8 - by 13-inches. + + + + + Indicates German Std Fanfold, 8 1/2- by 12-inches. + + + + + Indicates US Std Fanfold, 14 7/8- by 11-inches. + + + + + Indicates Folio, 8 1/2- by 13-inch paper. + + + + + Indicates Ledger, 17- by 11-inches. + + + + + Indicates Legal, 8 1/2- by 14-inches. + + + + + Indicates Letter, 8 1/2- by 11-inches. + + + + + Indicates Letter Small, 8 1/2- by 11-inches. + + + + + Indicates Note, 8 1/2- by 11-inches. + + + + + Indicates Quarto, 215- by 275-millimeter paper. + + + + + Indicates Statement, 5 1/2- by 8 1/2-inches. + + + + + Indicates Tabloid, 11- by 17-inches. + + + + + Indicates User paper size. + + + + + Indicates ISO B4 paper size(250 mm by 353 mm). + + + + + Indicates Japanese double postcard(200 mm by 148 mm). + + + + + Indicates Standard paper(9 in. by 11 in.). + + + + + Indicates Standard paper(10 in. by 11 in.). + + + + + Indicates Standard paper(15 in. by 11 in.). + + + + + Indicates Invite envelope (220 mm by 220 mm). + + + + + Indicates Letter extra paper (9.275 in. by 12 in.). + + + + + Indicates Legal extra paper (9.275 in. by 15 in.). + + + + + Indicates Tabloid extra paper (11.69 in. by 18 in.). + + + + + Indicates A4 extra paper (236 mm by 322 mm). + + + + + Indicates Letter transverse paper (8.275 in. by 11 in.). + + + + + Indicates A4 transverse paper (210 mm by 297 mm). + + + + + Indicates Letter extra transverse paper (9.275 in. by 12 in.). + + + + + Indicates SuperA/SuperA/A4 paper (227 mm by 356 mm). + + + + + Indicates SuperB/SuperB/A3 paper (305 mm by 487 mm). + + + + + Indicates Letter plus paper (8.5 in. by 12.69 in.). + + + + + Indicates A4 plus paper (210 mm by 330 mm). + + + + + Indicates A5 transverse paper (148 mm by 210 mm). + + + + + Indicates JIS B5 transverse paper (182 mm by 257 mm). + + + + + Indicates A3 extra paper (322 mm by 445 mm). + + + + + Indicates A5 extra paper (174 mm by 235 mm). + + + + + Indicates ISO B5 extra paper (201 mm by 276 mm). + + + + + Indicates A2 paper (420 mm by 594 mm). + + + + + Indicates A3 transverse paper (297 mm by 420 mm). + + + + + Indicates A3 extra transverse paper (322 mm by 445 mm). + + + + + Specifies the print comments. + + + + + Indicates the print as displayed on sheet setting. + + + + + Indicates no comments in print location. + + + + + Represents the end of the sheet of print location. + + + + + Specifies replacing error Values when printing. + + + + + Indicates the blank option. + + + + + Indicates the dash (--) option. + + + + + Indicates the displayed option. + + + + + Indicates the #N/A option. + + + + + Enumeration of page break types in Excel. + + + + + Represents the Automatic option. + + + + + Represents the Manual option. + + + + + Represents the None option. + + + + + Specifies the type of underline applied to a font. + + + + + Indicates No underlining. + + + + + Indicates Single underlining. + + + + + Indicates Double thick underline. + + + + + Indicates SingleAccounting underline. + + + + + Indicates Two thin underlines placed close together. + + + + + Indicates dashed underline + + + + + Indicates heavy dot dot dashed underline + + + + + Indicates heavy dot dashed underline + + + + + Indicates heavy dashed underline + + + + + Indicates long dashed underline + + + + + Indicates heavy long dashed underline + + + + + Indicates dot dashed underline + + + + + Indicates dot dot dashed underline + + + + + Indicates dotted underline + + + + + Indicates heavy dotted underline + + + + + Indicates heavy underline + + + + + Indicates wavy underline + + + + + Indicates double wavy underline + + + + + Indicates heavy wavy underline + + + + + Indicates words underline + + + + + Enumeration of merge operation types in Excel. + + + + + Represents the Leave option. + + + + + Represents the Delete option. + + + + + Enumeration of Worksheet functions in Excel. + + + + + Represents the NONE function. + + + + + Represents the Custom function. + + + + + Represents the ABS function. + + + + + Represents the ACOS function. + + + + + Represents the ACOSH function. + + + + + Represents the ADDRESS function. + + + + + Represents the AND operation. + + + + + Represents the Areas function. + + + + + Represents the ASIN function. + + + + + Represents the ASINH function. + + + + + Represents the ATAN function. + + + + + Represents the ATAN2 function. + + + + + Represents the ATANH function. + + + + + Represents the AVEDEV function. + + + + + Represents the AVERAGE function. + + + + + Represents the AVERAGEA function. + + + + + Represents the HEX2BIN function. + + + + + Represents the HEX2DEC function. + + + + + Represents the HEX2OCT function. + + + + + Represents the COUNTIF function. + + + + + Represents the BIN2DEC function. + + + + + Represents the BIN2HEX function. + + + + + Represents the BIN2OCT function. + + + + + Represents the DEC2BIN function. + + + + + Represents the DEC2HEX function. + + + + + Represents the DEC2OCT function. + + + + + Represents the OCT2BIN function. + + + + + Represents the OCT2DEC function. + + + + + Represents the OCT2HEX function. + + + + + Represents the ODDFPRICE function. + + + + + Represents the ODDFYEILD function. + + + + + Represents the ODDLPRICE function. + + + + + Represents the ODDLYEILD function. + + + + + Represents the ISODD function. + + + + + Represents the ISEVEN function. + + + + + Represents the LCM function. + + + + + Represents the GCD function. + + + + + Represents the SUMIFS function. + + + + + Represents the AVERAGEIF function. + + + + + Represents the AVERAGEIFS function. + + + + + Represents the CONVERT function. + + + + + Represents the COMPLEX function. + + + + + Represents the COUPDAYBS function. + + + + + Represents the COUPDAYS function. + + + + + Represents the COUPDAYSNC function. + + + + + Represents the COUPNCD function. + + + + + Represents the COUPNUM function. + + + + + Represents the COUPPCD function. + + + + + Represents the DELTA function. + + + + + Represents the DISC function. + + + + + Represents the DOLLARDE function. + + + + + Represents the DOLLARFR function. + + + + + Represents the DURATION function. + + + + + Represents the EDATE function. + + + + + Represents the EFFECT function. + + + + + Represents the EOMONTH function. + + + + + Represents the ERF function. + + + + + Represents the ERFC function. + + + + + Represents the FACTDOUBLE function. + + + + + Represents teh GESTEP function. + + + + + Represents the IFERROR function. + + + + + Represents the IMABS function + + + + + Represents the IMAGINARY function. + + + + + Represents the IMARGUMENT function. + + + + + Represents the IMCONJUGATE function. + + + + + Represents the IMCOS function. + + + + + Represents the IMEXP function. + + + + + Represents the IMLN function. + + + + + Represents the IMLOG10 function. + + + + + Represents the IMLOG2 function. + + + + + Represents the IMREAL function. + + + + + Represents the IMSIN function. + + + + + Represents the IMSQRT function. + + + + + Represents the IMSUB function. + + + + + Represents the IMSUM function. + + + + + Represents the IMDIV function. + + + + + Represents the IMPOWER function. + + + + + Represents the IMPRODUCT function. + + + + + Represents the ACCRINT function. + + + + + Represents the ACCRINTM function. + + + + + Represents the AGGREGATE function. + + + + + Represents the AMORDEGRC function. + + + + + Represents the AMORLINC function. + + + + + Represents the BAHTTEXT function. + + + + + Represents the BESSELI function. + + + + + Represents the BESSELJ function. + + + + + Represents the BESSELK function. + + + + + Represents the BESSELY function. + + + + + Represents the CUBEKPIMEMBER function. + + + + + Represents the CUBEMEMBER function. + + + + + Represents the CUBERANKEDMEMBER function. + + + + + Represents the CUBESET function. + + + + + Represents the CUBESETCOUNT function. + + + + + Represents the CUBEMEMBERPROPERTY function. + + + + + Represents the CUMIPMT function. + + + + + Represents the CUMPRINC function. + + + + + Represents the FVSCHEDULE function. + + + + + Represents the INTRATE function. + + + + + Represents the LINTEST function. + + + + + Represents the CUBEVALUE function. + + + + + Represents the MDURATION function. + + + + + Represents the MROUND function. + + + + + Represents the MULTINOMIAL function. + + + + + Represents the NETWORKDAYS function. + + + + + Represents the NOMINAL function. + + + + + Represents the PRICE function. + + + + + Represents the PRICEDISC function. + + + + + Represents the PRICEMAT function. + + + + + Represents the QUOTIENT function. + + + + + Represents the RANDBETWEEN function. + + + + + Represents the RECEIVED function. + + + + + Represents the SERIESSUM function. + + + + + Represents the SQRTPI function. + + + + + Represents the TBILLEQ function. + + + + + Represents the TBILLPRICE function. + + + + + Represents the TBILLYIELD function. + + + + + Represents the WEEKNUM function. + + + + + Represents the WORKDAY function. + + + + + Represents the XIRR function. + + + + + Represents the XNPV function. + + + + + Represents the YEAR function. + + + + + Represents the YIELD function. + + + + + Represents the YIELDDISC function. + + + + + Represents the YIELDMAT function. + + + + + Represents the WORKDAY.INTL function. + + + + + Represents the BETA.INV function. + + + + + Represents the BINOM.DIST function. + + + + + Represents the BINOM.INV function. + + + + + Represents the CEILING.PRECISE function. + + + + + Represents the CHISQ.DIST function. + + + + + Represents the CHISQ.DIST.RT function. + + + + + Represents the CHISQ.INV function. + + + + + Represents the CHISQ.INV.RT function. + + + + + Represents the CHISQ.TEST function. + + + + + Represents the CONFIDENCE.NORM function. + + + + + Represents the CONFIDENCE.T function. + + + + + Represents the COVARIANCE.P function. + + + + + Represents the COVARIANCE.S function. + + + + + Represents the ERF.PRECISE function. + + + + + Represents the ERFC.PRECISE function. + + + + + Represents the F.DIST function. + + + + + Represents the F.DIST.RT function. + + + + + Represents the F.INV function. + + + + + Represents the F.INV.RT function. + + + + + Represents the F.TEST function. + + + + + Represents the FLOOR.PRECISE function. + + + + + Represents the GAMMA.DIST function. + + + + + Represents the GAMMA.INV function. + + + + + Represents the GAMMALN.PRECISE function. + + + + + Represents the HYPGEOM.DIST function. + + + + + Represents the LOGNORM.DIST function. + + + + + Represents the LOGNORM.INV function. + + + + + Represents the MODE.MULT function. + + + + + Represents the MODE.SNGL function. + + + + + Represents the NEGBINOM.DIST function. + + + + + Represents the NETWORKDAYS.INTL function. + + + + + Represents the NORM.DIST function. + + + + + Represents the NORM.INV function. + + + + + Represents the NORM.S.DIST function. + + + + + Represents the PERCENTILE.EXC function. + + + + + Represents the PERCENTILE.INC function. + + + + + Represents the PERCENTRANK.EXC function. + + + + + Represents the PRECENTRANK.INC function. + + + + + Represents the POISSON.DIST function. + + + + + Represents the QUARTILE.EXC function. + + + + + Represents the QUARTILE.INC function. + + + + + Represents the RANK.AVG function. + + + + + Represents the RANK.EQ function. + + + + + Represents the STDEV.P function. + + + + + Represents the STDEV.S function. + + + + + Represents the T.DIST function. + + + + + Represents the T.DIST.2T function. + + + + + Represents the T.DIST.RT function. + + + + + Represents the T.INV function. + + + + + Represents the T.INV.2T function. + + + + + Represents the T.TEST function. + + + + + Represents the VAR.P function. + + + + + Represents the VAR.S function. + + + + + Represents the WEIBULL.DIST function. + + + + + Represents the WORKDAY.INTL function. + + + + + Represents the Z.TEST function. + + + + + Represents the BETA.DIST function. + + + + + Represents the EUROCONVERT function. + + + + + Represents the PHONETIC function. + + + + + Represents the REGISTER.ID function. + + + + + Represents the SQL.REQUEST function. + + + + + Represents the JIS function. + + + + + Represents the EXPON.DIST function. + + + + + Represents the DAYS function. + + + + + Represents the ISOWEEKNUM function. + + + + + Represents the BITAND function. + + + + + Represents the BITLSHIFT function. + + + + + Represents the BITOR function. + + + + + + Represents the BITXOR function. + + + + + Represents the IMCOSH function. + + + + + Represents the IMCOT function. + + + + + Represents the IMCSC function. + + + + + Represents the IMCSCH function. + + + + + Represents the IMSEC function. + + + + + Represents the IMSECH function. + + + + + Represents the IMSINH function. + + + + + Represents the IMTAN function. + + + + + Represents the PDURATION function. + + + + + Represents the RRI function. + + + + + Represents the ISFORMULA function. + + + + + Represents the SHEET function. + + + + + Represents the SHEETS function. + + + + + Represents the IFNA function. + + + + + Represents the XOR function. + + + + + Represents the FORMULATEXT function. + + + + + Represents the ACOT function. + + + + + Represents the ACOTH function. + + + + + Represents the ARABIC function. + + + + + Represents the BASE function. + + + + + Represents the CEILING.MATH function. + + + + + Represents the COMBINA function. + + + + + Represents the COT function. + + + + + Represents the COTH function. + + + + + Represents the CSC function. + + + + + Represents the CSCH function. + + + + + Represents the DECIMAL function. + + + + + Represents the FLOOR.MATH function. + + + + + Represents the ISO.CEILING function. + + + + + Represents the MUNIT function. + + + + + Represents the SEC function. + + + + + Represents the SECH function. + + + + + Represents the BINOM.DIST.RANGE function. + + + + + Represents the GAMMA function. + + + + + Represents the GAUSS function. + + + + + Represents the PERMUTATIONA function. + + + + + Represents the PHI function. + + + + + Represents the SKEW.P function. + + + + + Represents the NUMBERVALUE function. + + + + + Represents the UNICHAR function. + + + + + Represents the UNICODE function. + + + + + Represents the ENCODEURL function. + + + + + Represents the FILTERXML function. + + + + + Represents the WEBSERVICE function. + + + + + Represents the BETADIST function. + + + + + Represents the BETAINV function. + + + + + Represents the BINOMDIST function. + + + + + Represents the CEILING function. + + + + + Represents the CELL function. + + + + + Represents the CHAR function. + + + + + Represents the CHIDIST function. + + + + + Represents the CHIINV function. + + + + + Represents the CHITEST function. + + + + + Represents the CHOOSE function. + + + + + Represents the CLEAN function. + + + + + Represents the CODE function. + + + + + Represents the COLUMN function. + + + + + Represents the COLUMNS function. + + + + + Represents the COMBIN function. + + + + + Represents the CONCATENATE function. + + + + + Represents the CONFIDENCE function. + + + + + Represents the CORREL function. + + + + + Represents the COS function. + + + + + Represents the COSH function. + + + + + Represents the COUNT function. + + + + + Represents the COUNTA function. + + + + + Represents the COUNTBLANK function. + + + + + Represents the COUNTIF function. + + + + + Represents the COVAR function. + + + + + Represents the CRITBINOM function. + + + + + Represents the DATE function. + + + + + Represents the DATEVALUE function. + + + + + Represents the DAVERAGE function. + + + + + Represents the DAY function. + + + + + Represents the DAYS360 function. + + + + + Represents the DB function. + + + + + Represents the DCOUNT function. + + + + + Represents the DCOUNTA function. + + + + + Represents the DDB function. + + + + + Represents the DEGREES function. + + + + + Represents the DEVSQ function. + + + + + Represents the DMAX function. + + + + + Represents the DMIN function. + + + + + Represents the DOLLAR function. + + + + + Represents the DPRODUCT function. + + + + + Represents the DSTDEV function. + + + + + Represents the DSTDEVP function. + + + + + Represents the DSUM function. + + + + + Represents the DVAR function. + + + + + Represents the DVARP function. + + + + + Represents the ERROR function. + + + + + Represents the ERRORTYPE function. + + + + + Represents the EVEN function. + + + + + Represents the EXACT function. + + + + + Represents the EXP function. + + + + + Represents the EXPONDIST function. + + + + + Represents the FACT function. + + + + + Represents the FALSE function. + + + + + Represents the FDIST function. + + + + + Represents the FIND function. + + + + + Represents the FINDB function. + + + + + Represents the FINV function. + + + + + Represents the FISHER function. + + + + + Represents the FISHERINV function. + + + + + Represents the FIXED function. + + + + + Represents the FLOOR function. + + + + + Represents the FORECAST function. + + + + + Represents the FREQUENCY function. + + + + + Represents the FTEST function. + + + + + Represents the FV function. + + + + + Represents the GAMMADIST function. + + + + + Represents the GAMMAINV function. + + + + + Represents the GAMMALN function. + + + + + Represents the GEOMEAN function. + + + + + Represents the GETPIVOTDATA function. + + + + + Represents the GROWTH function. + + + + + Represents the HARMEAN function. + + + + + Represents the HLOOKUP function. + + + + + Represents the HOUR function. + + + + + Represents the HYPERLINK function. + + + + + Represents the HYPGEOMDIST function. + + + + + Represents the IF function. + + + + + Represents the INDEX function. + + + + + Represents the INDIRECT function. + + + + + Represents the INFO function. + + + + + Represents the INT function. + + + + + Represents the INTERCEPT function. + + + + + Represents the IPMT function. + + + + + Represents the IRR function. + + + + + Represents the ISBLANK function. + + + + + Represents the ISERR function. + + + + + Represents the ISERROR function. + + + + + Represents the ISLOGICAL function. + + + + + Represents the ISNA function. + + + + + Represents the ISNONTEXT function. + + + + + Represents the ISNUMBER function. + + + + + Represents the ISPMT function. + + + + + Represents the ISREF function. + + + + + Represents the ISTEXT function. + + + + + Represents the KURT function. + + + + + Represents the LARGE function. + + + + + Represents the LEFT function. + + + + + Represents the LEFTB function. + + + + + Represents the LEN function. + + + + + LENB function. + + + + + Represents the LINEST function. + + + + + Represents the LN function. + + + + + Represents the LOG function. + + + + + Represents the LOG10 function. + + + + + Represents the LOGEST function. + + + + + Represents the LOGINV function. + + + + + Represents the LOGNORMDIST function. + + + + + Represents the LOOKUP function. + + + + + Represents the LOWER function. + + + + + Represents the MATCH function. + + + + + Represents the MAX function. + + + + + Represents the MAXA function. + + + + + Represents the MDETERM function. + + + + + Represents the MEDIAN function. + + + + + Represents the MID function. + + + + + Represents the MIDB function. + + + + + Represents the MIN function. + + + + + Represents the MINA function. + + + + + Represents the MINUTE function. + + + + + Represents the MINVERSE function. + + + + + Represents the MIRR function. + + + + + Represents the MMULT function. + + + + + Represents the MOD function. + + + + + Represents the MODE function. + + + + + Represents the MONTH function. + + + + + Represents the N function. + + + + + Represents the NA function. + + + + + Represents the NEGBINOMDIST function. + + + + + Represents the NORMDIST function. + + + + + Represents the NORMINV function. + + + + + Represents the NORMSDIST function. + + + + + Represents the NORMSINV function. + + + + + Represents the NOT function. + + + + + Represents the NOW function. + + + + + Represents the NPER function. + + + + + Represents the NPV function. + + + + + Represents the ODD function. + + + + + Represents the OFFSET function. + + + + + Represents the OR function. + + + + + Represents the PEARSON function. + + + + + Represents the PERCENTILE function. + + + + + Represents the PERCENTRANK function. + + + + + Represents the PERMUT function. + + + + + Represents the PI function. + + + + + Represents the PMT function. + + + + + Represents the POISSON function. + + + + + Represents the POWER function. + + + + + Represents the PPMT function. + + + + + Represents the PROB function. + + + + + Represents the PRODUCT function. + + + + + Represents the PROPER function. + + + + + Represents the PV function. + + + + + Represents the QUARTILE function. + + + + + Represents the RADIANS function. + + + + + Represents the RAND function. + + + + + Represents the RANK function. + + + + + Represents the RATE function. + + + + + Represents the REPLACE function. + + + + + Represents the REPLACEB function. + + + + + Represents the RIGHT function. + + + + + Represents the RIGHTB function. + + + + + Represents the ROMAN function. + + + + + Represents the ROUND function. + + + + + Represents the ROUNDDOWN function. + + + + + Represents the ROUNDUP function. + + + + + Represents the ROW function. + + + + + Represents the ROWS function. + + + + + Represents the RSQ function. + + + + + Represents the SEARCH function. + + + + + Represents the SEARCHB function. + + + + + Represents the SECOND function. + + + + + Represents the SIGN function. + + + + + Represents the SIN function. + + + + + Represents the SINH function. + + + + + Represents the SKEW function. + + + + + Represents the SLN function. + + + + + Represents the SLOPE function. + + + + + Represents the SMALL function. + + + + + Represents the SQRT function. + + + + + Represents the STANDARDIZE function. + + + + + Represents the STDEV function. + + + + + Represents the STDEVA function. + + + + + Represents the STDEVP function. + + + + + Represents the STDEVPA function. + + + + + Represents the STEYX function. + + + + + Represents the SUBSTITUTE function. + + + + + Represents the SUBTOTAL function. + + + + + Represents the SUM function. + + + + + Represents the SUMIF function. + + + + + Represents the SUMPRODUCT function. + + + + + Represents the SUMSQ function. + + + + + Represents the SUMX2MY2 function. + + + + + Represents the SUMX2PY2 function. + + + + + Represents the SUMXMY2 function. + + + + + Represents the SYD function. + + + + + Represents the T function. + + + + + Represents the TAN function. + + + + + Represents the TANH function. + + + + + Represents the TDIST function. + + + + + Represents the TEXT function. + + + + + Represents the TIME function. + + + + + Represents the TIMEVALUE function. + + + + + Represents the TINV function. + + + + + Represents the TODAY function. + + + + + Represents the TRANSPOSE function. + + + + + Represents the TREND function. + + + + + Represents the TRIM function. + + + + + Represents the TRIMMEAN function. + + + + + Represents the TRUE function. + + + + + Represents the TRUNC function. + + + + + Represents the TTEST function. + + + + + Represents the TYPE function. + + + + + Represents the UPPER function. + + + + + Represents the VALUE function. + + + + + Represents the VAR function. + + + + + Represents the VARA function. + + + + + Represents the VARP function. + + + + + Represents the VARPA function. + + + + + Represents the VDB function. + + + + + Represents the VLOOKUP function. + + + + + Represents the WEEKDAY function. + + + + + Represents the WEIBULL function. + + + + + Represents the YEAR function. + + + + + Represents the ZTEST function. + + + + + Represents the ABSREF function. + + + + + Represents the ACTIVECELL function. + + + + + Represents the ADDBAR function. + + + + + Represents the ADDCOMMAND function. + + + + + Represents the ADDMENU function. + + + + + Represents the ADDTOOLBAR function. + + + + + Represents the APPTITLE function. + + + + + Represents the ARGUMENT function. + + + + + Represents the ASC function. + + + + + Represents the CALL function. + + + + + Represents the CALLER function. + + + + + Represents the CANCELKEY function. + + + + + Represents the CHECKCOMMAND function. + + + + + Represents the CREATEOBJECT function. + + + + + Represents the CUSTOMREPEAT function. + + + + + Represents the CUSTOMUNDO function. + + + + + Represents the DATEDIF function. + + + + + Represents the DATESTRING function. + + + + + Represents the DBCS function. + + + + + Represents the DELETEBAR function. + + + + + Represents the DELETECOMMAND function. + + + + + Represents the DELETEMENU function. + + + + + Represents the DELETETOOLBAR function. + + + + + Represents the DEREF function. + + + + + Represents the DGET function. + + + + + Represents the DIALOGBOX function. + + + + + Represents the DIRECTORY function. + + + + + Represents the DOCUMENTS function. + + + + + Represents the ECHO function. + + + + + Represents the ENABLECOMMAND function. + + + + + Represents the ENABLETOOL function. + + + + + Represents the EVALUATE function. + + + + + Represents the EXEC function. + + + + + Represents the EXECUTE function. + + + + + Represents the FILES function. + + + + + Represents the FOPEN function. + + + + + Represents the FORMULACONVERT function. + + + + + Represents the FPOS function. + + + + + Represents the FREAD function. + + + + + Represents the FREADLN function. + + + + + Represents the FSIZE function. + + + + + Represents the FWRITE function. + + + + + Represents the FWRITELN function. + + + + + Represents the FCLOSE function. + + + + + Represents the GETBAR function. + + + + + Represents the GETCELL function. + + + + + Represents the GETCHARTITEM function. + + + + + Represents the GETDEF function. + + + + + Represents the GETDOCUMENT function. + + + + + Represents the GETFORMULA function. + + + + + Represents the GETLINKINFO function. + + + + + Represents the GETMOVIE function. + + + + + Represents the GETNAME function. + + + + + Represents the GETNOTE function. + + + + + Represents the GETOBJECT function. + + + + + Represents the GETPIVOTFIELD function. + + + + + Represents the GETPIVOTITEM function. + + + + + Represents the GETPIVOTTABLE function. + + + + + Represents the GETTOOL function. + + + + + Represents the GETTOOLBAR function. + + + + + Represents the GETWINDOW function. + + + + + Represents the GETWORKBOOK function. + + + + + Represents the GETWORKSPACE function. + + + + + Represents the GOTO function. + + + + + Represents the GROUP function. + + + + + Represents the HALT function. + + + + + Represents the HELP function. + + + + + Represents the INITIATE function. + + + + + Represents the INPUT function. + + + + + Represents the LASTERROR function. + + + + + Represents the LINKS function. + + + + + Represents the MOVIECOMMAND function. + + + + + Represents the NAMES function. + + + + + Represents the NOTE function. + + + + + Represents the NUMBERSTRING function. + + + + + Represents the OPENDIALOG function. + + + + + Represents the OPTIONSLISTSGET function. + + + + + Represents the PAUSE function. + + + + + Represents the PIVOTADDDATA function. + + + + + Represents the POKE function. + + + + + Represents the PRESSTOOL function. + + + + + Represents the REFTEXT function. + + + + + Represents the REGISTER function. + + + + + Represents the REGISTERID function. + + + + + Represents the RELREF function. + + + + + Represents the RENAMECOMMAND function. + + + + + Represents the REPT function. + + + + + Represents the REQUEST function. + + + + + Represents the RESETTOOLBAR function. + + + + + Represents the RESTART function. + + + + + Represents the RESULT function. + + + + + Represents the RESUME function. + + + + + Represents the SAVEDIALOG function. + + + + + Represents the SAVETOOLBAR function. + + + + + Represents the SCENARIOGET function. + + + + + Represents the SELECTION function. + + + + + Represents the SERIES function. + + + + + Represents the SETNAME function. + + + + + Represents the SETVALUE function. + + + + + Represents the SHOWBAR function. + + + + + Represents the SPELLINGCHECK function. + + + + + Represents the STEP function. + + + + + Represents the TERMINATE function. + + + + + Represents the TEXTBOX function. + + + + + Represents the TEXTREF function. + + + + + Represents the UNREGISTER function. + + + + + Represents the USDOLLAR function. + + + + + Represents the VOLATIL function. + + + + + Represents the WINDOWS function. + + + + + Represents the WINDOWTITLE function. + + + + + Defines the view setting of the sheet. + + + + + Normal view + + + + + Page break preview + + + + + Page Layout View + + + + + Specifies the known officechart colors. + + + + + Indicates the black color. + + + + + Indicates the white color. + + + + + Indicates the red color. + + + + + Indicates the lightgreen color. + + + + + Indicates the blue color. + + + + + Indicates the yellow color. + + + + + Indicates the magenta color. + + + + + Indicates the cyan color. + + + + + No color. + + + + + Indicates the Aqua color. + + + + + Indicates the BlackCustom color. + + + + + Indicates the BlueCustom color. + + + + + Indicates the Blue_grey color. + + + + + Indicates the Bright_green color. + + + + + Indicates the Brown color. + + + + + Indicates the Dark_blue color. + + + + + Indicates the Dark_green color. + + + + + Indicates the Dark_red color. + + + + + Indicates the Dark_teal color. + + + + + Indicates the Dark_yellow color. + + + + + Indicates the Gold color. + + + + + Indicates the Green color. + + + + + Indicates the Grey_25_percent color. + + + + + Indicates the Grey_40_percent color. + + + + + Indicates the Grey_50_percent color. + + + + + Indicates the Grey_80_percent color. + + + + + Indicates the Indigo color. + + + + + Indicates the Lavender color. + + + + + Indicates the Light_blue color. + + + + + Indicates the Light_green color. + + + + + Indicates the Light_orange color. + + + + + Indicates the Light_turquoise color. + + + + + Indicates the Light_yellow color. + + + + + Indicates the Lime color. + + + + + Indicates the Olive_green color. + + + + + Indicates the Orange color. + + + + + Indicates the Pale_blue color. + + + + + Indicates the Pink color. + + + + + Indicates the Plum color. + + + + + Indicates the Red2 color. + + + + + Indicates the Rose color. + + + + + Indicates the Sea_green color. + + + + + Indicates the Sky_blue color. + + + + + Indicates the Tan color. + + + + + Indicates the Teal color. + + + + + Indicates the Turquoise color. + + + + + Indicates the Violet color. + + + + + Indicates the WhiteCustom color. + + + + + Indicates the YellowCustom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Indicates the Custom color. + + + + + Enumeration of Group types in Excel. + + + + + Represents the grouping by rows option. + + + + + Represents the grouping by columns option. + + + + + Specifies the fill pattern used in a chart. + + + + + Indicates no pattern. + + + + + Indicates the Solid pattern. + + + + + Indicates 50% of the foreground color. + + + + + Indicates 70% of the foreground color. + + + + + Indicates 25% of the foreground color. + + + + + Indicates thick horizontal lines in the foreground color. + + + + + Indicates thick vertical lines in the foreground color. + + + + + Indicates thick lines in the foreground color running from the top to the right-hand side of the chart. + + + + + Indicates thick lines in the foreground color running from the top to the left-hand side of the chart. + + + + + Indicates the ForwardDiagonal pattern. + + + + + Indicates 75% of the foreground color. + + + + + Indicates the Horizontal pattern. + + + + + Indicates the Vertical pattern. + + + + + Indicates thin lines in the foreground color running from the top to the right-hand side of the chart. + + + + + Indicates thin lines in the foreground color running from the top to the left-hand side of the chart. + + + + + Indicates the Angle pattern. + + + + + Indicates 60% of the foreground color. + + + + + Indicates 10% of the foreground color. + + + + + Indicates 5% of the foreground color. + + + + + Indicates the Percent50Gray pattern. + + + + + Indicates the Percent75Gray pattern. + + + + + Indicates the Percent25Gray pattern. + + + + + Indicates the HorizontalStripe pattern. + + + + + Indicates the VerticalStripe pattern. + + + + + Indicates the ReverseDiagonalStripe pattern. + + + + + Indicates the DiagonalStripe pattern. + + + + + Indicates the DiagonalCrosshatch pattern. + + + + + Indicates the ThickDiagonalCrosshatch pattern. + + + + + Indicates the ThinHorizontalStripe pattern. + + + + + Indicates the ThinVerticalStripe pattern. + + + + + Indicates the ThinReverseDeagonalStripe pattern. + + + + + Indicates the ThinDiagonalStripe pattern. + + + + + Indicates the ThinHorizontalCrosshatch pattern. + + + + + Indicates the ThinDiagonalCrosshatch pattern. + + + + + Indicates the Percent125Gray pattern. + + + + + Indicates the Percent625Gray pattern. + + + + + Indicates gradient pattern. + + + + + This enumeration used for controlling output stream infill on + save operation provided by Workbook. + + + + + Do not skip any information from source file. + + + + + Skip macros extension records in output stream. + + + + + Skip drawings extension records in output stream. + + + + + Skip summary information substreams creation. + + + + + Skip coping of substreams from source to destination files. + + + + + Skip all extended records. + + + + + Enumeration which controls visibility of worksheet in Excel. + + + + + Worksheet is visible to the user. + + + + + Worksheet is hidden for the user. + + + + + The strong hidden flag can only be set and cleared with a Visual Basic + macro. It is not possible to make such a sheet visible via the user interface. + + + + + Enumeration of the Save types in Excel. + + + + + Represents the save as xls option. + + + + + Represents the save as template option. + + + + + Specifies the chart type. + + + + + Indicates the Column_Clustered chart type. + + + + + Indicates the Column_Stacked chart type. + + + + + Indicates the Column_Stacked_100 chart type. + + + + + Indicates the Column_Clustered_3D chart type. + + + + + Indicates the Column_Stacked_3D chart type. + + + + + Indicates the Column_Stacked_100_3D chart type. + + + + + Indicates the Column_3D chart type. + + + + + Indicates the Bar_Clustered chart type. + + + + + Indicates the Bar_Stacked chart type. + + + + + Indicates the Bar_Stacked_100 chart type. + + + + + Indicates the Bar_Clustered_3D chart type. + + + + + Indicates the Bar_Stacked_3D chart type. + + + + + Indicates the Bar_Stacked_100_3D chart type. + + + + + Indicates the Line chart type. + + + + + Indicates the Line_Stacked chart type. + + + + + Indicates the Line_Stacked_100 chart type. + + + + + Indicates the Line_Markers chart type. + + + + + Indicates the Line_Markers_Stacked chart type. + + + + + Indicates the Line_Markers_Stacked_100 chart type. + + + + + Indicates the Line_3D chart type. + + + + + Indicates the Pie chart type. + + + + + Indicates the Pie_3D chart type. + + + + + Indicates the PieOfPie chart type. + + + + + Indicates the Pie_Exploded chart type. + + + + + Indicates the Pie_Exploded_3D chart type. + + + + + Indicates the Pie_Bar chart type. + + + + + Indicates the Scatter_Markers chart type. + + + + + Indicates the Scatter_SmoothedLine_Markers chart type. + + + + + Indicates the Scatter_SmoothedLine chart type. + + + + + Indicates the Scatter_Line_Markers chart type. + + + + + Indicates the Scatter_Line chart type. + + + + + Indicates the Area chart type. + + + + + Indicates the Area_Stacked chart type. + + + + + Indicates the Area_Stacked_100 chart type. + + + + + Indicates the Area_3D chart type. + + + + + Indicates the Area_Stacked_3D chart type. + + + + + Indicates the Area_Stacked_100_3D chart type. + + + + + Indicates the Doughnut chart type. + + + + + Indicates the Doughnut_Exploded chart type. + + + + + Indicates the Radar chart type. + + + + + Indicates the Radar_Markers chart type. + + + + + Indicates the Radar_Filled chart type. + + + + + Indicates the Surface_3D chart type. + + + + + Indicates the Surface_NoColor_3D chart type. + + + + + Indicates the Surface_Contour chart type. + + + + + Indicates the Surface_NoColor_Contour chart type. + + + + + Indicates the Bubble chart type. + + + + + Indicates the Bubble_3D chart type. + + + + + Indicates the Stock_HighLowClose chart type. + + + + + Indicates the Stock_OpenHighLowClose chart type. + + + + + Indicates the Stock_VolumeHighLowClose chart type. + + + + + Indicates the Stock_VolumeOpenHighLowClose chart type. + + + + + Indicates the Cylinder_Clustered chart type. + + + + + Indicates the Cylinder_Stacked chart type. + + + + + Indicates the Cylinder_Stacked_100 chart type. + + + + + Indicates the Cylinder_Bar_Clustered chart type. + + + + + Indicates the Cylinder_Bar_Stacked chart type. + + + + + Indicates the Cylinder_Bar_Stacked_100 chart type. + + + + + Indicates the Cylinder_Clustered_3D chart type. + + + + + Indicates the Cone_Clustered chart type. + + + + + Indicates the Cone_Stacked chart type. + + + + + Indicates the Cone_Stacked_100 chart type. + + + + + Indicates the Cone_Bar_Clustered chart type. + + + + + Indicates the Cone_Bar_Stacked chart type. + + + + + Indicates the Cone_Bar_Stacked_100 chart type. + + + + + Indicates the Cone_Clustered_3D chart type. + + + + + Indicates the Pyramid_Clustered chart type. + + + + + Indicates the Pyramid_Stacked chart type. + + + + + Indicates the Pyramid_Stacked_100 chart type. + + + + + Indicates the Pyramid_Bar_Clustered chart type. + + + + + Indicates the Pyramid_Bar_Stacked chart type. + + + + + Indicates the Pyramid_Bar_Stacked_100 chart type. + + + + + Indicates the Pyramid_Clustered_3D chart type. + + + + + Indicates the chart that contain different Series types. + + + + + + + Indicates the Histogram chart type. + + + + + Indicates the waterfall chart type. + + + + + Indicates the Treemap chart type . + + + + + Indicates the SunBurst chart type. + + + + + Indicates the BoxAndWhisker chart type. + + + + + Specifies the position of the legend on a chart. + + + + + Indicates legend position below the chart. + + + + + Indicates legend position in the upper right-hand corner of the chart border. + + + + + Indicates legent position above the chart. + + + + + Indicates legend position right of the chart. + + + + + Indicates legend position left of the chart. + + + + + Indicates the Not Docked option. + + + + + Enumeration of the print size of charts in Excel. + + + + + Represents the Custom option. + + + + + Represents the ScaleToFit page option. + + + + + Represents the Use Full Page option. + + + + + Specifies how blank cells are plotted on a chart. + + + + + Indicates blank cells are not plotted. + + + + + Indicates blanks are plotted as zero. + + + + + Indicates values are interpolated into the chart. + + + + + Specifies the background type in charts. + + + + + Indicates the Transparent option. + + + + + Indicates the Opaque option. + + + + + Enumeration of the horizontal alignment options for Charts in chart. + + + + + Represents the Left alignment option for the horizontal alignment setting for Chart. + + + + + Represents the Center alignment option for the horizontal alignment setting for Chart. + + + + + Represents the Right alignment option for the horizontal alignment setting for Chart. + + + + + Represents the Justify alignment option for the horizontal alignment setting for Chart. + + + + + Enumeration of the vertical alignment options for Charts in chart. + + + + + Represents the Top alignment option for the Vertical alignment setting for Chart. + + + + + Represents the Center alignment option for the Vertical alignment setting for Chart. + + + + + Represents the Bottom alignment option for the Vertical alignment setting for Chart. + + + + + Represents the Justify alignment option for the Vertical alignment setting for Chart. + + + + + Specifies a line style for chart. + + + + + Indicates a solid line for Chart. + + + + + Indicates a dashed line for Chart. + + + + + Indicates a line with a repeating dot pattern for Chart. + + + + + Indicates a line with a repeating dash-dot pattern for Chart. + + + + + Indicates a line a repeating dash-dot-dot pattern for Chart. + + + + + Indicates the line style is not set for chart. + + + + + Indicates the Dark Gray line pattern for Chart.This is only for Binary file format. + + + + + Indicates the Medium Gray line pattern for Chart.This is only for Binary file format. + + + + + Indicates the Light Gray line pattern for Chart.This is only for Binary file format. + + + + + Indicates the rounded dot line pattern for chart. + + + + + Long dashed line. + + + + + Long alternating dashes and dots. + + + + + Long dash followed by two dots. + + + + + Specifies the weight of the border around a range. + + + + + Indicates the Hairline weight for Chart line. + + + + + Indicates the Narrow weight for Chart line. + + + + + Indicates the Medium weight for Chart line. + + + + + Indicates the Wide weight for Chart line. + + + + + Specifies the marker type for a point or series in a line chart, scatter chart, or radar chart. + + + + + Indicates no markers. + + + + + Indicates the square style in the custom marker option for Chart lines. + + + + + Indicates the diamond style in the custom marker option for Chart lines. + + + + + Indicates the Triangle style in the custom marker option for Chart lines. + + + + + Indicates the X style in the custom marker option for Chart lines. + + + + + Indicates the Star style in the custom marker option for Chart lines. + + + + + Indicates the Dow Jones style in the custom marker option for Chart lines. + + + + + Indicates the Standard Deviation style in the custom marker option for Chart lines. + + + + + Indicates the Circle style in the custom marker option for Chart lines. + + + + + Indicates the Plus style in the custom marker option for Chart lines. + + + + + Specifies the axis type. + + + + + Indicates axis displays the Category (X) Axis. + + + + + Indicates axis displays the Value (Y) Axis. + + + + + Indicates axis displays data serie + + + + + Enumeration of the insert options in Excel. + + + + + Indicates that after insert operation inserted rows/columns + must be formatted as row above or column left. + + + + + Indicates that after insert operation inserted rows/columns + must be formatted as row below or column right. + + + + + Indicates that after insert operation inserted rows/columns + must have default format. + + + + + Enumeration of the type of conditional formatting in Excel. + + + + + Represents the Cell Value Is option for conditional formatting. + + + + + Represents the Formula Is option for conditional formatting. + + + + + Represents the ColorScale option for conditional formatting. + + + + + Represents the DataBar option for conditional formatting. + + + + + Represents the IconSet option for conditional formatting. + + + + + Represents conditional formatting rule highlights cells that are completely blank + + + + + Represents conditional formatting rule highlights cells that are not blank + + + + + Represents the Specific Text conditional formatting rule based on the text + + + + + Represents conditional formatting rule highlights cells that conatins errors + + + + + Represents conditional formatting rule highlights cells that does not conatins errors + + + + + Represents Time Perdiod conditional formatting rule highlights cells that has date time + + + + + Enumeration of the Comparison operator for conditional formatting in Excel. + + + + + Represents no option for comparison in conditional formatting. + + + + + Represents between option for comparison in conditional formatting. + + + + + Represents not between option for comparison in conditional formatting. + + + + + Represents equal to option for comparison in conditional formatting. + + + + + Represents not equal to option for comparison in conditional formatting. + + + + + Represents greater than option for comparison in conditional formatting. + + + + + Represents less than option for comparison in conditional formatting. + + + + + Represents greater than or equal to option for comparison in conditional formatting. + + + + + Represents less than or equal to option for comparison in conditional formatting. + + + + + Represents the begins with operation for Specific Text conditional formatting. + + + + + Represents the contains text operation for Specific Text conditional formatting. + + + + + Represents the ends with operation for Specific Text conditional formatting. + + + + + Represents the not contains text operation for Specific Text conditional formatting. + + + + + Enumeration of the time periods for date time conditional formatting in Excel. + + + + + Represents today's time period type + + + + + Represents yesterday's time period type + + + + + Represents tomorrow's time period type + + + + + Represents last seven days time period type + + + + + Represents this month time period type + + + + + Represents last month time period type + + + + + Represents next month period type + + + + + Represents this week period type + + + + + Represents last week time period type + + + + + Represents next week time period type + + + + + Enumeration of the Comparison operator for conditional formatting in Excel. + + + + + Represents between option for comparison in conditional formatting. + + + + + Represents not between option for comparison in conditional formatting. + + + + + Represents equal to option for comparison in conditional formatting. + + + + + Represents not equal to option for comparison in conditional formatting. + + + + + Represents greater than option for comparison in conditional formatting. + + + + + Represents less than option for comparison in conditional formatting. + + + + + Represents greater than or equal to option for comparison in conditional formatting. + + + + + Represents less than or equal to option for comparison in conditional formatting. + + + + + Possible data types: + + + + + Represents the Any data type. + + + + + Represents the Integer data type. + + + + + Represents the Decimal data type. + + + + + Represents the User data type. + + + + + Represents the Date data type. + + + + + Represents the Time data type. + + + + + Represents the TextLength data type. + + + + + Represents the Formula data type. + + + + + Possible error style values: + + + + + Represents the Stop error style. + + + + + Represents the Warning error style. + + + + + Represents the Info error style. + + + + + Enumeration of possible directions to shift cells after clearing a range. + + + + + Represents the MoveLeft move direction. + + + + + Represents the MoveUp move direction. + + + + + Represents the None move direction. + + + + + Enumeration of shapes available in Excel. + + + + + Represents the AutoShape shape type. + + + + + Represents the Callout shape type. + + + + + Represents the Canvas shape type. + + + + + Represents the Chart shape type. + + + + + Represents the Comment shape type. + + + + + Represents the Diagram shape type. + + + + + Represents the EmbeddedOLEObject shape type. + + + + + Represents the FormControl shape type. + + + + + Represents the Freeform shape type. + + + + + Represents the GroupShape type. + + + + + Represents the Line shape type. + + + + + Represents the LinkedOLEObject shape type. + + + + + Represents the LinkedPicture shape type. + + + + + Cannot be used with this property. This constant is used with shapes + in other Microsoft Office applications. + + + + + Represents the OLEControlObject shape type. + + + + + Represents the Picture shape type. + + + + + Cannot be used with this property. This constant is used with shapes + in other Microsoft Office applications. + + + + + Represents the ScriptAnchor shape type. + + + + + Represents the ShapeTypeMixed shape type. + + + + + Represents the Table shape type. + + + + + Represents the TextBox shape type. + + + + + Represents the TextEffect shape type. + + + + + Represents the Unknown shape type. + + + + + Enumeration to specify the possible Text Rotation options. + + + + + Represents the LeftToRight text rotation. + + + + + Represents the TopToBottom text rotation. + + + + + Represents the CounterClockwise text rotation. + + + + + Represents the Clockwise text rotation. + + + + + Enumeration to align the excel comment Horizontally. + + + + + Represents the Left comment align. + + + + + Represents the Center comment align. + + + + + Represents the Right comment align. + + + + + Represents the Justified comment align. + + + + + Represents the Justified comment align. + + + + + Represents the Distributed comment align. + + + + + Enumeration to align the excel comment vertically + + + + + Represents the Top comment align. + + + + + Represents the Center comment align. + + + + + Represents the Bottom comment align. + + + + + Represents the Justified comment align. + + + + + Represents the Distributed comment align. + + + + + Enumeration to specify if the spreadsheet should be opened inside browser or saved + as an attachment to disk. + + + + + File should be opened in browser. + + + + + Prompt dialog should be displayed. + + + + + HttpContent type. + + + + + Represents the Excel97 HttpContent type. + + + + + Represents the Excel2000 HttpContent type. + + + + + Represents the Excel2007 HttpContent type. + + + + + Represents the Excel2010 HttpContent type. + + + + + Represents the Excel2013 HttpContent type. + + + + + Represents the CSV HttpContent type. + + + + + Enumeration to specify the style merge options. + + + + + Represents the Leave style merge option. + + + + + Represents the Replace style merge option. + + + + + Represents the CreateDiffName style merge option. + + + + + Enumeration to specify Names Merge options. + + + + + Represents the Leave names merge option. + + + + + Represents the Replace names merge option. + + + + + Represents the Rename names merge option. + + + + + Represents the MakeLocal names merge option. + + + + + Enumeration to specify options when copying worksheets. + + + + + No flags. + + + + + Represents the ClearBefore copy flags. + + + + + Represents the CopyNames copy flags. + + + + + Represents the CopyCells copy flags. + + + + + Represents the CopyRowHeight copy flags. + + + + + Represents the CopyColumnHeight copy flags. + + + + + Represents the CopyOptions copy flags. + + + + + Represents the CopyMerges copy flags. + + + + + Represents the CopyShapes copy flags. + + + + + Represents the CopyConditionlFormats copy flags. + + + + + Represents the CopyAutoFilters copy flags. + + + + + Represents the CopyDataValidations copy flags. + + + + + Copy page setup (page breaks, paper orientation, header, footer and other properties). + + + + + Copy table objects. + + + + + Copy pivot table objects. + + + + + Copies palette. + + + + + Represents the CopyAll copy flags, except palette. + + + + + Represents the CopyWithoutNames copy flags. + + + + + Enumeration to specify the options to update formulas and merged ranges during copy range + operation. + + + + + No flags. + + + + + Indicates whether update formula during copy. WARNING: you should always + specify this flag if your operations could change position of Array formula. + + + + + Indicates whether update merges during copy. + + + + + Indicates that we have to copy styles during range copy. + + + + + Indicates that we have to copy shapes during range copy. + + + + + Indicates that we have to copy error indicators during range copy. + + + + + Indicates that we have to copy conditional formats during range copy. + + + + + Indicates that we have to copy data validations during range copy. + + + + + All flags. + + + + + Enumeration to specify the options of excel formula + + + + + No flags. + + + + + Represents the RootLevel formula parse option. + + + + + Represents the InArray formula parse option. + + + + + Represents the InName formula parse option. + + + + + Operand in function. + + + + + Operand is complex. + + + + + Indicates that R1C1 notation must be used. + + + + + Data type for autofilters. + + + + + Represents the filter data type. + + + + + Represents the FloatingPoint filter data type. + + + + + Represents the String filter data type. + + + + + Represents the Boolean filter data type. + + + + + Represents the ErrorCode filter data type. + + + + + Represents the MatchAllBlanks filter data type. + + + + + Represents the MatchAllNonBlanks filter data type. + + + + + Possible conditions in autofilter. + + + + + Represents the Less filter condition type. + + + + + Represents the Equal filter condition type. + + + + + Represents the LessOrEqual filter condition type. + + + + + Represents the Greater filter condition type. + + + + + Represents the NotEqual filter condition type. + + + + + Represents the GreaterOrEqual filter condition type. + + + + + Parsing options. + + + + + Represents the Default parse option. + + + + + Represents the SkipStyles parse option + + + + + Represents the DoNotParseCharts parse option + + + + + This is special mode. In this mode user can't modify strings or add new strings + (numbers and other types are ok), but it gives more speed and less memory usage. + + + + + Preserves the Pivot table. + + + + + Parses the sheet when accessed. + + + + + ExportDataTable options. + + + + + No datatable exports flags. + + + + + Represents the ColumnNames datatable export flag. + + + + + Represents the ComputedFormulaValues datatable export flag. + + + + + Indicates that XlsIO should try to detect column types. + + + + + When DetectColumnTypes is set and this flag is set too, it means that + default column style must be used to detect style, if this flag is not set, + but DetectColumnTypes is set, then first cell in the column will be used + to detect column type. + + + + + Indicates whether to preserve Ole date (double numbers) instead of date-time values. + + + + + Specifies the chart rectangle style, used in chart frames. + + + + + Indicates the Regular rectangle style. + + + + + Indicates the Shadowed rectangle style. + + + + + Possible types of hyperlinks. + + + + + No hyperlink. + + + + + Represents the Url hyperlink type. + + + + + Represents the File hyperlink type. + + + + + Represents the Unc hyperlink type. + + + + + Represents the Workbook hyperlink type. + + + + + Possible types of param, specified as string, number in FindFirst, FindAll methods. + + + + + Represents the Text Finding type. + + + + + Represents the Formula Finding type. + + + + + Represents the FormulaStringValue Finding type. + + + + + Represents the Error Finding type. + + + + + Represents the Number Finding type. + + + + + Represents the FormulaValue Finding type. + + + + + Possible type of finding options + + + + + Represents none of the option is selected. + + + + + Represents to match the case while finding the value. + + + + + Represents to match the whole search word while finding the value. + + + + + Possible types of direction order. + + + + + Represents the Context reading order type. + + + + + Represents the LeftToRight reading order type. + + + + + Represents the RightToLeft reading order type. + + + + + Possible image formats. + + + + + Try to keep original picture format. + + + + + Use PNG picture format. + + + + + Use JPG picture format. + + + + + Represents the MeasureUnits types. + + + + + Specifies 1/75 inch as the unit of measure. + + + + + Specifies the document unit (1/300 inch) as the unit of measure. + + + + + Specifies the inch as the unit of measure. + + + + + Specifies the millimeter as the unit of measure. + + + + + Specifies the centimeter as the unit of measure. + + + + + Specifies a device pixel as the unit of measure. + + + + + Specifies a printer's point (1/72 inch) as the unit of measure. + + + + + 12700 emu's = 1 point. + + + + + Specifies the chart bubble size. + + + + + Indicates area of the bubble. + + + + + Indicates width of the bubble. + + + + + Specifies the limit values of pie chart. + + + + + Indicates the Normal type. + + + + + Indicates the Pie type. + + + + + Indicates the Bar type. + + + + + Specifies the values displayed in the second chart. + + + + + Indicates the second chart displays the smallest values in the data series. The number of values to display is specified by the SplitValue property. + + + + + Indicates the second chart displays values less than the value specified by the SplitValue property. + + + + + Indicates second chart displays values less than some percentage of the total value. The percentage is specified by the SplitValue property. + + + + + Indicates the arbitrary slides are displayed in the second chart. + + + + + Represents the drop line style type. + + + + + Represents the Drop line style. + + + + + Represents the HiLow drop line style. + + + + + Represents the Series drop line style. + + + + + Represents the legend spacing options. + + + + + Represents the Close ExcelLegendSpacing option. + + + + + Represents the Medium ExcelLegendSpacing option. + + + + + Represents the Open ExcelLegendSpacing option. + + + + + Specifies base format options. + + + + + Indicates Rectangle base format. + + + + + Indicates Circle base format. + + + + + Specifies Top format options. + + + + + Indicates Straight top format. + + + + + Indicates Sharp top format. + + + + + Indicates Trunc top format. + + + + + Object text is linked to. + + + + + Represents the Chart object text type. + + + + + Represents the YAxis object text type. + + + + + Represents the XAxis object text type. + + + + + Represents the DataLabel object text type. + + + + + Represents the ZAxis object text type. + + + + + Represents the DisplayUnit object text type. + + + + + Enumeration which represents axis line identifier. + + + + + The axis line itself. + + + + + Major grid line along the axis. + + + + + Minor grid line along the axis. + + + + + Walls or floor -- walls if parent axis is type 0 or 2; + floor if parent axis is type 1. + + + + + Possible format types. + + + + + Represents unknown format type. + + + + + Represents general number format. + + + + + Represents text number format. + + + + + Represents number number format. + + + + + Represents datetime number format. + + + + + Represents percentage number format. + + + + + Represents currency number format. + + + + + Represents decimal percentage number format. + + + + + Represents Exponential number format. + + + + + Indicates what property will be used for export. + + + + + Represents Boolean property. + + + + + Represents Number property. + + + + + Represents Text property. + + + + + Represents DateTime property. + + + + + Represents TimeSpan property. + + + + + Represents Error property. + + + + + Represents Formula. + + + + + Supported Xml save types. + + + + + Xml format used by MS Excel. + + + + + Xml format used by Syncfusion.DLS. This format is used to export + into Syncfusion.Pdf and Syncfusion.DocIO. + + + + + Enumeration of possible directions to clear the Cell formats, content, comments or clear all of them. + + + + + Clears the formats of the cell. + + + + + Clears the contents of the cell. + + + + + Clears the comments of the cell. + + + + + Clears the comments, content and formats of the cell. + + + + + Clears all the Conditional Format + + + + + Clears all data validations + + + + + Supported Xml open types. + + + + + Xml format used by MS Excel. + + + + + Specifies the style for a line. + + + + + Indicates single line style. + + + + + Indicates thin thin line style. + + + + + Indicates thin thick line style. + + + + + Indicates thick thin line style. + + + + + Indicates thick between thin line style. + + + + + Specifies the dash style for a line. + + + + + Indicates the line is solid. + + + + + Indicates the line is dotted. + + + + + Indicates the line is made up of round dots. + + + + + Indicates the line consists of dashes only. + + + + + Indicates the line is Medium_dashed style. + + + + + Indicates the line is a dash-dot pattern. + + + + + Indicates the line is Medium_Dash_Dot style. + + + + + Indicates the line is a dash-dot-dot pattern. + + + + + Specifies the style of the arrowhead at the end of a line. + + + + + Indicates the line has no arrowhead. + + + + + Indicates the arrow style is triangular. + + + + + Indicates the arrow style is stealth. + + + + + Indicates the arrow style is diamond. + + + + + Indicates the arrow style is oval. + + + + + Indicates the arrow style is open. + + + + + Specifies the length of the arrowhead at the end of a line. + + + + + Indicates short arrow head length. + + + + + Indicates short arrow head length. + + + + + Indicates short arrow head length. + + + + + Specifies the width of the arrowhead at the end of a line. + + + + + Indicates the arrow head is narrow. + + + + + Indicates the arrow head is medium. + + + + + Specifies the arrow head is wide. + + + + + Specifies a shape's fill type. + + + + + Indicates Solid color. + + + + + Indicates pattern type. + + + + + Indicates texture type. + + + + + Indicates picture type. + + + + + Indicates unsupport gradient that can be created using Excel 2007, + but not supported correctly by Excel 2003 structures. + + + + + Indicates gradient type. + + + + + Specifies the style for a gradient fill. + + + + + Indicates gradient running horizontally across the chart. + + + + + Indicates gradient running vertically down the chart. + + + + + Indicates diagonal gradient moving from a bottom corner up to the opposite corner. + + + + + Indicates diagonal gradient moving from a top corner down to the opposite corner. + + + + + Indicates gradient running from a corner to the other three corners. + + + + + Indicates gradient running from the center out to the corners. + + + + + Indicates diagonal gradient moving from a bottom corner up to the opposite corner. + + + + + Indicates diagonal gradient moving from a top corner down to the opposite corner. + + + + + Indicates gradient running from a corner to the other three corners. + + + + + Indicates gradient running from the center out to the corners. + + + + + Specifies shape shading variants. + + + + + Indicates first shading variants. + + + + + Indicates second shading variants. + + + + + Indicates third shading variants. + + + + + Indicates fourth shading variants. + + + + + Specifies the type of gradient used in a chart's fill. + + + + + Indicates one color gradient style. + + + + + Indicates two color gradient style. + + + + + Indicates preset gradient style. + + + + + Specifies texture to be used to fill an object. + + + + + Indicates Newsprint texture type. + + + + + Indicates Recycled Paper texture type. + + + + + Indicates Parchment texture type. + + + + + Indicates Stationery texture type. + + + + + Indicates Green Marble texture type. + + + + + Indicates White Marble texture type. + + + + + Indicates Brown Marble texture type. + + + + + Indicates Granite texture type. + + + + + Indicates Blue Tissue Paper texture type. + + + + + Indicates Pink Tissue Paper texture type. + + + + + Indicates Purple Mesh texture type. + + + + + Indicates Bouquet texture type. + + + + + Indicates Papyrus texture type. + + + + + Indicates Canvas texture type. + + + + + Indicates Denim texture type. + + + + + Indicates Woven Mat texture type. + + + + + Indicates Water Droplets texture type. + + + + + Indicates Paper Bag texture type. + + + + + Indicates Fish Fossil texture type. + + + + + Indicates Sand texture type. + + + + + Indicates Cork texture type. + + + + + Indicates Walnut texture type. + + + + + Indicates Oak texture type. + + + + + Indicates Medium Wood texture type. + + + + + Indicates user defined texture type. + + + + + Specifies gradient pattern. + + + + + Indicates 5% gradient pattern + + + + + Indicates 10% gradient pattern + + + + + Indicates 20% gradient pattern + + + + + Indicates 25% gradient pattern + + + + + Indicates 30% gradient pattern + + + + + Indicates 40% gradient pattern + + + + + Indicates 50% gradient pattern + + + + + Indicates 60% gradient pattern + + + + + Indicates 70% gradient pattern + + + + + Indicates 75% gradient pattern + + + + + Indicates 80% gradient pattern + + + + + Indicates 90% gradient pattern + + + + + Indicates Dark Downward Diagonal gradient pattern + + + + + Indicates Dark Horizontal gradient pattern + + + + + Indicates Dark Upward Diagonal gradient pattern + + + + + Indicates Dark Vertical gradient pattern + + + + + Indicates Dashed Downward Diagonal gradient pattern + + + + + Indicates Dashed Horizontal gradient pattern + + + + + Indicates Dashed Upward Diagonal gradient pattern + + + + + Indicates Dashed Vertical gradient pattern + + + + + Indicates Diagonal Brick gradient pattern + + + + + Indicates Divot gradient pattern + + + + + Indicates Dotted Diamond gradient pattern + + + + + Indicates Dotted Grid gradient pattern + + + + + Indicates Horizontal Brick gradient pattern + + + + + Indicates Large Checker Board gradient pattern + + + + + Indicates Large Confetti gradient pattern + + + + + Indicates Large Grid gradient pattern + + + + + Indicates Light Downward Diagonal gradient pattern + + + + + Indicates Light Horizontal gradient pattern + + + + + Indicates Light Upward Diagonal gradient pattern + + + + + Indicates Light Vertical gradient pattern + + + + + Indicates Mixed gradient pattern + + + + + Indicates Narrow Horizontal gradient pattern + + + + + Indicates Narrow Vertical gradient pattern + + + + + Indicates Outlined Diamond gradient pattern + + + + + Indicates Plaid gradient pattern + + + + + Indicates Shingle gradient pattern + + + + + Indicates Small Checker Board gradient pattern + + + + + Indicates Small Confetti gradient pattern + + + + + Indicates Small Grid gradient pattern + + + + + Indicates Solid Diamond gradient pattern + + + + + Indicates Sphere gradient pattern + + + + + Indicates Trellis gradient pattern + + + + + Indicates Wave gradient pattern + + + + + Indicates Weave gradient pattern + + + + + Indicates Wide Downward Diagonal gradient pattern + + + + + Indicates Wide Upward Diagonal gradient pattern + + + + + Indicates Zig Zag gradient pattern + + + + + Specifies which predefined gradient to use to fill a shape. + + + + + Indicates early sunset preset gradient type. + + + + + Indicates late sunset preset gradient type. + + + + + Indicates nightfall preset gradient type. + + + + + Indicates daybreak preset gradient type. + + + + + Indicates horizon preset gradient type. + + + + + Indicates desert preset gradient type. + + + + + Indicates ocean preset gradient type. + + + + + Indicates calm water preset gradient type. + + + + + Indicates fire preset gradient type. + + + + + Indicates fog preset gradient type. + + + + + Indicates moss preset gradient type. + + + + + Indicates peacock preset gradient type. + + + + + Indicates wheat preset gradient type. + + + + + Indicates parchment preset gradient type. + + + + + Indicates mahogany preset gradient type. + + + + + Indicates rainbow preset gradient type. + + + + + Indicates rainbowII preset gradient type. + + + + + Indicates gold preset gradient type. + + + + + Indicates goldII preset gradient type. + + + + + Indicates brass preset gradient type. + + + + + Indicates chrome preset gradient type. + + + + + Indicates chromeII preset gradient type. + + + + + Indicates silver preset gradient type. + + + + + Indicates sapphire preset gradient type. + + + + + Specifies the position of major and minor tick marks for an axis. + + + + + Indicates No mark. + + + + + Indicates the tickmark inside the axis. + + + + + Indicates the tickmark outside the axis. + + + + + Indicates the tickmark crosses the axis. + + + + + Specifies the position of tick-mark labels on the specified axis. + + + + + Indicates no tick marks. + + + + + Indicates the tick label position at bottom or left side of the chart. + + + + + Indicates the tick label position at top or right side of the chart. + + + + + Indicates the tick label position next to axis (where axis is not at either side of the chart). + + + + + Represents auto format values. + + + + + Represents Simple auto format. + + + + + Represents Classic_1 auto format. + + + + + Represents Classic_2 auto format. + + + + + Represents Classic_3 auto format. + + + + + Represents Accounting_1 auto format. + + + + + Represents Accounting_2 auto format. + + + + + Represents Accounting_3 auto format. + + + + + Represents Accounting_4 auto format. + + + + + Represents Colorful_1 auto format. + + + + + Represents Colorful_2 auto format. + + + + + Represents Colorful_3 auto format. + + + + + Represents List_1 auto format. + + + + + Represents List_2 auto format. + + + + + Represents List_3 auto format. + + + + + Represents Effect3D_1 auto format. + + + + + Represents Effect3D_2 auto format. + + + + + Represents None auto format. + + + + + Represents auto format options. + + + + + Represents number auto format option. + + + + + Represents border auto format option. + + + + + Represents font auto format option. + + + + + Represents patterns auto format option. + + + + + Represents alignment auto format option. + + + + + Represents width\height auto format option. + + + + + Represents none auto format option. + + + + + Represents all auto format option. + + + + + Specifies the range marked by error bars. + + + + + Indicates percentage of range to be covered by the error bars. + + + + + Indicates fixed-length error bars. + + + + + Indicates range for specified number of standard deviations. + + + + + Indicates range is set by fixed values or cell values. + + + + + Indicates standard error range. + + + + + Specifies which error-bar parts to include. + + + + + Indicates both positive and negative error range. + + + + + Indicates only positive error range. + + + + + Indicates only negative error range. + + + + + Specifies how the trendline that smoothes out fluctuations in the data is calculated. + + + + + Uses an equation to calculate the least squares fit through points, for example, y=ab^x . + + + + + Uses the linear equation y = mx + b to calculate the least squares fit through points. + + + + + Uses the equation y = c ln x + b to calculate the least squares fit through points. + + + + + Uses a sequence of averages computed from parts of the data series. The number of points equals the total number of points in the series less the number specified for the period. + + + + + Uses an equation to calculate the least squares fit through points, for example, y = ax^6 + bx^5 + cx^4 + dx^3 + ex^2 + fx + g. + + + + + Uses an equation to calculate the least squares fit through points, for example, y = ax^b. + + + + + Specifies the type of the category axis. + + + + + Axis groups data by an arbitrary set of categories. + + + + + Axis groups data on a time scale. + + + + + Indicates automatic category type. + + + + + Represents sheet protection flags enums. + + + + + Represents none flags. + + + + + True to protect shapes. + + + + + True to protect scenarios. + + + + + True allows the user to format any cell on a protected worksheet. + + + + + True allows the user to format any column on a protected worksheet. + + + + + True allows the user to format any row on a protected. + + + + + True allows the user to insert columns on the protected worksheet. + + + + + True allows the user to insert rows on the protected worksheet. + + + + + True allows the user to insert hyperlinks on the worksheet. + + + + + True allows the user to delete columns on the protected worksheet, + where every cell in the column to be deleted is unlocked. + + + + + True allows the user to delete rows on the protected worksheet, + where every cell in the row to be deleted is unlocked. + + + + + True to protect locked cells. + + + + + True allows the user to sort on the protected worksheet. + + + + + True allows the user to set filters on the protected worksheet. + Users can change filter criteria but can not enable or disable an auto filter. + + + + + True allows the user to use pivot table reports on the protected worksheet. + + + + + True to protect the user interface, but not macros. + + + + + True to protect content. + + + + + Represents all flags + + + + + Specifies numeric units of measurement. + + + + + Indicates no units are displayed. + + + + + Indicates units of hundreds. + + + + + Indicates units of thousands. + + + + + Indicates units of tens of thousands. + + + + + Indicates units of hundreds of thousands. + + + + + Indicates units of millions. + + + + + Indicates units of tens of millions. + + + + + Indicates units of hundreds of millions. + + + + + Indicates units of thousands of millions. + + + + + Indicates units of millions of millions. + + + + + Indicates custom units. + + + + + Specifies units of time measurement. + + + + + Indicates Day units. + + + + + Indicates Month units. + + + + + Indicates Year units. + + + + + Represents excel open type. + + + + + Represents CSV open type. If data in the file exceeds worksheet limits, excepion will be thrown. + + + + + Represents SpreadsheetML open type. + + + + + Represents BIFF open type. + + + + + Represents SpreadsheetML that is used in Excel 2007 (Office Open XML format). + + + + + Represents SpreadsheetML that is used in Excel 2010 (Office Open XML format). + + + + + Automatically indicates open type. + + + + + Specifies the position of data labels relative to the data markers. + + + + + Indicates default position. + + + + + Indicates the Outside data label placement option. + + + + + Indicates the Inside data label placement option. + + + + + Indicates the Center data label placement option. + + + + + Indicates the OutsideBase data label placement option. + + + + + Indicates data label positioned above point. + + + + + Indicates data label positioned below point. + + + + + Indicates the Left data label placement option. + + + + + Indicates the Right data label placement option. + + + + + Indicates the BestFit data label placement option. + + + + + Indicates the Moved data label placement option. + + + + + Represents flags of excel ignore error indicator. + + + + + Represents None flag of excel ignore error indicator. + + + + + Represents EvaluateToError flag of excel ignore error indicator. + + + + + Represents EmptyCellReferences flag of excel ignore error indicator. + + + + + Represents NumberAsText flag of excel ignore error indicator. + + + + + Represents OmittedCells flag of excel ignore error indicator. + + + + + Represents InconsistentFormula flag of excel ignore error indicator. + + + + + Represents TextDate flag of excel ignore error indicator. + + + + + Represents UnlockedFormulaCells flag of excel ignore error indicator. + + + + + Represents All flag of excel ignore error indicator. + + + + + Represents encryption algorithm that will be used for encryption. + + + + + No encryption. + + + + + Standard encryption. + + + + + Represents possible excel versions. + + + + + Represents excel version 97-2003. + + + + + Represents excel version 2007 + + + + + Represents excel version 2010 + + + + + Represents excel version 2013 + + + + + Defines the possible settings for vertical alignment of a run of text. + This is used to get superscript or subscript text without altering the + font size properties of the rest of the text run. + + + + + Returns the text in this run to the baseline, default, + alignment, and returns it to the original font size. + + + + + Specifies that this text should be superscript. Raises the text in this + run above the baseline and changes it to a smaller size, if a smaller + size is available. + + + + + Specifies that this text should be subscript. Lowers the text in this + run below the baseline and changes it to a smaller size, if a smaller + size is available. + + + + + Specifies check state of the check box. + + + + + Indicates that checkbox is unchecked. + + + + + Indicates that checkbox is checked. + + + + + Mixed state. + + + + + Possible image types for image conversion. + + + + + Bitmap image. + + + + + Metafile image. + + + + + Flags for expand/collapse settings. + + + + + Default options. + + + + + Indicates whether subgroups must be included into operation. + + + + + Indicates whether we have to expand parent group when expanding child (to make it visible). + + + + + Specifies existing built-in styles for Excel 2007. + + + + + Indicates Normal style. + + + + + Indicates Comma style. + + + + + Indicates Currency style. + + + + + Indicates Percent style. + + + + + Indicates Comma[0] style. + + + + + Indicates Currency[0] style. + + + + + Indicates Note style. + + + + + Indicates Warning Text style. + + + + + Indicates Title style. + + + + + Indicates Heading 1 style. + + + + + Indicates Heading 2 style. + + + + + Indicates Heading 3 style. + + + + + Indicates Heading 4 style. + + + + + Indicates Input style. + + + + + Indicates Output style. + + + + + Indicates Calculation style. + + + + + Indicates Check Cell style. + + + + + Indicates Linked Cell style. + + + + + Indicates Total style. + + + + + Indicates Good style. + + + + + Indicates Bad style. + + + + + Indicates Neutral style. + + + + + Indicates Accent1 style. + + + + + Indicates 20% - Accent1 style. + + + + + Indicates 40% - Accent1 style. + + + + + Indicates 60% - Accent1 style. + + + + + Indicates Accent2 style. + + + + + Indicates 20% - Accent2 style. + + + + + Indicates 40% - Accent2 style. + + + + + Indicates 60% - Accent2 style. + + + + + Indicates Accent3 style. + + + + + Indicates 20% - Accent3 style. + + + + + Indicates 40% - Accent3 style. + + + + + Indicates 60% - Accent3 style. + + + + + Indicates Accent4 style. + + + + + Indicates 20% - Accent4 style. + + + + + Indicates 40% - Accent4 style. + + + + + Indicates 60% - Accent4 style. + + + + + Indicates Accent5 style. + + + + + Indicates 20% - Accent5 style. + + + + + Indicates 40% - Accent5 style. + + + + + Indicates 60% - Accent5 style. + + + + + Indicates Accent6 style. + + + + + Indicates 20% - Accent6 style. + + + + + Indicates 40% - Accent6 style. + + + + + Indicates 60% - Accent6 style. + + + + + Indicates Explanatory Text style. + + + + + Represents possible combo box type values.. + + + + + Regular sheet dropdown control. + + + + + PivotTable page field dropdown. + + + + + AutoFilter dropdown. + + + + + AutoComplete dropdown. + + + + + Data validation list dropdown. + + + + + PivotTable row or column field dropdown. + + + + + Dropdown for the Total Row of a table. + + + + + shape border join type + (Supported in Excel 2007 and higher) + + + + + Rounded edge + + + + + Beveled edge + + + + + Metter join + + + + + MS Chart Font preservation Type + (Internal use) + + + + + Without the Font Tag + + + + + font with the default Property tag + + + + + font in ritch text tag + + + + + Specifies how pictures are displayed on a column, bar picture chart, or legend key. + + + + + Indicates picture is sized to repeat a maximum of 15 times in the longest stacked bar. + + + + + Indicates picture is sized to a specified number of units and repeated the length of the bar. + + + + + Indicates picture is stretched the full length of stacked bar. + + + + + Represents the extension property data. + + + + + Cell interior foreground color. + + + + + Cell interior background color. + + + + + Cell interior gradient fill. + + + + + Top cell border color. + + + + + Bottom cell border color. + + + + + Left cell border color. + + + + + Right cell border color. + + + + + Diagonal cell border color. + + + + + Cell text color. + + + + + Font Scheme + + + + + The text indentation level. + + + + + Font Scheme. + + + + + No font scheme. + + + + + Major scheme. + + + + + Minor scheme. + + + + + Ninched state. + + + + + Specifies axis text direction. + + + + + Indicates context text direction. + + + + + Indicates Left-To-Right text direction. + + + + + Indicates Right-To-Left text direction. + + + + + Conditional format template. + + + + + Cell value. + + + + + Formula. + + + + + Color scale formatting. + + + + + Data bar formatting. + + + + + Icon set formatting. + + + + + Filter. + + + + + Unique values. + + + + + Contains text. + + + + + Contains blanks. + + + + + Contains no blanks. + + + + + Contains errors. + + + + + Contains no errors. + + + + + Today. + + + + + Tomorrow. + + + + + Yesterday. + + + + + Last 7 days. + + + + + Last month. + + + + + Next month. + + + + + This week. + + + + + Next week. + + + + + Last week. + + + + + This month. + + + + + Above average. + + + + + Below Average. + + + + + Duplicate values. + + + + + Above or equal to average. + + + + + Below or equal to average. + + + + + Conditional format type of Text rule. + + + + + Text contains. + + + + + Text does not contain. + + + + + Text begins with. + + + + + Text ends with. + + + + + Specifies the series labels for the series label levels. + + + + + Set series names to all series name levels w/in range on the chart. + + + + + Set no category labels in the chart; instead default to automatic indexed labels. + + + + + Specifies the category labels for the category label levels. + + + + + Set category labels to all category label levels within range on the chart. + + + + + Set no category labels in the chart. Defaults to automatic indexed labels. + + + + + ConsolidationFunctions + + + + + Sum + + + + + Count + + + + + Average + + + + + Maximum + + + + + Minimum + + + + + Multiply + + + + + Count numerical values only + + + + + Standard deviation, based on a sample + + + + + Standard deviation, based on the whole population + + + + + Variation, based on a sample + + + + + Variation, based on the whole population. + + + + + Specifies the type of arrow. + + + + + Represents Cap of the line. + + + + + Represents Flat cap style + + + + + Represents Square Cap Style + + + + + Represents Round cap style + + + + + Represents triangle Cap style + + + + + Represents custom Cap style + + + + + Specifies the size of arrow. + + + + + It specifies an enumeration of side positions + + + + + The title or legend is on the left side + + + + + The title or legend is on the top + + + + + The title or legend is on the left side + + + + + The title or legend is on the bottom + + + + + It represent side position alignment of a chart element + + + + + The chart element is positioned at the top of the side + + + + + The chart element is positioned at the bottom of the side + + + + + The chart element is positioned at the center of the side + + + + + It represents Quartile calculation used for Box and Whisker Chart series + + + + + It includes the Median when splitting the dataset into Quartiles. + + + + + It excludes the Median when splitting the dataset into Quartiles. + + + + + It represents the Label position in Tree Map chart + + + + + No Parent labels are shown + + + + + The Parent label layout is a Banner above the category + + + + + The Parent label is laid out within the category + + + + + Contains the list of style elements + + + + + Indicates the Axis Title Element + + + + + Indicates the Category Axis element + + + + + Indicates the chart Area Element + + + + + Indicates the Data Label Element + + + + + Indicates the Data Label callout Element + + + + + Indicates the Data Point Element + + + + + Indicates the Data Point 3D Element + + + + + Indicates the Data Point Line Element + + + + + Indicates the Data Point Marker Element + + + + + Indicates the Data Point Marker Layout Element + + + + + Indicates the Data Point Wireframe Element + + + + + Indicates the Data Table Element + + + + + Indicates the Down Bar Element + + + + + Indicates the Drop Line Element + + + + + Indicates the Error Bar Element + + + + + Indicates the Floor Element + + + + + Indicates the Major grid line Element + + + + + Indicates the Minor grid line Element + + + + + Indicates the High-Low Line Element + + + + + Indicates the Leader Line Element + + + + + Indicates the Legend Element + + + + + Indicates the Plot Area Element + + + + + Indicates the Plot Area 3D Element + + + + + Indicates the Series Axis Element + + + + + Indicates the SeriesLine Element + + + + + Indicates the Title Element + + + + + Indicates the Trendline Element + + + + + Indicates the TrendLine Label Element + + + + + Indicates the Up Bar Element + + + + + Indicates the Value Axis Element + + + + + Indicates the Wall Element + + + + + Indicates the Extension List Element + + + + + Contains the list of color models + + + + + No color models have been used + + + + + expressing Red, Green, Blue color in Percentages. + + + + + specifies the color two hex digits per color, in the order RGB. + + + + + represents a color using the Hue, Saturation, and Luminescence. + + + + + represents a system color, and introduces a level of indirection. + + + + + schemeClr represents a color from a theme. + + + + + prstClr represents a preset color by its name. + + + + + element that specifies a color calculated from a CT_ColorStyle. + + + + + Contains the style entry modifier enumerations + + + + + No modifier enum is applied + + + + + fill properties specified on this StyleEntry can be replaced with no fill instead. + + + + + line properties specified on this StyleEntry can be replaced with no line instead. + + + + + This simple type enumeration specifies how to cap the ends of lines. + + + + + Line ends at end point. + + + + + Rounded ends. Semi-circle protrudes by half line width. + + + + + Square protrudes by half line width. + + + + + Enumeration represents one of the fonts associated with the style. + + + + + (None) No font reference. + + + + + (Minor Font) The minor font of the style's font scheme. + + + + + (Major Font) The major font of the style's font scheme. + + + + + Specifies the quality of the image in chart to image conversion. + + + + + Save the image with normal image quality. + + + + + Save the image with best image quality which results large image size. + + + + + Enumeration represents patterns (pattern names) that are used in Excel 2007. + This enumeration is used to convert pattern from Excel 2003 into 2007 + + + + + The fill style is none (no fill). When foreground and/or background colors + are specified, a pattern of 'none' overrides and means the cell has no fill. + + + + + The fill style is solid. When solid is specified, the foreground color + (fgColor) is the only color rendered, even when a background color + (bgColor) is also specified. + + + + + The fill style is medium gray. + + + + + The fill style is 'dark gray'. + + + + + The fill style is light gray. + + + + + The fill style is dark horizontal. + + + + + The fill style is 'dark vertical'. + + + + + The fill style is 'dark down'. + + + + + The fill style is 'dark up'. + + + + + The fill style is 'dark grid'. + + + + + The fill style is 'dark trellis'. + + + + + The fill style is light horizontal. + + + + + The fill style is light vertical. + + + + + The fill style is 'light down'. + + + + + The fill style is light up. + + + + + The fill style is 'light grid'. + + + + + The fill style is 'light trellis'. + + + + + The fill style is grayscale of 0.125 (1/8) value. + + + + + The fill style is grayscale of 0.0625 (1/16) value. + + + + + The line style of a border in a cell as it is named Excel2007. + + + + + The line style of a border is dash-dot. + + + + + The line style of a border is dash-dot-dot. + + + + + The line style of a border is dashed. + + + + + The line style of a border is dotted. + + + + + The line style of a border is double line. + + + + + The line style of a border is hairline. + + + + + The line style of a border is medium. + + + + + The line style of a border is medium dash-dot. + + + + + The line style of a border is medium dash-dot-dot. + + + + + The line style of a border is medium dashed. + + + + + The line style of a border is none (no border visible). + + + + + The line style of a border is slant-dash-dot. + + + + + The line style of a border is 'thick'. + + + + + The line style of a border is thin. + + + + + Represents border index. + + + + + Represents left border. + + + + + Represents right border. + + + + + Represents top border. + + + + + Represents bottom border. + + + + + Represents diagonal border. + + + + + Represents no border. + + + + + Represents vertical inner border. + + + + + Represents horizontal innver border. + + + + + Represents the Axis labels alignment + + + + + Left alignment + + + + + Center alignment + + + + + Right alignment + + + + + Justify alignment + + + + + Specifies values Indicates the Outer Shadow values + + + + + Indicates No shadow + + + + + Indicates Outer shadow at Right + + + + + Indicates Outer shadow at DiagonalBottomRight + + + + + Indicates Outer shadow at Bottom + + + + + Indicates Outer shadow at DiagonalTopLeft + + + + + Indicates Outer shadow at Center + + + + + Indicates Outer shadow at Top + + + + + Indicates Outer shadow at Left + + + + + Indicates Outer shadow at DiagonalTopRight + + + + + Indicates Outer shadow at DiagonalBottomLeft + + + + + Specifies value indicates the Inner Shadow Values + + + + + Indicates No shadow(Default) + + + + + Indicates Inner Shadow at Diagonal Bottom Left + + + + + Indicates Inner Shadow at Top + + + + + Indicates Inner Shadow at Right + + + + + Indicates Inner Shadow at Left + + + + + Indicates Inner Shadow at TopRight + + + + + Indicates Inner Shadow at Diagonal Bottom Right + + + + + Indicates Inner Shadow at Center + + + + + Indicates Inner Shadow at Bottom + + + + + Indicates Inner Shadow at Diagonal Top left + + + + + Specifies the preset perspective Shadow Type + + + + + Indicates the No Shadow + + + + + Indicates Perspective Shadow at Diagonal Upper Right + + + + + Indicates Perspective Shadow at Diagonal Lower Right + + + + + Indicates Perspective Shadow at Diagonal Upper Left + + + + + Indicates Perspective Shadow at Diagonal Lower Left + + + + + Indicates Perspective Shadow at Below + + + + + Specifies the bevel type of a ThreeDFormat object. + + + + + Indicates a No angle type bevel. + + + + + Indicates a Angle type bevel. + + + + + Indicates a Art Deco type bevel. + + + + + Indicates a Circle type bevel. + + + + + Indicates a Convex type bevel. + + + + + Indicates a Cool Slant type bevel. + + + + + Indicates a Cross type bevel. + + + + + Indicates a Divot type bevel. + + + + + Indicates a Hard Edge type bevel. + + + + + Indicates a Relaxed Inset type bevel. + + + + + Indicates a Riblet type bevel. + + + + + Indicates a Slope type bevel. + + + + + Indicates a Soft round type bevel. + + + + + Specifies the extrusion surface material. + + + + + Indicates No Material Effect + + + + + Indicates Matte Material + + + + + Indicates WarmMatte Material + + + + + Indicates Plastic Material + + + + + Indicates Metal Material + + + + + Indicates Dark Edge Material + + + + + Indicates Soft Edge Material + + + + + Indicates Flat Material + + + + + Indicates Wire Frame Material + + + + + Indicates Powder Material + + + + + Indicates Translucent Powder Material + + + + + Indicates Clear Material + + + + + Specifies the value indicates the Lighting properties for the + Chart + + + + + Indicates ThreePoint Lighting(Default) + + + + + Indicates Balance Lighting + + + + + Indicates Bright Room Lighting + + + + + Indicates Chilly Lighting + + + + + Indicates Contrasting Lighting + + + + + Indicates Flat Lighting + + + + + Indicates Flood Lighting + + + + + Indicates Freezing Lighting + + + + + Indicates Glow Lighting + + + + + Indicates Harsh Lighting + + + + + Indicates Morning Lighting + + + + + Indicates Soft Lighting + + + + + Indicates Sunrise Lighting + + + + + Indicates Sun Set Lighting + + + + + Indicates TwoPoint Lighting + + + + + The enumeration value indicating the portion of Cell Alignment in + a cell format (XF) that is horizontal alignment. + + + + + The horizontal alignment is centered, meaning the text is centered across the cell. + + + + + The horizontal alignment is centered across multiple cells. + + + + + Indicates that each 'word' in each line of text inside the cell is evenly + distributed across the width of the cell, with flush right and left margins. + When there is also an indent value to apply, both the left and right side + of the cell are padded by the indent value. + + + + + Indicates that the value of the cell should be filled across the entire + width of the cell. + + + + + The horizontal alignment is general-aligned. Text data is left-aligned. + Numbers, dates, and times are rightaligned. Boolean types are centered. + Changing the alignment does not change the type of data. + + + + + The horizontal alignment is justified (flush left and right). For each + line of text, aligns each line of the wrapped text in a cell to the right + and left (except the last line). If no single line of text wraps in the + cell, then the text is not justified. + + + + + The horizontal alignment is left-aligned, even in Right-to-Left mode. + Aligns contents at the left edge of the cell. If an indent amount is + specified, the contents of the cell is indented from the left by the + specified number of character spaces. The character spaces are based + on the default font and font size for the workbook. + + + + + The horizontal alignment is right-aligned, meaning that cell contents + are aligned at the right edge of the cell, even in Right-to-Left mode. + + + + + This enumeration value indicates the type of vertical alignment for a cell. + + + + + The vertical alignment is aligned-to-bottom. + + + + + The vertical alignment is centered across the height of the cell. + + + + + When text direction is horizontal: the vertical alignment of lines of text + is distributed vertically, where each line of text inside the cell is evenly + distributed across the height of the cell, with flush top and bottom margins. + When text direction is vertical: behaves exactly as distributed horizontal + alignment. The first words in a line of text (appearing at the top of the cell) + are flush with the top edge of the cell, and the last words of a line of text + are flush with the bottom edge of the cell, and the line of text is distributed + evenly from top to bottom. + + + + + When text direction is horizontal: the vertical alignment of lines of text + is distributed vertically, where each line of text inside the cell is evenly + distributed across the height of the cell, with flush top and bottom margins. + When text direction is vertical: similar behavior as horizontal justification. + The alignment is justified (flush top and bottom in this case). For each line + of text, each line of the wrapped text in a cell is aligned to the top and + bottom (except the last line). If no single line of text wraps in the cell, + then the text is not justified. + + + + + The vertical alignment is aligned-to-top. + + + + + Enumeration which controls visibility of worksheet in Excel. + + + + + Worksheet is visible to the user. + + + + + Worksheet is hidden for the user. + + + + + The strong hidden flag can only be set and cleared with a Visual Basic + macro. It is not possible to make such a sheet visible via the user interface. + + + + + This simple type specifies the possible styles of radar chart. + + + + + Specifies that the radar chart shall have lines but no markers and no fill. + + + + + Specifies that the radar chart shall have lines and markers but no fill. + + + + + Specifies that the radar chart shall be filled and have lines but no markers. + + + + + This simple type specifies the possible styles of scatter chart. + + + + + Specifies the points on the scatter chart shall not be connected with + lines and markers shall be drawn. + + + + + Specifies the the points on the scatter chart shall be connected with + smoothed lines and markers shall be drawn. + + + + + Specifies the the points on the scatter chart shall be connected with + smoothed lines and markers shall not be drawn. + + + + + Specifies the points on the scatter chart shall be connected with + straight lines and markers shall be drawn. + + + + + Specifies the points on the scatter chart shall be connected with + straight lines but markers shall not be drawn. + + + + + Enumeration limits values which can be set by user. + + + + + Represents the Position split type. + + + + + Represents the Value split type. + + + + + Represents the Percent split type. + + + + + Represents the Custom split type. + + + + + + + + + + Specifies that data labels shall be displayed below the data marker. + + + + + Specifies that data labels shall be displayed in the best position. + + + + + Specifies that data labels shall be displayed centered on the data marker. + + + + + Specifies that data labels shall be displayed inside the base of the data marker. + + + + + Specifies that data labels shall be displayed inside the end of the data marker. + + + + + Specifies that data labels shall be displayed to the left of the data marker. + + + + + Specifies that data labels shall be displayed outside the end of the data marker. + + + + + Specifies that data labels shall be displayed to the right of the data marker. + + + + + Specifies that data labels shall be displayed above the data marker.} + + + + + Enumeration of the marker types for Chart lines in Excel. + + + + + Represents the None option for the marker type. + + + + + Represents the square style in the custom marker option for Chart lines. + + + + + Represents the diamond style in the custom marker option for Chart lines. + + + + + Represents the Triangle style in the custom marker option for Chart lines. + + + + + Represents the X style in the custom marker option for Chart lines. + + + + + Represents the Star style in the custom marker option for Chart lines. + + + + + Represents the Dow Jones style in the custom marker option for Chart lines. + + + + + Represents the Standard Deviation style in the custom marker option for Chart lines. + + + + + Represents the Circle style in the custom marker option for Chart lines. + + + + + Represents the Plus style in the custom marker option for Chart lines. + + + + + We don't provide picture marker type support for chart lines.So simply assign none value for picture type. + + + + + Represents trend line values. + + + + + Represents Exponential trend line type. + + + + + Represents Linear trend line type. + + + + + Represents Logarithmic trend line type. + + + + + Represents Moving average trend line type. + + + + + Represents Polynomial trend line type. + + + + + Represents Power trend line type. + + + + + Error-bar type. + + + + + Represents the Percentage error-bar source type. + + + + + Represents the FixedValue error-bar source type. + + + + + Represents the StandardDeviation error-bar source type. + + + + + Represents the Custom error-bar source type. + + + + + Represents the StandardError error-bar source type. + + + + + Enumeration of the legend placement for Charts in Excel. + + + + + Represents the bottom option. + + + + + Represents the Corner option. + + + + + Represents the Top option. + + + + + Represents the Right option. + + + + + Represents the Left option. + + + + + This enumeration specifies the possible ways to display blanks. + + + + + Specifies that blank values shall be left as a gap. + + + + + Specifies that blank values shall be treated as zero. + + + + + Specifies that blank values shall be spanned with a line. + + + + + Represents 5% gradient pattern + + + + + Represents 10% gradient pattern + + + + + Represents 20% gradient pattern + + + + + Represents 25% gradient pattern + + + + + Represents 30% gradient pattern + + + + + Represents 40% gradient pattern + + + + + Represents 50% gradient pattern + + + + + Represents 60% gradient pattern + + + + + Represents 70% gradient pattern + + + + + Represents 75% gradient pattern + + + + + Represents 80% gradient pattern + + + + + Represents 90% gradient pattern + + + + + Represents Dark Downward Diagonal gradient pattern + + + + + Represents Dark Horizontal gradient pattern + + + + + Represents Dark Upward Diagonal gradient pattern + + + + + Represents Dark Vertical gradient pattern + + + + + Represents Dashed Downward Diagonal gradient pattern + + + + + Represents Dashed Horizontal gradient pattern + + + + + Represents Dashed Upward Diagonal gradient pattern + + + + + Represents Dashed Vertical gradient pattern + + + + + Represents Diagonal Brick gradient pattern + + + + + Represents Divot gradient pattern + + + + + Represents Dotted Diamond gradient pattern + + + + + Represents Dotted Grid gradient pattern + + + + + Represents Horizontal Brick gradient pattern + + + + + Represents Large Checker Board gradient pattern + + + + + Represents Large Confetti gradient pattern + + + + + Represents Large Grid gradient pattern + + + + + Represents Light Downward Diagonal gradient pattern + + + + + Represents Light Horizontal gradient pattern + + + + + Represents Light Upward Diagonal gradient pattern + + + + + Represents Light Vertical gradient pattern + + + + + Represents Narrow Horizontal gradient pattern + + + + + Represents Narrow Vertical gradient pattern + + + + + Represents Outlined Diamond gradient pattern + + + + + Represents Plaid gradient pattern + + + + + Represents Shingle gradient pattern + + + + + Represents Small Checker Board gradient pattern + + + + + Represents Small Confetti gradient pattern + + + + + Represents Small Grid gradient pattern + + + + + Represents Solid Diamond gradient pattern + + + + + Represents Sphere gradient pattern + + + + + Represents Trellis gradient pattern + + + + + Represents Wave gradient pattern + + + + + Represents Weave gradient pattern + + + + + Represents Wide Downward Diagonal gradient pattern + + + + + Represents Wide Upward Diagonal gradient pattern + + + + + Represents Zig Zag gradient pattern + + + + + Represents excel 2007 chart uint to display. + + + + + Represents Hundreds display Unit + + + + + Represents Thousands display Unit + + + + + Represents TenThousands display Unit + + + + + Represents HundredThousands display Unit + + + + + Represents Millions display Unit + + + + + Represents TenMillions display Unit + + + + + Represents HundredMillions display Unit + + + + + Represents ThousandMillions display Unit + + + + + Represents MillionMillions display Unit + + + + + Possible types for row data storage. + + + + + Uses Win32 API and Marshal class calls to allocate and work with memory blocks. + + + + + Uses Win32 API and unsafe blocks to allocate and work with memory blocks. + + + + + Uses managed byte array and other managed functions to work with memory blocks. + This method is slowest, but it is the only one suitable for medium trust mode. + + + + + Possible icon set types. + + + + + 3 arrows icon set. + + + + + 3 gray arrows icon set. + + + + + 3 flags icon set. + + + + + 3 traffic lights icon set (#1). + + + + + 3 traffic lights icon set with thick black border. + + + + + 3 signs icon set. + + + + + 3 symbols icon set. + + + + + 3 Symbols icon set. + + + + + 4 arrows icon set. + + + + + 4 gray arrows icon set. + + + + + 4 'red to black' icon set. + + + + + 4 ratings icon set. + + + + + 4 traffic lights icon set. + + + + + 5 arrows icon set. + + + + + 5 gray arrows icon set. + + + + + 5 rating icon set. + + + + + 5 quarters icon set. + + + + + If there is vertical text, determines what type of vertical text is going to be used. + + + + + Horizontal text. This should be default. + + + + + Determines if all of the text is vertical ("one letter on top of another"). + + + + + Determines if all of the text is vertical orientation (each line is 90 + degrees rotated clockwise, so it goes from top to bottom; each next + line is to the left from the previous one). + + + + + Determines if all of the text is vertical orientation (each line is 270 + degrees rotated clockwise, so it goes from bottom to top; each next line + is to the right from the previous one). + + + + + A special version of vertical text, where some fonts are displayed as if rotated + by 90 degrees while some fonts (mostly East Asian) are displayed vertical. + + + + + A special version of vertical text, where some fonts are displayed as if + rotated by 90 degrees while some fonts (mostly East Asian) are displayed + vertical. The difference between this and the eastAsianVertical is the + text flows top down then LEFT RIGHT, instead of RIGHT LEFT. + + + + + Specifies that vertical WordArt should be shown from right to left rather than left to right. + + + + + Enumeration to align the excel comment Horizontally. + + + + + Represents the Left comment align. + + + + + Represents the Center comment align. + + + + + Represents the Right comment align. + + + + + Represents the Justified comment align. + + + + + Represents the Distributed comment align. + + + + + This type specifies a list of available anchoring types for text. + + + + + Anchor the text at the top of the bounding rectangle. + + + + + Anchor the text at the middle of the bounding rectangle. + + + + + Anchor the text at the bottom of the bounding rectangle. + + + + + Anchor the text so that it is justified vertically. + + + + + Anchor the text so that it is distributed vertically. + + + + + Represents line style. + + + + + Represents single line style. + + + + + Represents thin thin line style. + + + + + Represents thin thick line style. + + + + + Represents thick thin line style. + + + + + Represents thick between thin line style. + + + + + Represents functions added in Excel 2007. + + + + + Returns a key performance indicator (KPI) name, property, and measure, and displays the name and property in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, used to monitor an organization's performance. + + + + + Returns a member or tuple in a cube hierarchy. Use to validate that the member or tuple exists in the cube. + + + + + Returns the value of a member property in the cube. Use to validate that a member name exists within the cube and to return the specified property for this member. + + + + + Returns the nth, or ranked, member in a set. Use to return one or more elements in a set, such as the top sales performer or top 10 students. + + + + + Defines a calculated set of members or tuples by sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Office Excel. + + + + + Returns the number of items in a set. + + + + + Returns an aggregated value from a cube. + + + + + Returns the modified Bessel function In(x). + + + + + Returns the Bessel function Jn(x). + + + + + Returns the modified Bessel function Kn(x). + + + + + Returns the Bessel function Yn(x). + + + + + Converts a binary number to decimal. + + + + + Converts a binary number to hexadecimal. + + + + + Converts a binary number to octal. + + + + + Converts real and imaginary coefficients into a complex number. + + + + + Converts a number from one measurement system to another. + + + + + Converts a decimal number to binary. + + + + + Converts a decimal number to hexadecimal. + + + + + Converts a decimal number to octal. + + + + + Tests whether two values are equal. + + + + + Returns the error function. + + + + + Returns the complementary error function. + + + + + Tests whether a number is greater than a threshold value. + + + + + Converts a hexadecimal number to binary. + + + + + Converts a hexadecimal number to decimal. + + + + + Converts a hexadecimal number to octal. + + + + + Returns the absolute value (modulus) of a complex number. + + + + + Returns the imaginary coefficient of a complex number. + + + + + Returns the argument theta, an angle expressed in radians. + + + + + Returns the complex conjugate of a complex number. + + + + + Returns the cosine of a complex number + + + + + Returns the quotient of two complex numbers. + + + + + Returns the exponential of a complex number. + + + + + Returns the natural logarithm of a complex number. + + + + + Returns the base-10 logarithm of a complex number. + + + + + Returns the base-2 logarithm of a complex number. + + + + + Returns a complex number raised to an integer power. + + + + + Returns the product of from 2 to 29 complex numbers + + + + + Returns the real coefficient of a complex number + + + + + Returns the sine of a complex number + + + + + Returns the square root of a complex number + + + + + Returns the difference between two complex numbers + + + + + Returns the sum of complex numbers. + + + + + Converts an octal number to binary. + + + + + Converts an octal number to decimal. + + + + + Converts an octal number to hexadecimal. + + + + + Adds the cells in a range that meet multiple criteria + + + + + Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria + + + + + Returns the average (arithmetic mean) of all cells that meet multiple criteria. + + + + + Specifies the value indicates the layout modes for the chart. + + + + + Indicates the layout mode is automatic + + + + + Indicates the width or Height shall be interpreted as the + Right or Bottom of the chart element + + + + + Indicates the Width or Height shall be interpreted as the + Width or Height of the chart element + + + + + Specifies the value indicates the layout targets for the chart. + + + + + Indicates the layout target is automatic. + + + + + Indicates the plot area size shall determine the size of the plot area, + not including the tick marks and axis labels + + + + + Indicates the plot area size + shall determine the size of the plot area, the tick marks, and the axis labels + + + + + Represents an Custom Addin Function in Excel. + + + + + Returns name of the add-in function. Read-only. + + + + + Event arguments for notifying read progress. + + + + + Current read position. + + + + + Full stream size. + + + + + Creates new instance of the event arguments. + + Current read position. + Full stream size. + + + + Current read position. + + + + + Full stream size. + + + + + Progress event handler delegate + + + + + Represents an Autofilter in an Excel worksheet. + + + + + First condition of autofilter. + + + + + Second condition of autofilter. + + + + + False indicates that this autofilter was not used; otherwise True. Read-only. + + + + + True means to use AND operation between conditions, + False to use OR. Read-only. + + + + + True if the Top 10 AutoFilter shows percentage; + False if it shows items. Read-only. + + + + + True if the first condition is a simple equality. Read-only. + + + + + True if the second condition is a simple equality. Read-only. + + + + + True if the Top 10 AutoFilter shows the top items; + False if it shows the bottom items. + + + + + True if the condition is a Top 10 AutoFilter. + + + + + Number of elements to show in Top10 mode. + + + + + Represents the autofilter conditions. + + + + + Data type. + + + + + Comparison operator. + + + + + String value. + + + + + Boolean value. Read-only. + + + + + Error code. Read-only. + + + + + Floating-point value. + + + + + Represents single worksheet custom property. + + + + + Returns the name of the property. + + + + + Gets sets the value of the custom property. + + + + + Engine for parsing and creation of header/footer strings. + + + + + Parses text of header/footer part. + + Text of header/footer part. + + + + Returns string in format that is supported by Excel header/footer. + + String in format that is supported by Excel header/footer. + + + + Represents a Merged Cell. + + + + + Merges all cells in cellRange. + + + + + + + + + + If specified cell is contained in merged cell, delete that merge. + + + + + + This interface is used to perform some action on demand. + + + + + Performs required operation. + + + + + This interface is used to get shapes from worksheet. + + + + + Returns a shape collection from the worksheet. + + Worksheet to return sheet data for. + A shape collection from the worksheet. + + + + Represents a vertical page break. The VPageBreak object is a member + of the VPageBreaks collection. + + + + + Used without an object qualifier, this property returns an + Application object that represents the Excel application. + + + + + For the HPageBreak and VPageBreak objects, this property returns or + sets the cell (a Range object) that defines the page-break location. + Horizontal page breaks are aligned with the top edge of the location + cell; vertical page breaks are aligned with the left edge of the + location cell. Read / write Range. + + + + + Returns the parent object for the specified object. + + + + + Interface that represents single GradientStop of the gradient fill. + + + + + Gets / sets color. + + + + + Gets / sets position of the GradientStop. + + + + + Gets / sets transparency value. + + + + + This interface must be implemented by all xml serializators. + + + + + Saves workbook into writer. + + Writer to save workbook into. + Workbook to save. + + + + Event arguments for ReadOnlyFile event. + + + + + Indicates if file should be rewritten, default - False. + + + + + Indicates whether Read-only file should be rewritten. + + + + + Event arguments for PasswordRequired event. + + + + + Indicates whether we should stop parsing protected workbook. + + + + + New password to try. + + + + + Indicates whether we should stop parsing protected workbook. + + + + + New password to try. + + + + + Represents the method that will handle the ReadOnlyFile event. + + + + + Represents the method that will handle the PasswordRequired event. + + + + + Represents the method that will handle the PasswordRequired event. + + + + + Each cell range address (called an ADDR structure) contains 4 16-bit values. + Cell range address, BIFF8: + + + + + Index to first row. + + + + + Index to last row. + + + + + Index to first column. + + + + + Index to last column. + + + + + Initializes new instance. + + First row. + First column. + Last row. + Last column. + + + + Initializes new instance. + + Index of the top left cell. + Index of the bottom right cell. + + + + Initializes new instance. + + Rectangle containing initialization data. + + + + Converts object to the string. + + + + + Converts structure to rectangle. + + Created rectangle. + + + + Index to first column. + + + + + Index to first row. + + + + + Index to last column. + + + + + Index to last row. + + + + + Summary description for ArrayRecord. + + + + + + + + + + + Default size of the inner collections. + + + + + Maximum size of a record. + + + + + Maximum size of a record with header. + + + + + Size of the records header. + + + + + Number of bits in byte. + + + + + Number of bits in short. + + + + + Number of bits in int. + + + + + Used to optimize reflection typed extracting. + TBiffRecord - to - ReflectionCachePair + + + + + + + + + + Skips begin - end block and sub blocks. + + Record storage. + Position in storage. + Returns index after skipping. + + + + Code of the Biff record. + + + + + Length of the Biff record data. + + + + + Indicates whether m_data array need to be Infilled before usage. + + + + + Gets value with all bits that do not correspond + to the specified mask to zero. + + Unsigned Int16 value. + Bit mask. + + Value with all bits that do not correspond + to the specified mask to zero. + + + + + Sets the value with all bits that correspond to the specified + mask of zero to the same values as in the value. + + Variable that bits of which will be set. + Bit mask. + Value from which bit values will be taken. + + + + Gets value with all bits that do not correspond + to the specified mask to zero. + + Unsigned Int32 value. + Bit mask. + + Value with all bits that do not correspond + to the specified mask to zero. + + + + + Sets the value with all bits that correspond to the specified + mask to zero to the same values as in value. + + Variable that bits of which will be set. + Bit mask. + Value from which bit values will be taken. + + + + Default constructor, gets code value using reflection and attributes. + + + + + Read / initialize constructor. + + Stream from which record data should be read. + Size of read item. + If stream is not specified. + If stream does not support read or seek operations. + + + + Reserved for record's internal data array iReserve bytes. + + Amount of bytes for data array. + If amount of bytes requested is less than zero. + + + + Method which updates the fields of record which contain stream offset + or other data. This method must be called before save operation. + + Array with all records. + + When not overridden in descendant class. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Array that contains record's data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Size of the record data. + Offset in the buffer. + Excel version used for infill. + + + + Returns size of the required storage space. + + Excel version. + Size of the required storage space. + + + + Checks offset and length of the array. + + Array to check. + Start offset. + Length of the data. + + + + Get array of bytes from internal record data. + + + Offset of first byte of data to get. + Length of required array. + Array of bytes from internal record data. + + If offset is less than zero or more than internal record data array size + or length is less than zero or more than internal record data array size + or length plus offset is more than internal record data array size. + + + + + Gets single byte from internal record data using GetBytes. + + Source byte array. + Offset of byte to get. + Single byte from internal record data. + + + + Gets ushort from internal record data using GetBytes. + + Source byte array. + Offset in bytes of ushort to get. + Ushort from internal record data. + + + + Gets short from internal record data using GetBytes. + + Source byte array. + Offset in bytes of short to get. + Short from internal record. + + + + Gets int from internal record data using GetBytes. + + Source byte array. + Offset in bytes of int to get. + Int from internal record. + + + + Gets single bit from internal record data using GetBytes. + + Source byte array. + Offset of the byte that contains needed bit. + Position of bit in the byte. + True if specified bit is set to 1; otherwise False. + + bitPos argument should be not less than zero and not more than 7. + + + + + Gets single bit from internal record data using GetBytes. + + Source memory block. + Offset of the byte that contains needed bit. + Position of bit in the byte. + True if specified bit is set to 1; otherwise False. + + bitPos argument should be not less than zero and not more than 7. + + + + + Searches for the next break. + + List of breaks. + Number of elements in the list. + Current break position. + Start index in the array. + Next break. + + + + Sets ushort in internal record data array using SetBytes method. + + Byte array list. + Offset to the required value. + New value for the specified ushort. + + + + Sets one bit in specified byte in internal record data array. + + Array where byte is located.. + Offset of the byte in the data array. + Bit position in the byte. + Value of bit. + + If bitPos is less than zero or more than 7. + + + + + Sets short in internal record data array using SetBytes method. + + Array where value should be placed located. + Offset to the required value. + New value for the specified short. + + + + Sets int in internal record data array using SetBytes method. + + Array where value should be placed located. + Offset to the required value. + New value for the specified int. + + + + Sets uint in internal record data array using SetBytes method. + + Array where value should be placed located. + Offset to the required value. + New value for the specified uint. + + + + Sets double in internal record data array using SetBytes method. + + Array where value should be placed. + Offset to the required value. + New value for the specified double. + + + + Sets string in internal record data array using SetBytes method + without string length, updates offset parameter (adds string length). + + Array where value should be placed located. + Offset to the string. + Value of the string. + + + + Sets string in internal record data array using SetBytes method. + The String length is saved in one byte. + + Array where value should be placed located. + Offset to the string. + Value of the string. + + + + Sets bytes in internal record data array values. + + Buffer to copy bytes into. + Offset in internal record data array to start from. + Array of bytes to set. + Position in value array to the data that will be set. + Length of the data. + If value array is NULL. + + If pos or length would be less than zero or their sum would be more + than size of value array. + + + If internal record data array is too small for receiving value array + and AutoGrowData is False. + + + + + Sets one bit in specified ushort. + + Offset of the byte in the internal record data array. + Value of bit. + Bit position in the byte. + + If bitPos is less than zero or more than 7. + + + + + Sets one bit in specified uint. + + Offset of the byte in the internal record data array. + Value of bit. + Bit position in the byte. + + If bitPos is less than zero or more than 7. + + + + + Return size in bytes for string with 16-bit length field. + + String to measure. + Indicates whether string should be compressed or not. + Size in bytes for string with 16-bit length field. + + + + Clears data. + + + + + Compares two Biff records. + + Biff record that should be compared with this Biff record. + True if this instance and extFormat contain the same data. + + + + Copies data from the current Biff record to the specified Biff record. + + Biff record that will receive data from the current record. + + When this record and parameter have different types. + + + + + Checked typeCode. + + TypeCode to check. + + + + + + + + + + + + + + + + + + + + + + + Sets record code. + + Code to set. + + + + Clone current Record. + + Returns memberwise clone on current object. + + + + Combines several byte arrays into one. + + Length of combined array. + List that contains byte arrays to combine. + Combined array. + + + + + + + + + + + + + + Copies string data into array of bytes without string length field. + + Destination array. + Offset to the string. + Value of the string. + Size of the string in bytes. + + + + Sets string in internal record data array using SetBytes method. + The String length is saved in two bytes + + Destination array. + Offset to the string. + Value of the string. + + + + Returns value of the single bit from byte. + + Byte to get bit value from. + Bit index. + Value of the single bit from byte. + + + + Returns value of the single bit from byte. + + Int16 to get bit value from. + Bit index. + Value of the single bit from byte. + + + + Returns value of the single bit from byte. + + UInt16 to get bit value from. + Bit index. + Value of the single bit from byte. + + + + Returns value of the single bit from byte. + + Byte to get bit value from. + Bit index. + Value of the single bit from byte. + + + + Returns value of the single bit from UInt32. + + UInt32 to get bit value from. + Bit index. + Value of the single bit from byte. + + + + Sets one bit in specified Int32. + + Int32 to set bit. + Bit position in the byte + Value of bit + + If bitPos is less than zero or more than 7 + + Value after + + + + Reads data array from another data array. + + Source array. + Source offset. + Destination array. + Updated source offset. + + + + Read-only. Will get record type if known; + otherwise it will get TBIFFRecord.Unknown. + + + + + Read-only. Returns integer value which is the unique identifier + of Biff record. + + + + + Gets / sets length of internal data array. + + + + + Read-only. Returns record data. + + + + + If True, the array will automatically grow when the offset limit + is reached. This is required when the real record size is not known for an + Infill operation. Will throw exception on buffer offset overrun + when set to False. Default value is False. + + + + + Indicates record position in stream. This is a utility member of class and + is used only in the serialization process. Does not influence the data. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Maximum memory size for internal buffer. + + + + + Indicates whether record needs to infill internal data array. + + + + + Indicates whether record needs internal data array + or if it can be cleaned. Read-only. + + + + + Indicates whether record allows shorter data. Read-only. + + + + + Indicates whether record need decoding when file is encoded or not. Read-only. + + + + + Returns offset in the data array where encoded/decoded data should start. Read-only. + + + + + + + + + + Interface for shared formula and array formula. + + + + + Index to first row of the array formula range. + + + + + Index to last row of the array formula range. + + + + + Index to first column of the array formula range. + + + + + Index to last column of the array formula range. + + + + + Parsed formula. + + + + + Summary description for IFormulaRecord. + + + + + Gets/sets parsed formula tokens. + + + + + Minimum size of the record. + + + + + Offset to the formula data. + + + + + First row. + + + + + Last row. + + + + + First row. + + + + + Last row. + + + + + Option flags. + + + + + Indicates whether formula value should always be recalculated. + + + + + Indicates whether formula value should be recalculated when the file is opened. + + + + + Unused must be 0. + + + + + Length of the parsed expression. + + + + + Formula expression. + + + + + + + + + + Default Constructor. + + + + + Read / initialize Constructor. + + Stream from which record data should be read. + Size of read item. + When stream is not specified. + When stream does not support read or seek operations. + + + + Reserved for the record's internal data array. + + Amount of bytes for data array. + If amount of bytes requested is less than zero. + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Size of the required storage space. Read-only. + + + + + Serializes area that is covered by array formula. + + Object that contains dimensions data. + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Updated offset. + + + + Serializes area that is covered by array formula. + + Object that receives dimensions data. + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Updated offset. + + + + Determines whether the specified Object is equal to the current Object. + + The Object to compare with the current Object. + true if the specified Object is equal to the current Object; otherwise, false. + + + + Serves as a hash function for a particular type. + + A hash code for the current Object. + + + + + + + + + + Index to first row of the array formula range. Zero-based. + + + + + Index to last row of the array formula range. Zero-based. + + + + + Index to first column of the array formula range. Zero-based. + + + + + Index to last column of the array formula range. Zero-based. + + + + + Read-only. Size of the formula data. + + + + + Token array of the shared formula. + + + + + + + + + + Read-only. Reserved. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Indicates whether formula value should be always recalculated. + + + + + Indicates whether formula value should be recalculated when the file is opened. + + + + + Option flags. + + + + + This record is part of the Page Settings Block. + It stores the background bitmap of a worksheet. + + + + + BifRecords container. + + + + + Summary description for BiffRecordRawWithArray. + + + + + Array that contains record data. + + + + + True if internal data array will be automatically resized + if there is not enough space for record data. + + + + + Default constructor, gets code value using reflection and attributes. + + + + + Read / initialize constructor. + + Stream from which record data should be read. + Size of read item. + If stream is not specified. + If stream does not support read or seek operations. + + + + Reserved for record's internal data array iReserve bytes. + + Amount of bytes for data array. + If amount of bytes requested is less than zero. + + + + + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, the class must pack all of its properties into + an internal Data array: m_data. This method is called by + FillStream, when the record must be serialized into stream. + + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Size of the record data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + + + Get array of bytes from internal record data. + + Offset of first byte of data to get. + Length of required array. + Array of bytes from internal record data. + + If offset is less than zero or more than internal record data array size + or length is less than zero or more than internal record data array size + or length plus offset is more than internal record data array size. + + + + + Gets single byte from internal record data using GetBytes. + + Offset of byte to get. + Single byte from internal record data. + + + + Gets ushort from internal record data using GetBytes. + + Offset in bytes of ushort to get. + Ushort from internal record data. + + + + Gets short from internal record data using GetBytes. + + Offset in bytes of short to get. + Short from internal record. + + + + Gets int from internal record data using GetBytes. + + Offset in bytes of int to get. + Int from internal record. + + + + Gets uint from internal record data using GetBytes. + + Offset in bytes of uint to get. + Uint from internal record data. + + + + Gets long from internal record data using GetBytes. + + Offset in bytes of long to get. + Long from internal record data. + + + + Gets ulong from internal record data using GetBytes. + + Offset in bytes of ulong to get. + Ulong from internal record data. + + + + Gets float from internal record data using GetBytes. + + Offset in bytes of float to get. + Float from internal record data. + + + + Gets double from internal record data using GetBytes. + + Offset in bytes of double to get. + Double from internal record data. + + + + Gets single bit from internal record data using GetBytes. + + Offset of the byte that contains needed bit. + Position of bit in the byte. + True if specified bit is set to 1; otherwise False. + + bitPos argument should be not less than zero and not more than 7. + + + + + Gets string from internal record data using GetBytes, + and it increases the offset by string size in bytes. + + Offset of starting byte. + Indicates whether extracted string is ascii string (not unicode). + Retrieved string. + + if Offset + iStrLen is out of data array + + + + + Gets string from internal record data using GetBytes, + and it increases the offset by string size in bytes. + + Offset of starting byte. + Retrieved string. + + if Offset + iStrLen is out of data array + + + + + Gets string from internal record data using GetBytes + and it increases offset by string size in bytes. + + Offset of starting byte. + Length of the string. + Retrieved string. + + if Offset + iStrLen is out of data array + + + + + Gets string from internal record data using GetBytes. + + Offset of starting byte. + Retrieved string. + + if Offset + iStrLen is out of data array + + + + + Gets string from internal record data using GetBytes. + + Offset of starting byte. + Returns size of the read data. + Retrieved string. + + if Offset + iStrLen is out of data array + + + + + Gets string from internal record data using GetBytes. + + Offset of starting byte. + Length of the string. + Retrieved string. + + if Offset + iStrLen is out of data array + + + + + Gets string from internal record data using GetBytes. + + Offset of starting byte. + Length of the string. + Gets bytes count that this string occupies in the data array. + Retrieved string. + + + + Gets string from internal record data using GetBytes. + + Offset of starting byte. + Length of the string. + Gets bytes count that this string occupies in the data array. + Flag for is bytes count available. + Retrieved string. + + + + Detect type of string and extracts it. + + Record data offset. + Contain next position. + Number of elements in the continuePos collection. + Current index in the continuePos array. + Length of string record. + Array of rich formatting values. + Array of unknown FarEast data. + Extracted string. + + + + Gets TAddr structure from internal record data. + + Offset in bytes of TAddr structure to get. + Retrieved TAddr structure. + + + + Gets TAddr structure from internal record data. + + Offset in bytes of TAddr structure to get. + Retrieved TAddr structure. + + + + Enlarges the internal record data array to facilitate + at least offset + length of data to be placed. + + Offset to the accessed data. + Length of the needed data. + + + + Reserve memory for internal array. + + Number of bytes that should be reserved. + + + + Sets bytes in internal record data array values. + + Offset in internal record data array to start from. + Array of bytes to set. + Position in value array to the data that will be set. + Length of the data. + If value array is NULL. + + If pos or length would be less than zero or their sum would be more + than size of value array. + + + If internal record data array is too small for receiving value array + and AutoGrowData is False. + + + + + Sets bytes in internal record data array values. + + Offset in internal record data array to start from. + Array of bytes to set. + If value array is NULL. + + If pos or length would be less than zero or their sum would be more + than size of value array. + + + If internal record data array is too small for receiving value array + and AutoGrowData is False. + + + + + Sets single byte in internal record data array using SetBytes method. + + Offset to the required byte. + New value for the byte. + + + + + + + + + + + + Sets ushort in internal record data array using SetBytes method. + + Offset to the required value. + New value for the specified ushort. + + + + Sets short in internal record data array using SetBytes method. + + Offset to the required value. + New value for the specified short. + + + + Sets int in internal record data array using SetBytes method. + + Offset to the required value. + New value for the specified int. + + + + Sets uint in internal record data array using SetBytes method. + + Offset to the required value. + New value for the specified uint. + + + + Sets long in internal record data array using SetBytes method. + + Offset to the required value. + New value for the specified long. + + + + Sets ulong in internal record data array using SetBytes method. + + Offset to the required value. + New value for the specified ulong. + + + + Sets float in internal record data array using SetBytes method. + + Offset to the required value. + New value for the specified float. + + + + Sets double in internal record data array using SetBytes method. + + Offset to the required value. + New value for the specified double. + + + + Sets one bit in specified byte in internal record data array. + + Offset of the byte in the internal record data array. + Value of bit. + Bit position in the byte. + + If bitPos is less than zero or more than 7. + + + + + Sets string in internal record data array using SetBytes method + without string length, updates offset parameter (adds string length). + + Offset to the string. + Value of the string. + Indicates whether string should be compressed or not. + + + + Sets string in internal record data array using SetBytes method + without string length. + + Offset to the string. + Value of the string. + Size of the string in bytes. + + + + Detects whether specified string contains only characters supported by ASCII encoding. + + String to check. + True if this string is fully supported by ASCII encoding. + + + + Sets string in internal record data array using SetBytes method + without string length. + + Offset to the string. + Value of the string. + Size of the string in bytes. + + + + Sets string in internal record data array using SetBytes method + without string length. + + Offset to the string. + Value of the string. + Indicates whether write compressed attribute for empty strings. + Indicates whether to write compressed (ascii) string or not. + Size of the string in bytes. + + + + Sets string in internal record data array using SetBytes method. + The String length is saved in one byte. + + Offset to the string. + Value of the string. + Size of the string data. + + + + Sets string in internal record data array using SetBytes method. + The String length is saved in two bytes. + + Offset to the string. + Value of the string. + Size of the string in bytes. + + + + Sets string in internal record data array using SetBytes method. + The String length is saved in two bytes. + + Offset to the string. + Value of the string. + Indicates whether write compressed attribute for empty strings. + Indicates whether string should be compressed or not. + Size of the string in bytes. + + + + Sets string in internal record data array using SetBytes method. + The String length is saved in two bytes + + Offset to the string. + Value of the string. + + + + Sets string in internal record data array using SetBytes method. + The String length is saved in two bytes + + Offset to the string. + Value of the string. + Indicates whether string should be compressed or not. + + + + Sets TAddr structure in internal record data. + + Offset in bytes of TAddr structure to set. + New value of the TAddr at the specified position. + + + + Sets TAddr structure in internal record data. + + Offset in bytes of TAddr structure to set. + New value of the Rectangle at the specified position. + + + + Method extracts from class its fields which have the custom attribute: + BiffRecordPosAttribute. Method returns two arrays sorted in special + order, the order of extraction and saving from/to stream. + + Returns Sorted Fields. + + + + Algorithm extracts field values from internal data storage. + + + + + Gets value of the field by BiffRecordPosAttribute. + + BiffRecordPosAttribute that describes required field. + Value of the field. + + + + Method tries by metadata information fill internal array + of record. + + Size of the filled data. + + + + Sets the value of the specified field. + + BiffRecordPosAttribute that describes required field. + New field value. + Size of the used data. + + + + Clears internal data array. + + + + + Compares two Biff records. + + Biff record that should be compared with this Biff record. + True if this instance and extFormat contain the same data. + + + + Copies data from the current Biff record to the specified Biff record. + + Biff record that will receive data from the current record. + + When this record and parameter have different types. + + + + + + + + + + + + + + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + + + + Size of the required storage space. Read-only. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + + + + + + Read-only. Returns record data. + + + + + If True, the array will automatically grow when the offset limit + is reached. This is required when the real record size is not known for an + Infill operation. Will throw exception on buffer offset overrun + when set to False. Default value is False. + + + + + + + + + + + + + + + Array that contains positions of data of the continue records + in the m_data array. + + + + + + + + + + Default constructor fills all data with default values. + + + + + This method constitutes the main part of parsing with continue records. + For inheritors this method must be called to get Continue records + which is placed after this record in the input stream. + + + + + + + + + + Creates continue record builder. + + Created builder. + + + + Extracts all continue records from the stream if needed and updates internal data array. + + True if there was extracted any continue record. + + + + Returns List with byte arrays with continue record's data. + + Full length of the additional data. + Last position in the stream. + List with byte arrays with continue record's data. + + + + Adds record data from single record to the List. + + List to add data to. + Record to add data from. + Size of the added data. + + + + OnFirstContinue event handler. + + Event sender. + Event arguments. + + + + + + + + + + Creates copy of the current object. + + A copy of the current object. + + + + + + + + + Pixel rows in bitmap are aligned to this number of bytes. + + + + + Header start. + + + + + Unknown value. + + + + + Unknown value. + + + + + Total size of the following record data, without this field (including CONTINUE records). + + + + + Header structure size. + + + + + Width of the picture, in pixel. + + + + + Height of the picture, in pixel. + + + + + Number of planes, must be 1. + + + + + Color depth, must be 24 bit true-color. + + + + + Image contained in the record. + + + + + Allocated unmanaged memory. + + + + + Default Constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + + + In this method, the class must pack all of its properties into an + internal data array, m_data. This method is called by + FillStream when the record must be serialized into a stream. + + + + + Infills record header. + + Size of the record header. + + + + Total size of the following record data, without this field (including CONTINUE records). + + + + + Header structure size. + + + + + Image. + + + + + This record represents an empty cell. + It contains the cell address and formatting information. + + + + + This is parent class for all records that have cell position elements inside. + + + + + Zero-based row index. + + + + + Zero-based column index. + + + + + Index to the cell's extended format. + + + + + Default constructor + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + Returns size of the required storage space. + + Excel version. + Size of the required storage space. + + + + Row zero-based index. + + + + + Column zero-based index. + + + + + Index of extended format. + + + + + Size of the record's data. + + + + + Record size with header. + + + + + Default constructor that fills all data with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + Returns size of the required storage space. + + Excel version. + Size of the required storage space. + + + + Read-only. Returns minimum possible size of the record's + internal data array. + + + + + Read-only. Returns maximum possible size of the record's + internal data array. + + + + + Summary description for BOFRecord. + It is used for the beginning of a set of + records that have a particular purpose or subject. + Used in sheets and workbooks. + + + + + Represents the record size. + + + + + Version: + + + + + Type of the following data: + + + + + Build identifier: + + + + + Build year: + + + + + File history flag: + + + + + Lowest Excel version that can read all records in this file: + + + + + + + + + + Default Constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Type of the following data: + + + + + Read-only. Returns minimum possible size of record. + + + + + Read-only. Returns maximum possible size of record. + + + + + Indicates whether record allows shorter data. Read-only. + + + + + Indicates whether record need decoding when file is encoded or not. Read-only. + + + + + This enum that describes all possible data after this BOF record. + + + + + Represents the workbook data. + + + + + Represents the vb_module data. + + + + + Represents the worksheet data. + + + + + Represents the chart data. + + + + + Represents the excel_4_macro data. + + + + + Represents the workspace file data. + + + + + This record represents a Boolean value or error value cell. + + + + + Interface for records that have Value property. + + + + + Value of the record. + + + + + Size of the record. + + + + + Boolean or error value (type depends on the m_bIsErrorCode). + + + + + False = Boolean value; True = Error code. + + + + + Default Constructor that fills all data with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + Returns size of the required storage space. + + Excel version. + Size of the required storage space. + + + + Reads record's value from the data provider. + + Provider to read data from. + Offset to the record's start. + Excel version that was used to infill. + Record's value (BoolOrError and IsErrorCode). + + + + Boolean or error value (type depends on the IsError property). + + + + + False = Boolean value; True = Error code. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Value of the record. + + + + + + Summary description for BoundSheetRecord. + This record is located in the workbook globals area and represents a sheet inside + of the workbook. A record is written for each sheet. It stores the sheet name and + a stream offset to the BOF record within the workbook stream. + + + + + Absolute stream position of the BOF record of the sheet represented by this record. + + + + + Options: Visibility and sheet type. + + + + + Sheet type: + 0x00 = Worksheet + 0x02 = Chart + 0x06 = Visual Basic module + + + + + Sheet name. + + + + + Helper field of record. Value is not stored as a record structure field. + This index is used by the UpdateOffsets method for detecting the corresponding BOF + field. + + + + + BOF record that should be referenced. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Size of the required storage space. Read-only. + + + + + Read-only. Returns minimum possible size of the record's + internal data array. + + + + + Returns offset in the data array where encoded/decoded data should start. Read-only. + + + + + Possible sheet types. + + + + + Represents the Worksheet sheet type. + + + + + Represents the Chart sheet type. + + + + + Represents the VisualBasicModule sheet type. + + + + + Summary description for ByteArrayDataProvider. + + + + + Summary description for DataProvider. + + + + + Default constructor. + + + + + + + + + + Returns bit value at the specified position. + + Offset to the required value. + Bit index in the byte. + Bit at the specified position. + + + + Returns byte value at the specified position. + + Offset to the required value. + Byte at the specified position. + + + + Returns boolean value at the specified position. + + Offset to the required value. + Byte at the specified position. + + + + Returns Int16 value at the specified position. + + Offset to the required value. + Int16 value at the specified position. + + + + Returns UInt16 value at the specified position. + + Offset to the required value. + Int16 value at the specified position. + + + + Returns Int32 value at the specified position. + + Offset to the required value. + Int32 value at the specified position. + + + + Returns Int32 value at the specified position. + + Offset to the required value. + Int32 value at the specified position. + + + + Returns Int32 value at the specified position. + + Offset to the required value. + Int32 value at the specified position. + + + + Returns Int32 value at the specified position. + + Offset to the required value. + Int32 value at the specified position. + + + + Copies data from internal storage into specified data array. + + Source offset. + Destination array. + Destination offset. + Size in bytes of the data to copy. + + + + Copies data from internal storage into specified provider. + + Source offset. + Destination provider. + Destination offset. + Size in bytes of the data to copy. + + + + Reads data from BinaryReader. + + Reader to get data from. + Offset in the internal data to start filling from. + Number of bytes to read. + Temporary buffer to use. + + + + Gets string from internal data and returns it's length in iFullLength parameter. + + Offset to the string data. + Length of the string in bytes. + Parsed string. + + When data array is smaller than the string that should be in it. + + + + + Gets string from internal data and updates offset. + + Offset to the string data. + Parsed string. + + When data array is smaller than the string that should be in it. + + + + + Gets string from byte array and returns it's length in iFullLength parameter. + + Offset to the string data. + Length of the string in bytes. + Parsed string. + + When data array is smaller than the string that should be in it. + + + + + Reads data array from another data array. + + Source offset. + Destination array. + Updated source offset. + + + + Reads data array from another data array. + + Source offset. + Destination array. + Number of bytes to read. + Updated source offset. + + + + Gets string from internal record data using GetBytes. + + Offset of starting byte. + Length of the string. + Gets bytes count that this string occupies in the data array. + Flags that represent is bytes count available. + Retrieved string. + + + + Gets string from internal record data using GetBytes + and it increases offset by string size in bytes. + + Offset of starting byte. + Length of the string. + Retrieved string. + + if Offset + iStrLen is out of data array + + + + + Reads string from data provider. + + Offset to the first character. + Number of bytes in the string. + Encoding to use. + Indicates whether string is unicode. + Extracted string. + + + + Gets TAddr structure from internal data. + + Offset in bytes of TAddr structure to get. + Retrieved TAddr structure. + + + + Gets TAddr structure from internal data. + + Offset in bytes of TAddr structure to get. + Retrieved TAddr structure. + + + + Saves data into binary writer. + + Writer to save data into. + Start offset in the internal storage. + Number of bytes to save. + Temporary buffer to use. + + + + Writes byte value at the specified position. + + Offset to the required value. + Byte value to write at the specified position. + + + + Writes Int16 value at the specified position. + + Offset to the required value. + Int16 value to write at the specified position. + + + + Writes Int16 value at the specified position. + + Offset to the required value. + Int16 value to write at the specified position. + + + + Writes Int16 value at the specified position. + + Offset to the required value. + Int32 value to write at the specified position. + + + + Writes Int16 value at the specified position. + + Offset to the required value. + Int32 value to write at the specified position. + + + + Writes Int16 value at the specified position. + + Offset to the required value. + Int32 value to write at the specified position. + + + + Sets one bit in specified byte in internal record data array. + + Offset of the byte in the data array. + Bit position in the byte. + Value of bit. + + If bitPos is less than zero or more than 7. + + + + + Writes Double value at the specified position. + + Offset to the required value. + Double value to write at the specified position. + + + + Sets string in internal data. The String length is saved in two bytes. + + Offset to the string. + Value of the string. + + + + Sets string in internal data. The String length is saved in two bytes. + + Offset to the string. + Value of the string. + + + + Sets string in internal data. The String length is saved in two bytes. + + Offset to the string. + Value of the string. + Indicates whether string should be stored as unicode. + + + + Sets string in internal data. The String length is saved in two bytes. + + Offset to the string. + Value of the string. + Size of the written data. + + + + Sets string in internal data. The String length is saved in two bytes. + + Offset to the string. + Value of the string. + Indicates whether string should be stored in unicode format. + Size of the written data. + + + + Sets string in internal record data without string length, + updates offset parameter (adds string length). + + Offset to the string. + Value of the string. + + + + Sets string in internal record data without string length, + updates offset parameter (adds string length). + + Offset to the string. + Value of the string. + Indicates whether string should be stored in Unicode encoding or not. + + + + Sets bytes in internal record data array values. + + Offset in internal record data array to start from. + Array of bytes to set. + If value array is NULL. + + If pos or length would be less than zero or their sum would be more + than size of value array. + + + If internal record data array is too small for receiving value array + and AutoGrowData is False. + + + + + Sets bytes in internal record data array values. + + Offset in internal record data array to start from. + Array of bytes to set. + Position in value array to the data that will be set. + Length of the data. + If value array is NULL. + + If pos or length would be less than zero or their sum would be more + than size of value array. + + + If internal record data array is too small for receiving value array + and AutoGrowData is False. + + + + + Sets TAddr structure in internal record data. + + Offset in bytes of TAddr structure to set. + New value of the TAddr at the specified position. + + + + Sets TAddr structure in internal record data. + + Offset in bytes of TAddr structure to set. + New value of the Rectangle at the specified position. + + + + Moves memory inside internal buffer. + + Destination offset. + Source offset. + Memory size. + + + + Copies memory inside internal buffer. + + Destination offset. + Source offset. + Memory size. + + + + Resizes internal storage if necessary. + + Required size. + + + + Writes zeros inside memory block. + + + + + Clears internal storage if allowed. + + + + + Creates data provider of the same type. + + Created data provider. + + + + + + + + + + + + + + Returns size of the internal buffer. Read-only. + + + + + Indicates whether data provider was cleared. + + + + + Pointer to the data array. + + + + + Default constructor to prevent creation of items without arguments. + + + + + Creates new instance of this class. + + Array to read data from. + + + + Returns byte value at the specified position. + + Offset to the required value. + Byte at the specified position. + + + + Returns Int16 value at the specified position. + + Offset to the required value. + Int16 value at the specified position. + + + + Returns Int32 value at the specified position. + + Offset to the required value. + Int32 value at the specified position. + + + + Returns Int32 value at the specified position. + + Offset to the required value. + Int32 value at the specified position. + + + + Copies data from internal storage into specified + + Source offset. + Destination array. + Destination offset. + Size in bytes of the data to copy. + + + + Copies data from internal storage into specified provider. + + Source offset. + Destination provider. + Destination offset. + Size in bytes of the data to copy. + + + + Reads data from BinaryReader. + + Reader to get data from. + Offset in the internal data to start filling from. + Number of bytes to read. + Temporary buffer needed for some operations. + + + + Reads string from data provider. + + Offset to the first character. + Number of bytes in the string. + Encoding to use. + Indicates is unicode encoding. + Extracted string. + + + + Resizes internal storage if necessary. + + Required size. + + + + Writes zeros inside memory block. + + + + + Writes byte value at the specified position. + + Offset to the required value. + Byte value to write at the specified position. + + + + Writes Int16 value at the specified position. + + Offset to the required value. + Int16 value to write at the specified position. + + + + Writes Int16 value at the specified position. + + Offset to the required value. + Int16 value to write at the specified position. + + + + Writes Int32 value at the specified position. + + Offset to the required value. + Int32 value to write at the specified position. + + + + Writes Int32 value at the specified position. + + Offset to the required value. + Int32 value to write at the specified position. + + + + Sets one bit in specified byte in internal record data array. + + Offset of the byte in the data array. + Bit position in the byte. + Value of bit. + + If bitPos is less than zero or more than 7. + + + + + Writes Int32 value at the specified position. + + Offset to the required value. + Double value to write at the specified position. + + + + Sets string in internal data without string length, + updates offset parameter (adds string length). + + Offset to the string. + Value of the string. + Indicates whether to use unicode encoding or not. + + + + Sets bytes in internal record data array values. + + Offset in internal record data array to start from. + Array of bytes to set. + Position in value array to the data that will be set. + Length of the data. + If value array is NULL. + + If pos or length would be less than zero or their sum would be more + than size of value array. + + + If internal record data array is too small for receiving value array + and AutoGrowData is False. + + + + + Saves data into binary writer. + + Writer to save data into. + Start offset in the internal storage. + Number of bytes to save. + Temporary buffer to use. + + + + Updates internal buffer. + + New buffer to set. + + + + Clears internal data. + + + + + Moves memory inside internal buffer. + + Destination offset. + Source offset. + Memory size. + + + + Copies memory inside internal buffer. + + Destination offset. + Source offset. + Memory size. + + + + Creates provider of the same type. + + Created provider object. + + + + Return internal buffer. Read-only. + + + + + Returns size of the internal buffer. Read-only. + + + + + + + + + + Specifies the maximum number of times the formulas should be iteratively calculated. + This is a fail-safe against mutually recursive formulas locking up + a spreadsheet application. + + + + + Correct record size. + + + + + Maximum number of iterations allowed in circular references. + + + + + Default Constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Maximum number of iterations allowed in circular references. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Specifies whether to calculate formulas manually, automatically, or automatically + except for multiple table operations. + + + + + Specifies whether to calculate formulas manually, automatically, or automatically + except for multiple table operations. See TCalcMode for possible values. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Specifies whether to calculate formulas manually, automatically, or automatically + except for multiple table operations. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Specifies whether the top or bottom items are displayed with the conditional formatting. + + + + + Specifies whether a percentage of the top or bottom items are displayed with the conditional formatting, + or whether a set number of the top or bottom items are displayed with the conditional formatting. + + + + + Specifies how many values are displayed with the conditional formatting. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Top or bottom items are displayed with rule. + + + + + Percentage of the top or bottom items are displayed with the rule. + + + + + Specifies how many values are displayed with the rule. + + + + + Specifies the type of text rule. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Specifies the type of date comparison. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Specifies the number of standard deviations above or below the average for the rule. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the first block of reserved bytes in the font block. + + + + + Size of the second block of reserved bytes in the font block. + + + + + Size of the third block of reserved bytes in the font block. + + + + + Mask for font posture bit. + + + + + Mask for font cancellation (strikethrough) bit. + + + + + Mask for font style modification bit. + + + + + Mask for font cancellation modification bit. + + + + + Mask for left border line style bits. + + + + + Mask for right border line style bits. + + + + + Mask for top border line style bits. + + + + + Mask for bottom border line style bits. + + + + + Mask for left border color bits. + + + + + Mask for right border color bits. + + + + + Mask for top border color bits. + + + + + Mask for bottom border color bits. + + + + + Start bit of left border color bits. + + + + + Start bit of right border color bits. + + + + + Start bit of top border color bits. + + + + + Start bit of bottom border color bits. + + + + + Mask for fill pattern bits. + + + + + Mask for pattern color bits. + + + + + Mask for pattern backcolor bits. + + + + + Start bit of fill pattern bits. + + + + + Start bit of fill pattern back color bits. + + + + + Size of the font block. + + + + + Size of the border block. + + + + + Size of the pattern block. + + + + + Size of the number format block. + + + + + Default color index. + + + + + Option flags + + + + + Not used + + + + + False if left border style and color are modified. + + + + + False if right border style and color are modified. + + + + + False if top border style and color are modified. + + + + + False if bottom border style and color are modified. + + + + + False if pattern style is modified. + + + + + False if pattern color is modified. + + + + + False if pattern background color is modified. + + + + + False if the number format is modified. + + + + + True if record contains number format. + + + + + True if record contains font formatting block. + + + + + True if record contains border formatting block. + + + + + True if record contains pattern formatting block. + + + + + True if record contains the user defined number format. + + + + + Font height. + + + + + Font options. + + + + + Font weight (100-1000, only if font - style = 0). + Standard values are 0190H (400) for normal text + and 02BCH (700) for bold text. + + + + + Escapement type (only if font - esc = 0): + 0000H = None; 0001H = Superscript; 0002H = Subscript + + + + + Underline type (only if font - underl = 0): + 00H = None + 01H = Single + 02H = Double + 21H = Single accounting + 22H = Double accounting + + + + + Font color index or FFFFFFFFH to preserve the cell font color: + + + + + Option flags for modified font attributes: + + + + + 0 = Escapement type modified + + + + + 0 = Underline type modified: + + + + + Border line styles: + + + + + Border line colour indexes: + + + + + Fill pattern style: + + + + + Fill pattern color indexes: + + + + + Unused + + + + + Unsigned integer that specifies the identifier of the number format. + + + + + Unsigned integer that specifies the size of the user defined number format. + + + + + Unsigned integer that specifies character count of the number format string. + + + + + Boolean that specifies whether the characters are in double byte character or not. + + + + + Number format string value. + + + + + Constructor. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Parses font block if it is present in the conditional format. + + Object that provides access to the data. + + Offset to the font block data in the internal data array. + + + + + Parses border block if it is present in the conditional format. + + Object that provides access to the data. + + Offset to the border block data in the internal data array. + + + + + Parses pattern block if it is present in the conditional format. + + Object that provides access to the data. + + Offset to the pattern block data in the internal data array. + + + + + Parses number format block if it is present in the conditional format. + + Object that provides access to the data. + + Offset to the number format block data in the internal data array. + + + + + Parses user defined number format block if it is present in the conditional format. + + Object that provides access to the data. + + Offset to the number format block data in the internal data array. + + + + + Writes font block into internal data array + if it is present in the conditional format. + + Object that provides access to the data. + + Offset where font block should be written. + + + + + Writes border block into internal data array + if it is present in the conditional format. + + Object that provides access to the data. + + Offset where border block should be written. + + + + + Writes pattern block into internal data array + if it is present in the conditional format. + + Object that provides access to the data. + + Offset where pattern block should be written. + + + + + Writes number format block into internal data array + if it is present in the conditional format. + + Object that provides access to the data. + + Offset where number format block should be written. + + + + + Writes number format block into internal data array + if it is present in the conditional format. + + Object that provides access to the data. + + Offset where number format block should be written. + + + + + Size of the required storage space. Read-only. + + + + + + + + + + + + + + + + + + + + + + + + + Default constructor, sets all fields default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + + + + + + + + + + + This record defines a 3D chart group and also contains generic formatting information. + + + + + Correct record size. + + + + + Rotation angle (0 to 360 degrees). + + + + + Elevation angle (�90 to +90 degrees). + + + + + Distance from eye to chart (0 to 100). + + + + + Height of plot volume relative to width and depth. + + + + + Depth of points relative to width. + + + + + Space between series. + + + + + Option flags. + + + + + Whether to use perspective transform. + + + + + 3-D columns are clustered or stacked. + + + + + Use auto scaling. + + + + + Reserved; must be one. + + + + + Use 2D walls and gridlines. + + + + + Indicates whether elevation has default value. + + + + + Indicates whether rotation has default value. + + + + + Default constructor, sets all fields with default values. + + + + + + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Rotation angle (0 to 360 degrees). + + + + + Elevation angle (�90 to +90 degrees). + + + + + Indicates whether rotation has default value. + + + + + Indicates whether elevation has default value. + + + + + Distance from eye to chart (0 to 100). + + + + + Height of plot volume relative to width and depth. + + + + + Depth of points relative to width. + + + + + Space between series. + + + + + Holder of flags. + + + + + Whether to use perspective transform. + + + + + 3D columns are clustered or stacked. + + + + + Use auto scaling. + + + + + Use 2D walls and gridlines. + + + + + This record specifies linked series data or text. + + + + + Link index identifier. + + + + + Reference type. + + + + + Option flags holder. + + + + + Index to number format record. + + + + + Size of parsed formula of link array. + + + + + True if this object has a custom number format; False if number format + is linked to data source. + + + + + + + + + + Default constructor, initializes all fields with default values. + + + + + + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Clones current record. + + Returns cloned object. + + + + Link index identifier. + + + + + Reference type. + + + + + Option flags holder. + + + + + Index to number format record. + + + + + Size of parsed formula of link array. + + + + + True if this object has a custom number format; False if number format + is linked to data source. + + + + + + + + + + Link index options. + + + + + Represents the LinkToTitleOrText link index option. + + + + + Represents the LinkToValues link index option. + + + + + Represents the LinkToCategories link index option. + + + + + Represents the LinkToBubbles link index option. + + + + + + + + + + Use default categories. + + + + + Text or value entered directly into the formula bar. + + + + + Linked to worksheet. + + + + + Not used. + + + + + Error reported. + + + + + This record specifies rich-text formatting (bold, italic, font changes, + etc.) within chart titles and data labels. + + + + + Number of rich-text runs. + + + + + + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Clones current record. + + Returns cloned object. + + + + Number of rich-text runs. + + + + + + + + + + + + + + + Size of the TRun item. + + + + + First char index. + + + + + Font index. + + + + + New paragarph start or not. + + + + + Creates new instance of TRuns. + + Base first char. + Base font index. + + + + Clones current object. + + Returns cloned object. + + + + Gets or sets first char index. + + + + + Gets or sets font index. + + + + + Check the new paragarph start or not. + + + + + This record describes the patterns and colors used in a filled area. + + + + + Correct size of the record. + + + + + Foreground color (RGB). + + + + + Background color (RGB). + + + + + Pattern. + + + + + Storage for record bit flags. + + + + + Automatic format. + + + + + Foreground and background are swapped when the data value is negative. + + + + + Index of foreground color. + + + + + Background color index. + + + + + Default constructor, initializes all fields with default values. + + + + + + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Foreground color (RGB). + + + + + Background color (RGB). + + + + + Pattern. + + + + + Index of foreground color. + + + + + Background color index. + + + + + Automatic format or not. + + + + + Foreground and background are swapped when the data value is negative. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + This record defines an area chart group. + + + + + Contains information about chart type. + + + + + Indicates whether values should be stacked. + + + + + Indicates whether values should be shown as percents. + + + + + Record size. + + + + + Holder of all flags. + + + + + Series in this group are stacked. + + + + + Each category is broken down as a percentage. + + + + + This area has a shadow. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Holder of all flags. + + + + + Series in this group are stacked. + + + + + Each category is broken down as a percentage. + + + + + This area has a shadow. + + + + + + + + + + + + + + + This record specifies the layout information for attached label + + + + + Correct record size. + + + + + Specifies the future record type header + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + If the checksum is incorrect, the layout information specified in this record must be ignored + + + + + + The ATTACHEDLABEL record defines the data label type. The ATTACHEDLABEL + record applies to the label data identified in the associated + DATAFORMAT record. + + + + + Correct record size. + + + + + Holder of all record flags. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + + + + + + Show value as a percent of the total. This bit applies only to pie charts. + + + + + Show category label and value as a percentage (pie charts only). + + + + + Show smoothed line. + + + + + Show category label. + + + + + Show bubble sizes. + + + + + Possible option flags + + + + + No option flag set. + + + + + Show the actual value of the data point. + + + + + Show value as a percent of the total. This bit applies only to pie charts. + + + + + Show category label and value as a percentage (pie charts only). + + + + + Show smoothed line. + + + + + Show category label. + + + + + Show bubble sizes. + + + + + This record defines axis options. + + + + + Correct record size. + + + + + Minimum category on axis. + + + + + Maximum category on axis. + + + + + Value of major unit. + + + + + Units of major unit. + + + + + Value of minor unit. + + + + + Units of minor unit. + + + + + Base unit of axis. + + + + + Crossing point of value axis (date). + + + + + Option flags. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Value of major unit. + + + + + Units of major unit. + + + + + Value of minor unit. + + + + + Units of minor unit. + + + + + Base unit of axis. + + + + + Use default minimum. + + + + + Use default maximum. + + + + + Use default major unit. + + + + + Use default minor unit. + + + + + Date axis. + + + + + Use default base. + + + + + Use default crossing point. + + + + + Use default date settings for axis. + + + + + Option flags. + + + + + None. + + + + + Use default minimum. + + + + + Use default maximum. + + + + + Use default major unit. + + + + + Use default minor unit. + + + + + This a date axis. + + + + + Use default base. + + + + + Use default crossing point. + + + + + Use default date settings for axis. + + + + + This record specifies the number of axes sets (1 = primary + only, 2 = primary and secondary) used on the chart (3D charts + can only have primary axes). + + + + + Number of axes sets. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Size of the required storage space. Read-only. + + + + + Represents DisplayUnits option. + + + + + Record size constant. + + + + + Represents display units in axis. + + + + + Represents display units value. + + + + + Indicates is show display unit label. + + + + + Reserved value. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Represents display units in axis. + + + + + Represents display units value. + + + + + Indicates is show display unit label. + + + + + + Maximum possible size of the record. + + + + + This record usually follows an AXIS record to define the axis line + as it appears on the chart. + + + + + Correct size of the record. + + + + + Axis line identifier: + 0 = the axis line itself + 1 = major grid line along the axis + 2 = minor grid line along the axis + 3 = walls or floor -- walls if parent axis is type 0 or 2; floor if parent axis is type 1. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Axis line identifier. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + Represents chart category axis offset record. + + + + + Minimum record size constant (generated by some version of MS Excel (probably 2007 Beta). + + + + + Record size constant. + + + + + Represents display units in axis. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Indicates is show display unit label. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record specifies the location and size of the chart axes, + in units of 1/4000 of the chart area. + + + + + Correct record size. + + + + + Axis index (0 = main, 1 = secondary). + + + + + X coordinate of top left corner. + + + + + Y coordinate of top left corner. + + + + + Length of x axis. + + + + + Length of y axis. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Axis index (0 = main, 1 = secondary). + + + + + X coordinate of top left corner. + + + + + Y coordinate of top left corner. + + + + + Length of x axis. + + + + + Length of y axis. + + + + + This record defines the axis type. + + + + + Correct record size. + + + + + Axis type: + 0 = category axis or x axis on a scatter chart + 1 = value axis + 2 = series axis + + + + + Field reserved by Microsoft. Read-only. + + + + + Field reserved by Microsoft. Read-only. + + + + + Field reserved by Microsoft. Read-only. + + + + + Field reserved by Microsoft. Read-only. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Axis type: + 0 = category axis or x axis on a scatter chart + 1 = value axis + 2 = series axis + + + + + Represents the Chart axis type. + + + + + Represents the CategoryAxis chart axis type. + + + + + Represents the ValueAxis chart axis type. + + + + + Represents the SeriesAxis chart axis type. + + + + + This record defines a bar or column chart group. + + + + + Correct record size. + + + + + Space between bars (percent of bar width), default = 0. + + + + + Space between categories (percent of bar width), default = 50. + + + + + Holder of all flags. + + + + + True for horizontal bars (bar chart). + False for vertical bars (column chart). + + + + + Stack the displayed values. + + + + + Each category is displayed as a percentage. + + + + + True if this bar has a shadow; otherwise False. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Space between bars. + + + + + Space between categories (percent of bar width), default = 50. + + + + + True for horizontal bars (bar chart). + False for vertical bars (column chart). + + + + + Stack the displayed values. + + + + + Each category is displayed as a percentage. + + + + + True if this bar has a shadow; otherwise False. + + + + + Represents begin display axis unit label record. + + + + + Record size constant. + + + + + Represents display units in axis. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record stores options for a custom bar of pie or pie of + pie chart; these are two of the pie chart subtypes. + + + + + Count of pie slices in the bar of pie or pie of pie chart. + + + + + Array of bytes; each byte contains a bit field that describes the + individual point positioning in the series. If a slice is on the + secondary pie or bar chart, the corresponding bit is set to 1 (one); + otherwise the bit is 0 (zero). + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Clones current record. + + Returns cloned record. + + + + This record stores options for a bar of pie or pie of pie chart; + these are two of the pie chart subtypes. + + + + + Record size. + + + + + 0 = normal pie chart + 1 = pie of pie chart + 2 = bar of pie chart + + + + + Holder of DefaultSplitValue property flag. + + + + + True to use default split value; otherwise False. + + + + + Split type: + 0 = Position + 1 = Value + 2 = Percent + 3 = Custom + + + + + For split = 0, which positions should go to the other pie / bar. + + + + + For split = 2, what percentage should go to the other pie / bar. + + + + + Size of the second pie as a percentage of the first. + + + + + Space between the first pie and the second. + + + + + For split = 1, what values should go to the other pie / bar. + + + + + Holder of HasShadow property. + + + + + True if the second bar / pie has a shadow; otherwise False. + + + + + Represents LeaderLines of datalabels + This property is included as the support in enabled after 2003 formats + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + 0 = normal pie chart + 1 = pie of pie chart + 2 = bar of pie chart + + + + + True to use default split value; otherwise False. + + + + + Split type: + 0 = Position + 1 = Value + 2 = Percent + 3 = Custom + + + + + For split = 0, which positions should go to the other pie / bar. + + + + + For split = 2, what percentage should go to the other pie / bar. + + + + + Size of the second pie as a percentage of the first. + + + + + Space between the first pie and the second. + + + + + For split = 1, what values should go to the other pie / bar. + + + + + 1 = the second pie / bar has a shadow. + + + + + True to show leader lines to data labels. + + + + + This record defines the scaling options for a category or series axis. + + + + + IMaxCross interface. + + + + + Gets or sets IsMaxCross property. + + + + + Minimum value for CrossingPoint, LabelsFrequency, and TickMarksFrequency properties. + + + + + Maximum value for CrossingPoint, LabelsFrequency, and TickMarksFrequency properties. + + + + + Correct record size. + + + + + Value axis / category crossing point (2D charts only). + + + + + Frequency of labels. + + + + + Frequency of tick marks. + + + + + Record flags holder. + + + + + Value axis crossing: + False if axis crosses mid-category. + True if axis crosses between categories. + + + + + Value axis crosses at the far right category (in a line, bar, + column, scatter, or area chart; 2D charts only). + + + + + Display categories in reverse order. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Value axis / category crossing point (2D charts only). + + + + + Frequency of labels. + + + + + Frequency of tick marks. + + + + + Value axis crossing: + False if axis crosses mid-category. + True if axis crosses between categories. + + + + + Value axis crosses at the far right category (in a line, bar, + column, scatter, or area chart; 2D charts only). + + + + + Display categories in reverse order. + + + + + This record is the parent record for the chart group format + description. Each chart group will have a separate CHARTFORMAT + record, followed by a BEGIN record, the chart-group description, + and an END record. + + + + + Correct size of the record. + + + + + Field reserved by Microsoft for own use. Read-only. + + + + + Field reserved by Microsoft for own use. Read-only. + + + + + Field reserved by Microsoft for own use. Read-only. + + + + + Field reserved by Microsoft for own use. Read-only. + + + + + Holder of record options. + + + + + Vary color for each data point. + + + + + Drawing order (0 = bottom of the z-order). + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Vary color for each data point. + + + + + Drawing order (0 = bottom of the z-order). + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + This record specifies drop lines, hi-lo lines, or series lines + on a line chart. If the chart has both drop lines and hi-lo + lines, two CHARTLINE records will be present. + + + + + Record size. + + + + + Drop lines / hi-lo lines: + 0 = drop lines + 1 = hi-lo lines + 2 = series lines (the lines that connect the columns in a stacked column chart) + + + + + Boolean value indicates whether drop lines are present in stock, line or area charts + + + + + Boolean value indicates whether high low lines are present in stock or line charts + + + + + Boolean value indicates whether series lines are present in pie of pie or bar of pie charts + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Drop lines / hi-lo lines: + 0 = drop lines + 1 = hi-lo lines + 2 = series lines (the lines that connect the columns in a stacked column chart) + + + + + True if stock, line or area charts has drop lines + + + + + True if stock or line charts has high low lines + + + + + True if pie of pie or bar of pie charts has series lines + + + + + The CHART record marks the start of the chart data substream in the + workbook BIFF stream. This record defines the location of the chart + on the display and its overall size. The X and Y fields define the + position of the upper-left corner of the bounding rectangle that + encompasses the chart. The position of the chart is referenced to the page. + The Width and Height fields define the overall size (the bounding rectangle) of + the chart, including title, pointing arrows, axis labels, etc. + The position and size are specified in points (1/72 inch), using a fixed + point format (two bytes integer, two bytes fraction). + + + + + Correct size of the record. + + + + + X-position of upper-left corner. + + + + + Y-position of upper-left corner. + + + + + X-size. + + + + + Y-size. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + X-position of upper-left corner. + + + + + Y-position of upper-left corner. + + + + + X-size. + (1/72 inch), used a fixed point format (two bytes integer, two bytes fraction). + + + + + Y-size. + (1/72 inch), used a fixed point format (two bytes integer, two bytes fraction). + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + The DATAFORMAT record contains the zero-based numbers of the data + point and series. The subordinate records determine the format of + the series or point defined by the DATAFORMAT record. + + + + + Correct size of the record. + + + + + Point number (FFFFh means entire series). + + + + + Series index (file relative). + + + + + Series number (as shown in name box -- S1, S2, etc.). This can + be different from yi if the series order has been changed. + + + + + Holder of record flags. + + + + + True to use Microsoft Excel 4.0 colors for automatic formatting. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Point number (FFFFh means entire series). + + + + + Series index (file relative). + + + + + Series number (as shown in name box -- S1, S2, etc.). This can + be different from yi if the series order has been changed. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Summary description for ChartDataLabelsRecord. + + + + + + + + + + Option flags. + + + + + Indicates whether series name is in data labels. + + + + + Indicates whether category name is in data labels. + + + + + Indicates whether value is in data labels. + + + + + Indicates whether percentage is in data labels. + + + + + Indicates whether bubble size is in data labels. + + + + + Length of the delimiter. + + + + + Delimiter. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Indicates whether series name is in data labels. + + + + + Indicates whether category name is in data labels. + + + + + Indicates whether value is in data labels. + + + + + Indicates whether percentage is in data labels. + + + + + Indicates whether bubble size is in data labels. + + + + + Length of the delimiter. + + + + + Delimiter. + + + + + This record stores options for the chart data table. + + + + + Record size. + + + + + Holder of record options. + + + + + True if data table has horizontal borders. + + + + + True if data table has vertical borders. + + + + + True if data table has a border. + + + + + True if data table shows series keys. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + True if data table has horizontal borders. + + + + + True if data table has vertical borders. + + + + + True if data table has a border. + + + + + True if data table shows series keys. + + + + + The DEFAULTTEXT record precedes a TEXT record to identify the text + defined in the TEXT record as the default properties for certain chart items. + + + + + Correct record size. + + + + + Object identifier for the text: + 0 = default text characteristics for "show labels" data labels + 1 = default text characteristics for value and percentage data labels + 2 = default text characteristics for all text in the chart + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Object identifier for the text: + TextDefaults.ShowLabels = default text characteristics for "show labels" data labels. + TextDefaults.ValueAndPercents = default text characteristics for value and percentage data labels. + TextDefaults.All = default text characteristics for all text in the chart. + + + + + Represents the text defaults options. + + + + + Represents the ShowLabels text defaults option. + + + + + Represents the ValueAndPercents text defaults option. + + + + + Represents the All text defaults option. + + + + + This record defines drop bars on a line chart. If the chart contains + drop bars, the chart BIFF will contain two DROPBAR records. The first + DROPBAR record corresponds to the up bar and the second DROPBAR record + corresponds to the down bar. + + + + + Record size. + + + + + Drop bar gap width (0 to 100%). + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Drop bar gap width (0 to 100%). + + + + + Represents end display axis unit label record. + + + + + Minimum record size constant (generated by some version of MS Excel (probably 2007 Beta). + + + + + Record size constant. + + + + + Represents display units in axis. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + The FBI record stores font metrics. + + + + + Correct record size. + + + + + Width of basis when font was applied. + + + + + Height of basis when font was applied. + + + + + Font height applied. + + + + + Scale basis. + + + + + Index number into the font table. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Font height applied. + + + + + Index number into the font table. + + + + + This record is the child of a TEXT record and defines a text + font by indexing the appropriate font in the font table. The + font table is built from FONT records. + + + + + Correct record size. + + + + + Index number into the font table. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Index number into the font table. + + + + + Read-only. Minimum possible size of the record. + + + + + Read-only. Maximum possible size of the record. + + + + + This record is written by Microsoft Excel but it is ignored. + Applications writing chart BIFF do not need to write this + record and applications reading chart BIFF can ignore it. + + + + + Default record size. + + + + + + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Returns size of the required storage space. + + + + + The FRAME record defines the border that is present around a + displayed label as a rectangle. A displayed label can include + the chart title, the legend (if not a regular rectangle), a + category name, or a value amount. + + + + + Correct size of the record. + + + + + 0 = regular rectangle/no border + 1�3 (reserved) + 4 = rectangle with shadow + + + + + Record flags holder. + + + + + Microsoft Excel calculates size. + + + + + Microsoft Excel calculates position. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + 0 = regular rectangle/no border + 1�3 (reserved) + 4 = rectangle with shadow + + + + + Microsoft Excel calculates size. + + + + + Microsoft Excel calculates position. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + This record stores fill effects such as gradient fills, patterns, + textures, and so on. The record data is obtained from the + Microsoft Office Drawing DLL. + + + + + Represents start mso index. + + + + + Represents last mso index. + + + + + Represents default offset. + + + + + Represents first bytes in record. + + + + + Represents last bytes. + + + + + Represents option list; + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + + + Parses data from stream. + + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream when the record must be serialized into a stream. + + + + + Clones current record. + + Returns cloned object. + + + + Indicates whether record needs internal data array or if it can be cleaned. + + + + + Represents list of fill options. + + + + + This record specifies the number-format index for an axis. + + + + + Record size. + + + + + Number-format index (number of the FORMAT record in the BIFF, begins at zero). + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Number-format index (number of the FORMAT record in the BIFF, begins at zero). + + + + + The LEGEND record defines the location of the legend on the + display and its overall size. The displayed legend contains + all series on the chart. + + + + + Record size. + + + + + X-position of upper-left corner. + + + + + Y-position of upper-left corner. + + + + + X-size. + + + + + Y-size. + + + + + Type: + 0 = bottom + 1 = corner + 2 = top + 3 = right + 4 = left + 7 = not docked or inside the plot area + + + + + Spacing: + 0 = close + 1 = medium + 2 = open + + + + + Holder of record flags. + + + + + Automatic positioning (True if legend is docked). + + + + + Automatic series distribution (True in Microsoft Excel 5.0). + + + + + X positioning is automatic. + + + + + Y positioning is automatic. + + + + + True if vertical legend (a single column of entries); + False if horizontal legend (multiple columns of entries). + Manual-sized legends always have this bit set to False. + + + + + True if the chart contains a data table. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + X-position of upper-left corner. + + + + + Y-position of upper-left corner. + + + + + X-size. + + + + + Y-size. + + + + + Type: + 0 = bottom + 1 = corner + 2 = top + 3 = right + 4 = left + 7 = not docked or inside the plot area + + + + + Spacing: + 0 = close + 1 = medium + 2 = open + + + + + Automatic positioning (True if legend is docked). + + + + + Automatic series distribution (True in Microsoft Excel 5.0). + + + + + X positioning is automatic. + + + + + Y positioning is automatic. + + + + + True if vertical legend (a single column of entries); + False if horizontal legend (multiple columns of entries). + Manual-sized legends always have this bit set to False. + + + + + True if chart contains data table. + + + + + This record specifies information about a legend entry which has + been changed from the default legend-entry settings. + + + + + Record size. + + + + + Legend-entry index. + + + + + Record flags holder. + + + + + True if the legend entry has been deleted. + + + + + True if the legend entry has been formatted. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Legend-entry index. + + + + + True if the legend entry has been deleted. + + + + + True if the legend entry has been formatted. + + + + + This record defines the appearance of a line, such as an axis line or border. + + + + + Correct size of the record. + + + + + Color of line; RGB value high byte must be set to zero. + + + + + Pattern of line: + 0 = solid + 1 = dash + 2 = dot + 3 = dash-dot + 4 = dash dot-dot + 5 = none + 6 = dark gray pattern + 7 = medium gray pattern + 8 = light gray pattern + + + + + Weight of line: + �1 or 0xffff = hairline + 0 = narrow (single) + 1 = medium (double) + 2 = wide (triple) + + + + + Format flags holder. + + + + + Automatic format. + + + + + True to draw tick labels on this axis. + + + + + True to draw line by custom style. + + + + + Index to color of line. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Line pattern. + + + + + Weight of line. + + + + + If true - default format; otherwise custom. + + + + + True to draw tick labels on this axis. + + + + + Custom format for line color. + + + + + Line color index.. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + This record defines a line chart group. + + + + + Record size. + + + + + Holder of record flags. + + + + + Stack the displayed values. + + + + + Each category is broken down as a percentage. + + + + + True if this line has a shadow. + + + + + space between two lines + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Stack the displayed values. + + + + + Each category is broken down as a percentage. + + + + + True if this line has a shadow. + + + + + Space between the lines + + + + + This record defines the color and shape of the line + markers that appear on scatter and line charts. + + + + + Correct size of the record. + + + + + Foreground color: RGB value (high byte = 0). + + + + + Background color: RGB value (high byte = 0). + + + + + Type of marker. + + + + + Format flags. + + + + + Index to color of marker border. + + + + + Index to color of marker fill. + + + + + Size of line markers. + + + + + Automatic color. + + + + + True = "background = none". + + + + + True = "foreground = none". + + + + + Flags monitors the properties which is set and custom + + 0 th position - ForeColor/FillColorIndex + 1 th position - BackColor/BorderColorIndex + 2 th position - Interior None + 3 th position - Border None + 4 th position - Marker Type + 5 th position - Marker Size + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Foreground color: RGB value (high byte = 0). + + + + + Background color: RGB value (high byte = 0). + + + + + Type of marker. + + + + + Format flags. Read-only. + + + + + Index to color of marker border. + + + + + Index to color of marker fill. + + + + + Size of line markers. + + + + + Automatic color. + + + + + True = "background = none". + + + + + True = "foreground = none". + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + Indicates whether the Marker has the line properties. + + + + + Get/Set the flag options for the marker properties. + + + + + Type of marker. + + + + + Represents the NoMarker marker type. + + + + + Represents the Square marker type. + + + + + Represents the Diamond marker type. + + + + + Represents the Triangle marker type. + + + + + Represents the X marker type. + + + + + Represents the Star marker type. + + + + + Represents the DowJones marker type. + + + + + Represents the StandardDeviation marker type. + + + + + Represents the Circle marker type. + + + + + Represents the PlusSign marker type. + + + + + This record links a TEXT record to an object on + the chart or to the entire chart. + + + + + Correct size of the record. + + + + + Object text is linked to. + + + + + Link index 1, series number. + + + + + Link index 2, data point number. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Object text is linked to. + + + + + Link index 1, series number. + + + + + Link index 2, data point number. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record defines the format for a picture attached + to a data series or point. + + + + + Correct size of the record. + + + + + Picture type. + + + + + Image format. + + + + + Environment from which the file was written. + + + + + Option flags. + + + + + Formatting only; no picture attached. + + + + + Picture is attached to top and bottom of column. + + + + + Picture is attached to back and front of column. + + + + + Picture is attached to sides of column. + + + + + Scaling value for pictures, units/picture + (IEEE floating-point number). + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Maximum possible size of the record. + + + + + Picture type. + + + + + Represents the Stretched picture type. + + + + + Represents the Stacked picture type. + + + + + Image format. + + + + + Represents the WindowsMetafile image format. + + + + + Represents the MacintoshPICT image format. + + + + + Represents the WindowsBitmap image format. + + + + + Environment from which the file was written. + + + + + Represents the Windows environment option. + + + + + Represents the Macintosh environment option. + + + + + The distance of an open pie slice from the center of the pie + chart expressed as a percentage of the pie diameter. + For example, if the percent = 33 (21h), the pie slice is + one-third of the pie diameter away from the pie center. + + + + + Correct size of the record. + + + + + Distance of pie slice from center of pie. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Distance of pie slice from center of pie. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record defines a pie chart group and specifies pie chart options. + + + + + Correct size of the record. + + + + + Angle of the first pie slice expressed in degrees. + + + + + 0 = True pie chart + Non-zero = size of center hole in a donut chart (as a percentage). + + + + + Option flags. + + + + + True if this pie has a shadow. + + + + + True to show leader lines to data labels. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Angle of the first pie slice expressed in degrees. + + + + + 0 = True pie chart + Non-zero = size of center hole in a donut chart (as a percentage). + + + + + True if this pie has a shadow. + + + + + True to show leader lines to data labels. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record specifies the plot area layout information for attached label + + + + + Correct record size. + + + + + Specifies the future record type header + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + If the checksum is incorrect, the layout information specified in this record must be ignored + + + + + + + + + + + Correct size of the record. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record stores scale factors for font scaling. + + + + + Correct size of the record. + + + + + Horizontal growth of plot area for font scaling. + + + + + Vertical growth of plot area for font scaling. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Horizontal growth of plot area for font scaling. + + + + + Vertical growth of plot area for font scaling. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + This record defines manual position information for the main-axis + plot area, legend, and attached text (data labels, axis labels, + and chart title). The record data depends on the record's use, + as shown in the following sections. + + + + + Correct size of the record. + + + + + For plot area and text must be 2, + For legend must be 5. + + + + + + + + + + X coordinate of the top left corner. + + + + + Y coordinate of the top left corner. + + + + + X coordinate of the bottom right corner. + + + + + Y coordinate of the bottom right corner. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + + + + + + + + + + + X coordinate of the top left corner. + + + + + Y coordinate of the top left corner. + + + + + X coordinate of the bottom right corner. + + + + + Y coordinate of the bottom right corner. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + + + + + + Correct size of the record. + + + + + Option flags. + + + + + True if the chart contains radar axis labels. + + + + + Not used. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + True if the chart contains radar axis labels. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record defines a radar chart group. + + + + + Correct size of the record. + + + + + Option flags. + + + + + True if the chart contains radar axis labels. + + + + + True if this radar series has a shadow. + + + + + Not used. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + True if the chart contains radar axis labels. + + + + + True if this radar series has a shadow. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record specifies the PivotTable reference used for the chart. + + + + + Correct size of the record. + + + + + First PivotTable row. + + + + + Last PivotTable row. + + + + + First PivotTable column. + + + + + Last PivotTable column. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record stores the scatter chart properties. + + + + + Correct size of the record. + + + + + Percent of largest bubble compared to chart in general. + + + + + Bubble size. + + + + + Option flags. + + + + + True if this a bubble series. + + + + + True to show negative bubbles. + + + + + True if bubble series has a shadow. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + Percent of largest bubble compared to chart in general. + + + + + Bubble size. + + + + + True if this a bubble series. + + + + + True to show negative bubbles. + + + + + True if bubble series has a shadow. + + + + + This record defines the series error bars. + + + + + Correct size of the record. + + + + + Error-bar type. + + + + + Error-bar value source. + + + + + True if the error bars are T-shaped (have a line on the top and bottom). + + + + + Reserved; must be 1. + + + + + IEEE number; specifies the fixed value, percentage, + or number of standard deviations for the error bars. + + + + + Number of values or cell references used for custom error bars. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Error-bar type. + + + + + Error-bar value source. + + + + + True if the error bars are T-shaped (have a line on the top and bottom). + + + + + IEEE number; specifies the fixed value, percentage, + or number of standard deviations for the error bars. + + + + + Error-bar type. + + + + + Represents the XDirectionPlus error-bar type. + + + + + Represents the XDirectionMinus error-bar type. + + + + + Represents the YDirectionPlus error-bar type. + + + + + Represents the YDirectionMinus error-bar type. + + + + + This record defines a series trend line. + + + + + Correct size of the record. + + + + + Represents default byte array for NaN value. + + + + + Represents default NaN value; + + + + + Regression type. + + + + + Polynomial order or moving average period. + + + + + IEEE number; specifies forced intercept. + (#NA if no intercept is specified) + + + + + True if the equation is displayed. + + + + + True if the R-squared value is displayed. + + + + + IEEE number; specifies number of periods to forecast forward. + + + + + IEEE number; specifies number of periods to forecast backward. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Regression type. + + + + + Polynomial order or moving average period. + + + + + IEEE number; specifies forced intercept. + (#NA if no intercept is specified) + + + + + True if the equation is displayed. + + + + + True if the R-squared value is displayed. + + + + + IEEE number; specifies number of periods to forecast forward. + + + + + IEEE number; specifies number of periods to forecast backward. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + Regression type. + + + + + Represents the Polynomial regression type. + + + + + Represents the Exponential regression type. + + + + + Represents the Logarithmic regression type. + + + + + Represents the Power regression type. + + + + + Represents the MovingAverage regression type. + + + + + This record specifies series formatting information. + + + + + Correct size of the record. + + + + + Flags. + + + + + True if the line series has a smoothed line. + + + + + True to draw bubbles with 3D effects. + + + + + True if this series has a shadow. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + True if the line series has a smoothed line. + + + + + True to draw bubbles with 3D effects. + + + + + True if this series has a shadow. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record is subordinate to the second CHARTFORMAT (overlay) + record in a file and defines the series that are displayed as + the overlay to the main chart. The first CHARTFORMAT (main chart) + record in a file does not require a SERIESLIST record because all + series, except those specified for the overlay, are included in + the main chart. + + + + + Minimum size of the record. + + + + + Count of series. + + + + + List of series numbers (words). + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Clones current record. + + Returns cloned record. + + + + List of series numbers (words). + + + + + Minimum possible size of the record. + + + + + This record describes the series of the chart and contains the + type of data and number of data fields that make up the series. + Series can contain 4000 points in Microsoft Excel version 5. The + sdtX and sdtY fields define the type of data that is contained in + this series. At present, the two types of data used in the Microsoft + Excel chart series are numeric and text (date and sequence + information is not used). The cValx and cValy fields contain the + number of cell records in the series. + + + + + Correct size of the record. + + + + + Type of data in categories. + + + + + Type of data in values. + + + + + Count of categories. + + + + + Count of values. + + + + + Type of data in Bubble size series. + + + + + Count of Bubble series values. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Count of values. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + Type of data. + + + + + Represents the Date data format. + + + + + Represents the Numeric data format. + + + + + Represents the Sequence data format. + + + + + Represents the Text data format. + + + + + The value of the ID field determines the assignment of the text field. + + + + + Minimum size of the record. + + + + + Text identifier: 0 = series name or text. + + + + + The series text string. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + The series text string. + + + + + Minimum possible size of the record. + + + + + This record indicates the series index for the series that + the trend line or error bar is attached to. The series index + is the number of the series in the BIFF (starting with series one). + + + + + Correct size of the record. + + + + + Series index for the series that the trend line + or error bar is attached to. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Series index for the series that the trend line + or error bar is attached to. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record is part of the series specifications and indicates + the chart-group index for the series. The chart-group index + specifies the number of the chart group (specified by a + CHARTFORMAT record) in the BIFF, starting with chart group zero. + + + + + Correct size of the record. + + + + + Chart-group index. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Chart-group index. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record specifies chart sheet properties. + + + + + Correct size of the record. + + + + + Represents minimum record size. + + + + + Property flags. + + + + + True if chart type has been manually formatted (changed from the default). + + + + + True to plot only visible cells. + + + + + True not to size chart with window. + + + + + False to use default plot area dimensions; + True if POS record describes plot-area dimensions. + + + + + True if user has modified chart enough that fManPlotArea should be set to 0. + + + + + Empty cells plotted as: + 0 = not plotted + 1 = zero + 2 = interpolated + + + + + This field is not used. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Property flags. Read-only. + + + + + True if chart type has been manually formatted (changed from the default). + + + + + True to plot visible cells only. + + + + + True not to size chart with window. + + + + + False to use default plot area dimensions; + True if POS record describes plot-area dimensions. + + + + + True if user has modified chart enough that fManPlotArea should be set to 0. + + + + + Empty cells plotted as: + 0 = not plotted + 1 = zero + 2 = interpolated + + + + + Reserved by Microsoft. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record defines where a series appears in the list of series. + + + + + Correct size of the record. + + + + + Index into series list. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Index into series list. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record defines a surface chart group. + + + + + Correct size of the record. + + + + + Option flags. + + + + + True if chart contains color fill for surface. + + + + + True if this surface chart has shading. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + True if chart contains color fill for surface. + + + + + True if this surface chart has shading. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record is used in conjunction with several child records + (which further define the text displayed on the chart) to define + the alignment, color, position, size, and so on of text fields + that appear on the chart. The fields in this record have meaning + according to the TEXT record's parent (CHART, LEGEND, or DEFAULTTEXT). + + + + + Mask for the rotation value. + + + + + First bit of the rotation value. + + + + + Mask for data label placement. + + + + + First bit of the data label placement value. + + + + + Correct size of the record. + + + + + Horizontal alignment of the text. + + + + + Vertical alignment of the text. + + + + + Display mode of the background. + + + + + Text color. + + + + + X-position of the text in 1/4000 of chart area. + + + + + Y-position of the text in 1/4000 of chart area. + + + + + X-size of the text in 1/4000 of chart area. + + + + + Y-size of the text in 1/4000 of chart area. + + + + + Option flags. + + + + + Index to color value of text. + + + + + Option flags. + + + + + True for automatic color; False for user-selected color. + + + + + If text is an attached data label: + True to draw legend key with data label; + False for no legend key. + + + + + True if text of label is the value of the data point; + False if text is the category label. + + + + + True if text is not horizontal; + False if text is horizontal. + + + + + True to use automatically generated text string; + False to use user-created text string. + Must be one for fShowValue to be meaningful. + + + + + True if default or unmodified; + False if modified. + + + + + True if an automatic text label has been deleted by the user. + + + + + True if background is set to automatic. + + + + + True to show category label and value as a percentage. + (pie charts only) + + + + + True to show value as a percent. + This bit applies only to pie charts. + + + + + True to show bubble sizes. + + + + + True to show label. + + + + + Text rotation. + + + + + Default constructor, initializes all fields with default values. + + + + + Read / initialize constructor. + + Stream from which record data should be read. + Size of read item. + If stream is not specified. + If stream does not support read or seek operations. + + + + Reserved for record's internal data array. + + Amount of bytes for data array. + If amount of bytes requested is less than zero. + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Horizontal alignment of the text. + + + + + Vertical alignment of the text. + + + + + Display mode of the background. + + + + + Text color. + + + + + X-position of the text in 1/4000 of chart area. + + + + + Y-position of the text in 1/4000 of chart area. + + + + + X-size of the text in 1/4000 of chart area. + + + + + Y-size of the text in 1/4000 of chart area. + + + + + Option flags. Read-only. + + + + + Index to color value of text. + + + + + Option flags. Read-only. + + + + + True if automatic color; False if user-selected color. + + + + + If text is an attached data label: + True to draw legend key with data label; + False if no legend key. + + + + + True if text of label is the value of the data point; + False if text is the category label. + + + + + True if text is not horizontal; + False if text is horizontal. + + + + + True to use automatically generated text string; + False to use user-created text string. + Must be one for fShowValue to be meaningful. + + + + + True if default or unmodified; + False if modified. + + + + + True if an automatic text label has been deleted by the user. + + + + + True if background is set to automatic. + + + + + True to show category label and value as a percentage + (pie charts only). + + + + + True to show value as a percent. + This bit applies only to pie charts. + + + + + True to show bubble sizes. + + + + + True to show label. + + + + + Rotation. + + + + + Data label placement. + + + + + Text rotation. + + + + + Text rotation. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record defines tick mark and tick label formatting. + + + + + Mask for the rotation value. + + + + + First bit of the rotation value. + + + + + Correct size of the record. + + + + + Maximum possible angle. + + + + + Size of the first reserved field. + + + + + Type of major tick mark. + + + + + Type of minor tick mark. + + + + + Tick label position relative to axis line. + + + + + Background mode. + + + + + Tick-label text color; RGB value, high byte = 0. + + + + + Automatic text color. + + + + + Display flags. + + + + + Automatic text background. + + + + + Automatic rotation. + + + + + Index to color of tick label. + + + + + Text rotation angle. + + + + + Indicates if axis label is left to right. + + + + + Indicates if axis label is right to left. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Type of major tick mark. + + + + + Type of minor tick mark. + + + + + Tick label position relative to axis line. + + + + + Reserved; must be zero. + + + + + Automatic text color. + + + + + Automatic rotation. + + + + + Indicates is axis label is left to right. + + + + + Indicates is axis label is right to left. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + Microsoft Excel writes this record, but its value is always zero. + Applications writing BIFF do not need to write this record. + If the application writes this record, the wUnits field must be zero. + + + + + Correct size of the record. + + + + + Always zero. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This record defines the value axis. + + + + + Record size constant. + + + + + Maximum value on axis. + + + + + Maximum value on axis. + + + + + Value of major increment. + + + + + Value of minor increment. + + + + + Value where category axis crosses. + + + + + Format flags. + + + + + Automatic minimum selected. + + + + + Automatic maximum selected. + + + + + Automatic major selected. + + + + + Automatic minor selected. + + + + + Automatic category crossing point selected. + + + + + Logarithmic scale. + + + + + Values in reverse order. + + + + + Category axis to cross at maximum value. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Maximum value on axis. + + + + + Maximum value on axis. + + + + + Value of major increment. + + + + + Value of minor increment. + + + + + Value where category axis crosses. + + + + + Automatic minimum selected. + + + + + Automatic maximum selected. + + + + + Automatic major selected. + + + + + Automatic minor selected. + + + + + Automatic category crossing point selected. + + + + + Logarithmic scale. + + + + + Values in reverse order. + + + + + Category axis to cross at maximum value. + + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + This class wraps single record. Used in charts for DataLabels settings. + + + + + Offset to the wrapped record data. + + + + + Wrapped record. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Gets / sets wrapped record. Read-only. + + + + + Represents interface, that implement mso option and fopte option wrapper classes. + + + + + Replaces option with specified value. + + Option to set. + + + + Removes current option by id. + + Represents option id to remove. + + + + Summary description for PrintedChartSizeRecord. + + + + + Correct size of the record. + + + + + Information on how chart should be printed. + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + Minimum possible size of the record. + + + + + Maximum possible size of the record. + + + + + Rotation type. + + + + + Represents the LeftToRight rotation type. + + + + + Represents the TopToBottom rotation type. + + + + + Represents the CounterClockwise rotation type. + + + + + Represents the Clockwise rotation type. + + + + + + Contains utility methods for object cloning. + + + + + Clones int array. + + Array to clone + Returns cloned array. + + + + Clones ushort array. + + Array to clone. + Returns cloned array. + + + + Clones string array. + + Array to clone. + Returns cloned array. + + + + Clones object array. + + Array to clone. + Returns cloned array. + + + + Clones object that implements ICloneable interface. + + Object to clone. + A clone of the object. + + + + Clones object that implements ICloneable interface. + + Object to clone. + A clone of the object. + + + + Clones List with objects that implement ICloneable interface. + + List with objects to clone. + List with clone of the objects. + + + + Clones List with objects that implement ICloneable interface. + + List with objects to clone. + List with clone of the objects. + + + + Clones SortedList with objects that implement ICloneable interface. + + SortedList with objects to clone. + SortedList with clone of the objects. + + + + Clone SortedList. + + SortedList to clone + Returns a copy of the SortedList. + + + + Clones List with objects that implement ICloneable interface. + + List with objects to clone. + Parent object for the new items. + List with clone of the objects. + + + + Clones object that implements ICloneable interface. + + Object to clone. + Parent object for the new object. + A clone of the object. + + + + Clones MsoBase record. + + Object to clone. + Parent object. + A clone of the object. + + + + Clones byte array. + + Array to clone. + Return cloned array. + + + + Clones formula tokens array. + + Array to clone. + Return cloned array. + + + + Clones ColumnInfo array. + + Array to clone. + Return cloned array. + + + + Clone Dictionary. + + Dictionary to clone + Returns a copy of the Dictionary. + + + + Clone Dictionary. + + Dictionary to clone + Returns a copy of the Dictionary. + + + + Clone Dictionary. + + Dictionary to clone + Returns a copy of the Dictionary. + + + + Clone Dictionary. + + Dictionary to clone + Returns a copy of the Dictionary. + + + + Clone Dictionary. + + Dictionary to clone. + Parent object for the new objects. + Returns a copy of the Dictionary. + + + + Creates copy of the stream. + + Stream to copy. + Created stream. + + + + Creates a copy of the array of boolean values. + + Array to clone. + Created object. + + + + Summary description for CodeNameRecord. + + + + + + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + + + In this method, the class must pack all of its properties into an + internal data array, m_data. This method is called by + FillStream when the record must be serialized into a stream. + + + + + Size of the required storage space. Read-only. + + + + + + + + + + Defines the formatting information for a range of columns including width, + outline, and collapsed options. + + + + + Bit mask for the outlevel value. + + + + + Maximum and correct record size. + + + + + Index of first column in the range. + + + + + Index of the last column in the range. + + + + + Width of the columns in 1/256 of the width of zero character, + using default font (first font record in the file). + + + + + Index of extended format record for default column formatting. + + + + + Options: Use bit fields instead of using this field. + + + + + Columns are hidden. + + + + + Columns are collapsed. + + + + + Not used. + + + + + Default Constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Sets options into default state without setting extended format index. + + + + + Index of first column in the range. + + + + + Index of the last column in the range. + + + + + Width of the columns in 1/256 of the width of the zero character, + using default font (first font record in the file). + + + + + Index of extended format record for default column formatting. + + + + + Columns are hidden. + + + + + Gets or sets a value indicating whether this instance is best fit. + + + true if this instance is best fit; otherwise, false. + + + + + Gets or sets a value indicating whether this instance is user set. + + + true if this instance is user set; otherwise, false. + + + + + Gets or sets a value indicating if the phonetic information should be displayed by default for the affected column(s) of the worksheet. + + + true if this instance is phenotic; otherwise, false. + + + + + Outline level of the columns (0 = no outline). + This property changes bits of private m_usOptions field. + Set method would raise ArgumentOutOfRange exception + if value is more than 7. + + + + + If 1, then columns are collapsed. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's internal data array. + + + + + Row or column index. + + + + + Specifies the Header structure of this record + + + + + Specifies wheather the workbook checks the Compability of earlier version + + + + + Specifies wheather the workbook checks the Compability of earlier version + + + + + Whenever the content of the record exceeds the given limits, + the record must be split. Several Continue Records containing + the additional data are added after the parent record. + + + + + Summary description for ILengthSetter. + + + + + Sets length of the internal data. + + New length to set. + + + + + + + + + + Sets internal data array. + + Data array to set. + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + + + In this method, a class must pack its own properties into + an internal data array, m_data. This method is called by + FillStream when the record must be serialized into a stream. + + + + + Size of the required storage space. Read-only. + + + + + + + + + + This record stores the contents of an external cell or cell range. + An external cell range has only one row. If a cell range spans over more than + one row, several CRN records will be created. + + + + + Offset to the values. + + + + + Error message. + + + + + Default subitem size (boolean, error and number). + + + + + Unused bytes for boolean and error cell values. + + + + + Index to last column inside of the referenced sheet. + + + + + Index to first column inside of the referenced sheet. + + + + + Index to row inside of the referenced sheet. + + + + + Array of cell values. + + + + + Default constructor + + + + + Read / initialize constructor. + + Stream from which record data should be read. + size of read item. + If stream is not specified. + If stream does not support read or seek operations. + + + + Reserved for record's internal data array. + + Amount of bytes for data array. + If amount of bytes requested is less than zero. + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Data provider that contains record's data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Size of the record data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + + + + + + + + + + + Returns size of the required storage space. + + Excel version. + Size of the required storage space. + + + + Creates copy of the current object. + + A copy of the current object. + + + + + + + + + Index to last column inside of the referenced sheet. + + + + + Index to first column inside of the referenced sheet. + + + + + Index to row inside of the referenced sheet. + + + + + Read-only. Minimum possible size of the record. + + + + + Array of cell values. + + + + + + + + + + Summary description for CustomPropertyRecord. + + + + + Size of fixed data. + + + + + Max length of name string. + + + + + Unknown record header. + + + + + Property name. + + + + + Property value. + + + + + Default constructor + + + + + Read / initialize constructor. + + Stream from which record data should be read. + size of read item. + If stream is not specified. + If stream does not support read or seek operations. + + + + Reserved for record's internal data array. + + Amount of bytes for data array. + If amount of bytes requested is less than zero. + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Returns size of the required data array. + + Size of the required data array. + + + + Gets / sets property name. + + + + + Gets / sets property value. + + + + + Row height for rows with undefined or inexplicitly defined heights. + + + + + Correct record size. + + + + + Option flags. + + + + + Default row height for undefined rows / rows with undefined height. + + + + + Specifies whether the default settings for the row height have been changed.. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Option flags. + + + + + Default row height for undefined rows / rows with undefined height. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Stores the maximum change of the result to the exit of an iteration. + + + + + Default value of the maximum change in iteration. + + + + + Correct record size. + + + + + Maximum change in iteration (IEEE floating-point value). + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Maximum change in iteration (IEEE floating-point value). + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Contains the range address of the used area in the current sheet. + + + + + Correct record size. + + + + + Index to first used row. Zero base. + + + + + Index to last used row. One base. + + + + + Index to first used column. Zero base. + + + + + Index to last used column. One base. + + + + + Not used. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Index to first used row. + + + + + Index to last used row. + + + + + Index to first used column. + + + + + Index to last used column. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + This record is part of the Data Validity Table. It stores data validity settings + and a list of cell ranges which contain these settings. The "prompt box" appears + while editing such a cell. The "error box" appears if the entered value does not + fit the conditions. The data validity settings of a sheet are stored in a sequential + list of DV records. This list is preluded by a DVAL record. If a string is empty + and the default text should appear in the prompt box or error box, the string + must contain a single zero character (string length will be 1). + + + + + Bit mask for data type. + + + + + Bit mask for error style. + + + + + Bit mask for condition. + + + + + Start bit of the error style in options. + + + + + Start bit of the condition in options. + + + + + + + + + + Size of the fixed part. + + + + + Evaluates size of the formula in bytes. + + Tokens to get size from. + Excel version that should be used to infill data. + Indicates whether we should add size of the additional data. + Formula size in bytes. + + + + It indicates the end of a record block with leading BOF record. + This could be the end of the workbook globals, a worksheet, a chart, etc. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + This record specifies the number of XF records contained in this file and that contains a checksum of the data in those records. + This record MUST exist if and only if there are XFExt records in the file. + + + + + Header of this record + + + + + Specifies the number of XF records + + + + + Specifies the Checksum of the record + This checksum is used to detect whether the XF records in the file were modified by an + application that does not support the formatting feature extensions in XFExt records. + + + + + current parent workbook + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Get the size + + + + + Clone current Record. + + Returns memberwise clone on current object. + + + + One of the most complex records. There are two types: + Style and Cell. It should be noted that fields in the extended format record are + somewhat arbitrary. Almost all of the fields are bit-level, but + we name them as best as possible by functional group. In some + places, this is more conducive than others. + + + + + Indent bit mask: + + + + + Read order bit mask: + + + + + Start bit for read order value. + + + + + Parent index bit mask: + + + + + Rotation bit mask: + + + + + Top border palette bit mask: + + + + + Bottom border palette bit mask: + + + + + Diagonal bit mask: + + + + + Diagonal line bit mask: + + + + + Fill pattern bit mask: + + + + + Left border bit mask: + + + + + Right border bit mask: + + + + + Top border bit mask: + + + + + Bottom border bit mask: + + + + + Horizontal alignment bit mask: + + + + + Vertical alignment bit mask: + + + + + Background bit mask: + + + + + Foreground border bit mask: + + + + + Left border palette bit mask: + + + + + Right border palette bit mask: + + + + + Start bit for the right border bit mask: + + + + + + + + + + Mask for FillForeground property. + + + + + Default color index. + + + + + Default pattern color index. + + + + + Maximum possible index in the extended format, means that there is no parent. + + + + + Default value for HAlignJustify + + + + + Default value for VAlignJustify + + + + + Index to font record. + + + + + Index to FORMAT record. + + + + + Cell options. + + + + + True if cell is locked. + + + + + True if formula is hidden. + + + + + Type of extended format record, False = Cell XF; True = Style XF. + + + + + + + + + + Alignment options of the extended format. + + + + + True indicates that text is wrapped at right border. + + + + + For far east languages. Supported only for format, always 0 for US. + + + + + Indent options of the extended format. + + + + + True indicates shrinking content to fit into cell. + + + + + True indicates that XF contains merged cells. + + + + + Flag for number format, if False, then an attribute of the parent style is used. + + + + + Flag for font, if False, then an attribute of the parent style is used. + + + + + Flag for horizontal and vertical alignment, text wrap, indentation, + orientation, rotation, and text direction. If False, then an attribute + of the parent style is used. + + + + + Flag for border lines. + If False, then an attribute of the parent style is used. + + + + + Flag for background area style. + If False, then an attribute of the parent style is used. + + + + + Flag for cell protection (cell locked and formula hidden). + If False, then an attribute of the parent style is used. + + + + + Indent value. + + + + + Border options: + + + + + Palette options: + + + + + True if diagonal line runs from top left to right bottom. + + + + + True if diagonal line runs from bottom left to right top. + + + + + Additional palette options: + + + + + Fill options: + + + + + Indicates whether hash is valid. + + + + + Current hash value. + + + + + Index to the parent extended format. + + + + + Extended format fill pattern type. + + + + + Index of Fill. + + + + + Index of Border. + + + + + Default constructor + + + + + Read / initialize constructor. + + Stream from which record data should be read. + Size of read item. + + If stream is not specified. + + + If stream does not support read or seek operations. + + + + + Reserved for the record's internal data array. + + Amount of bytes for data array. + + If amount of bytes requested is less than zero. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Compares with Extended format record. + + Param to compare. + Returns compare results. + + + + Serves as a hash function for a particular type, suitable for use + in hashing algorithms and data structures like a hash table. + + A hash code for the current Object. + + + + Swaps colors if necessary. + + + + + Copies border settings from another extended format record. + + Source record to copy data from. + + + + Copies alignment settings from another extended format record. + + Source record to copy data from. + + + + Copies pattern settings from another extended format record. + + Source record to copy data from. + + + + Copies protection / cells settings from another extended format record. + + Source record to copy data from. + + + + Copies data from the current ExtendedFormat record to the specified + ExtendedFormat record. + + ExtendedFormat record that will receive data from + the current record. + + + + Copies data from the current Biff record to the specified Biff record. + + Biff record that will receive data from the current record. + + + + Cell options bits in one location. Read-only. + + + + + Border options bits in one location. Read-only. + + + + + Alignment options bits in one location. Read-only. + + + + + Index to font record. + + + + + Represent the fill index + + + + + Represent the Border Index + + + + + Index to FORMAT record: + + + + + True if cell is locked. + + + + + True if formula is hidden. + + + + + Type of extended format record. + + + + + + + + + + Gets /sets index to parent style XF (always FFFH in style XFs in Excel 97). + + + + + True means that text is wrapped at right border. + + + + + For far east languages supported only for format, always use False for US. + + + + + Gets or sets indent level. + + + + + True means to shrink content to fit into cell. + + + + + True if extended format contains merged cells. + + + + + Text direction, the reading order for far east versions. + + + + + Text rotation angle: + 0- Not rotated + 1-90- 1 to 90 degrees counterclockwise + 91-180- 1 to 90 degrees clockwise + 255- Letters are stacked top-to-bottom, but not rotated. + + + Thrown when value is more than 0xFF. + + + + + Flag for number format, if False, then an attribute of the parent style is used. + + + + + Flag for font, if False, then an attribute of the parent style is used. + + + + + Flag for horizontal and vertical alignment, text wrap, indentation, + orientation, rotation, and text direction. If False, then an attribute + of the parent style is used. + + + + + Flag for border lines. + If False, then an attribute of the parent style is used. + + + + + Flag for background area style. + If False, then an attribute of the parent style is used. + + + + + Flag for cell protection (cell locked and formula hidden). + If False, then attributes of the parent style is used. + + + + + Color index for top line color. + This property changes bits of the m_uiAddPaletteOptions class member. + + + Thrown when value is more than 0x7F. + + + + + Color index for bottom line color. + This property changes bits of the m_uiAddPaletteOptions class member. + + + Thrown when value is more than 0x7F. + + + + + Color index for left line color + This property changes bits of the m_usPaletteOptions class member. + + + Thrown when value is more than 0x7F. + + + + + Color index for right line color. + This property changes bits of the m_usPaletteOptions class member. + + + Thrown when value is more than 0x7F. + + + + + Color index for diagonal line color. + This property changes bits of the m_uiAddPaletteOptions class member. + + + Thrown when value is more than 0x7F. + + + + + Diagonal line style. + This property changes bits of the m_uiAddPaletteOptions class member. + + + Thrown when value is more than 0x0F. + + + + + Diagonal line is drawing from top left to bottom right corner of cell. + + + + + Diagonal line is drawing from bottom left to top right corner of cell. + + + + + Fill pattern: + This property changes bits of the m_uiAddPaletteOptions class member. + + + Thrown when value is more than 0x3F. + + + + + Left line style: + This property changes bits of the m_usBorderOptions class member. + + + + + Right line style: + This property changes bits of the m_usBorderOptions class member. + + + + + Top line style: + This property changes bits of the m_usBorderOptions class member. + + + + + Bottom line style: + This property changes bits of the m_usBorderOptions class member. + + + + + Horizontal alignment. + + + + + Vertical alignment. + + + + + Color index for pattern color + This property changes bits of m_usFillPaletteOptions. + + + Thrown when value is more than 0x7F. + + + + + Color index for pattern background. + This property changes bits of m_usFillPaletteOptions. + + + Thrown when value is more than 0x7F. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Type of extended format. + + + + + Represents the XF_CELL extended format type. + + + + + Represents the XF_STYLE extended format type. + + + + + Header of this record + + + + + Specifies the index of XF record which is extended + + + + + Property count + + + + + Set of properties applied to the XF format + + + + + Default constructor + + + + + Initialize the variables + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Get the size + + + + + Copies data from the current Biff record to the specified Biff record. + + Biff record that will receive data from the current record. + + + + Copies data from the current ExtendedXF record to the specified + ExtendedXF record. + + ExtendedXF record that will receive data from + the current record. + + + + Clone current Record. + + Returns memberwise clone on current object. + + + + + + + + + Specifies the index of XF record which is extended + + + + + Properties count + + + + + Set of properties applied to the XF format + + + + + Maximum tint value. + + + + + Type of the Extended property + + + + + Size of the Extended property + + + + + Type of the stored color. + + + + + Color value. + + + + + Tint and shade. + + + + + Reserved. + + + + + Font Scheme. + + + + + Text indentation level. + + + + + Gradient type. + + + + + Gradient angle. + + + + + Left coordinate of the inner rectangle. + + + + + Right coordinate of the inner rectangle. + + + + + Top coordinate of the inner rectangle. + + + + + Bottom coordinate of the inner rectangle. + + + + + No. of items in the gradstops. + + + + + Gradient color value. + + + + + Gradient position. + + + + + Gradient tint. + + + + + List of gradient stops. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Parse the gradient. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + Serialize the gradient. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Type of the Extended property + + + + + Size of the color Record + + + + + Color type + + + + + Color value + + + + + Tint value + + + + + Text Indentation level. + + + + + Set of gradstops. + + + + + Type of the stored color. + + + + + Gradient color value. + + + + + Gradient position. + + + + + Gradient tint. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Option flags. + + + + + One-based index to sheet in preceding SUPBOOK record, 0 + for global defined names (for external names), or + Not used (for add-in functions). + + + + + Not used. + + + + + External name (Unicode string, 8-bit string length) or + Add-in function name (Unicode string, 8-bit string length). + + + + + Size of the formula data. + + + + + Formula data or + 02H 00H 1CH 17H (formula representing the #REF! error code). + + + + + Default constructor + + + + + Read / initialize constructor. + + Stream from which record data should be read. + Size of read item. + + If stream is not specified. + + + If stream does not support read or seek operations. + + + + + Reserved for record's internal data array. + + Amount of bytes for data array. + + If amount of bytes requested is less than zero. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + + + In this method, a class must pack all of its properties into an + internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + + + + Infills internal data in the case of DDE link extern name. + + + + + Read-only. Option flags. + + + + + Read-only. One-based index to sheet in preceding SUPBOOK + record, 0 for global defined names (for external names), or + Not used (for add-in functions). + + + + + Read-only. Not used. + + + + + Read-only. Formula data or + 02H 00H 1CH 17H (formula representing the #REF! error code). + + + + + External name (Unicode string, 8-bit string length) or + Add-in function name (Unicode string, 8-bit string length). + + + + + Read-only. Minimum possible size of the record. + + + + + + + + + + Indicates whether data array is needed to store record data. Read-only. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Possible options flags. + + + + + The record stores a list with indexes to SUPBOOK records. + + + + + Size of the fixed part. + + + + + Maximum references in one record. + + + + + Number of following REF structures. + + + + + List of REF structures. + + + + + Represents the number of elements in rgXTI array + + + + + Default constructor. + + + + + This method adds one TREF structure to the list. + + SUPBOOK index. + Index to first SUPBOOK sheet. + Index to last SUPBOOK sheet. + + Index of the old REF structure (if there was one) + or new REF structure. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + + + In this method, a class must pack all of its properties into an + internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + + + + Size of the required storage space. Read-only. + + + + + Number of following REF structures. + + + + + List of REF structures. + + + + + Read-only. Minimum possible size of the record. + + + + + Stores index to SUPBOOK record. + + + + + Size of the TREF. + + + + + Index to SUPBOOK record. + + + + + Index to first SUPBOOK sheet. + + + + + Index to last SUPBOOK sheet. + + + + + Constructs reference by SUPBOOK index and its start and end sheet. + + SUPBOOK index. + Index to first SUPBOOK sheet. + Index to last SUPBOOK sheet. + + + + Index to SUPBOOK record. + + + + + Index to first SUPBOOK sheet. + + + + + Index to last SUPBOOK sheet. + + + + + Summary description for FilePassStandardBlock. + + + + + Correct record size. + + + + + Unique document identifier used to initialize the encryption algorithm. + + + + + Encrypted document identifier used to verify the entered password. + + + + + Digest used to verify the entered password. + + + + + Default constructor. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Buffer length. + + + + + + + + + + Unique document identifier used to initialize the encryption algorithm. Read-only. + + + + + Encrypted document identifier used to verify the entered password. Read-only. + + + + + Digest used to verify the entered password. Read-only. + + + + + Summary description for FilePassStrongBlock. + + + + + Option flags. + + + + + Unknown value. + + + + + Stream encryption algorithm identifier. + 00006801H = RC4 (Ron's Code 4) + 00006802H = SEAL (Secure Encryption Algorithm) + + + + + Password hashing algorithm identifier: + 00008001H = MD2 (Message Digest 2) + 00008002H = MD4 (Message Digest 4) + 00008003H = MD5 (Message Digest 5) + 00008004H = SHA-1 (Secure Hash Algorithm) + + + + + Hash key length (bits). + + + + + Cryptographic provider type: + 00000001H = RSA + 0000000CH = RSA SChannel + 0000000DH = DSS and Diffie-Hellman + 00000012H = DH SChannel + 00000018H = RSA and AES + + + + + Unknown or not used. + + + + + Cryptographic provider name, Unicode character array with trailing null character. + + + + + Unique document identifier used to initialize the encryption algorithm. + + + + + Encrypted document identifier used to verify the entered password. + + + + + Digest used to verify the entered password. + + + + + Default constructor. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + + + + Option flags. + + + + + Unknown value. + + + + + Stream encryption algorithm identifier. + 00006801H = RC4 (Ron's Code 4) + 00006802H = SEAL (Secure Encryption Algorithm) + + + + + Password hashing algorithm identifier: + 00008001H = MD2 (Message Digest 2) + 00008002H = MD4 (Message Digest 4) + 00008003H = MD5 (Message Digest 5) + 00008004H = SHA-1 (Secure Hash Algorithm) + + + + + Hash key length (bits). + + + + + Cryptographic provider type: + 00000001H = RSA + 0000000CH = RSA SChannel + 0000000DH = DSS and Diffie-Hellman + 00000012H = DH SChannel + 00000018H = RSA and AES + + + + + Unknown or not used. Read-only. + + + + + Cryptographic provider name, Unicode character array with trailing null character. + + + + + Returns digest used to verify the entered password. Read-only. + + + + + The record represents an empty cell. + It contains the cell address and formatting information. + + + + + 1 = Recommend Read-only state while loading the file. + + + + + Hash value calculated from the Read-only password. + + + + + User name of the file creator. + + + + + Default constructor fills all data with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + 1 = Recommend Read-only state while loading the file. + + + + + Hash value calculated from the Read-only password. + + + + + Index to XF (extended format) record. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Font Record describes a font in the workbook (index = 0-3,5-infinity - skip 4) + An element in the Font Table contains information about a used font, + including character formatting. + + + + + Incorrect hash value. + + + + + Offset to the byte that indicates whether string is unicode. + + + + + Default font color. + + + + + Height of the font (in twips = 1/20 of a point). + + + + + Font attributes. + + + + + Palette color index. + + + + + Boldness (100-1000). Standard values are 0190H (400) for normal text + and 02BCH (700) for bold text. + + + + + Escapement: + + + + + Underline type: + + + + + Font family: + + + + + Character set: + + + + + Not used. + + + + + Font name: Unicode string, 8-bit string length. + + + + + Cached hash code value. + + + + + Represents the baseline value which indicates whether superscript or subscript + + + + + True if the font is set to capitalize. + + + + + Returns or sets the character spacing value of the font. + + + + + Returns or sets the kerning value of the font. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Determines whether the specified object is equal to the current object. + + The object to compare with the current object. + + True if the specified object is equal to the current object; + otherwise False. + + + + + Serves as a hash function for a particular type, suitable for + use in hashing algorithms and data structures like a hash table. + + A hash code for the current object. + + + + + + + + + + + + + + + + + Height of the font (in twips = 1/20 of a point). + + + + + Palette color index. + + + + + Boldness (100-1000). Standard values are 0190H (400) for normal text + and 02BCH (700) for bold text. + + + + + Escapement: + + + + + Gets or sets the baseline value which indicates whether superscript or subscript + + + + + Underline type: + + + + + Font family: + + + + + Character set: + + + + + Font name: Unicode string, 8-bit string length. + + + + + True if characters are italic. + + + + + True if characters are strikeout. + + + + + Whether to use the Mac outline font style (Mac only). + + + + + Whether to use the Mac shadow font style thing (Mac only). + + + + + True if the font is set to capitalize, character spacing or kerning value. + + + + + True if the font is set to capitalize. + + + + + Returns or sets the character spacing value of the font. + + + + + Returns or sets the kerning value of the font. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Font attributes. + + + + + Indicates whether this font is in italics. + + + + + Indicates whether characters are strikeout. + + + + + Whether to use the Mac outline font style (Mac only). + + + + + Whether to use the Mac shadow font style (Mac only). + + + + + All known flags. + + + + + Record contains information about a number format. + + + + + Format index used in other records: + + + + + Length of format string: + + + + + Format string: + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Format index used in other records: + + + + + Length of format string: + + + + + Read-only. Minimum possible size of record. + + + + + Contains the token array and the result of a formula cell. + + + + + This interface supports DoubleValue property. + + + + + Returns double value. Read-only. + + + + + Returns type code. Read-only. + + + + + Represents first mask + + + + + Represents boolean mask. + + + + + Represents error mask. + + + + + Represents error mask. + + + + + String mask. + + + + + String mask. + + + + + Size of the fixed part. + + + + + Formula value in the case of string value. + + + + + Formula value in the case of blank value. + + + + + Offset to the formula value. + + + + + Size of the data before expression that belongs only to formula (without row, column, xf indexes). + + + + + + + + + + + + + + + + + + + + The calculated value of the formula. + + + + + The option flags. + + + + + True to always recalculate. + + + + + True to calculate on open. + + + + + True if part of a shared formula. + + + + + Reserved. + + + + + Size of the following formula data. + + + + + Formula data (RPN token array). + + + + + Array that contains all parsed tokens. + + + + + + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + Parses formula expression and fill and provides internal integrity data check. + + Object that provides access to the data. + Record's data offset. + Excel version that was used to infill data provider. + + If there is any internal error. + + + + + Prepares expression field. + + + + + Sets bool or error value. + + Represents bool or error byte value. + Indicates if this is error. + + + + Size of the required storage space. Read-only. + + + + + Converts error or bool value to formula double value. + + Represents error or bool value. + Indicates is error or bool. + Returns formula value. + + + + Sets flags so MS Excel understands that formula returns string. + + Object that provides access to the data. + Offset to the FormulaRecord.. + + + + Reads record's value from the data provider. + + Provider to read data from. + Offset to the record's start. + Excel version used to infill data. + Record's value. + + + + Reads record's value from the data provider. + + Provider to read data from. + Offset to the record's start. + Excel version used to infill data. + Record's value. + + + + Reads record's value from the data provider. + + Provider to read data from. + Offset to the record's start. + Excel version used to infill data. + Record's value. + + + + Writes record's value into the data provider. + + Provider to write data into. + Offset to the record's start. + Excel version used to infill data. + Record's value. + + + + + + + + + + + + + + + + Converts formula tokens from Excel97to2003 to Excel2007 version and vice versa. + + Formula tokens. + Defines what conversion must be applied. + + + + Converts formula GOTO and IF token from Excel97to2003 to Excel2007 version and vice versa. + + Formula tokens. + GOTO token index. + Defines what conversion must be applied. + + + + The calculated value of the formula. + + + + + True to always recalculate. + + + + + True to calculate on open. + + + + + True if part of a shared formula. + + + + + Array that contains all parsed tokens. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + + + + + + The calculated value of the formula. + + + + + Indicates if formula record contain bool value. Read-only. + + + + + Indicates if formula record contain error value. Read-only. + + + + + + + + + + The calculated boolean value of the formula. + + + + + The calculated error value of the formula. + + + + + Array that contains all parsed tokens. + + + + + This token contains a 3D reference or an external reference to a cell range. + + + + + This token contains the reference to a cell range in the same sheet. + + + + + This class is the base class for each token of a formula. + + + + + Code of the token. + + + + + Default constructor. + + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Returns size of the tokens array. + + Excel version - defines resulting size. + Size of the tokens array. + + + + Converts token to byte array. + + Excel version - defines resulting array format and size. + Array of bytes representing this token. + + + + Converts token to a string. + + String representation of the token. + + + + Converts token to the string. + + Formula util. + String representation of the token. + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + + + + + Indicates whether R1C1 notation must be used. + Formula util. + + + + + + + + + + Indicates whether R1C1 notation must be used. + Formula util. + + + + + + Moves token by iRowOffset to the right and iColumnOffset to the left. + (Updates formula token after copy operation.) + + Row offset. + Column offset. + Parent workbook. + Updated token. + + + + Adjusts the location of the token by the specified amount. + Returns adjusted token. (Updates formula token after move operation.) + + Index of the sheet where formula is located. + Zero-based row index which this token is located. + Zero-based column index where this token is located. + Index of the source worksheet in move range operation. + Index of the destination worksheet in move range operation. + Rectangle that was moved. + Location were range was moved. + Indicates whether token was changed during move operation. + Parent workbook. + Adjusted token. + + + + + + + + + + + + + + + + + + + + + + Converts tokens from regular formula into tokens from shared formula. + + Represents parent workbook. + Represents row index. + Represents column index. + Formula token. + + + + Compares this token to the specified one. + + Token to compare with. + 0 if tokens are equal. + + + + Compares tokens content. + + Token to compare with this one. + 0 if tokens are equal. + + + + Compares two token arrays. + + The first array to compare. + The second array to compare. + True if arrays are equal; otherwise false. + + + + + + + + + + Converts index to token code. + + + + + + + + Read-only. True if this ptg represents operation ptg. + + + + + Gets / sets. Code of the token. + + + + + This interface should be implemented by those tokens + that can be converted to IRange. + + + + + This interface should be implemented by those tokens + that can be converted to IRange. + + + + + Returns range represented by the token that implements this interface. + + Workbook that contains range. + Worksheet that contains range. + Range represented by the token. + + + + This interface is implemented by formula tokens that can provide corresponding rectangle object. + + + + + Returns rectangle represented by the token that implements this interface. + All coordinates are zero-based. + + Rectangle represented by the token. + + + + Updates token using data from specified rectangle. + + Rectangle with new token coordinates. + Updated token. + + + + Converts current token into error token. + + Created token. + + + + Summary description for IToken3D. + + + + + Converts current token to the 3D token. + + Reference to the worksheet. + Created token. + + + + Index of first row (0..65535) or row offset (-32768..32767). + + + + + Index of last row (0..65535) or row offset (-32768..32767). + + + + + Index of first column (0..255) or column offset (-128..127). + + + + + Option flags of first row and first column. + + + + + Index of last column (0..255) or column offset (-128..127). + + + + + Option flags of last row and last column. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Creates copy of the token. + + Token to clone. + + + + + + + + + + + + + + + Creates token using strings that represents cell addresses. + + Row index of the cell that contains this token. + Column index of the cell that contains this token. + String representation of the first row. + String representation of the first column. + String representation of the last row. + String representation of the last column. + + Parent workbook. + + + + Parses specified column and row values and fills token + fields with appropriate values. + + Row index of the cell that contains this token. + Column index of the cell that contains this token. + String representing left column of the area. + String representing top row of the area. + String representing right column of the area. + String representing bottom row of the area. + Indicates whether R1C1 notation is used. + Parent workbook. + + + + Converts token code to index (inverse operation to IndexToCode). + + Reference index. + + + + Gets corresponding error code. + + Corresponding error code. + + + + Indicates whether area covers whole rows. Read-only. + + + + + + + Indicates whether area covers whole columns. Read-only. + + + + + + + Converts incorrect area range to corresponding error ptg. + + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Converts specified index to token code. + + Index of the needed token. + Token that corresponds to the index. + + When index is less than one or greater than 3. + + + + + Converts specified token code to index. + + Token code for which index is required. + Index that corresponds to the code. + + When index is not one of tArea1, tArea2, tArea3. + + + + + Read-only. Size of the record. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to byte array. + + Array of bytes representing token. + + + + Moves row by iRowOffset, iColumnOffset. + + Row offset. + Column offset. + Parent workbook. + Updated token. + + + + + + + + + + + + + + Parent workbook. + + + + + Converts tokens from regular formula into tokens from shared formula. + + Parent workbook. + Represents first row from cells range of shared formula.Zero-base. + Represents first column from cells range of shared formula.Zero-based. + New token for shared formula. + + + + Converts full row or column ptg from Excel2007 to Excel97to03 version and vice versa. + + Returns converted Ptg. + Defines what conversion must be applied. + + + + + + + + + + + + + + + + Returns True if referenced cell was moved. + + + + + + + + + + + + + + Parent workbook. + + + + + + + + + + + + Parent workbook. + + + + + + + + + + + + Parent workbook. + + + + + Checks if while moving rectSource full top row was moved. + + Rectangle that was moved. + True if whole top row was moved. + + + + Checks if while moving rectSource full bottom row was moved. + + Rectangle that was moved. + True if whole bottom row was moved. + + + + Checks if while moving rectSource full left row was moved. + + Rectangle that was moved. + True if whole left row was moved. + + + + Checks if while moving rectSource full right row was moved. + + Rectangle that was moved. + True if whole right row was moved. + + + + + + + + + + + Parent workbook. + + + + + + + + + + + + Parent workbook. + + + + + + + + + + + + Parent workbook. + + + + + + + + + + + + Parent workbook. + + + + + + + + + + + + Parent workbook. + + + + + Checks whether one rectangle is outside of another one. + + First rectangle to check. + Second rectangle to check. + True if toCheck rectangle is outside of owner rectangle. + + + + Checks whether one rectangle is inside of another one. + + Rectangle that could contain another one. + Rectangle that could be contained by another one. + True if toCheck rectangle is contained by owner rectangle. + + + + + + + + + + + Parent workbook. + + + + + + + + + + + + Parent workbook. + + + + + Returns range represented by the token that implements this interface. + + Workbook that contains range. + Worksheet that contains range. + Range represented by the token. + + + + Returns rectangle represented by the token that implements this interface. + All coordinates are zero-based. + + Rectangle represented by the token. + + + + + + + + + + + Converts current token into error token. + + Created token. + + + + Converts current token to the 3D token. + + Reference to the worksheet. + Created token. + + + + Index of the first row (0..65535) or row offset (-32768..32767). + + + + + True if the first row index is relative. + + + + + True if the first column index is relative. + + + + + Index to column (0..255) or column offset (-128..127). + + + + + Index of the last row (0..65535) or row offset (-32768..32767). + + + + + True if the last row index is relative. + + + + + True if the last column index is relative. + + + + + Index to column (0..255) or column offset (-128..127). + + + + + Options for the top left cell of the range. + + + + + Options for the bottom right cell of the range. + + + + + Represents tokens that contains reference to worksheet. + + + + + This interface should be implemented by those tokens which contains 3D references. + + + + + Index to ExternSheetRecord. + + + + + Calls ToString method of the base (not 3d) class. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Index to REF entry in EXTERNSHEET record. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Creates new token based on another Area3D token. + + Token to copy. + + + + Initializes new token. + + Worksheet reference index. + Zero-based first row index. + Zero-based first column index. + Zero-based last row index. + Zero-based last column index. + First cell options. + Second cell options. + + + + Initializes new token. + + Zero-based row index of the cell that will contain new token. + Zero-based column index of the cell that will contain new token. + Worksheet reference index. + String representation of the first row of the area. + String representation of the first column of the area. + String representation of the last row of the area. + String representation of the last column of the area. + Indicates whether strings are in R1C1 notation. + Parent workbook. + + + + Read-only. Size of the token. + + + + + Converts token to array of bytes. + + Array of bytes that represents this token. + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + To check the sheet name it's having any special charecter or not + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Parent workbook. + + + + + Converts incorrect area range to corresponding error ptg. + + + + + Calls ToString method of the base (not 3d) class. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Converts specified index to the token code. + + Function parameter index. + Token code that corresponds to the specified index. + + When index is less than 1 or greater than 3. + + + + + Converts specified token code to index. + + Token code for which index is required. + Index that corresponds to the code. + + When index is not one of tArea1, tArea2, tArea3. + + + + + Returns range represented by the token that implements this interface. + + Workbook that contains range. + Worksheet that contains range. + Range represented by the token. + + + + Reference to the worksheet. Read-only. + + + + + Summary description for AreaError3dPtg. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + + + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token code to index (inverse operation to IndexToCode). + + Reference index. + + + + Converts specified index to the token code. + + Function parameter index. + Token code that corresponds to the specified index. + + When index is less than 1 or greater than 3. + + + + + Converts specified token code to index. + + Token code for which index is required. + Index that corresponds to the code. + + When index is not one of tAreaErr3d1, tAreaErr3d2, tAreaErr3d3. + + + + + Returns range represented by the token that implements this interface. + + Workbook that contains range. + Worksheet that contains range. + Range represented by the token. + + + + This token contains the last reference to a deleted cell range in the same sheet. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + + + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token code to index (inverse operation to IndexToCode). + + Reference index. + + + + Converts specified index to token code. + + Index of the needed token. + Token that corresponds to the index. + + When index is less than one or greater than 3. + + + + + Converts specified token code to index. + + Token code for which index is required. + Index that corresponds to the code. + + When index is not one of tAreaErr1, tAreaErr2, tAreaErr3. + + + + + Returns range represented by the token that implements this interface. + + Workbook that contains range. + Worksheet that contains range. + Range represented by the token. + + + + This token contains the reference to a cell range in the same sheet. + + + + + Default constructor. To prevent user from creating tokens without + parameters and to allow descendants. + + + + + Converts token from shared formula into token from regular formula. + + Parent workbook. + Row index. + Column index. + New token for regular formula. + + + + Converts token code to index (inverse operation to IndexToCode). + + Token code (should be one of tAreaN1, tAreaN2, tAreaN3). + Reference index. + + + + Converts reference index to token code. + + Reference index. + Token code. + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Gets the index of the updated row. + + The i row. + The row. + if set to true [is first]. + + + + + Gets the index of the updated column. + + The i column. + The column. + if set to true [is first]. + + + + + First column offset (-128..127). + + + + + Column offset (-128..127). + + + + + This token contains an array constant. The values of the array constant do not follow + the token identifier but are stored behind the complete token array. + + + + + This interface should be implemented by all token classes that + needs some additional data to be read after all formula tokens. + + + + + Reads additional token data that is placed after all formula tokens. + + Object that provides access to the data. + Offset to the additional token data. + Final offset in the data array. + + + + Returns size of the additional data. Read-only. + + + + + Constant that indicates that there is double value in the array. + + + + + Constant that indicates that there is string value in the array. + + + + + Constant that indicates that there is boolean value in the array. + + + + + Constant that indicates that there is error code in the array. + + + + + Constant that indicates that there is null code in the array. + + + + + Separators between rows of the array. + + + + + Separators between columns of the array. + + + + + Number of columns decreased by 1. + + + + + Number of rows decreased by 1. + + + + + Array of cached values. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Reads array from byte array. + + Object that provides access to the data. + Starting position of array data. + Offset if the first byte after array. + + When data array is too small for tArray data. + + + + + Fills tArray token with data from byte array. + + Object that provides access to the data. + Offset in data array. + Number of columns in this array. + Number of rows in this array. + Returns final offset in data array. + + + + Returns all values in data array. Must be written after formula data. + + Array of bytes of all constants stored in the array. + + + + Returns an array representation of boolean value. + + Boolean value that will be converted. + Array of bytes representing boolean value. + + + + Returns an array representation of the error code value. + + Error code. + Array of bytes representing the error code. + + + + Returns an array representation of the null code value. + + Array of bytes representing the null code. + + + + Returns an array representation of double value. + + Double value that will be converted. + Array of bytes representing double value. + + + + Returns an array representation of the string value. + + String value that will be converted. + Array of bytes representing the string value. + + + + Read-only. Size of the array token. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts tArray token to byte array. + + Excel version - defines resulting array format and size. + Array of bytes representing this token. + + + + Returns token code by index. + + Index of the needed token. + + + When index is less than 1 or larger than 3. + + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + + + + + + A special attribute control token - typically either a SUM function or an IF function. + + + + + This class represents function with variable arguments number in a formula. + + + + + This class represents function token of a formula. + + + + + This class is the base class for all operation tokens in the formula. + + + + + Default arguments separator. + + + + + String representation of the operation. + + + + + Position of the operand (before (if it is set to False) or after (if it is set to True) operand) for unary operations. + + + + + Default constructor. + + + + + Converts the operation and its operands to the string. + Gets all needed operands from the Stack parameter and pushes the result into the Stack. + + Object used for formula parsing. + + Stack that contains all operands and receives result of the operation. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Returns arguments separator. + + FormulaUtil object, to get separator from. + Arguments separator. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Read-only. True if this class represents operation (always True for this class). + + + + + Gets / sets string representation of the operation. + + + + + Gets / sets True if operation sign should be placed after operand and False otherwise. + + + + + Array of all token attributes applied to the object. + This property is used to increase performance. + + + + + Delimiter between function arguments. + + + + + Index to built-in sheet function. + + + + + Number of arguments. + + + + + Default constructor + + + + + Constructs token by function index. + + Function index. + + + + + + + + + + + Read-only. Size of the token. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts the operation and its operands to the string. + Gets all needed operands from the Stack parameter and pushes the result into the Stack. + + Object used for formula parsing. + + Stack that contains all operands and receives result of the operation. + + + + + Converts token to byte array. + + Array of bytes representing this token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Returns built-in function index. + + + + + Number of function arguments. + + + + + Array of all token attributes applied to the object. + This property is used to increase performance. + + + + + Constructs token by built-in function index. + + Built-in function index. + + + + Default constructor + + + + + Read-only. Size of the token. + + + + + Converts token to byte array. + + Array of bytes representing this token. + + + + Takes all needed operands from the stack and pushes the result of the function. + + Object used for formula parsing. + + Stack that contains all operands and will receive result of the operation. + + + + + + + + + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Size of the token. + + + + + Size of word in bytes. + + + + + Sum function name. + + + + + If function name. + + + + + Goto function name. + + + + + Choose function name. + + + + + Not implemented message. + + + + + + + + + + The options used by the attribute. + + + + + The word contained in this attribute. + + + + + Offsets to the CHOOSE cases. Must be valid only if HasOptimizedChoose is true. + + + + + Default constructor for this token. + + + + + Constructs token by options value and data. + + Attribute options. + Attribute data. + + + + Constructs token by options value and data. + + Attribute options. + Attribute data. + + + + Read-only. Size of the token. + + + + + Takes all needed operands from the stack and pushes the result of the function. + + Object used for formula parsing. + + Stack that contains all operands that receive result of the operation. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to array of bytes. + + Array of bytes representing this token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + The word contained in this attribute. + + + + + + + + + + Gets / sets number of spaces in the case of space token. + + + + + + + + + + True when following function has semivolatile value, + that can change without user interaction (such as NOW, TODAY, etc.). + + + + + Returns True if this is an IF; otherwise False. + + + + + Returns True if this is a CHOOSE; otherwise False. + + + + + Returns True if this is a goto; otherwise False. + + + + + Returns True if this is SUM; otherwise False. + + + + + Returns True if space exist; otherwise False. + + + + + + This class represents every binary operation. + + + + + Dictionary that allows to convert operation name to the token code. + + + + + Dictionary that allows to convert operation token code to its string representation. + + + + + Contains all token attributes. + + + + + Static constructor. Fills hashtable that allows us to get + token code by token string. + + + + + Returns token code by string representation of the operation. + + Token to get string representation for. + String representation of the token. + + + + Default constructor. + + + + + Constructs BinaryOperation using string that contains the sign of operation. + + Token code of the operation to create. + + + + Takes all needed operands from the stack and pushes the result of the operation. + + Object used for formula parsing. + + Stack that contains all operands and will receive result of the operation. + + + + + + + + + + Array of all token attributes applied to the object. + This property is used to increase performance. + + + + + This token represents a boolean operand in a formula. + + + + + Boolean value. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Constructs token by boolean value. + + Boolean value that will be placed into this token. + + + + Read-only. Size of this token. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to byte array. + + Array of bytes representing this token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Gets / sets boolean value that is represented by this class. + + + + + Represents CellRangeList formula token. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Constructs BinaryOperation using string that contains the sign of operation. + + String representation of the operation. + + + + Converts token to a string. + + Object used for formula parsing. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + This class represents the control token (this can be tExp or tTbl). + + + + + This token contains an unsigned 16-bit integer value in the range from 0 to 65535. + + + + + Bit mask for row options. + + + + + Bit mask for column options. + + + + + Opening bracket for relative cell coordinates in R1C1 notation. + + + + + Closing bracket for relative cell coordinates in R1C1 notation. + + + + + Starting row character in R1C1 notation. + + + + + Starting column character in R1C1 notation. + + + + + Opening bracket for relative indexes in R1C1 notation. + + + + + Closing bracket for relative indexes in R1C1 notation. + + + + + Index to row (0..65535) or row offset (-32768..32767). + + + + + Index to column (0..255) or column offset (-128..127). + + + + + Option flags. + + + + + Default constructor: + To prevent user from creating tokens without arguments + and to allow descendants to do this. + + + + + Creates token by coordinates and options. + + Row index. + Column index. + Options. + + + + Constructs reference by its string representation. + + Row index of the cell that contains formula to parse. + Column index of the cell that contains formula to parse. + String representation of the row. + String representation of the column. + Indicates whether R1C1 notation was used. + + + + Read-only. Size of the record. + + + + + Converts token to a string. + + String representation of the token. + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to array of bytes. + + Array of bytes that represents the token. + + + + Sets internal fields appropriate to specified row and column. + + Row index of the cell that contains this token. + Column index of the cell that contains this token. + String that contains column name. + String that contains row name. + Indicates whether R1C1 notation is used. + + + + Sets internal fields appropriate to specified row and column. + + String that contains column name. + String that contains row name. + + + + Sets internal fields appropriate to specified row and column. + + Row index of the cell that contains this token. + Column index of the cell that contains this token. + String that contains column name. + String that contains row name. + + + + Parses row or column index in R1C1 notation. + + Row or column index of the cell that contains reference. + String to parse. + Indicates whether index is relative. + + + + + Creates token and modifies it row and column indexes. + + Row offset. + Column offset. + Parent workbook. + Modified token. + + + + Returns modified token after move operation. + + Current sheet index. + Parent cell row index. + Parent cell column index. + Source sheet index. + Source rectangle. + Destination sheet index. + Destination rectangle. + Indicates whether token was changed. + Parent workbook. + + + + + Moves token into different worksheet. + + Token to move + Source sheet index. + Source rectangle. + Destination sheet index. + Row offset. + Column offset. + Parent workbook. + Modified token. + + + + Returns True if referenced cell was moved. + + + + + + + Converts token code to index (inverse operation to IndexToCode). + + Reference index. + + + + Gets corresponding error code. + + Corresponding error code. + + + + Updates token after move operation. + + Current sheet index. + Destination sheet index. + Row index. + Column index. + Indicates whether token was changed. + Parent workbook. + Updated token. + + + + Converts tokens from regular formula into tokens from shared formula. + + Parent workbook. + Represents first row from cells range of shared formula.Zero-base. + Represents first column from cells range of shared formula.Zero-based. + New token for shared formula. + + + + Returns True if bit specified by mask is set to 1; otherwise False. + + Options byte where bits will be checked. + Bit mask that should be used for checking. + True if bit specified by mask is set to 1. + + + + If value is True, then it sets all bits specified by mask in Options to 1; + otherwise clears them, return new value. + + Options byte where bits will be set. + Bit mask that should be used for checking. + Flag for operation. + Return Options with bit specified by mask set to value. + + + + Returns string representation of the cell. + + Row index of the cell that contains token. + Column index of the cell that contains token. + Index of cell row. + Index of cell column. + True if row is relative. + True if column is relative. + Indicates whether R1C1 notation must be used for string conversion. + String representation of the cell address. + + + + Returns string representation of the cell using A1 notation. + + Index of cell column. + Index of cell row. + True if column is relative. + True if row is relative. + String representation of the cell address. + + + + Returns column index of the cell. + + Column index of the cell that contains token. + String representation of the column. + Column index. + Indicates whether R1C1 notation is used. + Indicates whether resulting column index is relative. + + When parsed column index is greater than 255. + + + + + Returns column index of the cell. + + String representation of the column. + Column index. + Indicates whether resulting column index is relative. + + When parsed column index is greater than 255. + + + + + Returns row index of the cell. + + Row index of the cell that contains token. + String representation of the row. + Indicates whether R1C1 notation is used. + Indicates whether row index is relative. + Row index. + + + + Returns row index of the cell. + + String representation of the row. + Indicates whether row index is relative. + Row index. + + + + Converts reference index to token code. + + Reference index. + Token code. + + + + Converts token code to index (inverse operation to IndexToCode). + + Token code (should be one of tRef1, tRef2, tRef3). + Reference index. + + + + Gets string representation of the cell in R1C1 notation. + + Row index of the cell that contains token. + Column index of the cell that contains token. + Cell row index. + Cell column index. + Indicates whether row is relative. + Indicates whether column is relative. + String representation of the cell in R1C1 notation. + + + + Converts row or column index into string representation using R1C1 notation. + + + Row or column index of a cell that contains reference to convert. + + Starting character. + End index. + Indicates whether index is relative. + String representation of row or column index using R1C1 notation. + + + + Returns range represented by the token that implements this interface. + + Workbook that contains range. + Worksheet that contains range. + Range represented by the token. + + + + Returns rectangle represented by the token that implements this interface. + All coordinates are zero-based. + + Rectangle represented by the token. + + + + + + + + + + + Converts current token to the 3D token. + + Reference to the worksheet. + Created token. + + + + Converts current token into error token. + + Created token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Gets / sets. Index to row (0..65535) or row offset (-32768..32767). + + + + + Gets / sets True if row index is relative. + + + + + Gets / sets True if column index is relative. + + + + + Gets / sets index to column (0..255) or column offset (-128..127). + + + + + Options. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Read-only. Size of the token. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to byte array. + + Array of bytes that represents this token. + + + + + + + + + Moves token into different worksheet. + + Token to move + Source sheet index. + Source rectangle. + Destination sheet index. + Row offset. + Column offset. + Parent workbook. + Modified token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + + + + + + + + + + + + This token contains an error code. + + + + + Default error name - used when unknown error code was used. + + + + + Dictionary that allows to get error code by error name. + + + + + Dictionary that allows to get error name by error code. + + + + + Error code. + + + + + Static constructor. Fills hashtables which allow to convert + error code to error string and vice versa. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Read-only. Size of the token. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to byte array. + + Array of bytes representing this token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + This token contains an IEEE floating-point number. + + + + + Floating-point value. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Constructs token by double value. + + Double value. + + + + Read-only. Size of the token. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + Represents current number info. + String representation of this token. + + + + Converts token to byte array. + + Array of bytes representing this token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Gets or sets the value that is represented by the token. + + + + + This class represents an integer token in formula. + + + + + Contains an unsigned 16-bit integer value in the range from 0 to 65535. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Constructs token by integer value. + + Integer value that will be placed into token. + + + + Read-only. Size of the token. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to array of bytes. + + Array of bytes corresponding to the token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Get or sets the value contained by this token. + + + + + Summary description for MemAreaPtg. + + + + + Size of the one rectangle data. + + + + + Size of the header block. + + + + + Reserved. + + + + + The length of the reference subexpression. + + + + + Subexpression. + + + + + + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Size of the ptg token. Read-only. + + + + + Converts token to byte array. + + Array of bytes representing this token. + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Extracts additional data. + + Object that provides access to the data. + Offset to the additional data. + Offset after extracting all required data. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Returns the reference subexpression. Read-only. + + + + + Returns size of the additional data. Read-only. + + + + + Not fully implemented because of lack of documentation. + + + + + Size of the token. + + + + + Token data. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to the array of bytes. + + + + + + Read-only. Size of the token. + + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Not fully implemented because of lack of documentation. + + + + + Size of the token. + + + + + The length of the reference subexpression. + + + + + Token data. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Create new instance of MemFuncPtg. + + Size of new instance. + + + + Read-only. Size of the token. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to the array of bytes. + + + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + A missing argument in a function argument list that is stored as a tMissArg token. + This token does not contain any additional data. + + + + + Default constructor + + + + + Read-only. Size of the token. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + This token contains the one-based index to a NAME record. + + + + + One-based Index of ExternNameRecord. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Creates token by name index. + + Name index. + + + + Read-only. Size of the token. + + + + + Converts token to string. + + String representation of the token. + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to array of bytes. + + Array of bytes representing this token. + + + + Returns token code by index. + + Index of the token code. + Required token code. + + When index is less than 1 or greater than 3. + + + + + Returns range represented by the token that implements this interface. + + Workbook that contains range. + Parent sheet. + Range represented by the token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Gets / sets one-based index of ExternNameRecord. + + + + + This token contains the index to a NAME or EXTERNNAME record. It occurs by using + internal or external names, add-in functions, DDE links, or linked OLE objects. + + + + + Index to a REF entry in an EXTERNSHEET record in the Link Table. + + + + + One-based index to a NAME record or EXTERNNAME record. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Creates new instance of NameX token by extern workbook index and name index in the workbook. + + Zero-based book index. + Zero-based name index. + + + + Read-only. Size of the record. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Calls ToString method of the base (not 3d) class. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to array of bytes. + + Array of bytes corresponding to the token. + + + + Returns token code by index + + Index of the token code. + Required token code. + + When index is less than 1 or greater than 3. + + + + + Returns range represented by the token that implements this interface. + + Workbook that contains range. + Parent worksheet + Range represented by the token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Gets / sets one-based index of ExternNameRecord or NameRecord. + + + + + Gets / sets index to REF entry in EXTERNSHEET record in the Link Table. + + + + + Parentheses. This token is for display purposes only, it does not affect the result + of the token array. If it follows an operator, the parentheses will enclose + the operator and its operand(s), which is the result of the enclosed + operation. This operator does not modify the token class of its operand. + + + + + This class represents all unary operations. + + + + + Contains all token attributes. + + + + + Dictionary that allows to get token code by unary operation name. + + + + + Static constructor. Fills hashtable that allows us to get + token code by token string. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Constructs unary operation token by its string representation. + + + String representation of the operation that will be created. + + + + + Read-only. Size of the token. + + + + + Takes all needed operands from the stack and pushes the result of the operation. + + Object used for formula parsing. + + Stack that contains all operands and will receive the result of the operation. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Array of all token attributes applied to the object. + This property is used to increase performance. + + + + + Contains all token attributes. + + + + + Static constructor. + + + + + Default constructor + + + + + Creates token by string representation. + + String should be equal to "(". + + When strFormula is not equal to "(". + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Gets all needed operands from the Stack parameter and pushes result into the Stack. + + Object used for formula parsing. + + Stack that contains all operands and will receive operation result as string. + + + + + Returns all TokenAttributes applied to the token. Read-only. + + + + + This token contains a 3D reference or an external reference to a cell. + + + + + Index to a REF entry in an EXTERNSHEET record in the Link Table. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Creates token. + + Sheet reference. + Row index. + Column index. + Options. + + + + Read-only. Size of the record. + + + + + Converts token to the string. + + String representation of the token. + + + + Converts token to the array of bytes. + + Array of bytes that represents this token. + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Calls ToString method of the base (not 3d) class. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + + + + + + + + + + + Parent workbook. + + + + + Converts token code to index (inverse operation to IndexToCode). + + Reference index. + + + + Gets corresponding error code. + + Corresponding error code. + + + + Returns referenced worksheet name. + + Parent workbook. + Sheet reference index + Referenced worksheet name. + + + + Returns token code by index. + + Index of the token code. + Required token code. + + When index is less than 1 or greater than 3. + + + + + Converts token code to index (inverse operation to IndexToCode). + + Token code (should be one of tRef1, tRef2, tRef3). + Reference index. + + + + Returns range represented by the token that implements this interface. + + Workbook that contains range. + Worksheet that contains range. + Range represented by the token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + + + + + + This token contains the last 3D reference or external reference to a cell in a + deleted row or column. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Converts token to string. + + String representation of this token. + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + + + + + + + + + + + Parent workbook. + + + + + Returns token code by index. + + Index of the token code. + Required token code. + + When index is less than 1 or greater than 3. + + + + + Returns range represented by the token that implements this interface. + + Workbook that contains range. + Worksheet that contains range. + Range represented by the token. + + + + This token contains the last reference to a deleted cell in the same sheet. + + + + + + + + + + Static constructor. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Converts token to a string. + + String representation of this token. + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + + + + + + + + + + + Parent workbook. + + + + + Converts reference index to token code. + + Reference index. + Token code. + + + + Converts tokens from regular formula into tokens from shared formula. + + Parent workbook. + Represents first row from cells range of shared formula.Zero-base. + Represents first column from cells range of shared formula.Zero-based. + New token for shared formula. + + + + Returns range represented by the token that implements this interface. + + Workbook that contains range. + Worksheet that contains range. + Range represented by the token. + + + + This token contains the reference to a cell in the same sheet. It stores relative + components as signed offsets and is used in shared formulas, conditional formatting, + and data validity. + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Converts token from shared formula into token from regular formula. + + Parent workbook. + Row index. + Column index. + New token for regular formula. + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts current token to the 3D token. + + Reference to the worksheet. + Created token. + + + + Converts token code to index (inverse operation to IndexToCode). + + Token code (should be one of tRefN1, tRefN2, tRefN3). + Reference index. + + + + Converts reference index to token code. + + Reference index. + Token code. + + + + This token contains a string constant. + The maximum length of the string is 255 characters in BIFF8. + + + + + String value. + + + + + 1 - 2 bytes per character, 0 - 1 byte per character (compressed unicode). + + + + + Default constructor. To prevent user from creating a token without + parameters and to allow descendants do this. + + + + + Constructs token by string value. + + Value that will contain this token. + + + + Read-only. Size of the token. + + + + + Converts token to a string. + + Formula util. + Zero-based row index of the cell that contains this token. + Zero-based row index of the cell that contains this token. + Indicates whether R1C1 notation should be used. + String representation of this token. + + + + Converts token to array of bytes. + + Array of bytes that correspond to the token. + + + + Infill PTG structure. + + Represents storage. + Offset in storage. + Excel version that was used to infill data provider. + + + + Gets or sets the value of this token (its string constant). + + + + + Summary description for _FormulaConstants. + + + + + + + + + + Represents the tAdd binary token. + + + + + Represents the tSub binary token. + + + + + Represents the tMul binary token. + + + + + Represents the tDiv binary token. + + + + + Represents the tPower binary token. + + + + + Represents the tConcat binary token. + + + + + Represents the tLessThan binary token. + + + + + Represents the tLessEqual binary token. + + + + + Represents the tEqual binary token. + + + + + Represents the tGreaterEqual binary token. + + + + + Represents the tGreater binary token. + + + + + Represents the tNotEqual binary token. + + + + + Represents the tCellRangeIntersection binary token. + + + + + Represents the tCellRangeList binary token. + + + + + Represents the tCellRange binary token. + + + + + Represents the tUnaryPlus unary token. + + + + + Represents the tUnaryMinus unary token. + + + + + Represents the tPercent unary token. + + + + + Represents the tParentheses unary token. + + + + + Represents the tFunction1 function token. + + + + + Represents the tFunction2 function token. + + + + + Represents the tFunction3 function token. + + + + + Represents the tFunctionVar1 function token. + + + + + Represents the tFunctionVar2 function token. + + + + + Represents the tFunctionVar3 function token. + + + + + Represents the tFunctionCE1 function token. + + + + + Represents the tFunctionCE2 function token. + + + + + Represents the tFunctionCE3 function token. + + + + + Represents the tMissingArgument constant token. + + + + + Represents the tStringConstant constant token. + + + + + Represents the tError constant token. + + + + + Represents the tBoolean constant token. + + + + + Represents the tInteger constant token. + + + + + Represents the tNumber constant token. + + + + + Represents the tExp control token. + + + + + Represents the tTbl control token. + + + + + Represents the tExtended control token. + + + + + Represents the tAttr control token. + + + + + Represents the tSheet control token. + + + + + Represents the tEndSheet control token. + + + + + Represents the tArray1 operand token. + + + + + Represents the tArray2 operand token. + + + + + Represents the tArray3 operand token. + + + + + Represents the tName1 operand token. + + + + + Represents the tName2 operand token. + + + + + Represents the tName3 operand token. + + + + + Represents the tRef1 operand token. + + + + + Represents the tRef2 operand token. + + + + + Represents the tRef3 operand token. + + + + + Represents the tArea1 operand token. + + + + + Represents the tArea2 operand token. + + + + + Represents the tArea3 operand token. + + + + + Represents the tMemArea1 operand token. + + + + + Represents the tMemArea2 operand token. + + + + + Represents the tMemArea3 operand token. + + + + + Represents the tMemErr1 operand token. + + + + + Represents the tMemErr2 operand token. + + + + + Represents the tMemErr3 operand token. + + + + + Represents the tMemNoMem1 operand token. + + + + + Represents the tMemNoMem2 operand token. + + + + + Represents the tMemNoMem3 operand token. + + + + + Represents the tMemFunc1 operand token. + + + + + Represents the tMemFunc2 operand token. + + + + + Represents the tMemFunc3 operand token. + + + + + Represents the tRefErr1 operand token. + + + + + Represents the tRefErr2 operand token. + + + + + Represents the tRefErr3 operand token. + + + + + Represents the tAreaErr1 operand token. + + + + + Represents the tAreaErr2 operand token. + + + + + Represents the tAreaErr3 operand token. + + + + + Represents the tRefN1 operand token. + + + + + Represents the tRefN2 operand token. + + + + + Represents the tRefN3 operand token. + + + + + Represents the tAreaN1 operand token. + + + + + Represents the tAreaN2 operand token. + + + + + Represents the tAreaN3 operand token. + + + + + Represents the tMemAreaN1 operand token. + + + + + Represents the tMemAreaN2 operand token. + + + + + Represents the tMemAreaN3 operand token. + + + + + Represents the tMemNoMemN1 operand token. + + + + + Represents the tMemNoMemN2 operand token. + + + + + Represents the tMemNoMemN3 operand token. + + + + + Represents the tNameX1 operand token. + + + + + Represents the tNameX2 operand token. + + + + + Represents the tNameX3 operand token. + + + + + Represents the tRef3d1 operand token. + + + + + Represents the tRef3d2 operand token. + + + + + Represents the tRef3d3 operand token. + + + + + Represents the tArea3d1 operand token. + + + + + Represents the tArea3d2 operand token. + + + + + Represents the tArea3d3 operand token. + + + + + Represents the tRefErr3d1 operand token. + + + + + Represents the tRefErr3d2 operand token. + + + + + Represents the tRefErr3d3 operand token. + + + + + Represents the tAreaErr3d1 operand token. + + + + + Represents the tAreaErr3d2 operand token. + + + + + Represents the tAreaErr3d3 operand token. + + + + + Indicates end of formula token. This token is used only for parser + internal purposes and shouldn't appear in the resulting formula. + + + + + Indicates closing parenthesis. This token is used only for parser + internal purposes and shouldn't appear in the resulting formula. + + + + + Indicates delimiter between arguments. This token is used only for parser + internal purpose and shouldn't appear in the resulting formula. + + + + + Indicates open bracket. This token is used only for parser + internal purpose and shouldn't appear in the resulting formula. + + + + + Indicates close bracket. This token is used only for parser + internal purpose and shouldn't appear in the resulting formula. + + + + + Indicates boolean value - true. This token is used only for parser + internal purpose and shouldn't appear in the resulting formula. + + + + + Indicates boolean value - false. This token is used only for parser + internal purpose and shouldn't appear in the resulting formula. + + + + + Indicates space token. This token is used only for parser + internal purpose and shouldn't appear in the resulting formula. + + + + + Indicates identifier token. This token can be range, named range, function call, etc. + This token is used only for parser internal purpose and shouldn't appear in the resulting formula. + + + + + Indicates identifier token that contains DDE link. + This token is used only for parser internal purpose and shouldn't appear in the resulting formula. + + + + + Indicates 3D identifier token. This token can be range, named range. + This token is used only for parser internal purpose and shouldn't appear in the resulting formula. + + + + + Represents the operation type. + + + + + Represents the TYPE_UNARY operation type. + + + + + Represents the TYPE_BINARY operation type. + + + + + Represents the TYPE_FUNCTION operation type. + + + + + + + + + + None priority. + + + + + Logical equality priority. + + + + + Concatenation priority. + + + + + Plus and minus operation priority. + + + + + Multiplication and divide operations priority. + + + + + Priority of the power operation. + + + + + Unary operation priority (-,+,%). + + + + + Cell Range operator (:). + + + + + Attribute provides link information between formula token and + formula token class. + + + + + Type of the formula token. + + + + + String representation of the operation (if this is attribute for + operation), otherwise string.Empty. + + + + + True if operation symbol should be placed after operand + (only for unary operands). + + + + + Creates token attribute by Formula code. + + Code of the token that will be created. + + + + Creates token attribute by formula code and operation sign. + + Token code. + String representation of the operation. + + + + Creates token attribute by formula code, operation sign, and position of + placement (before the False or after the True operand - this is only for unary operations, + default value is False). + + Code of the operation. + String representation of the operation. + True if operation is placed after operands; False if before. + + + + Read-only. Type of the formula token. + + + + + Read-only. String representation of the operation (if this is attribute for + operation); otherwise string.Empty. + + + + + Read-only. True if operation symbol should be placed after operand + (only for unary operands). + + + + + There can be multiple token codes that correspond to one class, + i.e. tRef1, tRef2, tRef3 correspond to class RefPtg. + This attribute is used to help FormulaUtil choose the token code to use. + + + + + Index of the reference type (for tokens that can have several types). + + + + + Array of indexes, first correspond to first parameter, + second for the second parameter and so on. + + + + + Expected token type. + + + + + Creates attribute that describes the function that has + the same token index index for all arguments. + + Index of the token. + + + + Creates attribute for function with specified token indexes order. + First member of the array corresponds to the first argument of the function, + second member for the second argument and so on. + + Array of token indexes. + + + + Creates attribute for specified token type with specified token indexes. + + Target token class. + Array of token indexes. + + + + Creates attribute for specified token type with specified token indexes. + + Target token class. + Token index for all function parameters. + + + + Returns index of the reference. + + + + + Returns token index for the specified argument number. + + + + + Target token class + + + + + This attribute describes error code. Used for converting error messages from + and to string. + + + + + String that represents error. + + + + + Code of the error. + + + + + Creates attribute for error with specified string value and error code. + + String representation of the error. + Error code. + + + + + + + + + + + + + + This structure specifies a future record type header. + + + + + Type of the following data: + + + + + Option Attribute Flags + + + + + Type of the following data: + + + + + This record specifies if the option to print sheet grid lines + (PrintGridlinesRecord) has ever been changed. + + + + + Correct size of the record. + + + + + Flag denoting whether the user has modified the grid lines. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Evaluates size of the required storage space. + + Size of the required storage space. + + + + This flag specifies if the option to print sheet grid lines + (PrintGridlinesRecord) has ever been changed. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Contains information about the layout of outline symbols. + + + + + Width of the area to display row outlines (left of the sheet), in pixels. + + + + + Height of the area to display column outlines (above the sheet), in pixels. + + + + + Number of visible row outline levels (used row levels + 1; + or 0, if not used). + + + + + Number of visible column outline levels (used column levels + 1; + or 0, if not used). + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Width of the area to display row outlines (left of the sheet), in pixels. + + + + + Height of the area to display column outlines (above the sheet), in pixels. + + + + + Number of visible row outline levels (used row levels + 1; + or 0, if not used). + + + + + Number of visible column outline levels (used column levels + 1; + or 0, if not used). + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Summary description for HeaderFooterImageRecord. + + + + + Record header in workbook part. + + + + + Record header in worksheet part. + + + + + Record header in workbook when it is not first record + (when it is used instead of Continue record). + + + + + Data offset. + + + + + Excel 2003 record length + + + + + Excel 2010 record length + + + + + Type of data in categories. + + + + + Type of data in categories. + + + + + Type of data in categories. + + + + + Type of data in categories. + + + + + Record databytes. + + + + + HeaderFooter Record Code + + + + + Default constructor, initializes all fields with default values. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Contains a list of explicit column page breaks. + + + + + Size of the fixed part. + + + + + Size of the subitem. + + + + + Size of the fixed part. + + + + + Number of page breaks. + + + + + Array of HorizontalPageBreaks. + + + + + Default constructor, sets all fields' default values. + + + + + Read / initialize constructor. + + Stream from which record data should be read. + Size of read item. + + If stream is not specified. + + + If stream does not support read or seek operations. + + + + + Reserved for record's internal data array. + + Amount of bytes for data array. + + If amount of bytes requested is less than zero. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + When data array does not fit to the page breaks array. + + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + + + + Size of the required storage space. Read-only. + + + + + Array of HorizontalPageBreaks. + + + + + Read-only. Minimum possible size of the record. + + + + + This class contains information about single page break. + + + + + The row of the break. + + + + + The starting column of the break. + + + + + The ending column of the break. + + + + + Default constructor + + + + + Constructs class instance and fills fields with values. + + Row of the break. + Starting column of the break. + Ending column of the break. + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of this instance. + + + + The row of the break. + + + + + The starting column of the break. + + + + + The ending column of the break. + + + + + Tells whether to iterate over formula calculations or not + (if a formula is dependent upon another formula's result) + (odd feature for something that can only have 32 elements in a formula). + + + + + Correct record size. + + + + + 0 = Iterations off; 1 = Iterations on + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + 0 = Iterations off; 1 = Iterations on + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + This record represents a cell that contains a string. + In BIFF8, it is replaced by the LABELSST record. + Nevertheless, Excel can import a LABEL record contained in a BIFF8 file. + + + + + This interface supports StringValue property. + + + + + Returns string value. Read-only. + + + + + Size of fixed part. 6 bytes - row, column and xf index, 2 bytes string len, 1 byte string type. + + + + + Label - Unicode string + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + Size of the required storage space. Read-only. + + + + + Label - Unicode string + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Returns string value. Read-only. + + + + + Value of the record. + + + + + Represents a cell that contains a string. + Refers to a string in the shared string table and is a column value. + + + + + Correct size of the record. + + + + + Index offset. + + + + + Index into SST record. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + Returns size of the required storage space. + + Excel version. + Size of the required storage space. + + + + Sets new index. + + Object that provides access to the data. + Offset to the start of the record data. + New SST index. + Excel version of the used data storage. + + + + Sets new index. + + Object that provides access to the data. + Offset to the start of the record data. + Excel version of the used data storage. + Index in the SST table. + + + + Index into SST record. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + + + + + + This record is part of the Page Settings block. + It contains the margin of the current worksheet. + + + + + Default value of top margin. + + + + + Correct record size. + + + + + It contains the top page margin of the current worksheet + (IEEE floating-point value). + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Size of the record data. + Offset in the buffer. + Excel version used for infill. + + + + Maximum change in iteration (IEEE floating-point value). + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's internal data array. + + + + + Contains all merged cell ranges of the current sheet. + Optional record defining a square area of cells to "merge" into one cell. + + + + + Maximum possible number of regions in the single MergeCells record. + + + + + Size of the fixed part. + + + + + Subitem size. + + + + + Number of ranges. + + + + + All merged cell ranges of the current sheet. + + + + + Default constructor + + + + + Read / initialize constructor. + + Stream from which record data should be read. + size of read item. + + If stream is not specified. + + + If stream does not support read or seek operations. + + + + + Reserved for record's internal data array. + + Amount of bytes for data array. + + If amount of bytes requested is less than zero. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Size of the record data. + Offset in the buffer. + Excel version used for infill. + + + + This method checks a record's internal data array for integrity. + + + If there is any internal error. + + + + + Size of the required storage space. Read-only. + + + + + Copies regions to the internal array. + + First region to copy. + Regions count. + Array with regions to copy. + + + + Returns number of ranges. + + + + + All merged cell ranges of the current sheet. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + This class contains information about the region of merged cells. + + + + + First row of the region. + + + + + Last row of the region. + + + + + First column of the region. + + + + + Last column of the region. + + + + + To prevent creation without parameters. + + + + + Creates copy of region. + + Region to copy. + + + + Creates region by specified first and last rows and first and last columns. + + First row of the region. + Last row of the region. + First column of the region. + Last row of the region. + + + + Converts region into Rectangle. + + Rectangle corresponding to this region. + + + + Creates a copy of the current object. + + A copy of the current object. + + + + Compares two merged regions. + + First region to compare. + Second region to compare. + + + + + Determines whether the specified object is equal to the current object. + + The object to compare with the current object. + True if the specified object is equal to the current object; otherwise, false. + + + + Serves as a hash function for a MergedRegion object. + + A hash code for the current object. + + + + Read-only. First row of the region. + + + + + Gets/sets last row of the region. + + + + + Read-only. First column of the region. + + + + + Gets/sets last column of the region. + + + + + Returns number of cells used by + + + + + This record contains a drawing object provided by the Microsoft + Office Drawing tool. + + + + + Default constructor fills all data with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + + + + + + + + + + + Sets length of the internal data. + + Length to set. + + + + Size of the required storage space. Read-only. + + + + + + + + + + + + + + + Summary description for ArrayWrapper. + + + + + Wrapped byte array. + + + + + Hash value. + + + + + Default constructor. To prevent user from creation without arguments. + + + + + Initializes new instance of the wrapper. + + Buffer to wrap. + + + + Determines whether the specified Object is equal to the current Object. + + The Object to compare with the current Object. + + True if the specified Object is equal to the current Object; otherwise, false. + + + + + Serves as a hash function for a particular type, suitable for use in + hashing algorithms and data structures like a hash table. + + A hash code for the current Object. + + + + Evaluates hash value. + + + + + Summary description for Attributes. + + + + + + + + + + Creates new instance. + + Type of new instance + + + + + + + + + Summary description for MsoBase. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dictionary key - Type of the MsoBase class, Value - its code. + + + + + Default constructor. + + + + + + + + + + + + + + + Fills internal data array. + + + + + Fills internal data array. + + Stream to write record data into. + Offset index. + List with breaks indexes in arrRecords. + List with records. + Returns array of bytes. + + + + Infills internal data array. + + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + Clone current instance. + + Parent object to create instance. + Returns cloned instance. + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of this instance. + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of this instance. + + + + Updates NextMsoDrawingData. + + + + + Extracts record from the stream. + + Stream to get data from. + + + + + + + + + Converts from fixed point integer value into double. + + Value to convert. + Converted double value. + + + + Writes Int32 value int stream. + + Stream to write value into. + Value to write. + + + + Writes UInt32 value int stream. + + Stream to write value into. + Value to write. + + + + Writes Int16 value int stream. + + Stream to write value into. + Value to write. + + + + Writes UInt16 value int stream. + + Stream to write value into. + Value to write. + + + + Reads Int32 value from stream. + + Stream to read value from. + Value extracted from the stream. + + + + Reads UInt32 value from stream. + + Stream to read value from. + Value extracted from the stream. + + + + Reads Int16 value from stream. + + Stream to read value from. + Value extracted from the stream. + + + + Reads UInt16 value from stream. + + Stream to read value from. + Value extracted from the stream. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns maximum record size. Read-only. + + + + + Summary description for MsoPicture. + + + + + Common interface for all records that contains picture. + + + + + Picture that is contained by the record. + + + + + Picture id. + + + + + Size of the bitmap header. + + + + + Number of used colors. + + + + + Size of each color definition in the palette. + + + + + To specify two UIDs. + + + + + To specify BlipPNG's two UIDs. + + + + + To specify BlipJPEG's two UIDs. + + + + + Dib identifier. ("BM"). + + + + + Reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Creates new instance of object. + + Parent object. + Stream to get data from. + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + + + + + + + + + + + + Clone current instance. + + Returns cloned instance. + + + + Creates image stream and fills it with necessary data. + + Stream to read image data from. + Offset to the image data. + + + + Indicates whether Art Blip contains Two Unique Id's. + + + + + + Returns number of used colors in the dib image. + + Number of used colors in the dib image. + + + + Evaluates hash value for the stored picture. + + + + + Adds bitmap header to stream. + + + + + + + + + + Gets or sets picture of that is contained in the record. + + + + + + + + + + + + + + + + + + + + Indicates whether this is dib bitmap. + + + + + Summary description for MsoContainerBase. + + + + + + + + + + Creates new instance of object. + + Parent object. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + Clone current instance. + + Returns cloned instance. + + + + Array of items. Read-only. + + + + + Internal list of items (to increase performance). Read-only. + + + + + Summary description for MsoFactory. + + + + + Represents new hashtable + key - code; value - mso record. + + + + + + + + + + Creates Mso record. + + Parent object. + Stream to get data from. + Returns new instance of Mso record. + + + + Create Mso Record. + + Parent object. + Type of created record. + Stream with record's data. + Returns new instance of MsoBase record. + + + + Creates Mso record. + + Parent object. + Stream to get data from. + Data getter. + Returns new instance of Mso record. + + + + Create Mso Record. + + Parent object. + Type of created record. + Stream to get data from. + Data getter. + Returns new instance of Mso Base. + + + + + + + + + + + + + + + + + + Registers all known mso record types inside internal collections. + + + + + Summary description for MsofbtSpgr. + + + + + Correct record size. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + + + + + + Size of the required storage space. Read-only. + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for MsofbtBSE. + + + + + + + + + + + + + + + + + + + + Required type on Win32. + + + + + Required type on Mac. + + + + + Blip size in stream. + + + + + Reference count on the blip. + + + + + File offset in the delay stream. + + + + + How this blip is used. + + + + + Length of the blip name. + + + + + For the future. + + + + + For the future. + + + + + + + + + + + + + + + Index of the record in the collection. + + + + + Path to the picture item (used in Excel 2007). + + + + + Creates new instance. + + Parent object. + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + + + + + + Clone current instance. + + Returns cloned instance. + + + + + + + + + + + Required type on Win32. + + + + + Required type on Mac. + + + + + + + + + + Blip size in stream. + + + + + Reference count on the blip. + + + + + File offset in the delay stream. + + + + + How this blip is used. + + + + + Length of the blip name. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets / sets index of the bse in the collection. + + + + + Gets / sets path to the picture zip item. Used in Excel 2007 format. + + + + + Summary description for MsofbtBstoreContainer. + + + + + Default version of container. + + + + + Default instance of container. + + + + + + + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + Summary description for MsofbtSpgr. + + + + + Correct record size. + + + + + + + + + + + + + + + + + + + + + + + + + Creates new instance. + + Parent object. + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for MsofbtClientAnchor. + + + + + Mask for column / row index. + + + + + Mask for offset index. + + + + + + + + + + Length for short data. + + + + + Correct record size. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates whether it is short version of client anchor. Used in headers/footers. + + + + + Zero-based top row index. + + + + + Top row offset. + + + + + Zero-based bottom row index. + + + + + Bottom row offset. + + + + + Indicates whether this anchor is oneCellAnchor (used in Excel 2007 format). + + + + + + + + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + + + + + + Size of the required storage space. Read-only. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates whether it is short version of client anchor. Used in headers/footers. + + + + + Indicates whether parent shape should be stored as oneCellAnchor or not. + Default value false. + + + + + Summary description for MsofbtSpgr. + + + + + + + + + + Creates new object. + + Parent object. + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + + + + + + Clone current instance. + + Returns cloned instance. + + + + Updates NextMsoDrawingData. + + + + + Adds single record to the AdditionalData array. + + Record to add. + + + + Adds range of records to the AdditionalData array. + + Collection to add. + + + + Adds range of records to the AdditionalData array. + + Collection to add. + + + + + + + + + + + + + + Summary description for MsofbtSpgr. + + + + + + + + + + + + + + + + + + Creates new object. + + Parent object. + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + + + + + + Clone current instance. + + Returns cloned instance. + + + + Updates NextMsoDrawingData. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for MsofbtDg. + + + + + Default instance. + + + + + Correct record size. + + + + + The number of shapes in this drawing. + + + + + The last MSOSPID given to an SP in this Drawing Group. + + + + + Creates new object. + + Parent object. + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + + + + + + Size of the required storage space. Read-only. + + + + + The number of shapes in this drawing. + + + + + The last MSOSPID given to an SP in this Drawing Group. + + + + + Summary description for MsofbtDgContainer. + + + + + Default container version. + + + + + Creates new object. + + Parent object. + + + + Represents MsofbtDgg in MsoDrawing. + + + + + Default offset to the array. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Creates new object. + + Parent object. + + + + Parse Structure of record. Convert Data buffer to special + values according to record specification. + + + + + In this method, the class must pack all of it's properties into + an internal Data array: m_data. This method is called by + FillStream, when the record must be serialized into stream. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + Clone current instance. + + Returns cloned instance. + + + + Adds cluster. + + Group id. + Number. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cluster Id. + + + + + Size of the record. + + + + + DG owning the SPIDs in this cluster. + + + + + Number of SPIDs used so far. + + + + + + + + + + + + + + + + + + + + + + + + + Converts record to the bytes array. + + Array of bytes with record's data. + + + + + + + + + + Clone current instance. + + Return shallow copy of current instance. + + + + DG owning the SPIDs in this cluster. + + + + + Number of SPIDs used so far. + + + + + Record's size. + + + + + Summary description for MsofbtDggContainer. + + + + + Default container version. + + + + + Creates new object. + + Parent object. + + + + Summary description for MsofbtOPT. + + + + + Minimum option index. + + + + + List with shape properties. + + + + + Creates new object. + + Parent object. + + + + + + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + Clone current instance. + + Returns cloned instance. + + + + Clone current instance. + + Returns cloned instance. + + + + + + + + + + + + + + + + + + Option to set + + + + Replaces option with specified value. + + Option to set. + + + + Searches for option in the record. + + Option to find. + Index of the option. + + + + Removes some option by index. + + Index of option to remove. + + + + Returns index of option index. + + + + + + + Array with shape properties. Read-only. + + + + + Returns singe option from the collection. Read-only. + + + + + Gets property list with all properties. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Property ID. + + + + + Value is a blip ID � only valid if fComplex is FALSE. + + + + + Complex property, value is length. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clone current instance. + + Return Clone of current object. + + + + Property ID. + + + + + Value is a blip ID � only valid if fComplex is FALSE. + + + + + Complex property, value is length. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for MsofbtSpgr. + + + + + + + + + + Creates new object. + + Parent object. + + + + + + + + + + Summary description for MsofbtSp. + + + + + Default record version. + + + + + Record size. + + + + + + + + + + + + + + + This shape is a GroupShape. + + + + + Not a top-level shape. + + + + + This is the topmost GroupShape. Exactly one of these per drawing. + + + + + The shape has been deleted. + + + + + The shape is an OLE object. + + + + + Shape has a hspMaster property. + + + + + Shape is flipped horizontally. + + + + + Shape is flipped vertically. + + + + + Connector type of shape. + + + + + Shape has an anchor of some kind. + + + + + Background shape. + + + + + Shape has a shape type property. + + + + + Creates new object. + + Parent object. + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + + + + + + Size of the required storage space. Read-only. + + + + + + + + + + + + + + + This shape is a GroupShape. + + + + + Not a top-level shape. + + + + + This is the topmost GroupShape. Exactly one of these per drawing. + + + + + The shape has been deleted. + + + + + The shape is an OLE object. + + + + + Shape has a hspMaster property. + + + + + Shape is flipped horizontally. + + + + + Shape is flipped vertically. + + + + + Connector type of shape. + + + + + Shape has an anchor of some kind. + + + + + Background shape. + + + + + Shape has a shape type property. + + + + + Summary description for MsofbtSpgrContainer. + + + + + Default version of container. + + + + + Creates new object. + + Parent object. + + + + Summary description for MsofbtSpgr. + + + + + Default record version. + + + + + Correct record size. + + + + + + + + + + + + + + + + + + + + + + + + + Creates new object. + + Parent object. + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary description for MsofbtSpgrContainer. + + + + + Default container version. + + + + + Creates new object. + + Parent object. + + + + Summary description for MsofbtSplitMenuColors. + + + + + Correct record size. + + + + + + + + + + + + + + + + + + + + + + + + + Creates new object. + + Parent object. + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents metafile picture in the workbook. + + + + + Default buffer size. + + + + + Offset to UID. + + + + + Offset to metafile size. + + + + + Offset to compressed size. + + + + + To specify BlipEMF's two UIDs. + + + + + To specify BlipWMF's two UIDs. + + + + + To specify BlipPICT's two UIDs. + + + + + To specify BlipTIFF's two UIDs. + + + + + Memory stream with picture data. + + + + + Array with compressed picture. + + + + + UID of the picture. + + + + + Primary UID. + + + + + Cache of the metafile size. + + + + + Boundary of metafile drawing commands. + + + + + Size of metafile in EMUs. + + + + + Cache of saved size (size of m_pvBits). + + + + + Compression type. + + + + + Applied filter. + + + + + Inner picture. + + + + + Creates new instance of the picture. + + Parent record. + + + + Creates new object. + + Parent object. + Stream to get data from. + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + Parses structure. + + + + + Indicates whether Art Blip contains Two Unique Id's. + + + + + + Loads primary UID. + + Stream to get primary UID from if necessary. + Offset after reading primary uid. + + + + Saves metafile into MemoryStream. + + Picture to serialize. + Memory stream with metafile data. + + + + Converts GraphicsUnit into MetafileFrameUnit. + + Value to convert. + Converted value. + + + + Compresses metafile picture. + + Stream with metafile. + Offset to the metafile. + Compressed picture. + + + + Clone current instance. + + Returns cloned instance. + + + + Frees all unmanaged resources. + + + + + Destructor. + + + + + Picture. + + + + + + + + + + Summary description for MsoUnknown. + + + + + Creates new object. + + Parent object. + + + + + + + + + Infills internal data array. + + Stream to serialize into. + Offset. + List with breaks indexes in arrRecords. + List with records. + + + + Indicates whether record needs internal data array or if it can be cleaned. + + + + + Summary description for _MsoEnums. + + + + + Represents the msofbtDggContainer MsoRecord type. + + + + + Represents the Dgg type. + + + + + Represents the CLSID type. + + + + + Represents the OPT type. + + + + + Represents the ColorMRU type. + + + + + Represents the SplitMenuColors type. + + + + + Represents the BstoreContainer type. + + + + + Represents the BSE type. + + + + + Represents the DgContainer type. + + + + + Represents the Dg type. + + + + + Represents the RegroupItems type. + + + + + Represents the ColorScheme type. + + + + + Represents the SpgrContainer type. + + + + + Represents the SpContainer type. + + + + + Represents the Spgr type. + + + + + Represents the Sp type. + + + + + Represents the Textbox type. + + + + + Represents the ClientTextbox type. + + + + + Represents the Anchor type. + + + + + Represents the ChildAnchor type. + + + + + Represents the ClientAnchor type. + + + + + Represents the ClientData type. + + + + + Represents the OleObject type. + + + + + Represents the DeletedPspl type. + + + + + Represents the SolverContainer type. + + + + + Represents the ConnectorRule type. + + + + + Represents the AlignRule type. + + + + + Represents the ArcRule type. + + + + + Represents the ClientRule type. + + + + + Represents the CalloutRule type. + + + + + Represents the Selection type. + + + + + Represents the Unknown type. + + + + + Represents the MsoBlipUsage options. + + + + + Represents the Default option. + + + + + Represents the Texture option. + + + + + Represents the UsageMax option. + + + + + Represents the MsoBlipType options. + + + + + Represents the ERROR option. + + + + + Represents the UNKNOWN option. + + + + + Represents the EMF option. + + + + + Represents the WMF option. + + + + + Represents the PICT option. + + + + + Represents the JPEG option. + + + + + Represents the PNG option. + + + + + Represents the DIB option. + + + + + Represents the FirstClient option. + + + + + Represents the LastClient option. + + + + + Represents the MsoBlipCompression options. + + + + + Represents the Deflate option. + + + + + Represents the None option. + + + + + Represents the Test option. + + + + + Represents the MsoBlipFilter options. + + + + + Represents the Adaptive option. + + + + + Represents the None option. + + + + + Represents the Test option. + + + + + Represents the Mso options. + + + + + Do not group this shape. + + + + + Represents the TextId options. + + + + + Represents the wrap text options . + + + + + Represents the TextDirection options. + + + + + Represents the SizeTextToFitShape options. + + + + + Represents the BlipId options. + + + + + Represents the BlipName options. + + + + + Represents fill type. + + + + + Represents the location of the top of the crop rectangle + + + + + Represents the location of the bottom of the crop rectangle. + + + + + Represents the location of the left side of the crop rectangle. + + + + + Represents the location of the right side of the crop rectangle. + + + + + Host-defined ID for OLE objects (usually a pointer). + + + + + Represents the ForeColor options. + + + + + Represents the transparency. + + + + + Represents the BackColor options. + + + + + Represents the gradient transparency options. + + + + + Represents shape pattern. + + + + + Represents shape pattern, texture name. + + + + + Represents shape gradient shading style. + + + + + Represents shape gradient shading variants. + + + + + Represents first record for shape gradient shading style. + + + + + Represents second record for shape gradient shading style. + + + + + Represents third record for shape gradient shading style. + + + + + Represents fourth record for shape gradient shading style. + + + + + Represents preset gradient data. + + + + + Represents gradient color type. + + + + + Hit test a shape as though filled. + + + + + Line color. + + + + + Line color. + + + + + Line Weight. + + + + + Line color. + + + + + Contain line pattern. + + + + + Line pattern. + + + + + Line style + + + + + Line dash style + + + + + Line start arrow. + + + + + Line end arrow. + + + + + Start arrow width. + + + + + Start arrow len. + + + + + End arrow width. + + + + + End arrow len. + + + + + Represents if dot value is round. + + + + + Represents the NoLineDrawDash options. + + + + + Represents the ForeShadowColor options. + + + + + Excel5-style shadow. + + + + + Name of the shape (only if explicitly set). + + + + + Alternative text. + + + + + Represents in comment shape show always property. + + + + + Represents a range of empty cells. All cells are located in the same row. + + + + + + + + + + Returns size of the subrecord if it was placed as separate record (including BiffRecord header). Read-only. + + + + + Inserts cell inside this record. + + Cell to insert. + + + + Removes information about specified column from the record and splits record into two. + \ + Zero-based index of the column to remove. + Split records. + + + + Splits record into subrecords. + + Indicates whether styles must be ignored. + Array with all subrecords. + + + + Zero-based index of the first column. + + + + + Zero-based index of the last column. + + + + + Returns size of the sub record. Read-only. + + + + + Returns type of the subrecord. Read-only. + + + + + Size of the fixed part. + + + + + Minimum record size. + + + + + Size of the subitem. + + + + + List of 16-bit indexes to XF records. + + + + + Index to last column. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + This method checks the record's internal data array for integrity. + + If there is any internal error. + + + + Creates BlankRecord corresponding to the specified column. + + Column index. + Corresponding BlankRecord. + + + + Returns size of the required storage space. + + Excel version. + Size of the required storage space. + + + + Increases last column of the record. + + Object that provides access to the data. + Offset to the record start (record code). + Record data length. + Value that must be added to the column width. + Excel version used to fill data. + + + + Returns size of the subrecord if it was placed as separate record (including BiffRecord header). Read-only. + + + + + Inserts cell inside this record. + + Cell to insert. + + + + Removes information about specified column from the record and splits record into two. + + Zero-based index of the column to remove. + Splitted records. + + + + Creates record based in the information from this record. + + The first column index in the resulting record. + The last column index in the resulting record. + Created record. + + + + Creates blank record with specified column index. + + Zero-based column index of the created record. + Created record. + + + + Splits record into subrecords. + + Indicates whether styles must be ignored. + Array with all subrecords. + + + + Index to first column. + + + + + List of 16-bit indexes to XF records. + + + + + Index to last column. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Returns size of the subrecord. Read-only. + + + + + Returns type of the subrecord. Read-only. + + + + + Represents a cell range containing RK value cells. + All cells are located in the same row. + + + + + Size of the fixed part. + + + + + Size of the subitem. + + + + + List of RkRec structures. + + + + + Index to last column. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + Returns size of the required storage space. + + Excel version. + Size of the required storage space. + + + + Returns size of the subrecord if it was placed as separate record (including BiffRecord header). Read-only. + + + + + Inserts cell inside this record. + + Cell to insert. + + + + Merges this and specified records. + + Record to merge with. + + + + + + + + + + Creates subrecord corresponding to the specified record. + + + + + + + Removes information about specified column from the record and splits record into two. + + Zero-based index of the column to remove. + Splitted records. + + + + Creates record based in the information from this record. + + The first column index in the resulting record. + The last column index in the resulting record. + Created record. + + + + Creates blank record with specified column index. + + Zero-based column index of the created record. + Created record. + + + + Splits record into subrecords. + + Indicates whether styles must be ignored. + Array with all subrecords. + + + + Index to the first column. + + + + + Index to last column. + + + + + List of RkRec structures. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Returns size of the subrecord. Read-only. + + + + + Returns type of the subrecord. Read-only. + + + + + Contains information about single RK entry in MulRKRecord. + + + + + Index of ExtendedFormat of the RK entry. + + + + + RK number of the RK entry. + + + + + Default constructor. To prevent user creating class + instance without parameters. + + + + + Constructs RkRec and sets its ExtendedFormat and Rk number values. + + Value of ExtendedFormat index. + Value of RkNumber. + + + + Index of ExtendedFormatRecord for this Rk number. + + + + + Read-only. 32-bit value contained by the record. + + + + + Read-only. Returns double value stored as Rk. + + + + + The begin record defines the start of a block of records for a (Graphing) + data object. This record is matched with a corresponding EndRecord. + + + + + Bit mask of the Function group. + + + + + Size of the fixed part. + + + + + Predefined names: + + + + + Option flags. + + + + + True if name is hidden. + + + + + True if name is a function. + + + + + True if name is a command. + + + + + True if function macro or command macro. + + + + + True if complex function (array formula or user defined). + + + + + True if built-in name. + + + + + True if name contains binary data. + + + + + Keyboard shortcut. + + + + + Length of the name. + + + + + Size of the formula data. + + + + + Reserved. + + + + + 0 if global name; otherwise index to sheet (one-based). + + + + + Length of menu text. + + + + + Length of description text. + + + + + Length of help topic text. + + + + + Length of status bar text. + + + + + Name (Unicode string without length field). + + + + + Formula data (RPN token array without size field). + + + + + Optional. Menu text (Unicode string without length field). + + + + + Optional. Description text (Unicode string without length field). + + + + + Optional. Help topic text (Unicode string without length field). + + + + + Optional. Status bar text (Unicode string without length field). + + + + + Parsed formula expression. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Infill fixed part of the record. + + Object that provides access to the data. + Starting offset. + + + + Infill fixed part of the record. + + Object that provides access to the data. + Offset to the fixed part data. + + + + Size of the required storage space. Read-only. + + + + + Determines number of bytes needed to store string without length field. + + Value to measure. + Number of bytes needed to store string without length field. + + + + Method checks name of NameRecord and determines whether it is a default or not. + + Name to check. + True if name is Predefined name; otherwise False. + + + + Looks for name in the predefined names table. + + Value to look for. + Index in the predefined names array. + + + + + + + + + + True if name is hidden. + + + + + True if name is a function. + + + + + True if built-in name. + + + + + 0 if global name; otherwise index to sheet (one-based). + + + + + Name (Unicode string without length field). + + + + + Formula data (RPN token array without size field). + + + + + Read-only. Minimum possible size of the record. + + + + + The NOTE record specifies a comment associated with a particular cell. + + + + + Size of the fixed part of the record. + + + + + Row of the comment. + + + + + Column of the comment. + + + + + Options flag. + + + + + Whether the comment is visible. + + + + + Object ID for OBJ record that contains the comment. + + + + + Length of the name of the original comment author. + + + + + Name of the original comment author. + + + + + Default constructor fills all data with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Size of the required storage space. Read-only. + + + + + Index to row. + + + + + Index to column. + + + + + Object ID for OBJ record that contains the comment. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Represents a cell that contains a floating-point value. + + + + + Correct record size. + + + + + IEEE floating-point value. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + Returns size of the required storage space. + + Excel version. + Size of the required storage space. + + + + Reads record's value from the data provider. + + Provider to read data from. + Offset to the record's start. + Excel version that was used to infill. + Record's value. + + + + IEEE floating-point value. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + + + + + + Returns double value. Read-only. + + + + + Value of the record. + + + + + This record is part of the worksheet / workbook protection. It determines whether + the objects of the current sheet are protected. Object protection is not active + if this record is omitted. + + + + + Default record size. + + + + + 0 = Objects not protected; 1 = Objects protected + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + 0 = Objects not protected; 1 = Objects protected + + + + + Read-only. Minimum possible size of the record. + + + + + Read-only. Maximum possible size of the record. + + + + + The OBJ record contains a partial description of a drawing object + and the MSODRAWING, MSODRAWINGGROUP, and MSODRAWINGSELECTION records contain + the remaining drawing object data. + + + + + Array that contain all subrecords. + + + + + Default constructor fills all data with default values. + + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Searches for the subrecord of the specified type. + + Record type to search for. + Found subrecord or null if not found. + + + + Searches for the index of the subrecord with the specified type. + + Record type to search for. + Index of the found subrecord or -1 if not found. + + + + Read-only. Returns array of subrecords. + + + + + Indicates whether this record needs a data array after parsing + is complete. Read-only. + + + + + To store an OBJ record in BIFF8, Microsoft Excel writes a collection + of sub-records. The structure of a sub-record is identical to the + structure of a BIFF record. Each sub-record begins with a 2-byte + ID number ft (see the following table). Next a 2-byte length field, + cb, specifies the length of the sub-record data field. The sub-record + data field follows the length field. The first sub-record is always + ftCmo (common object data) and the last sub-record is always ftEnd. + + + + + Represents the ftEnd subrecord type. + + + + + Represents the Reserved0 subrecord type. + + + + + Represents the Reserved1 subrecord type. + + + + + Represents the Reserved2 subrecord type. + + + + + Represents the ftMacro subrecord type. + + + + + Represents the ftButton subrecord type. + + + + + Represents the ftGmo subrecord type. + + + + + Represents the ftCf subrecord type. + + + + + Represents the ftPioGrbit subrecord type. + + + + + Represents the ftPictFmla subrecord type. + + + + + Represents the ftCbls subrecord type. + + + + + Represents the ftRbo subrecord type. + + + + + Represents the ftSbs subrecord type. + + + + + Represents the ftNts subrecord type. + + + + + Represents the ftSbsFmla subrecord type. + + + + + Represents the ftGboData subrecord type. + + + + + Represents the ftEdoData subrecord type. + + + + + Represents the ftRboData subrecord type. + + + + + Represents the ftCblsData subrecord type. + + + + + Represents the ftLbsData subrecord type. + + + + + Represents the ftCblsFmla subrecord type. + + + + + Represents the ftCmo subrecord type. + + + + + Possible object types: + + + + + Represents the otGroup object type. + + + + + Represents the otLine object type. + + + + + Represents the otRectangle object type. + + + + + Represents the otOval object type. + + + + + Represents the otArc object type. + + + + + Represents the otChart object type. + + + + + Represents the otText object type. + + + + + Represents the otButton object type. + + + + + Represents the otPicture object type. + + + + + Represents the otPolygon object type. + + + + + Represents the otReserved0 object type. + + + + + Represents the otCheckBox object type. + + + + + Represents the otOptionBtn object type. + + + + + Represents the otEditBox object type. + + + + + Represents the otLabel object type. + + + + + Represents the otDialogBox object type. + + + + + Represents the otSpinner object type. + + + + + Represents the otScrollBar object type. + + + + + Represents the otGroupBox object type. + + + + + Represents the otGroupBox object type. + + + + + Represents the otComboBox object type. + + + + + Represents the otReserved1 object type. + + + + + Represents the otReserved2 object type. + + + + + Represents the otReserved3 object type. + + + + + Represents the otReserved4 object type. + + + + + Represents the otComment object type. + + + + + Represents the otReserved5 object type. + + + + + Represents the otReserved6 object type. + + + + + Represents the otReserved7 object type. + + + + + Represents the otReserved8 object type. + + + + + Represents the otMSODrawing object type. + + + + + Common object data. + + + + + Base class for all obj subrecords. + + + + + Size of the header data. + + + + + Type of the subrecord. + + + + + Length of the subrecord's data. + + + + + Initializes new instance. + + Type of the subrecord. + + + + Initializes new instance. + + Type of the subrecord. + Length of the subrecord's data. + Array that contains subrecord's data. + + + + Parses byte array. + + Array to parse. + + + + Fills array with binary representation of the subrecord. + + Object that provides access to the data. + Offset in the buffer to copy data to. + + + + Serializes record's data. + + Provider to serialize into. + Offset to start serialization from. + + + + Size of the required storage space. Read-only. + + + + + Clones current objects. + + Returns instance of cloned object. + + + + Type of the subrecord. + + + + + Length of the subrecord's data. + + + + + Bit mask for ChangeColor property. + + + + + Type of the object. + + + + + Object's id. + + + + + Option flags. + + + + + Reserved. + + + + + Indicates that record length is zero. + + + + + Initialize new instance. + + Type of the subrecord. + Length of the subrecord's data. + Array that contains subrecord's data. + + + + Parses byte array. + + Array to parse. + + + + Fills array with binary representation of the subrecord. + + Object that provides access to the data. + Offset in the buffer to copy data to. + + + + Clones current objects. + + Returns instance of cloned object. + + + + Size of the required storage space. Read-only. + + + + + Indicates whether object is locked. + + + + + Indicates whether object is printable. + + + + + Indicates whether auto fill is turned on. + + + + + Indicates whether auto line option is turned on. + + + + + Indicates whether excel is allowed to change color of combo box (used in autofilters). + + + + + Object's ID. + + + + + Object type. + + + + + Reserved. + + + + + Returns record options. Read-only. + + + + + Formula tokens that identifies associated macro. + + + + + Default constructor. + + + + + Clones current objects. + + Returns instance of cloned object. + + + + Gets or sets formula tokens with associated macro. + + + + + + + + + + Correct record size. + + + + + Position of the vertical split (px, 0 = No vertical split). + Unfrozen pane: Width of the left pane(s) (in twips = 1/20 of a point). + Frozen pane: Number of visible columns in left pane(s). + + + + + Position of the horizontal split (py, 0 = No horizontal split). + Unfrozen pane: Height of the top pane(s) (in twips = 1/20 of a point). + Frozen pane: Number of visible rows in top pane(s). + + + + + Index to first visible row in bottom pane(s). + + + + + Index to first visible column in right pane(s). + + + + + Identifier of pane with active cell cursor (see below). The last field + specifying the active pane has a size of 1 byte in BIFF2-BIFF4 and 2 + bytes in BIFF5-BIFF8. The correct identifiers for all possible + combinations of visible panes are shown in the following pictures: + px=0, py=0 -> 3 + px=0, py>0 -> 3 + 2 + px>0, py=0 -> 3 1 + px>0, py>0 -> 3 1 + 2 0 + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Position of the vertical split (px, 0 = No vertical split). + Unfrozen pane: Width of the left pane(s) (in twips = 1/20 of a point). + Frozen pane: Number of visible columns in left pane(s). + + + + + Position of the horizontal split (py, 0 = No horizontal split). + Unfrozen pane: Height of the top pane(s) (in twips = 1/20 of a point). + Frozen pane: Number of visible rows in top pane(s). + + + + + Index to first visible row in bottom pane(s). + + + + + Index to first visible column in right pane(s). + + + + + Identifier of pane with active cell cursor (see below). The last field + specifying the active pane has a size of 1 byte in BIFF2-BIFF4 and 2 + bytes in BIFF5-BIFF8. The correct identifiers for all possible + combinations of visible panes are shown in the following pictures: + px=0, py=0 -> 3 + px=0, py>0 -> 3 + 2 + px>0, py=0 -> 3 1 + px>0, py>0 -> 3 1 + 2 0 + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Stores the encrypted password for a sheet or workbook. + + + + + 16-bit hash value of the password. + + + + + Default constructor. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + 16-bit hash value of the password. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Stores the (2 byte) encrypted password for a shared workbook. + + + + + Default record size. + + + + + Encrypted password for a shared workbook. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + This record saves printer settings and printer driver information. + + + + + Summary description for BiffRecordWithContinue. + + + + + Summary description for BiffRecordRawWithDataProvider. + + + + + Object that gives access to the record's data. + + + + + Default constructor. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, the class must pack all of its properties into + an internal Data array: m_data. This method is called by + FillStream, when the record must be serialized into stream. + + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Size of the record data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + + Gets string from internal record data using GetBytes. + + Offset of starting byte. + Length of the string. + Retrieved string. + + if Offset + iStrLen is out of data array + + + + + Gets string from internal record data using GetBytes. + + Offset of starting byte. + Length of the string. + Gets bytes count that this string occupies in the data array. + Retrieved string. + + + + Gets string from internal record data using GetBytes. + + Offset of starting byte. + Length of the string. + Gets bytes count that this string occupies in the data array. + Flag for is bytes count available. + Retrieved string. + + + + Detect type of string and extracts it. + + Record data offset. + Contain next position. + Number of elements in the continuePos collection. + Current index in the continuePos array. + Length of string record. + Array of rich formatting values. + Array of unknown FarEast data. + Extracted string. + + + + Sets byte in internal record data array values. + + Offset in internal record data array to start from. + Byte value to set. + + + + Sets ushort in internal record data array values. + + Offset in internal record data array to start from. + Value to set. + + + + Sets bytes in internal record data array values. + + Offset in internal record data array to start from. + Array of bytes to set. + Position in value array to the data that will be set. + Length of the data. + If value array is NULL. + + If pos or length would be less than zero or their sum would be more + than size of value array. + + + If internal record data array is too small for receiving value array + and AutoGrowData is False. + + + + + Sets bytes in internal record data array values. + + Offset in internal record data array to start from. + Array of bytes to set. + If value array is NULL. + + If pos or length would be less than zero or their sum would be more + than size of value array. + + + If internal record data array is too small for receiving value array + and AutoGrowData is False. + + + + + Sets string in internal record data array using SetBytes method + without string length. + + Offset to the string. + Value of the string. + Size of the string in bytes. + + + + Sets string in internal record data array using SetBytes method + without string length. + + Offset to the string. + Value of the string. + Indicates whether write compressed attribute for empty strings. + Size of the string in bytes. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Mask to get two bytes value. + + + + + Array that contains positions of data of the continue records + in the m_data array. + + + + + Size of the first record length. + + + + + Default constructor. + + + + + Creates copy of the current object. + + A copy of the current object. + + + + Type of the first continue record. Read-only. + + + + + Indicates whether we should add header of continue records to the internal data provider. Read-only. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + When string's length does not fit to internal data length or + when last string ends before data (some extra data at the + end of m_data array). + + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + + + + Creates copy of the current object. + + A copy of the current object. + + + + + + + + + Indicates whether we should add header of continue records to the internal data provider. Read-only. + + + + + Indicates whether record needs internal data array + or if it can be cleaned. Read-only. + + + + + Defines whether or not to print the gridlines when you + print your spreadsheet on paper. + + + + + Default record size. + + + + + Whether or not to print the gridline. + + + + + Default constructor. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. + + + + + Whether or not to print the gridline. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Stores print setup options. + + + + + Bit mask for error print options. + + + + + Start bit of error print options in m_usOptions. + + + + + Correct record size. + + + + + Paper size. + + + + + Scaling factor in percent. + + + + + Start page number. + + + + + Fit worksheet width to this number of pages (0 = use as many as needed). + + + + + Fit worksheet height to this number of pages (0 = use as many as needed). + + + + + Options flag. + + + + + False to print pages in columns; + True to print pages in rows. + + + + + False for landscape; True for portrait. + + + + + True if paper size, scaling factor, paper orientation (portrait / landscape), + print resolution, and number of copies are not initialized. + + + + + False to print in color; True to print in black and white. + + + + + False for default print quality; True for draft quality. + + + + + Indicates whether to print cell notes. + + + + + False if paper orientation setting is valid; + True if paper orientation setting is not initialized. + + + + + False for automatic page numbers; + True to use starting page number. + + + + + False if print notes are displayed; + True if print notes are at the end of sheet. + + + + + Print resolution in dpi. + + + + + Vertical print resolution in dpi. + + + + + Header margin (IEEE floating-point value). + + + + + Footer margin (IEEE floating-point value). + + + + + Number of copies to print. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Size of the record data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Paper size. + + + + + Scaling factor in percent. + + + + + Start page number. + + + + + Fit worksheet width to this number of pages (0 = use as many as needed). + + + + + Fit worksheet height to this number of pages (0 = use as many as needed). + + + + + Print resolution in dpi. + + + + + Vertical print resolution in dpi. + + + + + Header margin (IEEE floating-point value). + + + + + Footer margin (IEEE floating-point value). + + + + + Number of copies to print. + + + + + False to print pages in columns; + True to print pages in rows. + + + + + False if landscape; True if portrait. + + + + + True if paper size, scaling factor, paper orientation (portrait / landscape), + print resolution, and number of copies are not initialized. + + + + + False to print in color; True to print in black and white. + + + + + False for default print quality; True for draft quality. + + + + + Indicates whether to print cell notes. + + + + + False if paper orientation setting is valid; + True if paper orientation setting is not initialized. + + + + + False for automatic page numbers; + True to use starting page number. + + + + + False if print notes as displayed; + True if print notes are at the end of sheet. + + + + + Indicates how to print errors. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Describes whether this is a protected shared / tracked workbook. + + + + + Default record size. + + + + + Whether or not this is protected shared / tracked workbook. + + + + + Default constructor + + + + + Read / initialize constructor. + + Stream from which record data should be read. + Size of read item. + + If stream is not specified. + + + If stream does not support read or seek operations. + + + + + Reserved for record's internal data array. + + Amount of bytes for data array. + + If amount of bytes requested is less than zero. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. + + + + + Whether or not this is protected shared / tracked workbook. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Whether a worksheet or a workbook is protected against modification. + Protection is not active if this record is omitted. + + + + + Whether a worksheet or a workbook is protected against modification. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Whether a worksheet or a workbook is protected against modification. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Describes which reference mode to use. + + + + + Correct record size. + + + + + Stores which method is used to show cell addresses in formulas. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Stores which method is used to show cell addresses in formulas: + 1 = A1 mode + 0 = RC mode + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Represents a cell that contains an RK value + (encoded integer or floating-point value). + + + + + Correct record size. + + + + + Record size with header. + + + + + Offset to the number from the start of the record's data. + + + + + Offset to the number from the start of the record's data. + + + + + Represents rk mask. + + + + + Maximum number that is possible to store as rk record. + + + + + Minimum number that is possible to store as rk record. + + + + + RK value. + + + + + True if value is multiplied by 100. + + + + + True if signed integer; False if floating-point value. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset to the record's data. + Excel version used to fill data. + + + + Returns size of the required storage space. + + Excel version. + Size of the required storage space. + + + + Converts string to the Rk number. + + String to convert. + + + + Sets RkNumber to the specified value. + + Double value to set. + + + + Sets integer value to the specified value. + + Value to set. + + + + Sets RkRecord values from MulRKRecord.RkRec + + MulRKRecord.RkRec with needed values. + + + + Converts RKRecord into MulRKRecord.RkRec. + + Converted record. + + + + Converts string to RK number. + + String to parse. + Parsed RK number. If returns int.MaxValue - cannot parse RK number. + + + + Converts double to RK number. + + Value to convert. + Converted RK number. If returns int.MaxValue - cannot parse RK number. + + + + Converts Rk number to double. + + Rk number to convert. + Converted double value. + + + + Converts double value to integer. Value as IEEE double or IEEE / 100 double. + + Value to convert. + Indicates is convert to IEEE / 100. + Int value corresponding to the double value. + + + + Encodes rk number. + + Represents value to encode. + Returns encoded value. + + + + Gets double value using safe code. + + Represents value. + Returns double value. + + + + Reads record's value from the data provider. + + Provider to read data from. + Offset to the record's start. + Excel version that was used to infill. + Record's value. + + + + Read-only. RK value. + + + + + RK value converted to double. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + + + + + + True if this is not a floating point value. + + + + + True if value was multiplied by 100. + + + + + Returns double value. Read-only. + + + + + Value of the record. + + + + + Stores the row information for the sheet. + + + + + Bit mask for outline level. + + + + + Maximum row height in points. + + + + + + + + + + Index of this row. + + + + + Index to column of the first cell which is described by a cell record. + + + + + Index to column of the last cell which is described by a cell record, + increased by 1. + + + + + Height of the row, in twips = 1/20 of a point. + + + + + Not used. + + + + + Options flag. + + + + + Worksheet object. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + + + + + + Index of this row. + + + + + Index to column of the first cell which is described by a cell record. + + + + + Index to column of the last cell which is described by a cell record, + increased by 1. + + + + + Height of the row, in twips = 1/20 of a point. + + + + + If the row is formatted, then this is the index to + the extended format record. + + + + + The outline level of this row. + Changes some bits of m_usOptionFlags private member. + + + When value is more than 7. + + + + + Whether or not to collapse this row. + + + + + Whether or not to display this row with 0 height. + + + + + Whether the font and row height are not compatible. + True if they aren't compatible. + + + + + Whether the row has been formatted (even if it has all blank cells). + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + + + + + + Row or column index. + + + + + Gets or sets the worksheet. + + The worksheet. + + + + Possible option flags. + + + + + Whether or not to collapse this row. + + + + + Whether or not to display this row with 0 height. + + + + + Whether the font and row height are not compatible. + True if they aren't compatible. + + + + + Whether the row has been formatted (even if its got all blank cells) or + row has explicit default format. + + + + + If this value is set to False, then Excel will not show row outline + groups. + + + + + Additional space above the row. + + + + + Additional space below the row. + + + + + This record stores a formatted text cell (Rich-Text). + In BIFF8 it is replaced by the LABELSST record. + Nevertheless, Excel uses this record if it copies formatted + text cells to the clipboard. + + + + + Index to row. + + + + + Index to column. + + + + + Index to XF (Extended Format) record. + + + + + Unformatted Unicode string, 16-bit string length. + + + + + Number of rich text formatting runs. + + + + + Array of formatting runs. + + + + + Default constructor fills all data with default values. + + + + + Read / initialize constructor. + + Stream from which record data should be read. + Size of read item. + + If stream is not specified. + + + If stream does not support read or seek operations. + + + + + Reserved for record's internal data array. + + Amount of bytes for data array. + + If amount of bytes requested is less than zero. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Excel version used for infill. + Size of the record data. + + + + Index to row. + + + + + Index to column. + + + + + Index to XF (Extended Format) record. + + + + + Unformatted Unicode string, 16-bit string length. + + + + + Array of formatting runs. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Returns string value. Read-only. + + + + + Rich text formatting run. + + + + + First formatted character (zero-based). + + + + + Index to FONT record. + + + + + Defines whether to recalculate before saving (set to 1). + + + + + Correct record size. + + + + + Defines whether to recalculate before saving (set to 1). + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Size of the record data. + Offset in the buffer. + Excel version used for infill. + + + + Defines whether to recalculate before saving (set to 1). + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + This record is part of the worksheet / workbook protection. + It determines whether the scenarios of the current sheet + are protected. Scenario protection is not active + if this record is omitted. + + + + + Default record size. + + + + + 0 = Objects not protected; 1 = Objects protected + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. + + + + + 0 = Scenarios not protected; 1 = Scenarios protected + + + + + Read-only. Minimum possible size of the record. + + + + + Read-only. Maximum possible size of the record. + + + + + Shows the user's selection on the sheet + for write set num refs to 0. + + + + + Size of the fixed part. + + + + + Subitem size. + + + + + The window pane for the record. + + + + + The active cell's row. + + + + + The active cell's column. + + + + + The active cell's reference number. + + + + + The number of cell refs. + + + + + List of ADDR structures. + + + + + Sets selection range. + + Ref index. + Addr to set. + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Size of the required storage space. Read-only. + + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of this instance. + + + + The window pane for the record. + + + + + The active cell's row. + + + + + The active cell's column. + + + + + The number of cell refs. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Each cell range address (called an ADDR structure) contains 4 16-bit values. + Cell range address, BIFF8. + + + + + Index to first row. + + + + + Index to last row. + + + + + Index to first column. + + + + + Index to last column. + + + + + Creates TAddr by specified first and last rows and first and last columns. + + First row of the cell range. + Last row of the cell range. + First column of the cell range. + Last column of the cell range. + + + + Converts object to the string. + + String representation of the object. + + + + This record stores the token array of a shared formula. + Shared formulas are similar to array formulas in that they store + a formula used in a range of cells. The SharedFormula record + is not a real cell record but follows the first FORMULA + record of the cell range. + + + + + Size of the record's fixed part. + + + + + Index to first row of the shared formula range. + + + + + Index to last row of the shared formula range. + + + + + Index to first column of the shared formula range. + + + + + Index to last column of the shared formula range. + + + + + Not used. + + + + + Size of the formula data. + + + + + Token array of the shared formula. + + + + + + + + + + Default constructor fills all data with default values. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Index to first row of the shared formula range. + + + + + Index to last row of the shared formula range. + + + + + Index to first column of the shared formula range. + + + + + Index to last column of the shared formula range. + + + + + Gets/sets formula into/from shared formula record. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Whether to center between horizontal margins. + + + + + Whether or not to horizontally or vertically (depending on the record code) center this sheet. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Whether or not to horizontally or vertically (depending on record code) center this sheet. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Summary description for SheetProtection. + + + + + Represents the Error Indicator sheet protection id. + + + + + Represents option offset. + + + + + Represents default record store size. + + + + + Represents default embedded record data. + + + + + Options flag. + + + + + Indicates is contain sheet protection. + + + + + Represents the Protection type. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Gets the default record store size. Read-only. + + + + + Represents protected options. + + + + + Indicates is record contain sheet protection. + + + + + Read-only. Minimum possible size of the record. + + + + + Read-only. Maximum possible size of the record. + + + + + Static String Table Record: + This holds all the strings for LabelSSTRecords. + + + + + Options byte offset in the string. + + + + + Number of string in workbook. + + + + + Number of unique strings in workbook. + + + + + Array of workbook's strings. + + + + + Array that stores positions of the strings in the m_data array. + + + + + Array that stores offsets of the strings starting from the beginning + of the record (Continue or SST). + + + + + + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + If any internal error occurred. + + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + + + + Tries to prognose records size and prepare data storage so it won't require resize operation. + + + + + Resizes buffer if necessary. + + Buffer to check. + Desired buffer size. + + + + This method checks record's internal data array for integrity. + + If there is any internal error. + + + + Size of the required storage space. Read-only. + + + + + Number of string in workbook. + + + + + Number of unique strings in workbook. + + + + + Array of workbook's strings. + + + + + Array that stores positions of the strings in the m_data array. + + + + + Array that stores offsets of the strings starting from the beginning + of the record (Continue or SST). + + + + + Configuration property. If value is True, then on detection of dataless + record, the class will try to continue to get records from the stream. + + + + + + + + + + This record stores the result of a string formula. + It occurs directly after a string formula. + + + + + Size of the fixed part. + + + + + String length. + + + + + Non-empty Unicode string. + + + + + Default constructor + + + + + Read / initialize constructor. + + Stream from which record data should be read. + Size of read item. + + If stream is not specified. + + + If stream does not support read or seek operations. + + + + + Reserved for record's internal data array. + + Amount of bytes for data array. + + If amount of bytes requested is less than zero. + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Size of the record data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Non-empty Unicode string. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Header of this record + + + + + Whether the style is built in or user-defined. + + + + + Whether the style is hidden in user interface or not. + + + + + Whether the style is custom or not. + + + + + Reserved data. + + + + + Specify the type of style + + + + + Buid in data + + + + + The style's name (if user-defined). + + + + + The row or column level of the style. + + + + + If this is a built in style, then it is the number of the built in style. + If this is user-defined style, then it is length of style's name. + + + + + Default constructor + + + + + Initialize the variables + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Whether the style is built in or user-defined. + + + + + Whether the style is hidden in user interface or not + + + + + Style Record: + Describes a built-in style in the GUI or user defined style. + + + + + Extended format index bit mask. + + + + + The actual index of the style extended format record. + + + + + Whether the style is built in or user-defined. + + + + + If this is a built in style, then it is the number of the built in style. + If this is user-defined style, then it is length of style's name. + + + + + The row or column level of the style. + + + + + The style's name (if user-defined). + + + + + The style's name (if user-defined and greater than 256 symbols). + + + + + Represents the default external format index based on workbook version + + + + + /Represents if the stylename is encoded, when style name is greater than 256 symbols + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + If there is any internal error. + + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + Copies this record into another StyleRecord. + + + + + + Whether the style is built in or user-defined. + + + + + + The actual index of the style extended format record. + + + + + The row or column level of the style. + + + + + The row or column level of the style. + + + + + The style's name (if user-defined). + + + + + Represents actual style name in case of AsciiConversion + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Returns style name. Read-only. + + + + + Gets or sets the default external format index based on workbook version + + + + + This record stores the URL of an external document + and a list of sheet names inside this document. Furthermore, + it is used to store DDE and OLE object links or to indicate + an internal 3D reference or an add-in function. + + + + + This constant indicates that the sup book record contains internal references. + + + + + This constant indicates that the sup book record contains add-in functions. + + + + + Indicates whether this record is used for internal references or external references. + + + + + Indicates whether add-in function names are stored + in EXTERNNAME records following this SUPBOOK record. + + + + + Number of sheet names (if external references) or + number of sheets in this document (if internal references). + + + + + Length of encoded URL without sheet name (if external references). + 0401h (if internal references) + + + + + Encoded URL without sheet name. + + + + + List of sheet names. + + + + + Original URL value. + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + When string's length does not fit to internal data length or + when last string ends before data (some extra data at the + end of m_data array). + + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + + + + + + + + + Size of the required storage space. Read-only. + + + + + Whether the record is used for internal references or external references. + + + + + Read-only. Minimum possible size of the record. + + + + + Read-only. Maximum possible size of the record. + + + + + Encoded URL without sheet name (for external references). + + + + + List of sheet names. + + + + + Number of sheet names (if external references) or + number of sheets in this document (if internal references). + + + + + + + + + + This record stores information about a multiple operation + table in the sheet. It follows the first FORMULA record + of the cell range containing the operation table. + + + + + Bit mask for the operation mode. + + + + + First bit of the operation mode. + + + + + Index to first row of the multiple operation table range. + + + + + Index to last row of the multiple operation table range. + + + + + Index to first column of the multiple operation table range. + + + + + Index to last column of the multiple operation table range. + + + + + Option flags. + + + + + True to always recalculate array formula. + + + + + True to calculate array formula on open. + + + + + Index to row of input cell (in mode 1x2 index to row of + input cell for row input). + + + + + Index to column of input cell (in mode 1x2 index to column + of input cell for row input). + + + + + In mode 1x2 index to row of input cell for column input; + else not used. + + + + + In mode 1x2 index to column of input cell for column input; + else not used. + + + + + Default constructor + + + + + Read / initialize constructor. + + Stream from which record data should be read. + Size of read item. + + If stream is not specified. + + + If stream does not support read or seek operations. + + + + + Reserved for record's internal data array. + + Amount of bytes for data array. + + If amount of bytes requested is less than zero. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Index to first row of the multiple operation table range. + + + + + Index to last row of the multiple operation table range. + + + + + Index to first column of the multiple operation table range. + + + + + Index to last column of the multiple operation table range. + + + + + True to always recalculate array formula. + + + + + True to calculate array formula on open. + + + + + Whether to display outline symbols (in the gutters). + Changes bits of m_usOptions. + + + When value is more than 4. + + + + + Index to row of input cell (in mode 1x2 index to row of + input cell for row input). + + + + + Index to column of input cell (in mode 1x2 index to column + of input cell for row input). + + + + + In mode 1x2 index to row of input cell for column input; + else not used. + + + + + In mode 1x2 index to column of input cell for column input; + else not used. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + This record stores a text object. The TXO record is followed + by two CONTINUE records. The first CONTINUE record contains the text + data and the second CONTINUE contains the formatting runs. + If the text box contains no text, these CONTINUE records + are not written to the file. + + + + + Bit mask for horizontal alignment. + + + + + Bit mask for vertical alignment. + + + + + Option flags. + + + + + Whether the Lock Text option is on. + + + + + Orientation of text within the object boundary. + + + + + Reserved, must be zero. + + + + + Reserved, must be zero. + + + + + Length of text (in first CONTINUE record). + + + + + Length of formatting runs (in second CONTINUE record). + + + + + Reserved, must be zero. + + + + + Default constructor + + + + + Read / initialize constructor. + + Stream from which record data should be read. + Size of read item. + + If stream is not specified. + + + If stream does not support read or seek operations. + + + + + Reserved for record's internal data array. + + Amount of bytes for data array. + + If amount of bytes requested is less than zero. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + + + + Horizontal text alignment. + This property changes bits of m_usOptions private field. + + + + + Vertical text alignment: + This property changes bits of m_usOptions private field. + + + + + Whether the Lock Text option is on. + + + + + Orientation of text within the object boundary. + + + + + Length of text (in first CONTINUE record). + + + + + Length of formatting runs (in second CONTINUE record). + + + + + Not used. + + + + + Not used. + + + + + Not used. + + + + + Read-only. Minimum possible size of the record. + + + + + Read-only. Maximum possible size of the record. + + + + + Summary description for TextFormat. + + + + + + + + + + + + + + + Size of a single formatting run. + + + + + + + + + + + + + + + Formatting runs, key - position, value - font index. + + + + + String value. + + + + + Default font index. + + + + + Options. + + + + + Indicates whether string was changed and possibly needs defragmentation. + + + + + Number of references to this object. + + + + + Reprsents the Rich Text. + + + + + Indicates the string is preserverd type or not + + + + + Default constructor. + + + + + Creates instance with specified default font index. + + Index of the default font. + + + + Converts TextWithFormat to string. + + Object to convert to string. + String value of the object. + + + + Converts string to TextWithFormat. + + String value. + Converted TextWithFormat. + + + + Sets font index for specified range of characters. + + Start character of the range. + End character of the range. + Font index to set. + + + + Returns font index for the specified character. + + Character index to get font index. + Font index for the specified character. + + + + Returns font index for the specified character. + + Character index to get font index. + Font index for the specified character. + + + + Returns font index at the specified position in the formatting runs array. + + Index of the formatting run. + Font index. + + + + Returns character position at the specified position in the formatting runs array. + + Index of the formatting run. + Character position. + + + + Sets font index at the specified position in the formatting runs array. + + Index of the formatting run. + Font index to set. + + + + Clears formatting. + + + + + Compares the current instance with another object of the same type. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the comparands. + + + + + Compares formatting runs. + + First formatting runs to compare. + Second formatting runs to compare. + + 0 if they are equal, + -1 if first formatting run is less then second; + otherwise 1. + + + + + + + + + + Returns starting position for formatting block which contains specified position. + + Position to which formatting is applied. + Starting position for formatting block which contains specified position. + + + + Removes all formatting within specified range. + + Start position of the range. + End position of specified range. + + + + Defragments text formatting. + + + + + Checks if specified offset is correct. + + Length of the array. + Offset in the array. + + When iOffset is out of range. + + + + + Copies formatting runs into another TextWithFormat object. + + TextWithFormat to copy data into. + + + + Converts this object to string. + + String representation of this object. + + + + Determines whether the specified object is equal to the current object. + + The object to compare with the current object. + + True if the specified object is equal to the current object; + otherwise False. + + + + + Returns hashcode for the object. + + A hash code for the current object. + + + + Returns size of the formatting runs. + + Size of the formatting runs. + + + + Serializes formatting. + + Buffer for formatting data. + Offset in the buffer where to serialize formatting. + Indicates whether defragmentation is needed. + Size of formatting data. + + + + Returns string options. + + Options byte. + + + + Parses formatting runs. + + Array with formatting runs data. + Offset to formatting runs. + Number of formatting runs to parse. + + + + Parses formatting runs. + + Array with formatting runs. + + + + Serializes formatting runs into specified array. + + Destination array. + Offset to the data. + Indicates whether defragmentation is needed. + Size of the serialized data. + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of this instance. + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of this instance. + + + + Creates a new object that is a copy of the current instance. + + Dictionary with new font indexes. + A new object that is a copy of this instance. + + + + Updates font indexes. + + Dictionary with new font indexes. + + + + Reprsents the Rich Text + + + + + Text string. + + + + + Formatting runs, key - position, value - font index. + + + + + List of formatting runs. Read-only. + + + + + Returns number of formatting runs. Read-only. + + + + + Returns true if string is preserved type. + + + + + Possible string flags. + + + + + The string is saved as double-byte characters. + + + + + Extended string follows (Far East versions). + + + + + Rich string follows. + + + + + This record describes all unknown information in records. + + + + + + + + + + + + + + + Default constructor + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + + + + Size of the required storage space. Read-only. + + + + + Clones current instance. + + Returns cloned object. + + + + + + + + + + + + + + Contains a list of explicit column page breaks. + + + + + Size of the fixed part. + + + + + Size of the subitem. + + + + + Number of page breaks. + + + + + Array of VerticalPageBreaks. + + + + + Default constructor, sets all fields default values. + + + + + Read / initialize constructor. + + Stream from which record data should be read. + Size of read item. + + If stream is not specified. + + + If stream does not support read or seek operations. + + + + + Reserved for record's internal data array. + + Amount of bytes for data array. + + If amount of bytes requested is less than zero. + + + + + Parse structure of record. Converts data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + Size of the record data. + + + + Size of the required storage space. Read-only. + + + + + Array of VerticalPageBreaks. + + + + + Read-only. Maximum possible size of the record. + + + + + Structure that contains information about a vertical page break. + + + + + The column of the break. + + + + + The starting row of the break. + + + + + The ending row of the break. + + + + + Default constructor + + + + + Constructs class instance and fills it with specified values. + + Column of the break. + Starting row of the break. + Ending row of the break. + + + + Creates a new object that is a copy of the current instance. + + A new object that is a copy of this instance. + + + + The column of the break. + + + + + The starting row of the break. + + + + + The ending row of the break. + + + + + Stores the attributes of the workbook window. This is basically + so that the GUI is aware of the size of the window holding the spreadsheet + document. + + + + + Correct record size. + + + + + Horizontal position. + + + + + Vertical position. + + + + + The width of the window. + + + + + The height of the window. + + + + + The option's bitmask (see bit setters). + + + + + The selected tab number. + + + + + The displayed tab number. + + + + + The number of selected tabs. + + + + + Ratio of the width of the tabs to the horizontal scrollbar. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Size of the record data. + Offset in the buffer. + Excel version used for infill. + + + + The selected tab number. + + + + + The displayed tab number. + + + + + The number of selected tabs. + + + + + Indicates whether to display horizontal scrollbar. + + + + + Indicates whether to display vertical scrollbar. + + + + + Display tabs at the bottom. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Possible option flags. + + + + + Indicates whether window is hidden. + + + + + Indicates whether window is icon. + + + + + Reserved. + + + + + Indicates whether to display horizontal scrollbar. + + + + + Indicates whether to display vertical scrollbar. + + + + + Display tabs at the bottom. + + + + + Sheet window settings. + + + + + Maximum record size. + + + + + Indicates the size when this record is in Chart Sheet. + + + + + The option's bitmask (you should use the bit setters). + + + + + The top row visible in the window. + + + + + The leftmost column displayed in the window. + + + + + The palette index for the header color. + + + + + Zoom magification in page break view. + + + + + The zoom magnification in normal view. + + + + + Reserved. + + + + + Length of the original record. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, a class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Size of the record data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + The top row visible in the window. + + + + + The leftmost column displayed in the window. + + + + + The palette index for the header color. + + + + + Whether the window should display gridlines. + + + + + Whether the window should display row and column headings. + + + + + Whether the window should freeze panes. + + + + + Whether the window should display zero values. + + + + + Whether the window should display a default header. + + + + + Is this Arabic? + + + + + Freeze unsplit panes or not. + + + + + Sheet tab is selected. + + + + + Is the sheet currently displayed in the window? + + + + + Was the sheet saved in page break view? + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + Length of the original record. + + + + + Possible option flags. + + + + + Indicates whether the window should display formulas. + + + + + Indicates whether the window should display gridlines. + + + + + Indicates whether the window should display row and column headings. + + + + + Indicates whether the window should freeze panes. + + + + + Indicates whether the window should display zero values. + + + + + Indicates whether the window should display a default header. + + + + + Indicates whether this is Arabic. + + + + + Indicates whether the outline symbols are displayed. + + + + + Indicates whether freeze panes are unsplit or not. + + + + + Indicates whether sheet tab is selected. + + + + + Indicates whether sheet is currently displayed in the window. + + + + + Indicates whether sheet was saved in page break view. + + + + + This record stores the magnification of the active view of the current worksheet. + In BIFF8 this can be either the normal view or the page break preview. + This is determined in the WINDOW2 record. + The magnification is stored as reduced fraction. The magnification results + from nscl / dscl. + + + + + Correct size of the record. + + + + + Numerator of the view magnification fraction. + + + + + Denominator of the view magnification fraction. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Size of the required storage space. Read-only. + + + + + + + + + + This record stores a 16-bit value with Boolean options + for the current sheet. + + + + + Bit mask for DisplayGuts property. + + + + + First bit of the DispayGuts value. + + + + + + + + + + Option flags (you should use bit fields). + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Whether summary rows will appear below detail in outlines. + + + + + Whether summary rows will appear right of the detail in outlines. + + + + + Whether to fit stuff to the page. + + + + + Read-only. Returns minimum possible size of record's + internal data array. + + + + + Read-only. Returns maximum possible size of record's + internal data array. + + + + + + + + + + + + + + + Indicates whether automatic breaks are visible. + + + + + Indicates whether sheet is a dialog sheet. + + + + + Indicates whether to apply automatic styles to outlines. + + + + + Indicates whether summary rows will appear below detail in outlines. + + + + + Indicates whether summary rows will appear right of the detail in outlines. + + + + + Indicates whether to fit stuff to the page. + + + + + Indicates whether to use alternate expression eval. + + + + + Indicates whether to use alternate formula entry. + + + + + XCT � CRN Count: + This record stores the number of immediately following CRN records. + These records are used to store the cell contents of external references. + + + + + Correct record size. + + + + + Number of following CRN records. + + + + + Index into sheet table of the involved SUPBOOK record. + + + + + Default constructor + + + + + Parse structure of record. Convert Data buffer to special + values according to record specification. + + Object that provides access to the data. + Offset to the record's data. + Length of the record's data. + Excel version used for infill. + + + + In this method, class must pack all of its properties into + an internal data array, m_data. This method is called by + FillStream, when the record must be serialized into a stream. + + Object that provides access to the data. + Offset in the buffer. + Excel version used for infill. + + + + Number of following CRN records. + + + + + Index into sheet table of the SUPBOOK record. + + + + + Read-only. Minimum possible size of the record. + + + + + Read-only. Maximum possible size of the record. + + + + + Attribute provides link information between class and Biff8. + record types + + + + + Biff record code. + + + + + Default constructor. To prevent creation of attribute without attributes. + + + + + Creates attribute by record code. + + Biff record code. + + + + Read-only. Returns code of record. + + + + + Known field types to parser. + + + + + Represents the Integer field type. + + + + + Represents the Bit field type. + + + + + Represents the String field type. + + + + + Represents the String16Bit field type. + + + + + Represents the OEMString field type. + + + + + Represents the OEMString16Bit field type. + + + + + Represents the Float field type. + + + + + Attribute of records class members that provide information + about location of the variable in binary data. It also indicates + type to which the data must be converted to. + + + + + Position of the field in the record. + + + + + Size of the field. + + + + + True if attribute describes bit field. + + + + + True if attribute describes string field. + + + + + Indicates whether attribute describes string field with 16 bit length. + + + + + True if attribute describes OEM string field. + + + + + True if attribute describes OEM string field. + + + + + True if attribute describes float field. + + + + + True if attribute describes signed field. + + + + + Creates attribute by field position, size, signed flag, and field type. + + + Position of the filed data in the record data array. + + + Size of the field data or position of the bit in the byte. + + Is field signed or not? + Type of the field. + + + + Creates attribute for integer field by its position, + size, and signed flag. + + + Position of the filed data in the record data array. + + + Size of the field data or position of the bit in the byte. + + Is field signed or not? + + + + Creates attribute for unsigned field by field position, + size, and field type. + + + Position of the filed data in the record data array. + + + Size of the field data or position of the bit in the byte. + + Type of the field. + + + + Creates attribute by field position and field type. + Field size is zero and field is unsigned. + + + Position of the filed data in the record data array. + + Type of the field. + + + + Creates attribute for unsigned field by field position and size. + + + Position of the filed data in the record data array. + + + Size of the field data or position of the bit in the byte. + + + + + Read-only. Returns position of the field in the record data. + + + + + Read-only. Returns size of the filed or bit position (for bit fields). + + + + + Read-only. Returns True if attribute describes bit field. + + + + + Read-only. Returns True if attribute describes signed field. + + + + + Read-only. Returns True if attribute describes string field. + + + + + Indicates whether attribute describes string field with 16 bit length. + + + + + Read-only. Returns True if attribute describes float field. + + + + + Read-only. Returns True if this attribute describes OEM string. + + + + + Read-only. Returns True if this attribute describes OEM string with 16 bit length field. + + + + + Helper class which allows extract continue records from stream. + + + + + + + + + + Reference on reader. + + + + + Reference on start position in stream. + + + + + Current record extracted from stream. + + + + + Indicate whether the Reset method needs to be called. + + + + + + + + + + + + + + + + + + + + Class to store current stream position as start point. + + New position which stored as start point. + + + + + + + + + + Type safe Current record. + + + + + Special class for data publishing as Continue Records. + + + + + Reference to writer + + + + + Constructs class and sets reference to a writer. + + + Writer for which utility class will be constructed. + + + + + Publish / save data as Continue Records into writer stream. + + Data which must be published as Continue Records. + Start point in an array. + Size of records and data in bytes. + + + + Publish / save data as Continue Records into writer stream. + + Data which must be published as Continue Records. + Start point in an array. + Length of data from start point. + Size of records and data in bytes. + + + + Publish / save data as Continue Records into writer stream. + + Data which must be published as Continue Records. + Start point in an array. + Length of data from start point. + Maximum size of Continue Record size. + Size of records and data in bytes. + + + + Publish Continue Record into internal data array of destination record. + + Data to publish. + Start point. + Destination. + Offset in the destination's data array. + Size of the published data. + + + + Publish Continue Record into internal data array of destination record. + + Data to publish. + Start point. + Length of data to publish. + Destination. + Offset in the destination's data array. + Size of the published data. + + + + Publish Continue Record into internal data array of destination record. + + Data to publish. + Start point. + Length of data to publish. + Max size for continue record. + Destination. + Offset in the destination's data array. + Size of the published data. + + + + + Special class for building Continue Records. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Type of additional records. + + + + + + + + + + + + + + + + + + + + + + Write array of data into output stream. + + Array of data. + Start index of an array. + Length of data to copy. + Quantity of created Continue Records. + + + + + + + + + + Method that checks if Continue Record is needed. + + Length of data that needs to be stored. + True if Continue Record will be needed for data storage; + otherwise False. + + + + + + + + + + + + + + + + + + + + Returns the unused bytes. + + + + + + + + + + + + + + + Return maximum size of record. + + + + + Type of the first additional record. + + + + + Type of additional records. + + + + + Maximum size of the continue record data. + + + + + + + + + + Summary description for BytesList. + + + + + + + + + + + + + + + Default size of the internal array. + + + + + + + + + + First free position. + + + + + Indicates whether list can reserve some space. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Contains outline information about. + + + + + First Index of the row/column. + + + + + Last index of the row/column. + + + + + Indicates the Outline object + + + + + Indicates the Grouped range + + + + + Indicates the OfficeGroupBy type + + + + + Enum that defines constants for all known Biff records. + + + + + Represents the Array Biff record. + + + + + Represents the AutoFilter Biff record. + + + + + Represents the AutoFilterInfo Biff record. + + + + + Represents the BOF Biff record. + + + + + Represents the BOF2 Biff record. + + + + + Represents the Backup Biff record. + + + + + Represents the Begin Biff record. + + + + + It stores the background bitmap of a worksheet. + + + + + Represents the Blank Biff record. + + + + + Represents the BookBool Biff record. + + + + + Represents the BoolErr Biff record. + + + + + Represents the BottomMargin Biff record. + + + + + Represents the BoundSheet Biff record. + + + + + Represents the CF Biff record. + + + + + Represents the CF12 Biff record. + + + + + Represents the CFEx Biff record. + + + + + Represents the CRN Biff record. + + + + + Represents the CalCount Biff record. + + + + + Represents the CalcMode Biff record. + + + + + Represents the CodeName Biff record. + + + + + Represents the Codepage Biff record. + + + + + Represents the ColumnInfo Biff record. + + + + + Represents the CondFMT Biff record. + + + + + Represents the CondFMT12 Biff record. + + + + + Represents the Continue Biff record. + + + + + Represents the Continue Frt record. + + + + + Represents the Country Biff record. + + + + + Represents custom property record. + + + + + Represents the DBCell Biff record. + + + + + Represents the DCON Biff record. + + + + + Represents the DCONBIN Biff record. + + + + + Represents the DCONNAME Biff record. + + + + + Represents the DCONRef Biff record. + + + + + Represents the DSF Biff record. + + + + + Represents the DV Biff record. + + + + + Represents the DVal Biff record. + + + + + Represents the DateWindow1904 Biff record. + + + + + Represents the DefaultColWidth Biff record. + + + + + Represents the DefaultRowHeight Biff record. + + + + + Represents the Delta Biff record. + + + + + Represents the Dimensions Biff record. + + + + + Represents the EOF Biff record. + + + + + Represents the End Biff record. + + + + + Represents the ExtSST Biff record. + + + + + Represents the ExtSSTInfoSub Biff record. + + + + + Represents the ExtendedFormat Biff record. + + + + + Represents the ExtendedFormatCRC Biff record. + + + + + Represents the Extension of ExtendedFormat Biff record. + + + + + Represents the ExternCount Biff record. + + + + + Represents the ExternName Biff record. + + + + + Represents the ExternSheet Biff record. + + + + + Represents the FilePass Biff record. + + + + + Represents the FileSharing Biff record. + + + + + Represents the FilterMode Biff record. + + + + + Represents the FnGroupCount Biff record. + + + + + Represents the Font Biff record. + + + + + Represents the Footer Biff record. + + + + + Represents the Format Biff record. + + + + + Represents the Formula Biff record. + + + + + Represents the Gridset Biff record. + + + + + Represents the Guts Biff record. + + + + + Represents the HasBasic Biff record. + + + + + Represents the HCenter Biff record. + + + + + Represents the HLink Biff record. + + + + + Represents the Header Biff record. + + + + + Represents image in header or footer. + + + + + This record specifies the even page header and footer text, and the first page + header and footer text of the current sheet. + + + + + Represents the HideObj Biff record. + + + + + Represents the HorizontalPageBreaks Biff record. + + + + + Represents ImageData biff record. + + + + + Represents the Index Biff record. + + + + + Represents the InterfaceEnd Biff record. + + + + + Represents the InterfaceHdr Biff record. + + + + + Represents the Iteration Biff record. + + + + + Represents the Label Biff record. + + + + + Represents the LabelRanges Biff record. + + + + + Represents the LabelSST Biff record. + + + + + Represents the LeftMargin Biff record. + + + + + Represents the MMS Biff record. + + + + + Represents the MergeCells Biff record. + + + + + Represents the MSODrawing Biff record. + + + + + Represents the MSODrawingGroup Biff record. + + + + + Represents the MulBlank Biff record. + + + + + Represents the MulRK Biff record. + + + + + Represents the Name Biff record. + + + + + Represents the Note Biff record. + + + + + Represents the Number Biff record. + + + + + Represents the OBJ Biff record. + + + + + Represents the ObjectProtect Biff record. + + + + + Represents the OleSize Biff record. + + + + + Represents the Palette Biff record. + + + + + Represents the Pane Biff record. + + + + + Represents the Password Biff record. + + + + + Represents the PasswordRev4 Biff record. + + + + + Represents the Precision Biff record. + + + + + Represents the PrintedChartSize Biff record. + + + + + THis records saves settings and printer driver information. + + + + + Represents the PrintGridlines Biff record. + + + + + Represents the PrintHeaders Biff record. + + + + + Represents the PrintSetup Biff record. + + + + + Represents the Protect Biff record. + + + + + Represents the ProtectionRev4 Biff record. + + + + + Represents the QuickTip Biff record. + + + + + Represents the RefMode Biff record. + + + + + Represents the RefreshAll Biff record. + + + + + Represents the RightMargin Biff record. + + + + + Represents the RK Biff record. + + + + + Represents the Row Biff record. + + + + + Represents the RString Biff record. + + + + + Represents the SaveRecalc Biff record. + + + + + Represents the ScenProtect Biff record. + + + + + Represents the Selection Biff record. + + + + + Represents the default column width for all sheet columns. + + + + + Represents the Setup Biff record. + + + + + Represents the beginning of a collection of records + + + + + Represents the shape formatting properties for chart elements + + + + + Represents the end of a collection of records + + + + + Represents the SharedFormula Biff record. + + + + + Represents the SharedFormula2 Biff record. + + + + + This record stores the colour of the tab below the sheet containing the sheet name. + + + + + Represents the Sort Biff record. + + + + + Represents the SST Biff record. + + + + + Represents the String Biff record. + + + + + Represents the Style Biff record. + + + + + Represents the Extension of Style Biff record. + + + + + Represents the SupBook Biff record. + + + + + Represents the TabId Biff record. + + + + + Represents the Table Biff record. + + + + + Represents the Template Biff record. + + + + + Represents the TextObject Biff record. + + + + + Represents the TopMargin Biff record. + + + + + Represents the UseSelFS Biff record. + + + + + Represents the VCenter Biff record. + + + + + Represents the VerticalPageBreaks Biff record. + + + + + Represents the WSBool Biff record. + + + + + Represents the WindowOne Biff record. + + + + + Represents the WindowProtect Biff record. + + + + + Represents the WindowTwo Biff record. + + + + + Represents the WindowZoom Biff record. + + + + + Represents the WriteAccess Biff record. + + + + + Represents the WriteProtection record. + + + + + Represents the XCT Biff record. + + + + + Represents the Unknown Biff record. + + + + + Represents the UnkBegin Biff record. + + + + + Represents the UnkEnd Biff record. + + + + + Represents the UnkMarker Biff record. + + + + + Represents the UnkMacrosDisable Biff record. + + + + + This record contains workbook-specific information. + + + + + Represents the ChartDataLabels Biff record. + + + + + Represents the ChartChart Biff record. + + + + + Represents the ChartSeries Biff record. + + + + + Represents the ChartDataFormat Biff record. + + + + + Represents the ChartLineFormat Biff record. + + + + + Represents the ChartMarkerFormat Biff record. + + + + + Represents the ChartAreaFormat Biff record. + + + + + Represents the ChartPieFormat Biff record. + + + + + Represents the ChartAttachedLabel Biff record. + + + + + Represents the ChartAttachedLabelLayout Biff record. + + + + + Represents the ChartAttachedLabelPlotArea Biff record + + + + + Represents the ChartSeriesText Biff record. + + + + + Represents the ChartChartFormat Biff record. + + + + + Represents the ChartLegend Biff record. + + + + + Represents the ChartSeriesList Biff record. + + + + + Represents the ChartBar Biff record. + + + + + Represents the ChartLine Biff record. + + + + + Represents the ChartPie Biff record. + + + + + Represents the ChartArea Biff record. + + + + + Represents the ChartScatter Biff record. + + + + + Represents the ChartChartLine Biff record. + + + + + Represents the ChartAxis Biff record. + + + + + Represents the ChartTick Biff record. + + + + + Represents the ChartValueRange Biff record. + + + + + Represents the ChartCatserRange Biff record. + + + + + Represents the ChartAxisLineFormat Biff record. + + + + + Represents the ChartFormatLink Biff record. + + + + + Represents the ChartDefaultText Biff record. + + + + + Represents the ChartText Biff record. + + + + + Represents the ChartFontx Biff record. + + + + + Represents the ChartObjectLink Biff record. + + + + + Represents the ChartFrame Biff record. + + + + + Represents the ChartPlotArea Biff record. + + + + + Represents the Chart3D Biff record. + + + + + Represents the ChartPicf Biff record. + + + + + Represents the ChartDropBar Biff record. + + + + + Represents the ChartRadar Biff record. + + + + + Represents the ChartSurface Biff record. + + + + + Represents the ChartRadarArea Biff record. + + + + + Represents the ChartAxisParent Biff record. + + + + + Represents the ChartLegendxn Biff record. + + + + + Represents the ChartShtprops Biff record. + + + + + Represents the ChartSertocrt Biff record. + + + + + Represents the ChartAxesUsed Biff record. + + + + + Represents the ChartSbaseref Biff record. + + + + + Represents the ChartSerParent Biff record. + + + + + Represents the ChartSerAuxTrend Biff record. + + + + + Represents the ChartIfmt Biff record. + + + + + Represents the ChartPos Biff record. + + + + + Represents the ChartAlruns Biff record. + + + + + Represents the ChartAI Biff record. + + + + + Represents the chart text properties stream + + + + + Represents the ChartSerAuxErrBar Biff record. + + + + + Represents the ChartSerFmt Biff record. + + + + + Represents the Chart3DDataFormat Biff record. + + + + + Represents the ChartFbi Biff record. + + + + + Represents the ChartBoppop Biff record. + + + + + Represents the ChartAxcext Biff record. + + + + + Represents the ChartDat Biff record. + + + + + Represents the ChartPlotGrowth Biff record. + + + + + Represents the ChartSiIndex Biff record. + + + + + Represents the ChartGelFrame Biff record. + + + + + Represents the ChartBoppCustom Biff record. + + + + + Represents the ChartShadow Biff record. + + + + + Represents the ChartUnits Biff record. + + + + + Represents the ChartWrapper Biff record. + + + + + Represents the ChartAxisDisplayUnits biff record. + + + + + Represents the ChartBegDispUnitRecord biff record. + + + + + Represents the ChartEndDispUnitRecord biff record. + + + + + Represents the ChartAxisOffsetRecord biff record. + + + + + Represents the CacheData Biff record. + + + + + Represents the CacheDataEx Biff record. + + + + + Represents the DataItem Biff record. + + + + + Represents the ViewExtendedInfo Biff record. + + + + + Represents the ExternalSourceInfo Biff record. + + + + + Represents the SQLDataTypeId Biff record. + + + + + Represents the RuleFilter Biff record. + + + + + Represents the ParsedExpression Biff record. + + + + + Represents the PivotFormat Biff record. + + + + + Represents the PivotFormula Biff record. + + + + + Represents the StreamId Biff record. + + + + + Represents the RowColumnFieldId Biff record. + + + + + Represents the LineItemArray Biff record. + + + + + Represents the PivotName Biff record. + + + + + Represents the PivotNamePair Biff record. + + + + + Represents the PageItem Biff record. + + + + + Represents the RuleData Biff record. + + + + + Represents the SelectionInfo Biff record. + + + + + Represents the sheet protection biff record. + + + + + Represents range protection and error indicators. + + + + + Represents the PivotString Biff record. + + + + + Represents the PivotSourceInfo Biff record. + + + + + Represents the PageItemIndexes Biff record. + + + + + Represents the PageItemNameCount Biff record. + + + + + Represents the PivotViewFields Biff record. + + + + + Represents the PivotViewFieldsEx Biff record. + + + + + Represents the PivotViewItem Biff record. + + + + + Represents the PivotViewDefinition Biff record. + + + + + Represents the PivotViewSource Biff record. + + + + + Represents the PivotDateTime Biff record. + + + + + Represents the PivotDouble Biff record. + + + + + Represents the PivotEmpty Biff record. + + + + + Represents the PivotBoolean Biff record. + + + + + Represents the PivotError Biff record. + + + + + Represents the PivotField Biff record. + + + + + Represents the PivotIndexList Biff record. + + + + + Represents pivot view additional info record. + + + + + + Rerpresents the External connection record. + + + + + Represents properties for a query table. + + + + + Represents the properties for a query table field. + + + + + Represents a DbQuery or ParamQry record depending on the record. + + + + + Represents the name and refresh information for a query table or a PivotTable view. + + + + + Represents shared feature data that is used to describe a table in a worksheet + + + + + Represents the properties related to the formatting of a query table. + + + + + Represents the additional properties + + + + + Represents the DataBaseConnection + + + + + Represents the oledbconnection + + + + + Represents the Externalconnectioncollection + + + + + Represents the Feature record for query table + + + + + Represents the pagelayout view record + + + + + + + + + + Storage of all records. + + + + + Removes the item at the specified index from the list. + + Index of the item to removed. + + + + Inserts an item to the list at the specified position. + + Index at which value should be inserted. + The record to insert into list. + + + + Removes the first occurrence of a specific record from the list. + + Value to remove. + + + + Determines whether the list contains a specific value. + + The record to locate in the list. + True if the value is found in the list; otherwise False. + + + + Removes all items from the list. + + + + + Determines the index of a specific item in the list. + + Record to locate in the list. + The index of the value if found in the list; otherwise -1. + + + + Adds an item to the list. + + The item to add to the list. + The position into which the new element was inserted. + + + + Adds an item to the list. + + The item to add to the list. + The position into which the new element was inserted. + + + + Adds a range of items to the list. + + + Collection of the records that should be added to the list. + + + + + Adds a range of items to the list. + + + Collection of the records that should be added to the list. + + + + + Adds a range of items to the list. + + + Collection of the records that should be added to the list. + + + + + Inserts an item to the list at the specified position. + + Index at which value should be inserted. + The record to insert into list. + + + + Removes the first occurrence of a specific record from the list. + + Value to remove. + + + + Determines whether the list contains a specific value. + + The record to locate in the list. + True if the value is found in the list; otherwise False. + + + + Determines the index of a specific item in the list. + + Record to locate in the list. + The index of the value if found in the list; otherwise -1. + + + + Adds an item to the list. + + The item to add to the list. + The position into which the new element was inserted. + + + + Copies the elements of the ICollection to an array, + starting at a particular array index. + + + The one dimensional array that is the destination of the + elements copied from ICollection. The array must have + zero-based indexing. + + + The zero-based index in an array at which copying begins. + + + + + Returns an enumerator that can iterate through a collection. + + + An IEnumerator that can be used to iterate through the collection. + + + + + Returns an enumerator that can iterate through a collection. + + + An IEnumerator that can be used to iterate through the collection. + + + + + Updates offsets to the Biff records. + + + + + Method that updates StreamPos field in records stored in this collection. + + + + + Read-only. True if list has fixed size. + + + + + Read-only. True if list is Read-only. + + + + + Gets / sets record in the list at the specified index. + + + + + Gets / sets record in the list at the specified index. + + + + + Read-only. Gets a value indicating whether access to the + ICollection is synchronized (thread-safe). + + + + + Read-only. Gets the number of elements contained in the ICollection. + + + + + Read-only. Gets an object that can be used to synchronize + access to the ICollection. + + + + + This class contains information about all known biff records. + Used for registering the biff record type, creating new biff records + and extracting them from a stream. + + + + + Default size for the internal dictionaries + + + + + code-to-constructor pair + + + + + Initialize internal dictionary by Records + + + + + Fills factory without using reflection. + + + + + Create empty record by specified type. + + Type of the record that should be created. + Created record if succeeded, null otherwise. + + + + Create empty record by specified type. + + Type of the record that should be created. + Created record if succeeded, null otherwise. + + + + Extracts record from array of bytes. + + Object that provides access to the data. + Offset to the record's start. + Excel version used for infill. + Extracted record. + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to 0 #825600;8520f #ffa800;18350f #825600;28180f #ffa800;38011f #825600;47186f #ffa800;57016f #825600;1 #ffa800. + + + + + Looks up a localized string similar to 0 #ccf;11796f #9cf;23593f #96f;39977f #c9f;53740f #9cf;1 #ccf. + + + + + Looks up a localized string similar to 0 white;10486f #1f1f1f;11796f white;27525f #636363;34734f #cfcfcf;43254f #cfcfcf;49807f #1f1f1f;51773f white;1 #7f7f7f. + + + + + Looks up a localized string similar to 0 #cbcbcb;8520f #5f5f5f;13763f #5f5f5f;41288f white;43909f #b2b2b2;45220f #292929;53740f #777;1 #eaeaea. + + + + + Looks up a localized string similar to 0 #5e9eff;26214f #85c2ff;45875f #c4d6eb;1 #ffebfa. + + + + + Looks up a localized string similar to 0 #fc9fcb;8520f #f8b049;13763f #f8b049;41288f #fee7f2;43909f #f952a0;45220f #c50849;53740f #b43e85;1 #f8b049. + + + + + Looks up a localized string similar to 0 #000082;19661f #66008f;42598f #ba0066;58982f red;1 #ff8200. + + + + + Looks up a localized string similar to 0 #fff200;29491f #ff7a00;45875f #ff0300;1 #4d0808. + + + + + Looks up a localized string similar to 0 #8488c4;34734f #d4deff;54395f #d4deff;1 #96ab94. + + + + + Looks up a localized string similar to 0 #e6dcac;7864f #e6d78a;19661f #c7ac4c;29491f #e6d78a;50463f #c7ac4c;1 #e6dcac. + + + + + Looks up a localized string similar to 0 #fbe4ae;8520f #bd922a;13763f #bd922a;41288f #fbe4ae;43909f #bd922a;45220f #835e17;53740f #a28949;1 #fae3b7. + + + + + Looks up a localized string similar to 0 #dcebf5;5243f #83a7c3;8520f #768fb9;13763f #83a7c3;34079f white;36700f #9c6563;38011f #80302d;46531f #c0524e;61604f #ebdad4;1 #55261c. + + + + + Looks up a localized string similar to 0 black;13107f #000040;.5 #400040;.75 #8f0040;58982f #f27300;1 #ffbf00. + + + + + Looks up a localized string similar to 0 #d6b19c;19661f #d49e6c;45875f #a65528;1 #663012. + + + + + Looks up a localized string similar to 0 #ddebcf;.5 #9cb86e;1 #156b13. + + + + + Looks up a localized string similar to 0 black;26214f #0a128c;45875f #181cc7;57672f #7005d4;1 #8c3d91. + + + + + Looks up a localized string similar to 0 #03d4a8;.25 #21d6e0;.75 #0087e6;1 #005cbf. + + + + + Looks up a localized string similar to 0 #ffefd1;42598f #f0ebd5;1 #d1c39f. + + + + + Looks up a localized string similar to 0 #39f;10486f #0cc;30802f #99f;39322f #2e6792;46531f #33c;53084f #1170ff;1 #069. + + + + + Looks up a localized string similar to 0 #a603ab;13763f #0819fb;22938f #1a8d48;34079f yellow;47841f #ee3f17;57672f #e81766;1 #a603ab. + + + + + Looks up a localized string similar to 0 #f39;.25 #f63;.5 yellow;.75 #01a78f;1 #36f. + + + + + Looks up a localized string similar to 0 #000082;8520f #0047ff;18350f #000082;28180f #0047ff;38011f #000082;47186f #0047ff;57016f #000082;1 #0047ff. + + + + + Looks up a localized string similar to 0 white;4588f #e6e6e6;20972f #7d8496;30802f #e6e6e6;55706f #7d8496;1 #e6e6e6. + + + + + Looks up a localized string similar to 0 #fbeac7;11796f #fee7f2;23593f #fac77d;39977f #fba97d;53740f #fbd49c;1 #fee7f2. + + + + + Represents the group shape in a worksheet. + + + + + Returns the array of individual shapes in the specified . + + + The following code illustrates how to get items from group shape. + + using (ExcelEngine excelEngine = new ExcelEngine()) + { + //Create worksheet + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Excel2013; + IWorkbook workbook = application.Workbooks.Open("GroupShapes.xlsx"); + IWorksheet worksheet = workbook.Worksheets[0]; + + IShapes shapes = worksheet.Shapes; + IShape[] groupItems = (shapes[0] as IGroupShape).Items; + + //Save and dispose + workbook.SaveAs("GroupShapes.xlsx"); + workbook.Close(); + } + + + + + + A collection of cell comments. Each comment is represented by a + Comment object. + + + + + Returns the number of objects in the collection. Read-only Long. + + + The following code illustrates how to access Count property. + + using (ExcelEngine excelEngine = new ExcelEngine()) + { + //Create worksheet + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Excel2013; + IWorkbook workbook = application.Workbooks.Create(1); + IWorksheet worksheet = workbook.Worksheets[0]; + + //Add pictures + worksheet.Pictures.AddPicture("image.png"); + worksheet.Pictures.AddPicture("image.png"); + + //Get count + Console.Write(worksheet.Pictures.Count); + + //Save and dispose + workbook.SaveAs("Pictures.xlsx"); + workbook.Close(); + Console.ReadKey(); + } + + + + + + Returns a single object from the collection. + + + To know more about changing the dimensions of the added to refer Positioning and Re-Sizing Pictures. + + + The following code illustrates how to access an object in the collection. + + using (ExcelEngine excelEngine = new ExcelEngine()) + { + //Create worksheet + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Excel2013; + IWorkbook workbook = application.Workbooks.Create(1); + IWorksheet worksheet = workbook.Worksheets[0]; + + //Add picture + worksheet.Pictures.AddPicture("image.png"); + + //Set picture + IPictureShape picture = worksheet.Pictures[0]; + + //Set dimension + picture.Left = 3; + picture.Top = 3; + picture.Height = 50; + picture.Width = 50; + + //Save and dispose + workbook.SaveAs("Pictures.xlsx"); + workbook.Close(); + } + + + + + + Gets single from the collection. + + Name of the item to get. + Single item from the collection. + + The following code illustrates how to access a object from the collection. + + using (ExcelEngine excelEngine = new ExcelEngine()) + { + //Create worksheet + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Excel2013; + IWorkbook workbook = application.Workbooks.Create(1); + IWorksheet worksheet = workbook.Worksheets[0]; + + //Add picture + worksheet.Pictures.AddPicture("image.png"); + + //Set picture + IPictureShape picture = worksheet.Pictures["image"]; + + //Set dimension + picture.Left = 3; + picture.Top = 3; + picture.Height = 50; + picture.Width = 50; + + //Save and dispose + workbook.SaveAs("OLEObjects.xlsx"); + workbook.Close(); + } + + + + + + Represents the group shape in a worksheet. + + + + + Inner shapes collection. + + + + + Represents vetical flip of the shape. + + + + + Represents horizontal flip of the shape + + + + + Represents preserved elements of the group shape. + + + + + Initializes new instance of the group shape. + + Application object for the new group shape. + Parent object for the new group shape. + + + + Creates a clone of the current group shape. + + A copy of the current current shape. + + + + Layout the group shape and inner shapes. + + + + + Layout the group shape and inner shapes. + + Group shape to layout. + + + + Set updated child offset for group shape. + + + + + Returns the array of individual shapes in the specified . + + + + + Gets or Sets vetical flip + + + + + Gets or Sets vetical flip + + + + + Represents preserved elements of the group shape. + + + + + + + + + + Default prefix for picture name. + + + + + Parent worksheet. + + + + + + + + + + + + Removes picture from this collection only. + + Picture to remove. + + + + Adds picture to this collection only. + Should be called from Shapes collection only. + + Picture to add. + + + + + + + Can't find parent worksheet. + + + + + Generate Picture name + + + + + Gets single item from the collection. + + Name of the item to get. + Single item from the collection. + + + + + This class holds the name of the Syncfusion.OfficeChart.Base assembly and provides a helper + routine that helps with resolving types when loading a serialization stream and when + the framework probes for assemblies by reflection. + + + + + The full name of this assembly without version information: "Syncfusion.OfficeChart" + + + + + A reference to the for the XlsIO assembly. + + + + + The root namespace of this assembly. Used internally for locating resources within the assembly. + + + + + This delegate helps with resolving types and can be used as a eventhandler + for a event. + + The source of the event. + The event data with information about the type. + A reference to the assembly where the type is located. + + Use this handler when reading back types from a serialization stread + saved with an earlier version of this assembly. + + + + public static GridModel LoadSoap(Stream s) + { + try + { + AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(GridAssembly.AssemblyResolver); + SoapFormatter b = new SoapFormatter(); + b.AssemblyFormat = FormatterAssemblyStyle.Simple; + GridModel t = b.Deserialize(s) as GridModel; + t.Modified = false; + return t; + } + finally + { + AppDomain.CurrentDomain.AssemblyResolve -= new ResolveEventHandler(GridAssembly.AssemblyResolver); + } + } + + + +
+
diff --git a/ZZ_BarcpdeFromFont/bin/Debug/ZZ_BarcpdeFromFont.exe b/ZZ_BarcpdeFromFont/bin/Debug/ZZ_BarcpdeFromFont.exe index cc4bc8a1..a1a4eaff 100644 Binary files a/ZZ_BarcpdeFromFont/bin/Debug/ZZ_BarcpdeFromFont.exe and b/ZZ_BarcpdeFromFont/bin/Debug/ZZ_BarcpdeFromFont.exe differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/ZZ_BarcpdeFromFont.pdb b/ZZ_BarcpdeFromFont/bin/Debug/ZZ_BarcpdeFromFont.pdb index c2bc5034..0cb8114d 100644 Binary files a/ZZ_BarcpdeFromFont/bin/Debug/ZZ_BarcpdeFromFont.pdb and b/ZZ_BarcpdeFromFont/bin/Debug/ZZ_BarcpdeFromFont.pdb differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/vbBarcodes.dll b/ZZ_BarcpdeFromFont/bin/Debug/vbBarcodes.dll new file mode 100644 index 00000000..8ff71ca0 Binary files /dev/null and b/ZZ_BarcpdeFromFont/bin/Debug/vbBarcodes.dll differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/vbBarcodes.pdb b/ZZ_BarcpdeFromFont/bin/Debug/vbBarcodes.pdb new file mode 100644 index 00000000..ff0440e6 Binary files /dev/null and b/ZZ_BarcpdeFromFont/bin/Debug/vbBarcodes.pdb differ diff --git a/ZZ_BarcpdeFromFont/bin/Debug/vbBarcodes.xml b/ZZ_BarcpdeFromFont/bin/Debug/vbBarcodes.xml new file mode 100644 index 00000000..498c9a48 --- /dev/null +++ b/ZZ_BarcpdeFromFont/bin/Debug/vbBarcodes.xml @@ -0,0 +1,26 @@ + + + + +vbBarcodes + + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + diff --git a/ZZ_BarcpdeFromFont/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/ZZ_BarcpdeFromFont/obj/Debug/DesignTimeResolveAssemblyReferences.cache index 5a13ae12..ef40e6b2 100644 Binary files a/ZZ_BarcpdeFromFont/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/ZZ_BarcpdeFromFont/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/ZZ_BarcpdeFromFont/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/ZZ_BarcpdeFromFont/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index f80bb05c..99ce8be7 100644 Binary files a/ZZ_BarcpdeFromFont/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/ZZ_BarcpdeFromFont/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.AssemblyReference.cache b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.AssemblyReference.cache index 67a928d3..1d06a837 100644 Binary files a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.AssemblyReference.cache and b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.AssemblyReference.cache differ diff --git a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.CoreCompileInputs.cache b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.CoreCompileInputs.cache index 11f744ab..a7996969 100644 --- a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.CoreCompileInputs.cache +++ b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -0882598c3e6683ec65762e0b9c0cadbd3f56336060c48a0325ee34ee4e039773 +178d6a6354869d8cf7f9c627bf441e59c1c43aed288772763358de69240bb2a6 diff --git a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.FileListAbsolute.txt b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.FileListAbsolute.txt index b920dd67..3e0e13a4 100644 --- a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.FileListAbsolute.txt +++ b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.FileListAbsolute.txt @@ -33,3 +33,14 @@ E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Logging.pdb E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\NLog.xml E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\NLog.Database.xml E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\obj\Debug\ZZ_Barcp.BFEBD557.Up2Date +E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\vbBarcodes.dll +E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\MW6.SDK.dll +E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\vbBarcodes.pdb +E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\vbBarcodes.xml +E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Syncfusion.DocIO.Base.dll +E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Syncfusion.Licensing.dll +E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Syncfusion.Compression.Base.dll +E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Syncfusion.OfficeChart.Base.dll +E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Syncfusion.DocIO.Base.xml +E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Syncfusion.Compression.Base.xml +E:\Software-Projekte\OnDoc\OnDoc\ZZ_BarcpdeFromFont\bin\Debug\Syncfusion.OfficeChart.Base.xml diff --git a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.GenerateResource.cache b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.GenerateResource.cache index 18afb3ec..5948e4bb 100644 Binary files a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.GenerateResource.cache and b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.csproj.GenerateResource.cache differ diff --git a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.exe b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.exe index cc4bc8a1..a1a4eaff 100644 Binary files a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.exe and b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.exe differ diff --git a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.pdb b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.pdb index c2bc5034..0cb8114d 100644 Binary files a/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.pdb and b/ZZ_BarcpdeFromFont/obj/Debug/ZZ_BarcpdeFromFont.pdb differ diff --git a/vbBarcodes/Class1.vb b/vbBarcodes/Class1.vb index 9a3a2b5e..3455c60c 100644 --- a/vbBarcodes/Class1.vb +++ b/vbBarcodes/Class1.vb @@ -45,14 +45,35 @@ Public Class vbarcodes End Function + Public Shared Function ScaleImage(ByVal image As Image, ByVal height As Integer) As Image + Dim ratio As Double = height / image.Height + Dim newWidth = CInt(image.Width * ratio) + Dim newHeight = CInt(image.Height * ratio) + Dim newImage As Bitmap = New Bitmap(newWidth, newHeight) + Using g As Graphics = Graphics.FromImage(newImage) + g.DrawImage(image, 0, 0, newWidth, newHeight) + End Using + image.Dispose() + Return newImage + End Function + + Dim BarcodeBeschriftung As String = "" Dim BarcodeContent As String = "" Dim Kantenlaenge As String = "" Dim BarcodeFormatn As String = "" - + Dim barcodeImage2of5 As System.Drawing.Image Private Sub ins_Barcode() + Dim Barcode2of5 As New BarcodeLib.clsBarI25() + barcodeImage2of5 = Barcode2of5.GetBarI25(Color.Black, Color.White, docdata.Dokumentid.Substring(6, 16), "Bar 25i c HR", 36, 350, 50, " U", "Futur Book", 8, 0) + barcodeImage2of5.Save(Temppath + "a_" + docdata.Dokumentid + ".png", System.Drawing.Imaging.ImageFormat.Png) + 'barcodeImage2of5 = Barcode.Get_LinerBarcode(Barcoded.Symbology.I2of5, docdata.Dokumentid.Substring(6, 16), docdata.Dokumentid.Substring(6, 16) + docdata.barcode_zusatz, docdata.barcode_textposition, docdata.Zusatz_Font, Convert.ToInt32(docdata.Zusatz_FontSize), 0) + 'barcodeImage2of5 = ScaleImage(barcodeImage2of5, + ' 30) + 'barcodeImage2of5.Save(Temppath + "a_" + docdata.Dokumentid + ".png", System.Drawing.Imaging.ImageFormat.Png) + - BarcodeFormatn = docdata.barcode_formatn + BarcodeFormatn = BarcodeBeschriftung = docdata.barcode_text Kantenlaenge = docdata.barcode_kantenlaenge BarcodeContent = docdata.barcode_content @@ -162,6 +183,15 @@ Public Class vbarcodes Form.Select() Form = objWord.Selection.HeaderFooter.Shapes.Item(Textboxes(Textboxesi)) Form.Select() + + 'objWord.Selection.ParagraphFormat.Alignment = Microsoft.Office.Interop.Word.WdParagraphAlignment.wdAlignParagraphLeft + 'objWord.Selection.HomeKey(Unit:=Microsoft.Office.Interop.Word.WdUnits.wdLine, Extend:=Microsoft.Office.Interop.Word.WdMovementType.wdExtend) + 'objWord.Selection.Delete(Unit:=Microsoft.Office.Interop.Word.WdUnits.wdCharacter, Count:=1) + 'objWord.Selection.InlineShapes.AddPicture(Temppath + "\a_" + docdata.Dokumentid.ToString + ".png", LinkToFile:=False, SaveWithDocument:=True) + 'Form = Nothing + 'Return + + If docdata.barcode_horizontal = False Then objWord.ActiveDocument.Tables.Add(Range:=objWord.Selection.Range, NumRows:=1, NumColumns:=1) With objWord.Selection.Tables.Item(1) @@ -183,6 +213,9 @@ Public Class vbarcodes id = docdata.Dokumentid ''Barcode-Generierung + + + s = Bar25I(Microsoft.VisualBasic.Right(Right(id, Len(id) - 6), 16)) objWord.Selection.TypeText(Text:=s) objWord.Selection.HomeKey(Unit:=Microsoft.Office.Interop.Word.WdUnits.wdLine, Extend:=Microsoft.Office.Interop.Word.WdMovementType.wdExtend) diff --git a/vbBarcodes/bin/Debug/BarcodeLib.dll b/vbBarcodes/bin/Debug/BarcodeLib.dll new file mode 100644 index 00000000..60d53151 Binary files /dev/null and b/vbBarcodes/bin/Debug/BarcodeLib.dll differ diff --git a/vbBarcodes/bin/Debug/BarcodeLib.pdb b/vbBarcodes/bin/Debug/BarcodeLib.pdb new file mode 100644 index 00000000..9024f342 Binary files /dev/null and b/vbBarcodes/bin/Debug/BarcodeLib.pdb differ diff --git a/vbBarcodes/bin/Debug/Database.dll b/vbBarcodes/bin/Debug/Database.dll index 92d273ba..3f4307df 100644 Binary files a/vbBarcodes/bin/Debug/Database.dll and b/vbBarcodes/bin/Debug/Database.dll differ diff --git a/vbBarcodes/bin/Debug/Database.pdb b/vbBarcodes/bin/Debug/Database.pdb index aa95d7a6..687ac543 100644 Binary files a/vbBarcodes/bin/Debug/Database.pdb and b/vbBarcodes/bin/Debug/Database.pdb differ diff --git a/vbBarcodes/bin/Debug/FastReport.Bars.dll b/vbBarcodes/bin/Debug/FastReport.Bars.dll new file mode 100644 index 00000000..ad8fd0ef Binary files /dev/null and b/vbBarcodes/bin/Debug/FastReport.Bars.dll differ diff --git a/vbBarcodes/bin/Debug/FastReport.Compat.dll b/vbBarcodes/bin/Debug/FastReport.Compat.dll new file mode 100644 index 00000000..aabb6591 Binary files /dev/null and b/vbBarcodes/bin/Debug/FastReport.Compat.dll differ diff --git a/vbBarcodes/bin/Debug/FastReport.DataVisualization.dll b/vbBarcodes/bin/Debug/FastReport.DataVisualization.dll new file mode 100644 index 00000000..cd9ea7be Binary files /dev/null and b/vbBarcodes/bin/Debug/FastReport.DataVisualization.dll differ diff --git a/vbBarcodes/bin/Debug/FastReport.Editor.dll b/vbBarcodes/bin/Debug/FastReport.Editor.dll new file mode 100644 index 00000000..c7be5c7a Binary files /dev/null and b/vbBarcodes/bin/Debug/FastReport.Editor.dll differ diff --git a/vbBarcodes/bin/Debug/FastReport.dll b/vbBarcodes/bin/Debug/FastReport.dll new file mode 100644 index 00000000..9d592254 Binary files /dev/null and b/vbBarcodes/bin/Debug/FastReport.dll differ diff --git a/vbBarcodes/bin/Debug/FastReport.xml b/vbBarcodes/bin/Debug/FastReport.xml new file mode 100644 index 00000000..51ceea56 --- /dev/null +++ b/vbBarcodes/bin/Debug/FastReport.xml @@ -0,0 +1,57644 @@ + + + + FastReport + + + + + Represents the pages of a prepared report. + + + Prepared page is a page that you can see in the preview window. Prepared pages can be + accessed via property. + The common scenarios of using this object are: + + + Working with prepared pages after the report is finished: load + () or save () pages + from/to a .fpx file, get a page with specified index to work with its objects + (); modify specified page (). + + + + Using the , , + methods while report is generating to produce an output. + + + + + + + + + Gets the number of pages in the prepared report. + + + + + Gets the XML for rendering the outline of the report + + + + + Specifies an action that will be performed on method call. + + + + + Gets or sets a value indicating whether the prepared pages can be uploaded to the file cache. + + + This property is used while report is generating. + Default value for this property is true. That means the prepared pages may be uploaded to + the file cache if needed. To prevent this (for example, if you need to access some objects + on previously generated pages), set the property value to false. + + + + + + + + Adds a source page to the prepared pages dictionary. + + The template page to add. + + Call this method before using AddPage and AddBand methods. This method adds + a page to the dictionary that will be used to decrease size of the prepared report. + + + + + Adds a new page. + + The original (template) page to add. + + Call the method before adding a page. This method creates + a new output page with settings based on page parameter. + + + + + Prints a band with all its child objects. + + The band to print. + true if band was printed; false if it can't be printed + on current page due to its PrintOn property value. + + Call the method before adding a band. + + + + + Gets a page with specified index. + + Zero-based index of page. + The page with specified index. + + + + Gets the size of specified page, in pixels. + + Index of page. + the size of specified page, in pixels. + + + + Replaces the prepared page with specified one. + + The index of prepared page to replace. + The new page to replace with. + + + + Modify the prepared page with new sizes. + + The name of prepared page to reSize. + + + + Removes a page with the specified index. + + The zero-based index of page to remove. + + + + Creates a copy of a page with specified index and inserts it after original one. + + The zero-based index of original page. + + + + Saves prepared pages to a stream. + + The stream to save to. + + + + Saves prepared pages to a .fpx file. + + The name of the file to save to. + + + + Loads prepared pages from a stream. + + The stream to load from. + + + + Loads prepared pages from a .fpx file. + + The name of the file to load from. + + + + Clears the prepared report's pages. + + + + + Creates the pages of a prepared report + + + + + + Gets or sets the initial directory that is displayed by a save file dialog. + + + + + Initializes a new instance of the OutlineControl class with default settings. + + + + + Represents a Windows Forms control used to preview a report. + + + To use this control, place it on a form and link it to a report using the report's + property. To show a report, call + the Report.Show method: + + report1.Preview = previewControl1; + report1.Show(); + + Use this control's methods such as , etc. to + handle the preview. Call method to clear the preview. + You can specify whether the standard toolbar is visible in the + property. The property allows you to hide/show the statusbar. + + + + + + Occurs when current page number is changed. + + + + + Occurs when Print button clicked. + + + + + Occurs when Export button clicked. + + + + + Gets a reference to the report. + + + + + Obsolete. Gets or sets the color of page border. + + + + + Gets or sets the color of active page border. + + + + + Gets or sets the first page offset from the top left corner of the control. + + + + + Gets a reference to the TabControl + + + + + Gets or sets a value indicating whether the toolbar is visible. + + + + + Gets or sets a value indicating whether the statusbar is visible. + + + + + Gets or sets a value indicating whether the outline control is visible. + + + + + Specifies the set of buttons available in the toolbar. + + + + + Specifies the set of exports that will be available in the preview's "save" menu. + + + + + Specifies the set of exports in clouds that will be available in the preview's "save" menu. + + + + + Gets or sets a value indicating whether the fast scrolling method should be used. + + + If you enable this property, the gradient background will be disabled. + + + + + Gets or sets the visual style. + + + + + Gets or sets a value indicating that the BackColor property must be used to draw the background area. + + + By default, the background area is drawn using the color defined in the current UIStyle. + + + + + Gets the preview window's toolbar. + + + + + Gets the preview window's statusbar. + + + + + Gets or sets the initial directory that is displayed by a save file dialog. + + + + + Opens Cloud form and shows selected prepared report. + + + + + Updates the control appearance and layout on dpi change. + + + + + + + + Adds a new report tab to the preview control. + + The Report object that contains the prepared report. + The title for the new tab. + + Prepare the report using its Prepare method before you pass it to the report parameter. + + + + + Adds a new report tab to the preview control. + + The Report object that contains the prepared report. + The title for the new tab. + If true, makes the new tab active. + + Prepare the report using its Prepare method before you pass it to the report parameter. + + + + + Switches to the tab with specified text. + + Text of the tab. + true if the tab with specified text exists, or false if there is no such tab. + + + + Deletes the report tab with specified text. + + The text of the tab. + + + + Checks if the tab with specified text exists. + + The text of the tab. + true if the tab exists. + + + + Displays the text in the status bar. + + Text to display. + + + + Sets the focus to the preview control. + + + + + Prints the current report. + + true if report was printed; false if user cancels the "Print" dialog. + + + + Saves the current report to a .fpx file using the "Save FIle" dialog. + + + + + Saves the current report to a specified .fpx file. + + + + + Saves the current report to a stream. + + + + + Loads the report from a .fpx file using the "Open File" dialog. + + + + + Loads the report from a specified .fpx file. + + + + + Load the report from a stream. + + The stream to load from. + + + + Sends an email. + + + + + Finds the text in the current report using the "Find Text" dialog. + + + + + Finds the specified text in the current report. + + Text to find. + A value indicating whether the search is case-sensitive. + A value indicating whether the search matches whole words only. + true if text found. + + + + Finds the next occurence of text specified in the Find method. + + true if text found. + + + + Navigates to the first page. + + + + + Navigates to the previuos page. + + + + + Navigates to the next page. + + + + + Navigates to the last page. + + + + + Gets or sets the current page number. + + + This value is 1-based. + + + + + Gets the pages count in the current report. + + + + + Gets or sets the zoom factor. + + + 1 corresponds to 100% zoom. + + + + + Zooms in. + + + + + Zooms out. + + + + + Zooms to fit the page width. + + + + + Zooms to fit the whole page. + + + + + Edits the current page in the designer. + + + + + Copies the current page in preview. + + + + + Removes the current page in preview. + + + + + Edits the current report in the designer. + + + + + Edits the watermark. + + + + + Edits the page settings. + + + + + Navigates to the specified position inside a specified page. + + The page number (1-based). + The position inside a page, in pixels. + + + + Clears the preview. + + + + + Refresh the report. + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Specifies an action that will be performed on PreparedPages.AddPage method call. + + + + + Do not add the new prepared page if possible, increment the CurPage instead. + + + + + Add the new prepared page. + + + + + Represents a report object. + + + The instance of this class contains a report. Here are some common + actions that can be performed with this object: + + + To load a report, use the + method or call static method. + + + To save a report, call the method. + + + To register application dataset for use it in a report, call one of the + RegisterData methods. + + + To pass some parameter to a report, use the + method. + + + To design a report, call the method. + + + To run a report and preview it, call the method. + Another way is to call the method, then call the + method. + + + To run a report and print it, call the method. + Another way is to call the method, then call the + method. + + + To load/save prepared report, use one of the LoadPrepared and + SavePrepared methods. + + + To set up some global properties, use the static class + or component that you can use in the Visual Studio IDE. + + + + The report consists of one or several report pages (pages of the + type) and/or dialog forms (pages of the type). + They are stored in the collection. In turn, each page may contain report + objects. See the example below how to create a simple report in code. + + This example shows how to create a report instance, load it from a file, + register the application data, run and preview. + + Report report = new Report(); + report.Load("reportfile.frx"); + report.RegisterData(application_dataset); + report.Show(); + + This example shows how to create simple report in code. + + Report report = new Report(); + // create the report page + ReportPage page = new ReportPage(); + page.Name = "ReportPage1"; + // set paper width and height. Note: these properties are measured in millimeters. + page.PaperWidth = 210; + page.PaperHeight = 297; + // add a page to the report + report.Pages.Add(page); + // create report title + page.ReportTitle = new ReportTitleBand(); + page.ReportTitle.Name = "ReportTitle1"; + page.ReportTitle.Height = Units.Millimeters * 10; + // create Text object and put it to the title + TextObject text = new TextObject(); + text.Name = "Text1"; + text.Bounds = new RectangleF(0, 0, Units.Millimeters * 100, Units.Millimeters * 5); + page.ReportTitle.Objects.Add(text); + // create data band + DataBand data = new DataBand(); + data.Name = "Data1"; + data.Height = Units.Millimeters * 10; + // add data band to a page + page.Bands.Add(data); + + + + + + Gets a reference to the report designer. + + + This property can be used when report is designing. In other cases it returns null. + + + + + Indicates whether the report is opened from Cloud or not + + + + + Cloud file info (set if report was opened from Cloud). + + + + + Runs the report designer. + + true if report was modified, otherwise false. + + + + Runs the report designer. + + A value indicates whether the designer should run modally. + true if report was modified, otherwise false. + + + + Runs the report designer. + + The main MDI form which will be a parent for the designer. + true if report was modified, otherwise false. + + + + Gets the email settings such as recipients, subject, message body. + + + + + Gets or sets the report preview control. + + + Use this property to attach a custom preview to your report. To do this, place the PreviewControl + control to your form and set the report's Preview property to this control. + + + + + Gets the print settings such as printer name, copies, pages to print etc. + + + + + + + + + + Prepares the report and prints it. + + + + + Prints the report with the "Print" dialog. + Report should be prepared using the method. + + + + + Prints the report without the "Print" dialog. + Report should be prepared using the method. + + Printer-specific settings. + + Use the following code if you want to show the "Print" dialog, then print: + + if (report.Prepare()) + { + PrinterSettings printerSettings = null; + if (report.ShowPrintDialog(out printerSettings)) + { + report.PrintPrepared(printerSettings); + } + } + + + + + + Prepares the report and shows it in the preview window. + + + + + Prepares the report and shows it in the preview window. + + A value that specifies whether the preview window should be modal. + + + + Prepares the report and shows it in the preview window. + + A value that specifies whether the preview window should be modal. + The owner of the preview window. + + + + Prepares the report and shows it in the preview window. + + The main MDI form which will be a parent for the preview window. + + + + Previews the report. The report should be prepared using the method. + + + + + Previews the prepared report. + + A value that specifies whether the preview window should be modal. + + + + Previews the prepared report. + + A value that specifies whether the preview window should be modal. + The owner of the preview window. + + + + Previews the prepared report. + + The main MDI form which will be a parent for the preview window. + + + + Shows the "Print" dialog. + + Printer-specific settings. + true if the dialog was closed by "Print" button. + + Use the following code if you want to show the "Print" dialog, then print: + + if (report.Prepare()) + { + PrinterSettings printerSettings = null; + if (report.ShowPrintDialog(out printerSettings)) + { + report.PrintPrepared(printerSettings); + } + } + + + + + + Prepares the report and shows it in the provided PreviewControl (async way). + + The preview control. + + + + Prepares the report and shows it in the preview window (async way). + + + + + Prepares the report and shows it in the preview window (async way). + + A value that specifies whether the preview window should be modal. + + + + Prepares the report and shows it in the preview window (async way). + + A value that specifies whether the preview window should be modal. + The owner of the preview window. + + + + Prepares the report and shows it in the preview window (async way). + + The main MDI form which will be a parent for the preview window. + + + + Occurs when calc execution is started. + + + + + Occurs when report is inherited and trying to load a base report. + + + Typical use of this event is to load the base report from a database instead of a file. + + + + + Occurs when report execution is started. + + + + + Occurs when report execution is finished. + + + + + Occurs before export to set custom export parameters. + + + + + Gets the pages contained in this report. + + + This property contains pages of all types (report and dialog). Use the is/as operators + if you want to work with pages of ReportPage type. + + The following code demonstrates how to access the first report page: + + ReportPage page1 = report1.Pages[0] as ReportPage; + + + + + + Gets the report's data. + + + The dictionary contains all data items such as connections, data sources, parameters, + system variables. + + + + + Gets the collection of report parameters. + + + Parameters are displayed in the "Data" window under the "Parameters" node. + Typical use of parameters is to pass some static data from the application to the report. + You can print such data, use it in the data row filter, script etc. + Another way to use parameters is to define some reusable piece of code, for example, + to define an expression that will return the concatenation of first and second employee name. + In this case, you set the parameter's Expression property to something like this: + [Employees.FirstName] + " " + [Employees.LastName]. Now this parameter may be used in the report + to print full employee name. Each time you access such parameter, it will calculate the expression + and return its value. + You can create nested parameters. To do this, add the new Parameter to the + Parameters collection of the root parameter. To access the nested parameter, you may use the + method. + To get or set the parameter's value, use the and + methods. To set the parameter's expression, use the + method that returns a Parameter object and set its + Expression property. + + + + + Gets or sets the report information such as report name, author, description etc. + + + + + Gets or sets the base report file name. + + + This property contains the name of a report file this report is inherited from. + Note: setting this property to non-empty value will clear the report and + load the base file into it. + + + + + Gets a value indicating whether Report is prepared + + + + + Gets or sets the absolute path to the parent report. + + + This property contains the absolute path to the parent report. + + + + + Gets or sets the name of a file the report was loaded from. + + + This property is used to support the FastReport.Net infrastructure; + typically you don't need to use it. + + + + + Gets or sets the report script. + + + The script contains the ReportScript class that contains all report objects' + event handlers and own items such as private fields, properties, methods etc. The script + contains only items written by you. Unlike other report generators, the script does not + contain report objects declarations, initialization code. It is added automatically when + you run the report. + By default this property contains an empty script text. You may see it in the designer + when you switch to the Code window. + If you set this property programmatically, you have to declare the FastReport + namespace and the ReportScript class in it. Do not declare report items (such as bands, + objects, etc) in the ReportScript class: the report engine does this automatically when + you run the report. + Security note: since the report script is compiled into .NET assembly, it allows + you to do ANYTHING. For example, you may create a script that will read/write files from/to a disk. + To restrict such operations, use the property. + + + + + Gets or sets the script language of this report. + + + Note: changing this property will reset the report script to default empty script. + + + + + Gets or sets a value indicating whether the null DB value must be converted to zero, false or + empty string depending on the data column type. + + + This property is true by default. If you set it to false, you should check + the DB value before you do something with it (for example, typecast it to any type, use it + in a expression etc.) + + + + + Gets or sets a value that specifies whether the report engine should perform the second pass. + + + Typically the second pass is necessary to print the number of total pages. It also + may be used to perform some calculations on the first pass and print its results on the + second pass. + Use the Engine.FirstPass, Engine.FinalPass properties to determine which + pass the engine is performing now. + + + + + Gets or sets a value that specifies whether to compress the report file. + + + The report file is compressed using the Gzip algorithm. So you can open the + compressed report in any zip-compatible archiver. + + + + + Returns a bool value depending on the .frx or .fpx report was loaded + + + + + Gets or sets a value that specifies whether to use the file cache rather than memory + to store the prepared report pages. + + + + + Gets or sets a value that specifies the quality of text rendering. + + + Note: the default property value is TextQuality.Default. That means the report + may look different depending on OS settings. This property does not affect the printout. + + + + + Gets or sets a value that specifies if the graphic objects such as bitmaps + and shapes should be displayed smoothly. + + + + + Gets or sets the report password. + + + When you try to load the password-protected report, you will be asked + for a password. You also may specify the password in this property before loading + the report. In this case the report will load silently. + Password-protected report file is crypted using Rijndael algorithm. + Do not forget your password! It will be hard or even impossible to open + the protected file in this case. + + + + + Gets or sets a value indicating whether it is necessary to automatically fill + DataSet registered with RegisterData call. + + + If this property is true (by default), FastReport will automatically fill + the DataSet with data when you trying to run a report. Set it to false if + you want to fill the DataSet by yourself. + + + + + Gets or sets the maximum number of generated pages in a prepared report. + + + Use this property to limit the number of pages in a prepared report. + + + + + Gets or sets the collection of styles used in this report. + + + + + Gets or sets an array of assembly names that will be used to compile the report script. + + + By default this property contains the following assemblies: "System.dll", "System.Drawing.dll", + "System.Windows.Forms.dll", "System.Data.dll", "System.Xml.dll". If your script uses some types + from another assemblies, you have to add them to this property. + + + + + Gets or sets a script event name that will be fired when the report starts. + + + + + Gets or sets a script event name that will be fired when the report is finished. + + + + + Gets a value indicating that report execution was aborted. + + + + + Gets or sets a value that determines whether to store the report in the application resources. + Use this property in the MS Visual Studio IDE only. + + + By default this property is true. When set to false, you should store your report + in a file. + + + + + Gets or sets the resource string that contains the report. + + + This property is used by the MS Visual Studio to store the report. Do not use it directly. + + + + + Gets a value indicating that this report contains dialog forms. + + + + + Gets or sets a set of permissions that will be restricted for the script code. + + + Since the report script is compiled into .NET assembly, it allows you to do ANYTHING. + For example, you may create a script that will read/write files from/to a disk. This property + is used to restrict such operations. + This example shows how to restrict the file IO operations in a script: + + using System.Security; + using System.Security.Permissions; + ... + PermissionSet ps = new PermissionSet(PermissionState.None); + ps.AddPermission(new FileIOPermission(PermissionState.Unrestricted)); + report1.ScriptRestrictions = ps; + report1.Prepare(); + + + + + + + Gets a reference to the graphics cache for this report. + + + This property is used to support the FastReport.Net infrastructure. Do not use it directly. + + + + + Gets a pages of the prepared report. + + + + + Gets a reference to the report engine. + + + This property can be used when report is running. In other cases it returns null. + + + + + Gets or sets the initial page number for PageN/PageNofM system variables. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + Gets the report operation that is currently performed. + + + + + Gets or sets the Tag object of the report. + + + + + Gets or sets the flag for refresh. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes the report's fields. + + + This method is for internal use only. + + + + + Generates the file (.cs or .vb) that contains the report source code. + + Name of the file. + + Use this method to generate the report source code. This code can be attached to your project. + In this case, you will need to call the following code to run a report: + + SimpleListReport report = new SimpleListReport(); + report.RegisterData(your_dataset); + report.Show(); + + + + + + Calculates an expression and returns the result. + + The expression to calculate. + If report is running, returns the result of calculation. + Otherwise returns null. + + The expression may be any valid expression such as "1 + 2". The expression + is calculated in the report script's ReportScript class instance context, + so you may refer to any objects available in this context: private fields, + methods, report objects. + + + + + Calculates an expression and returns the result. + + The expression to calculate. + The value of currently printing object. + If report is running, returns the result of calculation. + Otherwise returns null. + + Do not call this method directly. Use the Calc(string expression) method instead. + + + + + Returns an expression value. + + The expression. + The value of currently printing object. + Returns the result of calculation. + + This method is for internal use only, do not call it directly. + + + + + Invokes the script method with given name. + + The name of the script method. + The method parameters. + + + + Gets the data column's value. Automatically converts null value to 0, false or "" + depending on the column type. + + The name of the data column including the datasource name. + If report is running, returns the column value. Otherwise returns null. + + The return value of this method does not depend on the property. + + + + string employeeName = (string)report.GetColumnValue("Employees.FirstName"); + + + + + + Gets the data column's value. This method does not convert null values. + + The name of the data column including the datasource name. + If report is running, returns the column value. + Otherwise returns null. + + + + Gets the report parameter with given name. + + The name of the parameter. + The object if found, otherwise null. + + To find nested parameter, use the "." separator: "MainParameter.NestedParameter" + + + + + Gets a value of the parameter with given name. + + The name of the parameter. + The parameter's value if found, otherwise null. + + To find nested parameter, use the "." separator: "MainParameter.NestedParameter" + + + + + Sets the parameter's value. + + The name of the parameter. + Value to set. + + Use this method to pass a value to the parameter that you've created in the "Data" window. + Such parameter may be used everythere in a report; for example, you can print its value + or use it in expressions. + You should call this method after the report was loaded and before you run it. + To access a nested parameter, use the "." separator: "MainParameter.NestedParameter" + + This method will create the parameter if it does not exist. + + + This example shows how to pass a value to the parameter with "MyParam" name: + + // load the report + report1.Load("report.frx"); + // setup the parameter + report1.SetParameterValue("MyParam", 10); + // show the report + report1.Show(); + + + + + + Gets a value of the system variable with specified name. + + Name of a variable. + The variable's value if found, otherwise null. + + + + Gets a value of the total with specified name. + + Name of total. + The total's value if found, otherwise 0. + This method converts null values to 0 if the property is set to true. + Use the method if you don't want the null conversion. + + + + + Gets a value of the total with specified name. + + Name of total. + The total's value if found, otherwise null. + + + + Gets the datasource with specified name. + + Alias name of a datasource. + The datasource object if found, otherwise null. + + + + + + + Aborts the report execution. + + + + + + + + + + + Updates the report component's styles. + + + Call this method if you change the collection. + + + + + Sets prepared pages. + + + + + + This method fires the StartReport event and the script code connected + to the StartReportEvent. + + + + + This method fires the FinishReport event and the script code connected + to the FinishReportEvent. + + + + + Runs the Export event. + + ExportReportEventArgs object. + + + + Add the name of the assembly (in addition to the default) that will be used to compile the report script + + Assembly name + + For example: report.AddReferencedAssembly("Newtonsoft.Json.dll") + + + + + Add the names of the assembly (in addition to the default) that will be used to compile the report script + + Assembly's names + + + + + + + + + + Saves the report to a stream. + + The stream to save to. + + + + Saves the report to a file. + + The name of the file to save to. + + + + Saves the report to a stream with randomized values in data sources. + + The stream to save to. + + + + Saves the report to a file with randomized values in data sources. + + The name of the file to save to. + + + + Loads report from a stream. + + The stream to load from. + + When you try to load the password-protected report, you will be asked + for a password. You also may specify the password in the + property before loading the report. In this case the report will load silently. + + + + + Loads the report from a file. + + The name of the file to load from. + + When you try to load the password-protected report, you will be asked + for a password. You also may specify the password in the + property before loading the report. In this case the report will load silently. + + + + + Loads the report from a string. + + The string that contains a stream in UTF8 or Base64 encoding. + + + + Saves the report to a string. + + The string that contains a stream. + + + + Saves the report to a string using the Base64 encoding. + + The string that contains a stream. + + + + Creates the report instance and loads the report from a stream. + + The stream to load from. + The new report instance. + + + + Creates the report instance and loads the report from a file. + + The name of the file to load from. + The new report instance. + + + + Creates the report instance and loads the report from a string. + + The string that contains a stream in UTF8 encoding. + The new report instance. + + + + Registers the application dataset with all its tables and relations to use it in the report. + + The application data. + + If you register more than one dataset, use the method. + + + + report1.Load("report.frx"); + report1.RegisterData(dataSet1); + + + + + + Registers the application dataset with all its tables and relations to use it in the report and enables all its tables. + + The application data. + The boolean value indicating whether all tables should be enabled. + + If you register more than one dataset, use the method. + + + + report1.Load("report.frx"); + report1.RegisterData(dataSet1, true); + + + + + + Registers the application dataset with specified name. + + The application data. + The name of the data. + + Use this method if you register more than one dataset. You may specify any value + for the name parameter: it is not displayed anywhere in the designer and used only + to load/save a report. The name must be persistent and unique for each registered dataset. + + + + report1.Load("report.frx"); + report1.RegisterData(dataSet1, "NorthWind"); + + + + + + Registers the application dataset with specified name and enables all its tables. + + The application data. + The name of the data. + The boolean value indicating whether all tables should be enabled. + + Use this method if you register more than one dataset. You may specify any value + for the name parameter: it is not displayed anywhere in the designer and used only + to load/save a report. The name must be persistent and unique for each registered dataset. + + + + report1.Load("report.frx"); + report1.RegisterData(dataSet1, "NorthWind", true); + + + + + + Registers the application data table to use it in the report. + + The application data. + The name of the data. + + + report1.Load("report.frx"); + report1.RegisterData(dataSet1.Tables["Orders"], "Orders"); + + + + + + Registers the application data view to use it in the report. + + The application data. + The name of the data. + + + report1.Load("report.frx"); + report1.RegisterData(myDataView, "OrdersView"); + + + + + + Registers the application data relation to use it in the report. + + The application data. + The name of the data. + + You may specify any value for the name parameter: it is not displayed anywhere + in the designer and used only to load/save a report. The name must be persistent + and unique for each registered relation. + + + + report1.Load("report.frx"); + report1.RegisterData(myDataRelation, "myRelation"); + + + + + + Obsolete. Registers the application business object to use it in the report. + + Application data. + Name of the data. + Not used. + Maximum nesting level of business objects. + + This method is obsolete. Use the method instead. + + + + + Registers the application business object to use it in the report. + + Application data. + Name of the data. + + + report1.Load("report.frx"); + report1.RegisterData(myBusinessObject, "Customers"); + + + + + + Registers the application business object to use it in the report. + + Application data. + Name of the data. + Maximum nesting level of business objects. + + This method creates initial datasource with specified nesting level. It is useful if + you create a report in code. In most cases, you don't need to specify the nesting level + because it may be selected in the designer's "Choose Report Data" dialog. + + + + + Registers the application cube link to use it in the report. + + The application data. + The name of the data. + + + report1.Load("report.frx"); + report1.RegisterData(myCubeLink, "Orders"); + + + + + + Prepares the report. + + true if report was prepared succesfully. + + + + Prepares the report. + + Specifies whether the new report should be added to a + report that was prepared before. + true if report was prepared succesfully. + + Use this method to merge prepared reports. + + This example shows how to merge two reports and preview the result: + + Report report = new Report(); + report.Load("report1.frx"); + report.Prepare(); + report.Load("report2.frx"); + report.Prepare(true); + report.ShowPrepared(); + + + + + + Prepares the report with pages limit. + + Pages limit. The number of pages equal or less will be prepared. + true if report was prepared succesfully. + + + + For internal use only. + + + + + For internal use only. + + + + + Refresh the current report. + + + Call this method in the Click or MouseUp event handler of a report object to refresh + the currently previewed report. Report will be generated again, but without dialog forms. + + + + + Refresh prepared report after interactive actions. + + + + + Serialize report object from string + + Serialized report object from string + + + + Prepare page + + + + + + Exports a report. Report should be prepared using the method. + + The export filter. + Stream to save export result to. + + + + Exports a report. Report should be prepared using the method. + + The export filter. + File name to save export result to. + + + + Saves the prepared report. Report should be prepared using the method. + + File name to save to. + + + + Saves the prepared report. Report should be prepared using the method. + + Stream to save to. + + + + Loads the prepared report from a .fpx file. + + File name to load form. + + + + Loads the prepared report from a .fpx file. + + Stream to load from. + + + + Initializes a new instance of the class with default settings. + + + + + Ensure that static constructor is called. + + + + + Create name for all unnamed elements with prefix and start with number + + Prefix for name + Number from which to start + + + + Base methods for GS1 DataBar barcodes. + + + + + Routine to generate widths for GS1 elements for a given value. + + Required value. + Number of modules. + Elements in a set (GS1 omni based and Expanded = 4; GS1 Limited = 7). + Maximum module width of an element. + False will skip patterns without a one module wide element. + Element widths + + + + + + + + Returns the number of Combinations of r selected from n. + + + + Drawing lines of strokes + + Encoded data in width strokes; For separate line, these are colored strokes, any value that is not equal to zero is black. + + Scale size. + Use left of rectangle for to set start position x, top for top pos y, bottom for bottom pos y of strokes. + Flag for reversing color by default first strokes white, disabled for separate line. + Flag separete line + + + + + + + Generates the GS1 DataBar Omnidirectional barcode. + + + + + Get value for encoding. + + Data + + + + + + + + Generates the GS1 DataBar Stacked barcode. + + + + + + + + Generates the GS1 DataBar Stacked Omnidirectional barcode. + + + + + + + + Generates the GS1 DataBar Limited barcode. + + + + + Get value for encoding. + + Data + + + + + + + + Represents a class that contains all parameters of Swiss QR Code. + + + + + IBAN object + + + + + (either EUR or CHF) + + + + + Creditor (payee) information + + + + + Reference information + + + + + Can be null + + + + + Debitor (payer) information + + + + + Amount + + + + + Optional command for alternative processing mode - line 1 + + + + + Optional command for alternative processing mode - line 2 + + + + + Creates an additional information object. Both parameters are optional and must be shorter than 141 chars in combination. + + Unstructured text message + Bill information + + + + Creates a reference object which must be passed to the SwissQrCode instance + + Type of the reference (QRR, SCOR or NON) + Reference text + Type of the reference text (QR-reference or Creditor Reference) + + + + Reference type. When using a QR-IBAN you have to use either "QRR" or "SCOR" + + + + + Contact type. Can be used for payee, ultimate payee, etc. with address in structured mode (S). + + Last name or company (optional first name) + Zip-/Postcode + City name + Two-letter country code as defined in ISO 3166-1 + Streetname without house number + House number + + + + Contact type. Can be used for payee, ultimate payee, etc. with address in combined mode (K). + + Last name or company (optional first name) + Two-letter country code as defined in ISO 3166-1 + Adress line 1 + Adress line 2 + + + + IBAN object with type information + + IBAN + Type of IBAN (normal or QR-IBAN) + + + + Represents a barcode object. + Represents a barcode object. + + + The instance of this class represents a barcode. Here are some common + actions that can be performed with this object: + + + To select the type of barcode, use the property. + + + + To specify a static barcode data, use the property. + You also may use the or properties + to specify dynamic value for a barcode. + + + + To set a barcode orientation, use the property. + + + + To specify the size of barcode, set the property + to true and use the property to zoom the barcode. + If property is set to false, you need to specify the + size using the Width and + Height properties. + + + + + This example shows how to configure the BarcodeObject to display PDF417 barcode. + + BarcodeObject barcode; + ... + barcode.Barcode = new BarcodePDF417(); + (barcode.Barcode as BarcodePDF417).CompactionMode = CompactionMode.Text; + + + + + + + + + + + + + + + + + + + + + + + + Specifies the horizontal alignment of a Barcode object. Works only when autosize is on. + + + + + Specifies that the barcode is aligned to the left of the original layout. + + + + + Specifies that the barcode is aligned to the center of the original layout. + + + + + Specifies that the barcode is aligned to the right of the original layout. + + + + + Gets or sets the barcode type. + + + + + Gets or sets the horizontal alignment of a Barcode object. + + + + + Gets or sets the symbology name. + + + The following symbology names are supported: + + "2/5 Interleaved" + "2/5 Industrial" + "2/5 Matrix" + "Codabar" + "Code128" + "Code39" + "Code39 Extended" + "Code93" + "Code93 Extended" + "EAN8" + "EAN13" + "MSI" + "PostNet" + "UPC-A" + "UPC-E0" + "UPC-E1" + "Supplement 2" + "Supplement 5" + "PDF417" + "Datamatrix" + "QRCode" + + + + + barcode.SymbologyName = "PDF417"; + (barcode.Barcode as BarcodePDF417).CompactionMode = CompactionMode.Text; + + + + + + Gets or sets the angle of barcode, in degrees. + + + + + Gets or sets a value that determines whether the barcode should handle its width automatically. + + + + + Gets or sets a data column name bound to this control. + + + Value must be in the form "Datasource.Column". + + + + + Gets or sets an expression that contains the barcode data. + + + + + Enable or disable of using an expression in Text + + + + + Gets or sets brackets for using in expressions + + + + + Gets or sets a value that indicates if the barcode should display a human-readable text. + + + + + Gets or sets the barcode data. + + + + + Gets or sets padding within the BarcodeObject. + + + + + Gets or sets a zoom of the barcode. + + + + + Gets or sets a value that determines whether it is necessary to hide the object if the + barcode data is empty. + + + + + Gets or sets the text that will be displayed if the barcode data is empty. + + + + + Gets or sets values for forced use of a bitmap image instead of a vector + + + + + Gets or sets values for hiding or showing barcode markers + + + + + Initialize current BarcodeObject as Swiss QR. + + Parameters of swiss qr. + + + + Relocate BarcodeObject based on alignment + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + + + + + + + + + + + Aztec 2D code representation + + Rustam Abdullaev + + + + Compact or full symbol indicator + + + + + Size in pixels (width and height) + + + + + Number of levels + + + + + Number of data codewords + + + + + The symbol image + + + + + The class holds the available options for the AztecWriter + + + + + Representing the minimal percentage of error correction words. + Note: an Aztec symbol should have a minimum of 25% EC words. + + + + + Specifies the required number of layers for an Aztec code: + a negative number (-1, -2, -3, -4) specifies a compact Aztec code + 0 indicates to use the minimum number of layers (the default) + a positive number (1, 2, .. 32) specifies a normal (non-compact) Aztec code + + + + + A simple, fast array of bits, represented compactly by an array of ints internally. + + Sean Owen + + + Flips bit i. + + + bit to set + + + + + Gets the next set. + + first bit to check + index of first bit that is set, starting from the given index, or size if none are set + at or beyond this given index + + + + see getNextSet(int) + + index to start looking for unset bit + index of next unset bit, or if none are unset until the end + + + Sets a block of 32 bits, starting at bit i. + + + first bit to set + + the new value of the next 32 bits. Note again that the least-significant bit + corresponds to bit i, the next-least-significant to i+1, and so on. + + + + + Sets a range of bits. + + start of range, inclusive. + end of range, exclusive + + + Clears all bits (sets to false). + + + Efficient method to check if a range of bits is set, or not set. + + + start of range, inclusive. + + end of range, exclusive + + if true, checks that bits in range are set, otherwise checks that they are not set + + true iff all bits are set or not set in range, according to value argument + + IllegalArgumentException if end is less than or equal to start + + + + Appends the bit. + + The bit. + + + underlying array of ints. The first element holds the first 32 bits, and the least + significant bit is bit 0. + + + + + Appends the least-significant bits, from value, in order from most-significant to + least-significant. For example, appending 6 bits from 0x000001E will append the bits + 0, 1, 1, 1, 1, 0 in that order. + + containing bits to append + bits from value to append + + + + Toes the bytes. + + first bit to start writing + array to write into. Bytes are written most-significant byte first. This is the opposite + of the internal representation, which is exposed by BitArray + position in array to start writing + how many bytes to write + + + Reverses all bits in the array. + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Erstellt ein neues Objekt, das eine Kopie der aktuellen Instanz darstellt. + + + Ein neues Objekt, das eine Kopie dieser Instanz darstellt. + + + + +

Represents a 2D matrix of bits. In function arguments below, and throughout the common + module, x is the column position, and y is the row position. The ordering is always x, y. + The origin is at the top-left.

+

Internally the bits are represented in a 1-D array of 32-bit ints. However, each row begins + with a new int. This is done intentionally so that we can copy out a row into a BitArray very + efficiently.

+

The ordering of bits is row-major. Within each int, the least significant bits are used first, + meaning they represent lower x values. This is compatible with BitArray's implementation.

+
+ Sean Owen + dswitkin@google.com (Daniel Switkin) +
+ + The width of the matrix + + + + The height of the matrix + + + + This method is for compatibility with older code. It's only logical to call if the matrix + is square, so I'm throwing if that's not the case. + + + row/column dimension of this matrix + + + +

Gets the requested bit, where true means black.

+ +
+ The horizontal component (i.e. which column) + + The vertical component (i.e. which row) + + value of given bit in matrix + +
+ +

Flips the given bit.

+ +
+ The horizontal component (i.e. which column) + + The vertical component (i.e. which row) + +
+ + Clears all bits (sets to false). + + +

Sets a square region of the bit matrix to true.

+ +
+ The horizontal position to begin at (inclusive) + + The vertical position to begin at (inclusive) + + The width of the region + + The height of the region + +
+ + A fast method to retrieve one row of data from the matrix as a BitArray. + + + The row to retrieve + + An optional caller-allocated BitArray, will be allocated if null or too small + + The resulting BitArray - this reference should always be used even when passing + your own row + + + + + Sets the row. + + row to set + {@link BitArray} to copy from + + + + Modifies this {@code BitMatrix} to represent the same but rotated 180 degrees + + + + + This is useful in detecting the enclosing rectangle of a 'pure' barcode. + + {left,top,width,height} enclosing rectangle of all 1 bits, or null if it is all white + + + + This is useful in detecting a corner of a 'pure' barcode. + + {x,y} coordinate of top-left-most 1 bit, or null if it is all white + + + + These are a set of hints that you may pass to Writers to specify their behavior. + + dswitkin@google.com (Daniel Switkin) + + + + Specifies the width of the barcode image + type: + + + + + Specifies the height of the barcode image + type: + + + + + Don't put the content string into the output image. + type: + + + + + Specifies what character encoding to use where applicable. + type: + + + + + Specifies margin, in pixels, to use when generating the barcode. The meaning can vary + by format; for example it controls margin before and after the barcode horizontally for + most 1D formats. + type: + + + + + Specifies whether to use compact mode for PDF417. + type: + + + + + Don't append ECI segment. + That is against the specification of QR Code but some + readers have problems if the charset is switched from + ISO-8859-1 (default) to UTF-8 with the necessary ECI segment. + If you set the property to true you can use UTF-8 encoding + and the ECI segment is omitted. + type: + + + + + if true, don't switch to codeset C for numbers + + + + + Specifies the required number of layers for an Aztec code: + a negative number (-1, -2, -3, -4) specifies a compact Aztec code + 0 indicates to use the minimum number of layers (the default) + a positive number (1, 2, .. 32) specifies a normal (non-compact) Aztec code + + + + + Generates Aztec 2D barcodes. + + Rustam Abdullaev + + + + Encodes the given binary content as an Aztec symbol + + input data string + Aztec symbol matrix with metadata + + + + Encodes the given binary content as an Aztec symbol + + input data string + minimal percentage of error check words (According to ISO/IEC 24778:2008, + a minimum of 23% + 3 words is recommended) + if non-zero, a user-specified value for the number of layers + + Aztec symbol matrix with metadata + + + + + Defines an container for encoder options + + + + + Gets the data container for all options + + + + + Specifies the height of the barcode image + + + + + Specifies the width of the barcode image + + + + + Don't put the content string into the output image. + + + + + Specifies margin, in pixels, to use when generating the barcode. The meaning can vary + by format; for example it controls margin before and after the barcode horizontally for + most 1D formats. + + + + + Initializes a new instance of the class. + + + + +

This class contains utility methods for performing mathematical operations over + the Galois Fields. Operations use a given primitive polynomial in calculations.

+

Throughout this package, elements of the GF are represented as an {@code int} + for convenience and speed (but at the cost of memory). +

+
+ Sean Owen +
+ + + Create a representation of GF(size) using the given primitive polynomial. + + irreducible polynomial whose coefficients are represented by + * the bits of an int, where the least-significant bit represents the constant + * coefficient + the size of the field + the factor b in the generator polynomial can be 0- or 1-based + * (g(x) = (x+a^b)(x+a^(b+1))...(x+a^(b+2t-1))). + * In most cases it should be 1, but for QR code it is 0. + + + + Builds the monomial. + + The degree. + The coefficient. + the monomial representing coefficient * x^degree + + + + Implements both addition and subtraction -- they are the same in GF(size). + + sum/difference of a and b + + + + Exps the specified a. + + 2 to the power of a in GF(size) + + + + Logs the specified a. + + A. + base 2 log of a in GF(size) + + + + Inverses the specified a. + + multiplicative inverse of a + + + + Multiplies the specified a with b. + + A. + The b. + product of a and b in GF(size) + + + + Gets the size. + + + + + Gets the generator base. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + +

Represents a polynomial whose coefficients are elements of a GF. + Instances of this class are immutable.

+

Much credit is due to William Rucklidge since portions of this code are an indirect + port of his C++ Reed-Solomon implementation.

+
+ Sean Owen +
+ + + Initializes a new instance of the class. + + the {@link GenericGF} instance representing the field to use + to perform computations + coefficients as ints representing elements of GF(size), arranged + from most significant (highest-power term) coefficient to least significant + if argument is null or empty, + or if leading coefficient is 0 and this is not a + constant polynomial (that is, it is not the monomial "0") + + + + degree of this polynomial + + + + + Gets a value indicating whether this is zero. + + true iff this polynomial is the monomial "0" + + + + coefficient of x^degree term in this polynomial + + The degree. + coefficient of x^degree term in this polynomial + + + + evaluation of this polynomial at a given point + + A. + evaluation of this polynomial at a given point + + + + This produces nearly optimal encodings of text into the first-level of + encoding used by Aztec code. + It uses a dynamic algorithm. For each prefix of the string, it determines + a set of encodings that could lead to this prefix. We repeatedly add a + character and generate a new set of optimal encodings until we have read + through the entire input. + @author Frank Yellin + @author Rustam Abdullaev + + + + + Convert the text represented by this High Level Encoder into a BitArray. + + text represented by this encoder encoded as a + + + + Implements Reed-Solomon encoding, as the name implies. + + Sean Owen + William Rucklidge + + + + State represents all information about a sequence necessary to generate the current output. + Note that a state is immutable. + + + + + Create a new state representing this state with a latch to a (not + necessary different) mode, and then a code. + + + + + Create a new state representing this state, with a temporary shift + to a different mode to output a single value. + + + + + Create a new state representing this state, but an additional character + output in Binary Shift mode. + + + + + Create the state identical to this one, but we are no longer in + Binary Shift mode. + + + + + Returns true if "this" state is better (or equal) to be in than "that" + state under all possible circumstances. + + + + + Contains conversion support elements such as classes, interfaces and static methods. + + + + + Copies an array of chars obtained from a String into a specified array of chars + + The String to get the chars from + Position of the String to start getting the chars + Position of the String to end getting the chars + Array to return the chars + Position of the destination array of chars to start storing the chars + An array of chars + + + + Sets the capacity for the specified List + + The List which capacity will be set + The new capacity value + + + + Converts a string-Collection to an array + + The strings. + + + + + Joins all elements to one string. + + + The separator. + The values. + + + + + Fills the specified array. + (can't use extension method because of .Net 2.0 support) + + + The array. + The value. + + + + Fills the specified array. + (can't use extension method because of .Net 2.0 support) + + + The array. + The start index. + The end index. + The value. + + + + Generates the Code128 barcode. + + + This barcode supports three code pages: A, B and C. You need to set appropriate code page + in the barcode text, or use the auto encode feature. See the property + for more details. + + This example shows how to configure the BarcodeObject to display Code128 barcode. + + BarcodeObject barcode; + ... + barcode.Barcode = new Barcode128(); + (barcode.Barcode as Barcode128).AutoEncode = false; + + + + + + Gets or sets a value that determines whether the barcode should automatically + use appropriate encoding. + + + You may use this property to encode data automatically. If you set it to false, + you must specify the code page inside the data string. The following control codes are available: + + + Sequence + Code128 control code + + + &A; + START A / CODE A + + + &B; + START B / CODE B + + + &C; + START C / CODE C + + + + &S; + SHIFT + + + &1; + FNC1 + + + &2; + FNC2 + + + &3; + FNC3 + + + &4; + FNC4 + + + The following example shows how to specify control codes: + + BarcodeObject barcode; + barcode.Barcode = new Barcode128(); + (barcode.Barcode as Barcode128).AutoEncode = false; + barcode.Text = "&C;1234&A;ABC"; + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + The base class for 2D-barcodes such as PDF417 and Datamatrix. + + + + + + + + Generates the "2/5 Interleaved" barcode. + + + + + Initializes a new instance of the class with default settings. + + + + + Generates the "Deutsche Identcode" barcode. + + + + + Gets or sets a value that indicates that CheckSum should be printed. + + + + + + + + Initializes a new instance of the class with default settings. + + + + + + + + Generates the "Deutsche Leitcode" barcode. + + + + + Gets or sets a value that indicates that CheckSum should be printed. + + + + + + + + + + + Generates the "ITF-14" barcode. + + + + + Gets or sets the value indicating that vertical bearer bars are needed to draw. + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Generates the "2/5 Industrial" barcode. + + + + + Generates the "2/5 Matrix" barcode. + + + + + Initializes a new instance of the class with default settings. + + + + + Generates the Code39 barcode. + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Generates the Code39 extended barcode. + + + + + Generates the Code93 barcode. + + + + + + + + Generates the Code93 extended barcode. + + + + + Generates the 2D Aztec barcode. + + + + + Gets or sets the error correction percent. + + + + + Initializes a new instance of the class with default settings. + + + + + + + + The base class for all barcodes. + + + + + Gets the name of barcode. + + + + + Gets or sets the color of barcode. + + + + + Gets or sets the font of barcode. + + + + + Creates the exact copy of this barcode. + + The copy of this barcode. + + + + Assigns properties from other, similar barcode. + + Barcode object to assign properties from. + + + + Draws a barcode. + + The graphic surface. + Display rectangle. + + + + Initializes a new instance of the class with default settings. + + + + + Get default value of this barcode + + + + + + Generates the Codabar barcode. + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Specifies the Datamatrix encoding. + + + + + Specifies the auto encoding. + + + + + Specifies the ASCII encoding. + + + + + Specifies the C40 encoding. + + + + + Specifies the text encoding. + + + + + Specifies the binary encoding. + + + + + Specifies the X12 encoding. + + + + + Specifies the Edifact encoding. + + + + + Specifies the Datamatrix symbol size. + + + + + Specifies the auto size. + + + + + Specifies the 10x10 size. + + + + + Specifies the 12x12 size. + + + + + Specifies the 8x8 size. + + + + + Specifies the 14x14 size. + + + + + Specifies the 8x32 size. + + + + + Specifies the 16x16 size. + + + + + Specifies the 12x26 size. + + + + + Specifies the 18x18 size. + + + + + Specifies the 20x20 size. + + + + + Specifies the 12x36 size. + + + + + Specifies the 22x22 size. + + + + + Specifies the 16x36 size. + + + + + Specifies the 24x24 size. + + + + + Specifies the 26x26 size. + + + + + Specifies the 16x48 size. + + + + + Specifies the 32x32 size. + + + + + Specifies the 36x36 size. + + + + + Specifies the 40x40 size. + + + + + Specifies the 44x44 size. + + + + + Specifies the 48x48 size. + + + + + Specifies the 52x52 size. + + + + + Specifies the 64x64 size. + + + + + Specifies the 72x72 size. + + + + + Specifies the 80x80 size. + + + + + Specifies the 88x88 size. + + + + + Specifies the 96x96 size. + + + + + Specifies the 104x104 size. + + + + + Specifies the 120x120 size. + + + + + Specifies the 132x132 size. + + + + + Specifies the 144x144 size. + + + + + Generates the 2D Data Matrix barcode. + + + + + Gets or sets the symbol size. + + + + + Gets or sets the encoding mode. + + + + + Gets or sets the code page used for text conversion. + + + Use this property to encode non-ASCII characters. For example, set this + property to 1251 to use Window CP1251. + + + + + Gets or sets the size of the pixel. + + + + + Gets or sets the value AutoEncode. + + + + + + + + Initializes a new instance of the class with default settings. + + + + + The base class for EAN barcodes. + + + + + Initializes a new instance of the class with default settings. + + + + + Generates the EAN8 barcode. + + + + + Generates the EAN13 barcode. + + + + + Initializes a new instance of the class with default settings. + + + + + Generates the GS1-128 (formerly known as UCC-128 or EAN-128) barcode. + + + + + Initializes a new instance of the class with default settings. + + + + + Generates the Intelligent Mail (USPS) barcode. + + + + + Gets or sets the value indicating that quiet zone must be shown. + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Generates the 2D MaxiCode barcode. + + + + + Sets the MaxiCode mode to use. Only modes 2 to 6 are supported. + + + + + Initializes a new instance of the class with default settings. + + + + + + + Implements MaxiCode according to ISO 16023:2000. + + MaxiCode employs a pattern of hexagons around a central 'bulls-eye' + finder pattern. Encoding in several modes is supported, but encoding in + Mode 2 and 3 require primary messages to be set. Input characters can be + any from the ISO 8859-1 (Latin-1) character set. + + TODO: Add ECI functionality. + + @author Robin Stuart + @author Daniel Gredler + + + MaxiCode module sequence, from ISO/IEC 16023 Figure 5 (30 x 33 data grid). + + + ASCII character to Code Set mapping, from ISO/IEC 16023 Appendix A. + 1 = Set A, 2 = Set B, 3 = Set C, 4 = Set D, 5 = Set E. + 0 refers to special characters that fit into more than one set (e.g. GS). + + + ASCII character to symbol value, from ISO/IEC 16023 Appendix A. + + + Sets the MaxiCode mode to use. Only modes 2 to 6 are supported. + + @param mode the MaxiCode mode to use + + + Returns the MaxiCode mode being used. Only modes 2 to 6 are supported. + + @return the MaxiCode mode being used + + + If this MaxiCode symbol is part of a series of MaxiCode symbols appended in a structured format, this method sets the + position of this symbol in the series. Valid values are 1 through 8 inclusive. + + @param position the position of this MaxiCode symbol in the structured append series + + + Returns the position of this MaxiCode symbol in a series of symbols using structured append. If this symbol is not part of + such a series, this method will return 1. + + @return the position of this MaxiCode symbol in a series of symbols using structured append + + + If this MaxiCode symbol is part of a series of MaxiCode symbols appended in a structured format, this method sets the total + number of symbols in the series. Valid values are 1 through 8 inclusive. A value of 1 indicates that this symbol is not + part of a structured append series. + + @param total the total number of MaxiCode symbols in the structured append series + + + Returns the size of the series of MaxiCode symbols using structured append that this symbol is part of. If this symbol is + not part of a structured append series, this method will return 1. + + @return size of the series that this symbol is part of + + + Sets the primary data. Should only be used for modes 2 and 3. Must conform to the following structure: + + + + + + +
CharactersMeaning
1-9Postal code data which can consist of up to 9 digits (for mode 2) or up to 6 + alphanumeric characters (for mode 3). Remaining unused characters should be + filled with the SPACE character (ASCII 32).
10-12Three-digit country code according to ISO-3166.
13-15Three digit service code. This depends on your parcel courier.
+ + @param primary the primary data +
+ + Returns the primary data for this MaxiCode symbol. Should only be used for modes 2 and 3. + + @return the primary data for this MaxiCode symbol + + + {@inheritDoc} + + + Extracts the postal code, country code and service code from the primary data and returns the corresponding primary message + codewords. + + @return the primary message codewords + + + Returns the primary message codewords for mode 2. + + @param postcode the postal code + @param country the country code + @param service the service code + @return the primary message, as codewords + + + Returns the primary message codewords for mode 3. + + @param postcode the postal code + @param country the country code + @param service the service code + @return the primary message, as codewords + + + Formats text according to Appendix A, populating the {@link #set} and {@link #character} arrays. + + @return true if the content fits in this symbol and was formatted; false otherwise + + + Guesses the best set to use at the specified index by looking at the surrounding sets. In general, characters in + lower-numbered sets are more common, so we choose them if we can. If no good surrounding sets can be found, the default + value returned is the first value from the valid set. + + @param index the current index + @param Length the maximum Length to look at + @param valid the valid sets for this index + @return the best set to use at the specified index + + + Moves everything up so that the specified shift or latch character can be inserted. + + @param position the position beyond which everything needs to be shifted + @param c the latch or shift character to insert at the specified position, after everything has been shifted + + + Returns the error correction codewords for the specified data codewords. + + @param codewords the codewords that we need error correction codewords for + @param ecclen the number of error correction codewords needed + @return the error correction codewords for the specified data codewords + + + {@inheritDoc} + + + {@inheritDoc} + + + + Generates the MSI barcode. + + + + + Specifies the error correction level used for PDF417 barcode. + + + + + Indicates that correction level should be calculated automatically. + + + + + Specifies level 0. + + + + + Specifies level 1. + + + + + Specifies level 2. + + + + + Specifies level 3. + + + + + Specifies level 4. + + + + + Specifies level 5. + + + + + Specifies level 6. + + + + + Specifies level 7. + + + + + Specifies level 8. + + + + + Specifies the compaction mode used for PDF417 barcode. + + + + + Indicates that compaction mode should be calculated automatically. + + + + + Specifies the text compaction mode. + + + + + Specifies the numeric compaction mode. + + + + + Specifies the binary compaction mode. + + + + + Generates the 2D PDF417 barcode. + + This example shows how to configure the BarcodeObject to display PDF417 barcode. + + BarcodeObject barcode; + ... + barcode.Barcode = new BarcodePDF417(); + (barcode.Barcode as BarcodePDF417).CompactionMode = PDF417CompactionMode.Text; + + + + + + Gets or sets the barcode aspect ratio. + + + A ratio or 0.5 will make the barcode width twice as large as the height. + + + + + Gets or sets the number of barcode data columns. + + + To calculate the necessary number of columns and rows, set the + and properties to 0. In this case, the property + should be set to desired aspect ratio. + + + + + Gets or sets the number of barcode data rows. + + + To calculate the necessary number of columns and rows, set the + and properties to 0. In this case, the property + should be set to desired aspect ratio. + + + + + Gets or sets the error level correction used for the barcode. + + + + + Gets or sets the code page used for text conversion. + + + Use this property to encode non-ASCII characters. For example, set this + property to 1251 to use Window CP1251. + + + + + Gets or sets the compaction mode. + + + + + Gets or sets the size of the pixel. + + + + Paints the barcode. If no exception was thrown a valid barcode is available. + + + + + + + Initializes a new instance of the class with default settings. + + + + + Generates the Pharmacode barcode. + + + + + Gets or sets the value indicating that quiet zone must be shown. + + + + + + + + Initializes a new instance of the class with default settings. + + + + + + + + Generates the Plessey barcode. + + + + + Appends the given pattern to the target array starting at pos. + + encode black/white pattern into this array + position to start encoding at in target + lengths of black/white runs to encode + starting color - false for white, true for black + the number of elements added to target. + + + + Generates the PostNet barcode. + + + + + Generates the Japan Post 4 State Code barcode. + + + + + Specifies the QR code error correction level. + + + + + L = ~7% correction. + + + + + M = ~15% correction. + + + + + Q = ~25% correction. + + + + + H = ~30% correction. + + + + + Specifies the QR Code encoding. + + + + + UTF-8 encoding. + + + + + ISO 8859-1 encoding. + + + + + Shift_JIS encoding. + + + + + Windows-1251 encoding. + + + + + cp866 encoding. + + + + + Generates the 2D QR code barcode. + + + + + Gets or sets the error correction. + + + + + Gets or sets the encoding used for text conversion. + + + + + Gets or sets the value indicating that quiet zone must be shown. + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Generates the UPC E0 barcode. + + + + + Initializes a new instance of the class with default settings. + + + + + Generates the UPC E1 barcode. + + + + + Generates the UPC A barcode. + + + + + Generates the 2-digit supplement barcode. + + + + + Initializes a new instance of the class with default settings. + + + + + Generates the 5-digit supplement barcode. + + + + + The base class for linear (1D) barcodes. + + + + + Gets or sets a value that determines if the barcode object should calculate + the check digit automatically. + + + + + Gets or sets a relative width of wide bars in the barcode. + + + + + Gets the value indicating that the barcode is numeric. + + + + + Gets or sets a value indicating that leading/trailing whitespaces must be trimmed. + + + true if trim; otherwise, false. + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Storage service that replaces direct manipulations with Config.Root xml storage. + + + + + Determines if the key has a value. + + The key to check. + True if the key has a non-empty value. + + + + Determines if the storage is not empty. + + + + + Gets a string value. + + The key. + Default value. + The value associated with a key, or default value. + + + + Gets a bool value. + + The key. + Default value. + The value associated with a key, or default value. + + + + Gets an int value. + + The key. + Default value. + The value associated with a key, or default value. + + + + Gets a float value. + + The key. + Default value. + The value associated with a key, or default value. + + + + Gets an enum value. + + The key. + Default value. + The value associated with a key, or default value. + + + + Reads a serializable object. + + The object to read. + + + + Sets a string value. + + The key. + Value associated with a key. + + + + Sets a bool value as a 0/1. + + The key. + Value associated with a key. + + + + Sets a bool value as a False/True. + + The key. + Value associated with a key. + + + + Sets an int value. + + The key. + Value associated with a key. + + + + Sets a float value. + + The key. + Value associated with a key. + + + + Sets an enum value. + + The key. + Value associated with a key. + + + + Writes a serializable object. + + The object to write. + + + + Initializes a new instance of a storage. + + The comma-separated path. + + + + Storage service for form's controls. + + + + + Use device independent pixels (measured in 96dpi mode). + + + + + Gets value in device-independent pixels (dips) and converts it to pixels. Takes property into account. + + The key. + Default value. + Minimum value. + Maximum value. + Value in dips. + + + + Stores value in device-independent pixels (dips). Takes property into account. + + The key. + Value. + + + + Gets font from font storage. + + Path to font storage. + Default value. + The font object. + + + + Initializes a new instance of storage class. + + The control which dpi setting is used to save/restore dips. + The root path. + + + + Storage service for forms. + + + + + Saves the form state to the configuration file. + + + + + Restores the form state from the configuration file. + + + + + Gets font from font storage. + + Element name from font storage. + Default value. + The font object. + + + + Initializes a new instance of storage class. + + The form which state will be saved/restored. + + + + Starts Windows process correctly for CoreWin, Net, Mono + + + + + Specifies the behaviour of compiler when exception is thrown. + + + + + Default behaviour. Throw exception. + + + + + Show exception message and replace incorrect expression by Placeholder. + + + + + Replace expression with exception message. Don't show any messages. + + + + + Replace exception with Placeholder value. Don't show any messages. + + + + + Contains compiler settings. + + + + + Gets or set the string that will be used for replacing incorrect expressions. + + + + + Gets or sets the behaviour of compiler when exception is thrown. + + + + + Get or sets number of recompiles + + + Report compiler can try to fix compilation errors and recompile your report again. This property sets the number of such attempts. + + + + + Initializes a new instance of the class. + + + + + Class for handling Exports visibility in the Preview control. + + + + + Gets an instance of ExportOptions. + + An ExportOptions instance. + + + + All exports available in the Preview control. + + + + + Occurs once right before restore exports state. + + + Use this event to configure the default exports state or add your own exports. + + + + + Occurs once right after restore exports state. + + + You may use this event to disable some exports, for example: + Config.PreviewSettings.Exports &= ~PreviewExports.PDFExport; + Doing so before state is restored may not take an effect. + + + + + Sets Export category visibility. + + Export category name. + Visibility state. + + + + Sets Export visibility. + + Export type. + Visibility state. + + + + Exports menu node. + + + + + Gets or sets the name. + + + + + Gets child nodes. + + + + + Gets the parent node. + + + + + Gets the root node. + + + + + Gets or sets the type of the export. + + + + + Gets or sets the display text. + + + + + Gets or sets the image index. + + + + + Gets or sets the image. + + + + + Gets or sets the tag. + + + + + Gets or sets a value that indicates whether the node is enabled. + + + + + Adds a category. + + The category key name. + The image index. + The category node. + + + + Adds a category. + + The category key name. + The category display text. + The image. + The category node. + + + + Adds an export and registers it. + + The export type. + The display text. + The image index. + Returns this object to allow method chaining. + + + + Adds an export and registers it. + + The export type. + The display text. + The image. + Returns this object to allow method chaining. + + + + Represents a collection of nodes. + + + + + + + + + + + Returns true if the node is a category. + + + + + Returns true if the node is an export. + + + + + Returns true if the node is a cloud export. + + + + + Returns true if the node is a category. + + + + + Adds a cloud export and registers it. + + The export type. + The display text. + The image index. + Returns this object to allow method chaining. + + + + Adds a messenger and registers it. + + The export type. + The display text. + The image index. + Returns this object to allow method chaining. + + + + + + + All cloud exports available in the preview. + + + + + All messengers exports available in the preview. + + + + + Resets the export nodes to default state. + + + + + A wrapper around PrivateFontCollection. + + + A wrapper around PrivateFontCollection. + + + + + Gets the array of FontFamily objects associated with this collection. + + + + + Checks if the font name is contained in this collection. + + The name of the font. + true if the font is contained in this collection. + + + + Returns the font's stream. + + The name of the font. + Either FileStream or MemoryStream containing font data. + + + + Adds a font from the specified file to this collection. + + A System.String that contains the file name of the font to add. + true if the font is registered by application. + + + + Adds a font contained in system memory to this collection. + + The memory address of the font to add. + The memory length of the font to add. + + + + The pseudo-random generator. + + + + + Gets a random letter in same case that source character. + + The source character. + The random character. + + + + Gets random int value from 0 to 9. + + Random int value. + + + + Gets random int value from 0 to max. + + The maximum for random digit. + Random int value. + + + + Gets random int value from min to max. + + The minimum for random digit. + The maximum for random digit. + Random int value. + + + + Gets number of random digits from 0 to 9. + + The number of digits. + Number of random digits. + + + + Gets the random byte value. + + Random byte value. + + + + Gets random byte array with specified number of elements. + + The number of elements in array. + Random byte array. + + + + Gets the randomized char value. + + Random char value. + + + + Gets the random day from start to DataTime.Today. + + The starting DateTime value. + Random DateTime value. + + + + Gets the randomized TimeSpan value beetwin specified hours. + + The starting hour (0 - 24). + The ending hour (0 - 24). + Random TimeSpan value. + + + + Gets the randomized decimal value with same number of digits that in source value. + + The source decimal value. + Random decimal value based on source. + + + + Gets the randomized double value with same number of digits that in source value. + + The source double value. + Random double value based on source. + + + + Gets the randomized Int16 value with same number of digits that in source value. + + The source Int16 value. + Random Int16 value based on source. + + + + Gets the randomized Int32 value with same number of digits that in source value. + + The source Int32 value. + Random Int32 value based on source. + + + + Gets the randomized Int64 value with same number of digits that in source value. + + The source Int64 value. + Random Int64 value based on source. + + + + Gets the randomized SByte value with same number of digits that in source value. + + The source SByte value. + Random SByte value based on source. + + + + Gets the randomized Single value with same number of digits that in source value. + + The source Single value. + Random Single value based on source. + + + + Gets the randomized string with same length and same whitespaces that in source string. + + The source string. + Random string based on source string. + + + + Gets the randomized UInt16 value with same number of digits that in source value. + + The source UInt16 value. + Random UInt16 value based on source. + + + + Gets the randomized UInt32 value with same number of digits that in source value. + + The source UInt32 value. + Random UInt32 value based on source. + + + + Gets the randomized UInt64 value with same number of digits that in source value. + + The source UInt64 value. + Random UInt64 value based on source. + + + + Gets randomized object based on the source object. + + The source object. + The type of object. + Random object based on source. + + + + Randomizes datasources. + + Collection of datasources. + + + + Initializes a new instance of the class. + + + + + Represents information about column. + + + + + Gets or sets the type of column. + + + + + Gets or sets the length of column. + + + + + Initializes a new instance of the class. + + The type of column. + The lenght of column. + + + + Represents random value of field. + + + + + Gets or sets the original value of field. + + + + + Gets or sets the random value of field. + + + + + Initializes a new instance of the class. + + The original value of field. + The random value of field. + + + + Represents collection of random values of field. + + + + + Initializes a new instance of the class. + + + + + Adds an object to the end of this collection. + + Object to add. + + + + Determines whether an element with the same origin value is in the collection. + + The object to locate in the collection. + true if object is found in the collection; otherwise, false. + + + + Determines whether an element with the same random value is in the collection. + + The object to locate in the collection. + true if object is found in the collection; otherwise, false. + + + + Gets the random value for specified origin. + + The origin value. + The random value. + + + + Contains methods used for validation of report. + + + + + Validate report. + + + Need set false if enabled backlight intersecting objects and report is designing. + Token for cancelling method if it execute in thread. + List of errors. + + + + Contains some configuration properties and settings that will be applied to the FastReport.Net + environment, including Report, Designer and Preview components. + + + + + Gets an english culture information for localization purposes + + + + + Gets dictionary of shortcut key. + + + + + Gets or sets a value indicating whether hotkeys should be disabled. + + + + + Gets or sets a value indicating saving last formatting should be disabled. + + + + + Gets or sets a value indicating that UI library must use high dpi compatible rendering. + + This flag is false by default. Turn it on at the application start if you need + better appearance of custom drawn UI items in high dpi mode. This however may result in + wrong appearance on multi-monitor setup. + /// + + + + Gets or sets the settings for the report designer window. + + + + + Gets or sets the UI style. + + + This property affects both designer and preview windows. + + + + + Gets or sets a value indicating whether the Ribbon UI should be used + + + + + Gets or sets a value indicating whether the designer window should use the compact menu (Visual Studio - alike). + + + The compact menu is currently supported in WPF only. + + + + + Gets or sets a value indicating of displaying the connection string. + If false, the connection string is hidden from the interface. + + + + + Gets or set the current icon pack index. Default is 0 (classic). + + Set this property at the application start. + + + + Gets or sets a value indicating whether SplashScreen should be displayed while loading designer + + + + + Gets or sets a value indicating whether Welcome window feature enabled. + If false, interface elements associated with the Welcome window will not be visible. + + + + + Gets or sets a value indicating whether Welcome window shoud be displayed on startup + + + + + Gets the folder to store auto save files + + + + + Gets or sets the default folder for SaveFileDialog. + + + + + Gets the autosaved report + + + + + Gets the autosaved report path + + + + + Is necessary to process abort and some other events in parallel + + + + + Gets a value indicating that the ASP.NET hosting permission level is set to full trust. + + + + + Gets or sets a value that determines whether to disable some functionality to run in web mode. + + + Use this property if you use FastReport in ASP.Net. Set this property to true before + you access any FastReport .NET objects. + + + + + Gets or sets the settings for the "Send Email" window. + + + + + Restores the form state from the configuration file. + + The form to restore. + Obsolete. Use either BaseForm.Storage or . + + + + Saves the form state to the configuration file. + + The form to save. + Obsolete. Use either BaseForm.Storage or . + + + + Create a dictionary of default keyboard shortcuts. + + + + + + Save default settings and user tokens. + Is user have to consent to save data, clear the data in the config file. + + + + + Save default settings and user tokens. + By default internal use only, it is able to be a public + + + + + Gets or sets the settings for the preview window. + + + + + Gets a value indicating that the Mono runtime is used. + + + + + Gets or sets a value indicating is it impossible to specify a local data path in Xml and Csv. + + + + + Gets or sets the optimization of strings. Is experimental feature. + + + + + Enable or disable the compression in files with prepared reports (fpx). + + + + + Gets or sets the application folder. + + + + + Gets or sets the path used to load/save the configuration file. + + + By default, the configuration file is saved to the application local data folder + (C:\Documents and Settings\User_Name\Local Settings\Application Data\FastReport\). + Set this property to "" if you want to store the configuration file in the application folder. + + + + + Gets or sets the path used to font.list file. + + + By default, the font.list file is saved to the FastReport.config folder + If WebMode enabled (or config file path is null), then file is saved in the application folder. + + + + + Gets or sets the settings for the Report component. + + + + + Gets or sets a value indicating whether RTL layout should be used. + + + + + Gets the root item of config xml. + + + + + Gets or sets the path to the temporary folder used to store temporary files. + + + The default value is null, so the system temp folder will be used. + + + + + Gets the path to the system temporary folder used to store temporary files. + + + + + Gets FastReport version. + + + + + Called on script compile + + + + + Gets a PrivateFontCollection instance. + + + + + Enable report script validation. For WebMode only + + + + + Throws when property EnableScriptSecurity has been changed + + + + + Properties of report script validation + + + + + Settings of report compiler. + + + + + Warms up the Roslyn compiler asynchronously. + + + Call this method at an application start to warm up the Roslyn compiler (used in NetCore). + + + + + Properties of ScriptSecurity + + + + + Add stubs for the most dangerous classes (in System.IO, System.Reflection etc) + + + + + List of keywords that shouldn't be declared in the report script + + + + + Throws when has changed + + + + + Sets default value for + + + + + Get access to font collection + + + + + Additional check FamilyName in function FastReport.Utils.FromString(Type type, string value); + By default option is set to FALSE value and engine works in classic mode. + If option is set to TRUE value, then engine checks family name of report's font and trying to find correct font within PrivateFontCollection. + + + + + Holds the information about the registered object. + + + + + Image index. + + + + + Button index. + + + + + Flags that will be used to create an object instance in the designer. + + + + + Indicates whether this object can be inserted several times simultaneously. + + + This is applied to Line object only. + + + + + Name of object or category. + + + + + The registered object. + + + + + The registered function. + + + + + Tooltip text. + + + + + Gets or sets the enabled flag for the object. + + + + + Enumerates all objects. + + List that will contain enumerated items. + + + + + + + + + + + + + + + + + + + Contains all registered report items such as objects, export filters, wizards. + + + Use this class to register own components, wizards, export filters or another items that + need to be serialized to/from a report file. + + + + // register own wizard + RegisteredObjects.AddWizard(typeof(MyWizard), myWizBmp, "My Wizard", true); + // register own export filter + RegisteredObjects.AddExport(typeof(MyExport), "My Export"); + // register own report object + RegisteredObjects.Add(typeof(MyObject), "ReportPage", myObjBmp, "My Object"); + + + + + + Registers a new cloud storage client. + + Type of cloud storage client. + Text for cloud storage client's menu item. + + The obj must be of type. + + + + // register own cloud storage client + RegisteredObjects.AddCloud(typeof(MyCloud), "My Cloud"); + + + + + + Registers a new messenger. + + Type of messenger. + Text messenger's menu item. + + The obj must be of type. + + + + // register own messenger + RegisteredObjects.AddMessenger(typeof(MyMessenger), "My Messenger"); + + + + + + Registers a new wizard. + + Type of wizard. + Image for wizard item. + Text for wizard item. + true if this wizard creates some items in existing report. + + The obj must be of type. + + This example shows how to register own wizard that is used to create some items in the + current report. If you want to register a wizard that will be used to create a new report, + set the isReportItemWizard to false. + + // register own wizard + RegisteredObjects.AddWizard(typeof(MyWizard), myWizBmp, "My Wizard", true); + + + + + + Root object for all registered objects. + + + + + Root object for all registered exports. + + + + + Root object for all registered DataConnections + + + + + Root object for all registered functions. + + + + + Checks whether the specified type is registered already. + + Type to check. + true if such type is registered. + + + + Registers a category that may contain several report objects. + + Category name. + Image for category button. + Text for category button. + + Category is a button on the "Objects" toolbar that shows context menu with nested items + when you click it. Consider using categories if you register several report objects. It can + save space on the "Objects" toolbar. For example, FastReport registers one category called "Shapes" + that contains the LineObject and different types of ShapeObject. + The name of category must starts either with "ReportPage," or "DialogPage," depending on + what kind of controls do you need to regiter in this category: report objects or dialog controls. + After the comma, specify the category name. So the full category name that you need to specify + in the name parameter, must be something like this: "ReportPage,Shapes". + + When register an object inside a category, you must specify the full category name in the + category parameter of the Add method. + + + + + Obsolete. Use api instead. + + + + + Obsolete. Use api instead. + + + + + Obsolete. Use api instead. + + + + + Registers custom data connection. + + Type of connection. + Name of connection. + + The obj must be of type. + + + + // register data connection + RegisteredObjects.AddConnection(typeof(MyDataConnection), "My Data Connection"); + + + + + + Registers an object in the specified category. + + Type of object to register. + Name of category to register in. + Index of image for object's button. + Index of object's button in toolbar. + + + + Registers an object in the specified category with button's image, text, object's flags and multi-insert flag. + + Type of object to register. + Name of category to register in. + Image for object's button. + Text for object's button. + Integer value that will be passed to object's OnBeforeInsert method. + Specifies whether the object may be inserted several times until you + select the "arrow" button or insert another object. + + You must specify either the page type name or existing category name in the category parameter. + The report objects must be registered in the "ReportPage" category or custom category that is + registered in the "ReportPage" as well. The dialog controls must be registered in the "DialogPage" + category or custom category that is registered in the "DialogPage" as well. + If you want to register an object that needs to be serialized, but you don't want + to show it on the toolbar, pass empty string in the category parameter. + + To learn about flags, see the method. + + + + // register the report object + RegisteredObjects.Add(typeof(MyReportObject), "ReportPage", myReportObjectBmp, "My Report Object"); + // register the dialog control + RegisteredObjects.Add(typeof(MyDialogControl), "DialogPage", myDialogControlBmp, "My Dialog Control"); + // add a category and register an object inside it + RegisteredObjects.AddCategory("ReportPage,MyCategory", myCategoryBmp, "My Category"); + // register another report object in MyCategory + RegisteredObjects.Add(typeof(MyReportObject), "ReportPage,MyCategory", + anotherReportObjectBmp, "Another Report Object"); + + + + + + Adds a new function category. + + Short name of category. + Display name of category. + + Short name is used to reference the category in the subsequent + method call. It may be any value, for example, "MyFuncs". Display name of category is displayed + in the "Data" window. In may be, for example, "My Functions". + The following standard categories are registered by default: + + + "Math" + + + "Text" + + + "DateTime" + + + "Formatting" + + + "Conversion" + + + "ProgramFlow" + + + + + This example shows how to register a new category: + + RegisteredObjects.AddFunctionCategory("MyFuncs", "My Functions"); + + + + + + Adds a new function into the specified category. + + MethodInfo containing all necessary information about the function. + The name of category to register the function in. + + Your function must be a static, public method of a public class. + The following standard categories are registered by default: + + + "Math" + + + "Text" + + + "DateTime" + + + "Formatting" + + + "Conversion" + + + "ProgramFlow" + + + You may use one of the standard categories, or create a new category by the + method call. + FastReport uses XML comments to display your function's description. + To generate XML comments, enable it in your project's properties + ("Project|Properties..." menu, "Build" tab, enable the "XML documentation file" checkbox). + + + The following example shows how to register own functions: + + public static class MyFunctions + { + /// <summary> + /// Converts a specified string to uppercase. + /// </summary> + /// <param name="s">The string to convert.</param> + /// <returns>A string in uppercase.</returns> + public static string MyUpperCase(string s) + { + return s == null ? "" : s.ToUpper(); + } + + /// <summary> + /// Returns the larger of two 32-bit signed integers. + /// </summary> + /// <param name="val1">The first of two values to compare.</param> + /// <param name="val2">The second of two values to compare.</param> + /// <returns>Parameter val1 or val2, whichever is larger.</returns> + public static int MyMaximum(int val1, int val2) + { + return Math.Max(val1, val2); + } + + /// <summary> + /// Returns the larger of two 64-bit signed integers. + /// </summary> + /// <param name="val1">The first of two values to compare.</param> + /// <param name="val2">The second of two values to compare.</param> + /// <returns>Parameter val1 or val2, whichever is larger.</returns> + public static long MyMaximum(long val1, long val2) + { + return Math.Max(val1, val2); + } + } + + // register a category + RegisteredObjects.AddFunctionCategory("MyFuncs", "My Functions"); + + // obtain MethodInfo for our functions + Type myType = typeof(MyFunctions); + MethodInfo myUpperCaseFunc = myType.GetMethod("MyUpperCase"); + MethodInfo myMaximumIntFunc = myType.GetMethod("MyMaximum", new Type[] { typeof(int), typeof(int) }); + MethodInfo myMaximumLongFunc = myType.GetMethod("MyMaximum", new Type[] { typeof(long), typeof(long) }); + + // register simple function + RegisteredObjects.AddFunction(myUpperCaseFunc, "MyFuncs"); + + // register overridden functions + RegisteredObjects.AddFunction(myMaximumIntFunc, "MyFuncs,MyMaximum"); + RegisteredObjects.AddFunction(myMaximumLongFunc, "MyFuncs,MyMaximum"); + + + + + + Finds the registered object's info. + + The type of object to find. + The object's info. + This method can be used to disable some objects, for example: + RegisteredObjects.FindObject(typeof(PDFExport)).Enabled = false; + + + + + Register and override the method with method name in the type. + For property use the property name and _Get or _Set suffix. + + Type for registering method + Name of method fir registering + Method for registering + + + + Gets the method or null if method is not found + + Type for method finding + Name for method finfing + Use True value for inheritance the method from base type, use false for get the method only from the this type + + + + + Used to get localized values from the language resource file. + + + The resource file used by default is english. To load another locale, call + the method. It should be done at application start + before you use any FastReport classes. + + + + + Adds user image to 96 dpi images. + + User image (16x16 pixels). + Image index in the image list. + + + + Gets the standard images used in FastReport as an ImageList. + + ImageList object that contains standard images. + + FastReport contains about 240 truecolor images of 16x16 size that are stored in one + big image side-by-side. This image can be found in FastReport resources (the "buttons.png" resource). + + + + + Gets an image with specified index. + + Image index (zero-based). + Dpi value (96 for base dpi). + The image with specified index. + + FastReport contains about 240 truecolor images of 16x16 size that are stored in one + big image side-by-side. This image can be found in FastReport resources (the "buttons.png" resource). + + + + + Gets an image with specified name from resources. + + The name of image resource. + Dpi value (96 for base dpi). + The image. + + + + Gets an image with specified index and converts it to Icon. + + Image index (zero-based). + Dpi value (96 for base dpi). + The Icon object. + + + + Gets or set the folder that contains localization files (*.frl). + + + + + Returns the current UI locale name, for example "en". + + + + + Loads the locale from a file. + + The name of the file that contains localized strings. + + + + Loads and caches the locale from information. + Notes: *.frl the localization file is looked for in + To work correctly, it is recommended to install FastReport.Localization package + + + + + + Loads the locale from a stream. + + The stream that contains localized strings. + + + + Loads the english locale. + + + + + Gets a string with specified ID. + + The resource ID. + The localized string. + + Since the locale file is xml-based, it may contain several xml node levels. For example, + the file contains the following items: + + <Objects> + <Report Text="Report"/> + <Bands Text="Bands"> + <ReportTitle Text="Report Title"/> + </Bands> + </Objects> + + To get the localized "ReportTitle" value, you should pass the following ID + to this method: "Objects,Bands,ReportTitle". + + + + + Get builtin string. + + + + + + + Replaces the specified locale string with the new value. + + Comma-separated path to the existing locale string. + The new string. + + Use this method if you want to replace some existing locale value with the new one. + + + + Res.Set("Messages,SaveChanges", "My text that will appear when you close the designer"); + + + + + + Tries to get a string with specified ID. + + The resource ID. + The localized value, if specified ID exists; otherwise, the ID itself. + + + + Tries to get builtin string with specified ID. + + + + + + + Checks if specified ID exists. + + The resource ID. + true if specified ID exists. + + + + Resource loader class. + + + + + Gets a bitmap from specified assembly resource. + + Assembly name. + Resource name. + Bitmap object. + + + + Gets a bitmap from specified FastReport assembly resource. + + Resource name. + Bitmap object. + + + + Gets a cursor from specified assembly resource. + + Assembly name. + Resource name. + Cursor object. + + + + Gets a cursor from specified FastReport assembly resource. + + Resource name. + Cursor object. + + + + Gets an icon from specified assembly resource. + + Assembly name. + Resource name. + Icon object. + + + + Gets an icon from specified FastReport assembly resource. + + Resource name. + Icon object. + + + + Gets a stream from specified assembly resource. + + Assembly name. + Resource name. + Stream object. + + + + Gets a stream from FastReport assembly resource. + + Resource name. + Stream object. + + + + Gets a stream from specified assembly resource and unpacks it. + + Assembly name. + Resource name. + Stream object. + + + + Gets a stream from specified FastReport assembly resource and unpacks it. + + Resource name. + Stream object. + + + + A static class that contains methods to auto-convert rtl layout. + + + + + Changes control's layout to rtl. + + + + + + Draws an image and a text. + + The control which is used to determine RTL and DPI settings. + The draw event args. + The image. + The text. + This method is used to draw items in an owner-drawn listboxes and comboboxes. It respects RTL and DPI settings of a control. + + + + Draws control's border. + + The control. + The graphics. + The bounds. + + + + Gets current dpi value for the control. + + The control. + The dpi value. + + + + Gets current dpi multiplier for the control (1.0 for 96dpi). + + The control. + The dpi multiplier. + + + + Gets current font dpi multiplier for the control (1.0 for 96dpi). + + The return value depends on the base resolution of the main screen. + The control. + The font dpi multiplier. + + + + Converts logical units to device units (pixels). + + The control. + Logical units. + Device units. + + + + Converts logical units to device units (pixels). + + The control. + Logical units. + Device units. + + + + Converts logical units to device units (pixels). + + The control. + Logical units. + Device units. + + + + Converts logical units to device units (pixels). + + The control. + Logical units. + Device units. + + + + Converts logical units to device units (pixels). + + The control. + Logical units. + Device units. + + + + Converts logical font to device font. + + The control. + Logical font. + Determines whether to dispose the original font or not. + Device font. + + + + Returns an image from resources using control's dpi value. + + The control. + Image index. + An image with specified index from "buttons.png" resource. + + + + Returns an image from resources using control's dpi value. + + The control. + Image name. + An image with specified index from "buttons.png" resource. + + + + Returns an imagelist from resources using control's dpi value. + + The control. + An imagelist from "buttons.png" resource. + + + + The style of FastReport user interface. + + + + + Specifies the Microsoft Office 2003 style (blue). + + + + + Specifies the Microsoft Office 2007 style (blue). + + + + + Specifies the Microsoft Office 2007 style (silver). + + + + + Specifies the Microsoft Office 2007 style (black). + + + + + Specifies the Office 2010 (Blue) style. + + + + + Specifies the Office 2010 (Silver) style. + + + + + Specifies the Office 2010 (Black) style. + + + + + Specifies the Office 2013 style. + + + + + Specifies the Microsoft Visual Studio 2005 style. + + + + + Specifies the Visual Studio 2010 style. + + + + + Specifies the Visual Studio 2012 (Light) style. + + + + + Specifies the Microsoft Vista style (black). + + + + + Contains conversion methods between FastReport's UIStyle to various enums. + + + + + Contains visual style names. + + + + + Converts FastReport's UIStyle to eDotNetBarStyle. + + Style to convert. + Value of eDotNetBarStyle type. + + + + Converts FastReport's UIStyle to eTabStripStyle. + + Style to convert. + Value of eTabStripStyle type. + + + + Converts FastReport's UIStyle to eTabStripStyle. + + Style to convert. + Value of eTabStripStyle type. + + + + Converts FastReport's UIStyle to eOffice2007ColorScheme. + + Style to convert. + Value of eOffice2007ColorScheme type. + + + + Returns app workspace color for the given style. + + UI style. + The color. + + + + Returns control color for the given style. + + UI style. + The color. + + + + Contains methods to call common editors. + + + Use this class if you are writing a new component for FastReport. + + + + + Invokes the expression editor. + + A reference to the report. + The expression to edit. + The new expression. + + + + Invokes the border editor. + + The Border to edit. + The new border. + + + + Invokes the data band columns editor. + + The data band columns to edit. + + + + + Invokes the fill editor. + + The fill to edit. + The new fill. + + + + Invokes the outline editor. + + The outline to edit. + The new outline. + + + + Invokes the text editor. + + A reference to the report. May be null + The text to edit. + True to hide data tree part. + The new text. + + + + Contains methods that peform string to object and vice versa conversions. + + + + + Converts an object to a string. + + The object to convert. + The string that contains the converted value. + + + + Converts a value to a string using the specified converter. + + The object to convert. + The type of converter. + The string that contains the converted value. + + + + Converts a string value to the specified data type. + + The data type to convert to. + The string to convert from. + The object of type specified in the type parameter that contains + a converted value. + + + + Converts a string to an object using the specified converter. + + The string to convert. + The type of converter. + The object that contains the converted value. + + + + Converts a string containing special symbols to the xml-compatible string. + + The string to convert. + The result string. + + This method replaces some special symbols like <, > into xml-compatible + form: &lt;, &gt;. To convert such string back to original form, use the + method. + + + + + Converts a string containing special symbols to the xml-compatible string. + + The string to convert. + Determines whether it is necessary to convert cr-lf symbols to xml form. + The result string. + + + + Converts a value to xml-compatible string. + + The value to convert. + The result string. + + + + Convert the xml-compatible string to the regular one. + + The string to convert. + The result string. + + This is counterpart to the method. + + + + + Decreases the precision of floating-point value. + + The initial value. + The number of decimal digits in the fraction. + The value with lesser precision. + + + + Converts a string value to the float. + + The string value to convert. + The float value. + + Both "." or "," decimal separators are allowed. + + + + + Converts a string value to the float. + + The string value to convert. + Indicates whether to ignore non-digit symbols. + The float value. + + + + Converts a string value to the float. + + The string value to convert. + Decimal separator. + The float value. + + + + Converts a string value to the float. + + The string value to convert. + Decimal separator. + Indicates whether to ignore non-digit symbols. + The float value. + + + + Converts the string containing several text lines to a collection of strings. + + The string to convert. + The collection instance. + + + + Converts a collection of strings to a string. + + The collection to convert. + The string that contains all lines from the collection. + + + + Converts null value to 0, false, empty string, depending on type. + + The data type. + The value of the type data type. + + + + Converts string value to byte[]. + + The string to convert + The value of the byte[] data type. + + + + Converts a string to NameValueCollection. + + The string to convert. + The NameValueCollection that contains the name/value pairs. + + + + Convert &amp;&Tab;&quot; etc to symbol and return result as string + + String for processing + Position for processing + Result of processing + True if successful + + + + Convert &amp;&Tab;&quot; etc to symbol and return result as string + + String for processing + Position for processing + Append result of processing to FastString + True if successful + + + + Provides the message functions. + + + + + Shows the Message Box with error message. + + The message. + + + + Shows Message Box with confirmation. + + The message. + The dialog buttons. + The dialog result. + + + + Shows information Message Box. + + The message. + + + + The profiler. + + + + + Starts the profiler. + + + + + Finishes the profiler and displays results. + + + + + Script security event arguments. + + + + + Gets the report language. + + The report language. + + + + Gets the report. + + The report. + + + + Gets the report script. + + The report script. + + + + Gets the references of script. + + Script references + + + + Gets or sets value if script is allowed to compile + + true if is valid; otherwise, false. + + + + Initializes a new instance of the class. + + Report. + Report's script. + Report's references. + + + + Base class for plugin's assembly initializer. + + + FastReport has an open architecture. That means you can extend it with own classes + such as report objects, wizards, export filters. Usually such classes are + placed in separate dlls (plugins). FastReport has mechanism to load plugin dlls. You can specify + which plugins to load at first start, in the FastReport configuration file (by default it is located in the + C:\Documents and Settings\User_Name\Local Settings\Application Data\FastReport\FastReport.config file). + To do this, add an xml item with your plugin name inside the <Plugins> item: + + <?xml version="1.0" encoding="utf-8"?> + <Config> + <Plugins> + <Plugin Name="c:\Program Files\MyProgram\MyPlugin.dll"/> + </Plugins> + </Config> + + When you run your application and use the Report object first time, all plugins will be loaded. + To register objects contained in a plugin, FastReport searches for classes of type + AssemblyInitializerBase and instantiates them. + Use this class to register custom report objects, controls, wizards, exports that + are contained in the assembly. To do this, make your own class of the AssemblyInitializerBase + type and override its default constructor. In the constructor, call RegisteredObjects.Add + methods to register all necessary items. + + + + + Registers plugins contained in this assembly. + + + This constructor is called automatically when the assembly is loaded. + + This example show how to create own assembly initializer to register own items. + + public class MyAssemblyInitializer : AssemblyInitializerBase + { + public MyAssemblyInitializer() + { + // register own wizard + RegisteredObjects.AddWizard(typeof(MyWizard), myWizBmp, "My Wizard", true); + // register own export filter + RegisteredObjects.AddExport(typeof(MyExport), "My Export"); + // register own report object + RegisteredObjects.Add(typeof(MyObject), "ReportPage", myObjBmp, "My Object"); + } + } + + + + + + Source of image, only for inline img tag + + + + + Class for ACMYK color conversions + + + + + Alpha transparency 0..255 + + + + + Cyan 0..100 + + + + + Magenta 0..100 + + + + + Yellow 0..100 + + + + + Black 0..100 + + + + + Returns ACMYK as string. + + + + + + Gets CMYKA from string. + + + + + + Converts Color value to ACMYK + + + + + + Converts separate ARGB values in ACMYK + + + + + + + + + Returns ARGB color value + + + + + + Creates CMYKColor from ARGB values + + + + + + + + + Creates CMYKColor from ACMYK values + + + + + + + + + + Creates CMYKColor from string (comma separated values) + + + + + + Creates CMYKColor from Color value + + + + + + Color Utilities + + + + + Return true for CMYK Jpeg image + + + + + + + Calc the Crc32 checksum + + + + + Caclulate Streams checksum. + + + + + + + Calculate byte array checksum. + + + + + + + Calculate string checksum. + + + + + + + Begin the checksum + + + + + + Update the checksum + + + + + + + + + + End the checksum. + + + + + + + Contains methods used to crypt/decrypt a data. + + + + + Sets the password that is used to crypt connection strings stored in a report. + + + See the property for more details. + + + + + Crypts a stream using specified password. + + The destination stream that will receive the crypted data. + The password. + The stream that you need to write to. + + Pass the stream you need to write to, to the dest parameter. Write your data to the + stream that this method returns. When you close this stream, the dest stream will be + closed too and contains the crypted data. + + + + + Decrypts a stream using specified password. + + Stream that contains crypted data. + The password. + The stream that contains decrypted data. + + You should read from the stream that this method returns. + + + + + Checks if the stream contains a crypt signature. + + Stream to check. + true if stream is crypted. + + + + Encrypts the string using the default password. + + String to encrypt. + The encrypted string. + + The password used to encrypt a string can be set via property. + You also may use the method if you want to + specify another password. + + + + + Encrypts the string using specified password. + + String to encrypt. + The password. + The encrypted string. + + + + Decrypts the string using the default password. + + String to decrypt. + The decrypted string. + + The password used to decrypt a string can be set via property. + You also may use the method if you want to + specify another password. + + + + + Decrypts the string using specified password. + + String to decrypt. + The password. + The decrypted string. + + + + Computes hash of specified stream. Initial position in stream will be saved. + + Initial stream + + + + + Computes hash of specified array. + + Initial array + + + + + Computes hash of specified array. + + Initial array + + + + + MurmurHash is a non-cryptographic hash function suitable for general hash-based lookup. + It was created by Austin Appleby in 2008 and is currently hosted on Github along with its test suite named 'SMHasher'. + It also exists in a number of variants, all of which have been released into the public domain. + The name comes from two basic operations, multiply (MU) and rotate (R), used in its inner loop. + https://en.wikipedia.org/wiki/MurmurHash + Implementation of Murmur3 Hash by Adam Horvath + http://blog.teamleadnet.com/2012/08/murmurhash3-ultra-fast-hash-algorithm.html + + + + + READ_SIZE + + + + + ComputeHash function + + + + + + + Gets the Hash + + + + + Used to draw a text with non-standard angle or justification. + + + + + Draws a string. + + String to draw. + Graphics object to draw on. + Font that used to draw text. + Brush that determines the color and texture of the drawn text. + RectangleF structure that specifies the location of the drawn text. + StringFormat that specifies formatting attributes, such as line spacing and alignment, that are applied to the drawn text. + Horizontal alignment of the text. + Width ratio of the font used to draw a string. + Line height, in pixels. + Angle of the text, in degrees. + Indicates whther to draw string close to the printout. + Force justify for the last line. + + + + Initializes a new instance of the DrawText class with default settings. + + + + + The method adjusts the dotted line style for the in a graphical context. + + Collection of values for custom dash pattern. + Pen for lines. + Border around the report object. + + If a DashPattern pattern is specified and contains elements, the method checks each element. + If the element is less than or equal to 0, it is replaced by 1.
+ Then the resulting array of patterns is converted to the type and set as a dotted line pattern for the .
+ If the pattern is empty or not specified, + the method sets the style of the dotted line of the equal to the style of the dotted line of the object. +
+
+ + + Draws control to a bitmap. + + Control to draw. + Determines whether to draw control's children or not. + The bitmap. + + + + The exception that is thrown when the user tried to set object's name that is already exists. + + + + + The exception that is thrown when the user tried to rename an object that is introduced in the ancestor report. + + + + + The exception that is thrown when the user tried to rename an object that is introduced in the ancestor report. + + + + + The exception that is thrown when loading bad formed xml report file. + + + + + The exception that is thrown when loading an encrypted report with wrong password. + + + + + The exception that is thrown if there is an error in the report's script code. + + + + + The exception that is thrown when trying to set an object's Parent property to + an object that not accepts children of this type. + + + + + The exception that is thrown when trying to load a report file that contains reference to an + unknown object type. + + + + + The exception that is thrown when initializing a table datasource which + TableName or Alias is not set properly. + + + + + The exception that is thrown when trying to access a row of a datasource that is not initialized yet. + + + + + The exception that is thrown if an error occurs in the TableObject.ManualBuild event. + + + + + The exception that is thrown if an error occurs in the MatrixObject.ManualBuild event. + + + + + The exception that is thrown if a report object's Name property is set to wrong value. + + + + + The exception that is thrown if an unknown value is supplied to some methods dealing with totals, variables etc. + + + + + throws this exception if an error occurs in the SaveReport method. + See inner exception for detailed information. + + + + + The exception that is thrown when the Group Header has no group condition. + + + + + The exception that is thrown when the image cannot be loaded. + + + + + The helper class used to create unique component names using the fastest method. + + + Note: you can create unique component's name using its CreateUniqueName method. + However, it is very slow and can't be used in some situations (when you create a report + layout in a code and have a lot of objects on a page). + + This example demonstrates how to use this class. + + FastNameCreator nameCreator = new FastNameCreator(Report.AllObjects); + foreach (Base c in Report.AllObjects) + { + if (c.Name == "") + nameCreator.CreateUniqueName(c); + } + + + + + + Creates the unique name for the given object. + + The object to create name for. + + + + Initializes a new instance of the FastNameCreator class with collection of + existing report objects. + + The collection of existing report objects. + + + + Fast alternative of StringBuilder. + + + + + Gets the Length of string. + + + + + Gets or sets the chars of string. + + + Char value + + + + Gets StringBuilder + + + + + Initialize the new array for chars. + + Length of initial array. + + + + Checks the empty array. + + True if string is empty. + + + + Converts the array in string. + + String value. + + + + Clears the string. + + FastString object. + + + + Appends the string by string value. + + String value. + FastString object. + + + + Appends the string by string value. + + String value. + FastString object. + + + + Append formatted string. + + + + + + + + Appends new line. + + FastString object. + + + + Appends the string by char value. + + Char value. + FastString object. + + + + Appends the another FastString object. + + FastString object. + FastString object. + + + + Appends the string by object data. + + Object value. + FastString object. + + + + Copies the substring in char array. + + Start index in source. + Destination array. + Destination index. + Count of chars + + + + Removes substring. + + Start index of removed string. + Length of removed string. + FastString object. + + + + Inserts string. + + Start index in existing string. + Value of inserting string. + FastString object. + + + + Replacing the substring on other. + + Old string value. + New string value. + FastString object. + + + + Index of substring. + + Substring for search. + Sarting position for search. + Position of substring. + + + + Compare of substring in position. + + Starting index for comparsion. + Value for compare. + True if substring is identical in position. + + + + Returns the substring. + + Starting index. + Length of substring. + Substring. + + + + Creates the new FastString object with initial capacity. + + Initial capacity. + + + + Creates the new FastString object with default capacity. + + + + + Creates the new FastString object from initial string. + + + + + + Represents a collection of float values. + + + + + Gets or sets the value at the specified index. + + Index of a value. + The value at the specified index. + + + + Adds the specified values to the end of this collection. + + + + + + Adds a value to the end of this collection. + + Value to add. + Index of the added value. + + + + Inserts a value into this collection at the specified index. + + The zero-based index at which value should be inserted. + The value to insert. + + + + Removes the specified value from the collection. + + Value to remove. + + + + Returns the zero-based index of the first occurrence of a value. + + The value to locate in the collection. + The zero-based index of the first occurrence of value within the entire collection, if found; + otherwise, -1. + + + + Determines whether a value is in the collection. + + The value to locate in the collection. + true if value is found in the collection; otherwise, false. + + + + Copies values from another collection. + + Collection to copy from. + + + + Represents a collection of FastReport base objects. + + + + + Gets an owner of this collection. + + + + + Adds the specified elements to the end of this collection. + + Range of elements. + + + + Adds the specified elements to the end of this collection. + + Collection of elements. + + + + Adds an object to the end of this collection. + + Object to add. + Index of the added object. + + + + Inserts an object into this collection at the specified index. + + The zero-based index at which value should be inserted. + The object to insert. + + + + Removes the specified object from the collection. + + Object to remove. + + + + Returns the zero-based index of the first occurrence of an object. + + The object to locate in the collection. + The zero-based index of the first occurrence of value within the entire collection, if found; + otherwise, -1. + + + + Determines whether an element is in the collection. + + The object to locate in the collection. + true if object is found in the collection; otherwise, false. + + + + Returns an array of collection items. + + + + + + Determines whether two collections are equal. + + The collection to compare with. + true if collections are equal; false otherwise. + + + + Copies the content to another collection. + + The collection to copy to. + + + + + + + + + + + + + Initializes a new instance of the FRCollectionBase class with default settings. + + + + + Initializes a new instance of the FRCollectionBase class with specified owner. + + The owner of this collection. + + + + Specifies the main mode of the designer's workspace. + + + + + Specifies selection mode. + + + + + Specifies insertion mode. + + + + + Specifies drag-drop mode. + + + + + Specifies the additional mode of the designer's workspace. + + + + + Specifies default mode. + + + + + Indicates that user moves the selected objects. + + + + + Indicates that user resizes the selected objects. + + + + + Indicates that user draw the selection rectangle. + + + + + Specifies a custom mode handled by the object. + + + + + Provides a data for mouse events. + + + + + The X mouse coordinate. + + + + + The Y mouse coordinate. + + + + + Current state of mouse buttons. + + + + + Current keyboard state. + + + + + Indicates that current object was handled the mouse message. + + + + + The delta of the mouse movement. + + + + + The mouse wheel delta. + + + + + Current cursor shape. + + + + + Additional mode of the designer's workspace. + + + + + Current sizing point if Mode is set to Size. + + + + + Current selection rectangle if mode is set to SelectionRect. + + + + + Active object that handles the mouse event. + + + + + The source object of drag-drop operation. + + + + + Multiple sources objects of drag-drop operation. + + + + + The target object of drag-drop operation. + + + + + The message to show when drag source is over the object. + + + + + Additional data supplied and handled by report objects. + + + + + Specifies the sizing point used to resize an object by mouse. + + + + + No sizing point. + + + + + Specifies left-top sizing point. + + + + + Specifies left-bottom sizing point. + + + + + Specifies right-top sizing point. + + + + + Specifies right-bottom sizing point. + + + + + Specifies top-center sizing point. + + + + + Specifies bottom-center sizing point. + + + + + Specifies left-center sizing point. + + + + + Specifies right-center sizing point. + + + + + Specifies a selection point used to resize an object. + + + + + The X coordinate of the point. + + + + + The Y coordinate of the point. + + + + + The size mode. + + + + + Initializes a new instance of the SelectionPoint class with specified location and size mode. + + The X coordinate. + The Y coordinate. + Size mode. + + + + Provides a data for paint event. + + + + + Gets a Graphics object to draw on. + + + + + Gets the X scale factor. + + + + + Gets the Y scale factor. + + + + + Gets the cache that contains graphics objects. + + + + + Initializes a new instance of the FRPaintEventArgs class with specified settings. + + IGraphicsRenderer object to draw on. + X scale factor. + Y scale factor. + Cache that contains graphics objects. + + + + Initializes a new instance of the FRPaintEventArgs class with specified settings. + + Graphics object to draw on. + X scale factor. + Y scale factor. + Cache that contains graphics objects. + + + + The reader used to deserialize object's properties from a report file. + + + + + Gets a string that contains errors occured during the load. + + + + + Gets the current item name. + + + + + Gets or sets a value indicating whther is necessary to read the object's children. + + + + + Returns Root element for this reader + + + + + Gets or sets target of serialization. + + + + + Reads the specified object. + + The object to read. + + The object must implement the interface. This method + invokes the Deserialize method of the object. + + This example demonstrates the use of ReadProperties, ReadChildren, + NextItem, Read methods. + + public void Deserialize(FRReader reader) + { + // read simple properties like "Text", complex properties like "Border.Lines" + reader.ReadProperties(this); + + // moves the current reader item + while (reader.NextItem()) + { + // read the "Styles" collection + if (String.Compare(reader.ItemName, "Styles", true) == 0) + reader.Read(Styles); + else if (reader.ReadChildren) + { + // if read of children is enabled, read them + Base obj = reader.Read(); + if (obj != null) + obj.Parent = this; + } + } + } + + + + + + Reads an object from current xml node. + + The object. + + This method creates an instance of object described by the current xml node, then invokes + its Deserialize method. + + This example demonstrates the use of ReadProperties, ReadChildren, + NextItem, Read methods. + + public void Deserialize(FRReader reader) + { + // read simple properties like "Text", complex properties like "Border.Lines" + reader.ReadProperties(this); + + // moves the current reader item + while (reader.NextItem()) + { + // read the "Styles" collection + if (String.Compare(reader.ItemName, "Styles", true) == 0) + reader.Read(Styles); + else if (reader.ReadChildren) + { + // if read of children is enabled, read them + Base obj = reader.Read(); + if (obj != null) + obj.Parent = this; + } + } + } + + + + + + Reads properties of specified object. + + The object to read. + + This method reads simple properties like "Text", "Border.Lines" etc. for specified object. + To read nested properties like collections, you should override the + method of an object. + + This example demonstrates the use of ReadProperties, ReadChildren, + NextItem, Read methods. + + public void Deserialize(FRReader reader) + { + // read simple properties like "Text", complex properties like "Border.Lines" + reader.ReadProperties(this); + + // moves the current reader item + while (reader.NextItem()) + { + // read the "Styles" collection + if (String.Compare(reader.ItemName, "Styles", true) == 0) + reader.Read(Styles); + else if (reader.ReadChildren) + { + // if read of children is enabled, read them + Base obj = reader.Read(); + if (obj != null) + obj.Parent = this; + } + } + } + + + + + + Moves the current xml item. + + false if there is no more items to move on; true otherwise. + + This method is used to read child objects. + + This example demonstrates the use of ReadProperties, ReadChildren, + NextItem, Read methods. + + public void Deserialize(FRReader reader) + { + // read simple properties like "Text", complex properties like "Border.Lines" + reader.ReadProperties(this); + + // moves the current reader item + while (reader.NextItem()) + { + // read the "Styles" collection + if (String.Compare(reader.ItemName, "Styles", true) == 0) + reader.Read(Styles); + else if (reader.ReadChildren) + { + // if read of children is enabled, read them + Base obj = reader.Read(); + if (obj != null) + obj.Parent = this; + } + } + } + + + + + + Checks if current item has specified property. + + The property name to check. + true if current item has specified property. + + + + Reads the string property. + + Name of property. + Property value. + + + + Reads the boolean property. + + Name of property. + Property value. + + + + Reads the integer property. + + Name of property. + Property value. + + + + Reads the float property. + + Name of property. + Property value. + + + + Reads the double property. + + Name of property. + Property value. + + + + Reads the enum property. + + Name of property. + Type of property. + Property value. + + + + Reads the standalone property value. + + Property value. + + + + Disposes the reader, fixups the property references. + + + + + Loads the xml items from a stream. + + The stream to load from. + + + + Initializes a new instance of the FRReader class with specified report. + + Reference to a report. + + + + Initializes a new instance of the FRReader class with specified report and xml item with + contents to read. + + Reference to a report. + Xml item with contents to read. + + + + Specifies the target for the serialize operation. + + + + + Serialize to the report file. + + + + + Serialize to the preview pages. + + + + + Serialize to the source pages of a preview. + + + + + Serialize to the designer's clipboard. + + + + + Serialize to the designer's undo/redo buffer. + + + + + The writer used to serialize object's properties to a report file. + + + + + Gets or sets current xml item name. + + + + + Gets or sets target of serialization. + + + + + Gets the ethalon object to compare with. + + + + + Gets or sets a value that determines whether is necessary to serialize child objects. + + + + + Gets or sets a value that determines whether is necessary to add xml header. + + + + + Serializes the specified object. + + The object to serialize. + + The object must implement the interface. This method + invokes the Serialize method of the object. + + This example demonstrates the use of writer. + + public void Serialize(FRWriter writer) + { + // get the etalon object. It will be used to write changed properties only. + Base c = writer.DiffObject as Base; + + // write the type name + writer.ItemName = ClassName; + + // write properties + if (Name != "") + writer.WriteStr("Name", Name); + if (Restrictions != c.Restrictions) + writer.WriteValue("Restrictions", Restrictions); + + // write child objects if allowed + if (writer.SaveChildren) + { + foreach (Base child in ChildObjects) + { + writer.Write(child); + } + } + } + + + + + + Serializes the object using specified etalon. + + The object to serialize. + The etalon object. + + + + Writes a string property. + + Property name. + Property value. + + + + Writes a boolean property. + + Property name. + Property value. + + + + Writes an integer property. + + Property name. + Property value. + + + + Writes a float property. + + Property name. + Property value. + + + + Writes a double property. + + Property name. + Property value. + + + + Writes an enumeration property. + + Property name. + Property value. + + + + Writes an object reference property. + + Property name. + Property value. + + + + Writes a standalone property value. + + Name of property. + Property value. + + This method produces the following output: + <PropertyName>PropertyValue</PropertyName> + + + + + Determines if two objects are equal. + + The first object. + The second object. + true if objects will be serialized to the same value. + + + + Disposes the writer. + + + + + Saves the writer output to a stream. + + Stream to save to. + + + + Initializes a new instance of the FRWriter class with default settings. + + + + + Initializes a new instance of the FRWriter class with specified xml item that will + receive writer's output. + + The xml item that will receive writer's output. + + + + Context of HTML rendering + It is better to put this structure instead of class' private fields. + For future optimization. Then we can avoid constructor with dozen arguments + + + + + Contexted version of HTML renderer + + + + + + Returns splited string + + text for splitting + index of first character of second string + second part of string + returns true if ends on enter + first part of string + + + + Check the line, and if last word is able to move next line, move it. + e.g. white space won't move to next line. + If word is not moved return current line. + else return new line + + the paragraph for lines + the line with extra words + the index of start last word in this line + width to place words + ref to current line width + ref to current word + + + + + Get start position of line. + + + if this parameter is true, the starting position of the line in the new paragraph will be returned + + + + + + Represents character placement. + + + + + Be care generates dictionary only one time + + + + + Return true if read char + + + + + + Represents a style used in HtmlTags mode. Color does not affect the equals function. + + + + + returns true if objects realy equals + + + + + + + Class that converts strings with Wingdings characters to Unicode strings. + + + + + Converts string with Wingdings characters to its Unicode analog. + + The string that should be converted. + + + + + Interface allows to load images with custom format or custom type + + + + + Returns true if image can be loaded + + + + + + + Returns true if image can be loaded + + + + + + + Try to load the image, must not throw exception! + + + + + + + + Try to load the image, must not throw exception! + + + + + + + + Internal calss for image processing + + + + + Register a new custom loader + + + + + + Load the image from bytes, Internal only method + + + + + + + Converts a PNG image to a icon (ico) + + The input image + The output stream + Preserve the aspect ratio + Wether or not the icon was succesfully generated + + + + Returns an Image format. + + + + + Tooltip text. + + + + + List of subitems. + + + + + Enumerates all objects. + + List that will contain enumerated items. + + + + Name of object or category. + + + + + Tooltip text. + + + + + The registered function. + + + + + Enumerates all objects. + + List that will contain enumerated items. + + + + The registered data connection. This type is subclass of + + + + + Tooltip text. + + + + + Used to access to resource IDs inside the specified branch. + + + Using the method, you have to specify the full path to your resource. + Using this class, you can shorten the path: + + // using the Res.Get method + miKeepTogether = new ToolStripMenuItem(Res.Get("ComponentMenu,HeaderBand,KeepTogether")); + miResetPageNumber = new ToolStripMenuItem(Res.Get("ComponentMenu,HeaderBand,ResetPageNumber")); + miRepeatOnEveryPage = new ToolStripMenuItem(Res.Get("ComponentMenu,HeaderBand,RepeatOnEveryPage")); + + // using MyRes.Get method + MyRes res = new MyRes("ComponentMenu,HeaderBand"); + miKeepTogether = new ToolStripMenuItem(res.Get("KeepTogether")); + miResetPageNumber = new ToolStripMenuItem(res.Get("ResetPageNumber")); + miRepeatOnEveryPage = new ToolStripMenuItem(res.Get("RepeatOnEveryPage")); + + + + + + + Gets a string with specified ID inside the main branch. + + The resource ID. + The localized value. + + + + Initializes a new instance of the class with spevified branch. + + The main resource branch. + + + + Localized CategoryAttribute class. + + + + + + + + Initializes a new instance of the SRCategory class. + + The category name. + + + + Advanced text renderer is used to perform the following tasks: + - draw justified text, text with custom line height, text containing html tags; + - calculate text height, get part of text that does not fit in the display rectangle; + - get paragraphs, lines, words and char sequence to perform accurate export to such + formats as PDF, TXT, RTF + + Here is how one may operate the renderer items: + + foreach (AdvancedTextRenderer.Paragraph paragraph in renderer.Paragraphs) + { + foreach (AdvancedTextRenderer.Line line in paragraph.Lines) + { + foreach (AdvancedTextRenderer.Word word in line.Words) + { + if (renderer.HtmlTags) + { + foreach (AdvancedTextRenderer.Run run in word.Runs) + { + using (Font f = run.GetFont()) + using (Brush b = run.GetBrush()) + { + g.DrawString(run.Text, f, b, run.Left, run.Top, renderer.Format); + } + } + } + else + { + g.DrawString(word.Text, renderer.Font, renderer.Brush, word.Left, word.Top, renderer.Format); + } + } + } + } + + + + + + The scale for font tag + + + + + Paragraph represents single paragraph. It consists of one or several . + + + + + Line represents single text line. It consists of one or several . + Simple line (that does not contain tabs, html tags, and is not justified) has + single which contains all the text. + + + + + Word represents single word. It may consist of one or several , in case + when HtmlTags are enabled in the main class. + + + + + Represents character placement. + + + + + Represents a style used in HtmlTags mode. + + + + + Represents sequence of characters that have the same . + + + + + Represents inline Image. + + + + + Standard text renderer uses standard DrawString method to draw text. It also supports: + - text rotation; + - fonts with non-standard width ratio. + In case your text is justified, or contains html tags, use the + class instead. + + + + + Cache for rendering img tags in textobject. + You can use only HTTP[s] protocol with absolute urls. + + + + + Is serialized + + + + + Get or set WebClient for downloading imgs by url + + + + + Occurs before image load + + + + + Occurs after image load + + + + + Enumerates all values + + + + + + Return CacheItem by src + + Src attribute from img tag + + + + + + + + + + + + Set CacheItem by src + + Src attribute from img tag + CacheItem + + + + + Validate src attribute from image + + Src attribute from img tag + return true if src is valid + + + + + + + + + + + + Item of image cache Dictionary + + + + + Get Base64 string + + + + + Return true if has some error with Image + + + + + Get Image + + + + + Get byte array + + + + + Return error image and set true to error property + + + + + + Set value for cache item + + Image encoded base64 string + + + + Set value for cache item + + Image + + + + Set value for cache item + + Image + + + + + + + + + + WebClientEventArgs + + + + + Gets a cache + + + + + Gets or sets a value indicating whether the event was handled. + + + + + Gets or sets a url from src attribue of img tag + + + + + + + + + + + The report page units. + + + + + Specifies the units measured in millimeters. + + + + + Specifies the units measured in centimeters. + + + + + Specifies the units measured in inches. + + + + + Specifies the units measured in hundreths of inch. + + + + + Defines the constants used to convert between report units and screen pixels. + + + To convert pixels to millimeters, use the following code: + valueInMillimeters = valueInPixels / Units.Millimeters; + To convert millimeters to pixels, use the following code: + valueInPixels = valueInMillimeters * Units.Millimeters; + + + + + The number of pixels in one millimeter. + + + + + The number of pixels in one centimeter. + + + + + The number of pixels in one inch. + + + + + The number of pixels in 1/10 of ich. + + + + + The number of pixels in 1/100 of inch. + + + + + File size units. + + + + + Bytes. + + + + + Kilobytes. + + + + + Megabytes. + + + + + Gigabytes. + + + + + Terobytes. + + + + + Convert numbers to file size (example 1 MB). + + + + + + + Represents a xml property. + + + + + Represents a property key. + + + + + Represents a property value. + + + + + Creates new property and assigns value + + Property key + Property value + + + + Represents a xml node. + + + + + Gets a number of children in this node. + + + + + Gets a list of children in this node. + + + + + Gets a child node with specified index. + + Index of node. + The node with specified index. + + + + Gets or sets the node name. + + + This property will return "Node" for a node like <Node Text="" Left="0"/> + + + + + Gets or sets a list of properties in this node. + + + + + Gets or sets the parent for this node. + + + + + Gets or sets the node value. + + + This property will return "ABC" for a node like <Node>ABC</Node> + + + + + Gets the root node which owns this node. + + + + + Clears the child nodes of this node. + + + + + Adds a new child node to this node. + + The new child node. + + + + Adds a specified node to this node. + + The node to add. + + + + Inserts a specified node to this node. + + Position to insert. + Node to insert. + + + + Finds the node with specified name. + + The name of node to find. + The node with specified name, if found; null otherwise. + + + + Finds the node with specified name. + + The name of node to find. + The node with specified name, if found; the new node otherwise. + + This method adds the node with specified name to the child nodes if it cannot find the node. + Do not dispose items, which has been created by this method + + + + + Gets the index of specified node in the child nodes list. + + The node to find. + Zero-based index of node, if found; -1 otherwise. + + + + Gets a property with specified name. + + The property name. + The value of property, if found; empty string otherwise. + + This property will return "0" when you request the "Left" property for a node + like <Node Text="" Left="0"/> + + + + + Removes all properties. + + + + + Sets the value for a specified property. + + The property name. + Value to set. + + For example, you have a node like <Node Text="" Left="0"/>. When you set the + "Text" property to "test", the node will be <Node Text="test" Left="0"/>. + If property with specified name is not exist, it will be added. + + + + + Removes a property with specified name. + + The property name. + Returns true if property is removed, false otherwise. + + + + Disposes the node and all its children. + + + + + Initializes a new instance of the XmlItem class with default settings. + + + + + Represents a xml document that contains the root xml node. + + + Use Load and Save methods to load/save the document. To access the root node + of the document, use the property. + + + + + Gets or sets a value indicating whether is necessary to indent the document + when saving it to a file/stream. + + + + + Gets or sets a value indicating whether is necessary to add xml header. + + + + + Gets or sets a value indicating whether is necessary to read xml header. + + + + + Gets the root node of the document. + + + + + Clears the document. + + + + + Saves the document to a stream. + + Stream to save to. + + + + Saves the document to a string. + + Writer to save to. + + + + Loads the document from a stream. + + Stream to load from. + + + + Saves the document to a file. + + The name of file to save to. + + + + Loads the document from a file. + + The name of file to load from. + + + + Disposes resources used by the document. + + + + + Initializes a new instance of the XmlDocument class with default settings. + + + + + + + + + + + + + Clear all files in archive. + + + + + Check for exisiting file in archive. + + + + + + + Adds the file form disk to the archive. + + + + + + Adds all files from directory (recursive) on the disk to the archive. + + + + + + Adds the stream to the archive. + + + + + + + Creates the zip and writes it to rhe Stream + + + + + + Creates the ZIP archive and writes it to the file. + + + + + + Gets or sets the Root Folder. + + + + + Gets or sets the errors. + + + + + Gets or sets the commentary to the archive. + + + + + Gets count of files in archive. + + + + + Creates the new zip archive. + + + + + Class helper for compile source code with path of assemblies + + + + + Generate a assembly in memory with some source code and several path for additional assemblies + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Service for working with auth in the Fast Report. + + + + + Instance of default Service. + + + + + Gets or sets indicator to enable or disable personalisation service + + + + + Setting of the service. + + + + + User of the service. + + + + + If FastReport.config contains information about custom server and api-key to it, + this method will reset inner instance with that data. Otherwise default server + will be set. + + + The method creates an sign in link. + + + + + + The method creates an sign out link. + + + + + + Returns true, if user has offline_access scope and refresh_token is not null + + + + + If possible, the method updates the user credentials. + + True if success + + + + The method resets auth, without sign out process. + + + + + The method shows sign in form and auth the user. + + + + + The method shows sign out form and resets the user credentials. + + + + + Do not make this method public, use refresh token for save-load.
+ You need only refresh token () to get a new token set.
+ This method is used to save time for starting a designer. +
+
+ + + Class for store appsettings, by default appsettings is hardcoded. + + + + + Authorization Endpoint from the OAuth2 specification. + + + + + Host for callback requests. + + + + + Client identifier or client name from the OAuth2 specification. + + + + + Client secret or client name from the OAuth2 specification. + + + + + Code challenge method from the OAuth2 specification. + + + + + EndSession Endpoint from the OAuth2 specification. + + + + + Host for sign in requests + + + + + JSON Web Key Set Endpoint from the OAuth2 specification. + + + + + Error result + + + + + Redirent sign in link for this application. + + + + + Redirent sign out link for this application. + + + + + Success result + + + + + Type of the reponse from the OAuth2 specification. + + + + + Scopes for the request from the OAuth2 specification, splited by space. + + + + + Token Endpoint from the OAuth2 specification. + + + + + Avatar of the user, by default is 150x150 picture. + + + + + Returns the display avatar of the user, cannot return null + + + + + + Returns the display email of the user, cannot return null + + + + + + Returns the display name of the user, cannot return null + + + + + + Email of the user. + + + + + Local time when the token will go out. + + + + + Full name of the user. + + + + + Returns true if user is authenticated. + + + + + Returns true if token is expired and is need to referesh + + + + + Indicates that token is check by external method, see for details. + + + + + List of allowed scopes. + + + + + Identifier of the user. + + + + + Type of token for resource request header, e.g. Bearer. + + + + + Preferred username of the user. + + + + + User's api key. + + + + + Local time when the token needs to be updated. + + + + + Reset the values + + + + + Represents a combobox that allows to choose a color. + + + This control may be useful if you write own components for FastReport. + + + + + This event is raised when you select a color. + + + + + Gets or sets the selected color. + + + + + Gets or sets value indicating whether it is necessary to show a color name in a combobox. + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Represents a drop-down control that allows to choose a color. + + + This control may be useful if you write own components for FastReport. + + + + + This event is raised when you select a color. + + + + + Gets or sets the control that owns this dropdown. + + Set the Owner to onscreen control that initiates dropdown. This control will + be used to calculate dpi-dependent sizes. + + + + Gets or sets the selected color. + + + + + Sets the UI style. + + The style to set. + + + + + + + Initializes a new instance of the class with default settings. + + + + + Represents the combobox used to select a data column. + + + + + Occurs when the text portion of the combobox is changed. + + + + + + + + Gets or sets the data source. + + + + + Gets or sets the Report. + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + This is an internal enum that represents the selected datatree item type. + + + + + "None" selected. + + + + + Data column selected. + + + + + Datasource selected. + + + + + Total selected. + + + + + Parameter selected. + + + + + Function selected. + + + + + Custom item selected. + + + + + Other item selected such as root node for Parameters, Totals etc. + + + + + This is an internal control that represents the data tree. + + + This control is for internal use only. + + + + + DataSource property + + + + + SelectedItem property + + + + + SelectedItemType property + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + List of expanded nodes. + + + + + + + + + + + Creates a new instance of the DataTreeView control. + + + + + Represents the label with line. + + + + + + + + Initializes a new instance of the class. + + + + + Represents a control that may contain several pages. It is similar to the TabControl + but contains no tabs. This control is widely used in wizards. + + + + + Occurs when page is selected. + + + + + Gets or sets a value that determines whether the selector area is visible or not. + + + + + Gets or sets the height of selector tab. + + + + + This property is not relevant to this class + + + + + Gets or sets the active page. + + + + + Gets or sets the index of active page. + + + + + Gets or sets the highlighted page index. + + + + + Gets the collection of pages. + + + + + + + + + + + + + + + + + + + + Gets tab at specified mouse point. + + The mouse point. + Index of tab under mouse; -1 if mouse is outside tab area. + + + + Selects the next page. + + + + + Selects the previous page. + + + + + Initializes a new instance of the class with default settings. + + + + + This class represents a single page of the control. + + + + + Gets or sets the image associated with this page. + + + + + Gets or sets the page caption text. + + + + + + + + + + + + + + Represents the control that combines a textbox and a button. + + + + + + + + Gets or sets the button's image. + + + + + Gets or sets the button's text. + + + + + Occurs when the button is clicked. + + + + + Occurs when the text is changed. + + + + + + + + + + + + + + Set focus on text box. + + + + + + Initializes a new instance of the class. + + + + + TreeView control with multiselect support. + + + This control is for internal use only. + + + + + + + + + + + + + + + + + + + + + + + Creates a new instance of the TreeViewMultiSelect control. + + + + + Base class for all toolbars. + + + + + Gets the report designer. + + + + + Gets or sets a value that determines whether the toolbar is fixed, i.e. can't float. + + + + + Updates UI style of the toolbar. + + + + + Updates layout on dpi change. + + + + + Adds items to this toolbar. + + Items to add. + + + + Initializes a new instance of the class with default settings. + + The report designer. + + + + Not relevant to this class. + + + + + Updates dropdown images on dpi change. + + The designer. + + + + Adds items to the dropdown menu. + + Items to add. + + + + Specifies how text in a is horizontally aligned. + + + + + The text is aligned to the left. + + + + + The text is aligned to the right. + + + + + The text is aligned in the center. + + + + + The text is justified. + + + + + Gets or sets the alignment to apply to the current + selection or insertion point. + + + Replaces the SelectionAlignment from . + + + + + Convert between screen pixels and twips (1/1440 inch, used by Win32 API calls) + + Value in screen pixels + Value in twips + + + + Convert between screen pixels and twips (1/1440 inch, used by Win32 API calls) + + Value in twips + Value in screen pixels + + + + Calculate or render the contents of RichTextBox for printing + + Graphics object + Graphics object to measure richtext for + Bonding rectangle of the RichTextBox + Index of first character to be printed + Index of last character to be printed + If true, only the calculation is performed, + otherwise the text is rendered as well + (Index of last character that fitted on the page) + 1 + + + + Calculate or render the contents of RichTextBox for printing + + Graphics object + Graphics object to measure richtext for + Bonding rectangle of the RichTextBox + Index of first character to be printed + Index of last character to be printed + If true, only the calculation is performed, + otherwise the text is rendered as well + The calculated text height + (Index of last character that fitted on the page) + 1 + + + + Contener for better work FRRichTextBox + + + + + + + + + + Provides functionality required for report designer form. + + + + + Gets the designer control. + + + + + Represents the StimulSoft import plugin. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a specified designer. + + The report designer. + + + + + + + + + + Represents the JasperReports import plugin. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a specified designer. + + The report designer. + + + + + + + + + + Represents the DevExpess import plugin. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a specified designer. + + The report designer. + + + + + + + Represents the List and Label import plugin. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a specified designer. + + The report designer. + + + + + + + + + + + + + Represents the RDL import plugin. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a specified designer. + + The report designer. + + + + + + + + + + Import RichTextFile to a report + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a specified designer. + + The report designer. + + + + + + + + + + The "NewReportPage" menu item. + + + + + The "NewDialog" menu item. + + + + + Represents the report's designer control. + + + Usually you don't need to create an instance of this class. The designer can be called + using the method of + the instance. + This control represents pure designer surface + Objects toolbar. If you need + standard menu, statusbar, toolbars and tool windows, use the + control instead. Also you may + decide to use a designer's form () + instead of a control. + To run a designer, you need to attach a Report instance to it. This can be done via + the property. + To call the designer in MDI (Multi-Document Interface) mode, use the + property. + To set up some global properties, use the static class + or component that you can use in the Visual Studio IDE. + + + + + Occurs when designer's UI state changed. + + + + + Gets or sets the edited report. + + + To initialize the designer, you need to pass a Report instance to this property. + This will create the designer's surface associated with the report. + + Designer designer = new Designer(); + designer.Parent = form1; + designer.Report = report1; + + + + + + Gets active report object. + + + May be null if Start Page selected, or no reports opened. + + + + + Gets a collection of global plugins such as menu, properties window, etc. + + + + + Gets a collection of objects on the active page of the active report. + + + + + Gets a collection of selected objects on the active page of the active report. + + + + + Gets a collection of selected objects of the ComponentBase type. + + + + + Gets a collection of selected objects of the ReportComponentBase type. + + + + + Gets a collection of selected objects of the TextObject type. + + + + + Gets or sets a value indicating that the report was modified. + + + + + Gets or sets a value that determines whether to ask user to save changes when closing the designer. + + + + + Gets the designer restrictions. + + + + + Gets or sets a value indicating that designer is run in MDI mode. + + + To call the designer in MDI (Multi-Document Interface) mode, use the following code: + + DesignerControl designer = new DesignerControl(); + designer.MdiMode = true; + designer.ShowDialog(); + + + + + + Gets or sets the visual style. + + + + + Occurs when the UIStyle property is changed. + + + + + Gets a value indicating that designer is used to edit a preview page. + + + + + Gets or sets the zoom factor. + + + + + Gets the zoom factor with respect of designer's dpi value. + + + + + The "File|New" command. + + + + + The "New Page" toolbar command. + + + + + The "New Dialog" toolbar command. + + + + + The "File|Open|Open locally." command. + + + + + The "File|Open|Open page." command. + + + + + The "File|Open|Open via Cloud." command. + + + + + The "File|Save" command. + + + + + The "File|Save to Cloud" command. + + + + + The "File|Save As..." command. + + + + + The "File|Save With Random Data..." command. + + + + + The "File|Save All" command. + + + + + The "File|Close" command. + + + + + The "Window|Close All" command. + + + + + The "File|Preview..." command. + + + + + The "File|Preview on Cloud..." command. + + + + + The "File|Printer Setup..." command. + + + + + The "File|Page Setup..." command. + + + + + The "Data|Add New Data Source..." command. + + + + + The "Data|Sort Data Sources" command. + + + + + The "Data|Choose Report Data..." command. + + + + + The "Edit|Undo" command. + + + + + The "Edit|Redo" command. + + + + + The "Edit|Cut" command. + + + + + The "Edit|Copy" command. + + + + + The "Edit|Paste" command. + + + + + The "Format Painter" toolbar command. + + + + + The "Edit|Delete" command. + + + + + The "Edit|Copy Page" command. + + + + + The "Edit|Delete Page" command. + + + + + The "Edit|Select All" command. + + + + + The "Edit|Group" command. + + + + + The "Edit|Ungroup" command. + + + + + The "Edit" command. + + + + + The "Edit|Find..." command. + + + + + The "Polygon move command" command. + + + + + The "Polygon point move" command. + + + + + The "Polygon add new point" command. + + + + + The "Polygon berier" command. + + + + + The "Polygon remove point" command. + + + + + The "Edit|Replace..." command. + + + + + The "Bring To Front" command. + + + + + The "Send To Back" command. + + + + + The "Insert" command. + + + + + The "Insert Band" command. + + + + + The "Recent Files" command. + + + + + The "File|Select Language..." command. + + + + + The "View|Start Page" command. + + + + + The "Report|Options..." command. + + + + + The "View|Options..." command. + + + + + The "Report|Styles..." command. + + + + + The "Report|Validation" command. + + + + + The "Help|Help Contents..." command. + + + + + The "Help|Account" command. + + + + + The "Help|About..." command. + + + + + The "Show welcome window..." command. + + + + + Gets or sets the layout state of the designer. + + + This property is used to store layout in Visual Studio design time. You may also use + it to save and restore the designer's layout in your code. However, consider using the + and methods that use FastReport + configuration file. + + + + + Fires when the layout is changed. + + + This event is for internal use only. + + + + + Updates UI style of the designer. + + + + + Initializes designer plugins such as toolbars and toolwindows. + + + + + Zooms the report to page width. + + + + + Zooms the report to whole page. + + + + + Cancels paste mode. + + + + + AutoSave system initialization. + + + + + Stops the AutoSave system. + + + + + Call this method if you change something in the report. + + + This method adds the current report state to the undo buffer and updates all plugins. + + + + + Call this method if you change something in the report. + + The object that was modified. + The undo action name. + + This method adds the current report state to the undo buffer and updates all plugins. + + + + + Call this method if you change something in the report. + + The object that was modified. + The undo action name. + The name of modified object. + + + + Call this method to tell the designer that current selection is changed. + + The plugin that changes the selection (may be null). + + + + Locks all plugins. + + + This method is usually called when we destroy the report to prevent unexpected + errors - such as trying to draw destroyed objects. + + + + + Unlocks all plugins. + + + Call this method after the Lock. + + + + + Call this method to refresh all plugins' content. + + The plugin that we don't need to refresh. + + + + Updates localization of the designer. + + + + + Updates layout and images on dpi change. + + The sender object. + + + + Checks if parent window can be closed. + + The cancel event args. + + Use this method in the window's FormClosing event handler if you use this control. + This method checks if the embedded preview is running and cancels it. Also if there is unsaved changes, the user will be asked to save changes. + + + + + Saves config to a FastReport configuration file. + + + + + Restores config from a FastReport configuration file. + + + Call this method to restore the designer's layout. You need to do this after the + designer's control is placed on a form. + + + + + Refresh the designer's toolbars and toolwindows layout. + + + Call this method if you use + DesignerControl. To restore + the layout that you've created in VS design time, you need to call this method in the form's + Load event handler. If you don't do this, tool windows like Properties, Data, Report Tree + will not be available. + + + + + + + + + + + Initializes the workspace after the new report is loaded. + + + + + Tries to create a new empty report. + + true if report was created successfully; false if user cancels the action. + + + + Displays a message in the "Messages" window. + + Message text. + + + + Clears the "Messages" window. + + + + + Shows the selected object's information in the designer's statusbar. + + Object's location. + Object's size. + Textual information about the selected object. + The location of the lower-right corner of the object's. + + + + Close all opened reports, ask to save changes. + + true if all tabs closed succesfully. + + Use this method to close all opened documents and save changes when you closing the main form + that contains the designer control. To do this, create an event handler for your form's FormClosing + event and call this method inside the handler. If it returns false, set e.Cancel to true. + + + + + Initializes a new instance of the class with default settings. + + + + + + + + The base class for all designer commands. + + + + + Gets a value indicating that the command is enabled. + + + If you use own controls that invoke designer commands, use this property to refresh + the Enabled state of a control that is bound to this command. + + + + + Defines a custom action for this command. + + + Using custom action, you can override the standard behavior of this designer's command. + + + This example demonstrates how to override the "New..." command behavior. + + // add an event handler that will be fired when the designer is run + Config.DesignerSettings.DesignerLoaded += new EventHandler(DesignerSettings_DesignerLoaded); + + void DesignerSettings_DesignerLoaded(object sender, EventArgs e) + { + // override "New..." command behavior + (sender as Designer).cmdNew.CustomAction += new EventHandler(cmdNew_CustomAction); + } + + void cmdNew_CustomAction(object sender, EventArgs e) + { + // show the "Label" wizard instead of standard "Add New Item" dialog + Designer designer = sender as Designer; + LabelWizard wizard = new LabelWizard(); + wizard.Run(designer); + } + + + + + + Gets a value for the Enabled property. + + true if command is enabled. + + + + Invokes the command. + + + + + Invokes the command with specified sender and event args. + + Sender. + Event args. + + This method is compatible with standard and can be passed + to the event handler constructor directly. + + + + + Represents the "File|New" command. + + + + + + + + + + + Represents the "New Page" toolbar command. + + + + + + + + + + + Represents the "New Dialog" toolbar command. + + + + + + + + + + + Represents the "File|Open..." command. Also can be used for loading a file + from the recent files list. + + + + + + + + + + + Loads a specified report file. + + File to load. + true to suppress message dialog if load is failed. + + + + Represents the "File|Open page..." command. + + + + + + + + + + + Loads report file and paginating it. + + File to load. + + + + + Represents the "File|Open from Cloud..." command. Also can be used for loading a file + from the recent files list. + + + + + + + + + + + Loads file from the recent files list. + + File name. + File ID. + + + + Represents the "File|Save" command. + + + + + + + + + + + Represents the "File|Save to Cloud" command. + + + + + + + + + + + Represents the "File|Save As..." command. + + + + + + + + + + + Represents the "File|Save With Random Data..." command. + + + + + + + + + + + Represents the "File|Save All" command. + + + + + + + + + + + Represents the "File|Close" command. + + + + + + + + + + + Represents the "Window|Close All" command. + + + + + + + + Represents the "File|Preview..." command. + + + + + + + + + + + Represents the "File|Preview on Cloud..." command. + + + + + + + + + + + Represents the "File|Page Setup..." command. + + + + + + + + + + + Represents the "Report|Options..." command. + + + + + + + + + + + Represents the "File|Printer Setup..." command. + + + + + + + + + + + Represents the "Edit|Undo" command. + + + + + + + + + + + Undo several actions. + + Number of actions to undo. + + + + Represents the "Edit|Redo" command. + + + + + + + + + + + Redo several actions. + + Number of actions to redo. + + + + Represents the "Edit|Cut" command. + + + + + + + + + + + Represents the "Edit|Copy" command. + + + + + + + + Represents the "Edit|Copy Page" command. + + + + + + + + + + + Represents the "Edit|Paste" command. + + + + + + + + + + + Represents the "Format Painter" toolbar command. + + + + + + + + + + + Represents the "Edit|Delete" command. + + + + + + + + + + + Represents the "Edit|Delete Page" command. + + + + + + + + + + + Represents the "Edit|Select All" command. + + + + + + + + + + + Represents the "Edit|Group" command. + + + + + + + + + + + Represents the "Edit|Ungroup" command. + + + + + + + + Represents the "Edit" command. + + + + + + + + + + + Represents the "Edit|Find..." command. + + + + + + + + + + + Represents the "Edit|Replace..." command. + + + + + Represents the "Bring To Front" context menu command. + + + + + + + + + + + Represents the "Send To Back" context menu command. + + + + + + + + Represents the "Insert" command. + + + This command has no default action associated with it. Check the Enabled property + to see if the insert operation is enabled. + + + + + + + + Represents the "Insert Band" command. + + + This command has no default action associated with it. Check the Enabled property + to see if the insert operation is enabled. + + + + + + + + Represents the "Data|Add Data Source..." command. + + + + + + + + + + + Represents the "Data|Sort Data Sources" command. + + + + + + + + + + + Represents the "Data|Choose Report Data..." command. + + + + + + + + + + + Represents the "Recent Files" command. + + + This command has no default action associated with it. Check the Enabled property + to see if the recent files list is enabled. + + + + + + + + Returns true if the file specified is a cloud file. + + File name to check. + true if file is a cloud file. + + + + Opens a recent file with specified name either from local PC or from cloud. + + File name to open. + + + + Represents the "File|Select Language..." command. + + + + + + + + Represents the "View|Options..." command. + + + + + + + + Represents the "View|Start Page" command. + + + + + + + + + + + Represents the "Select polygon move" command. + + + + + + + + + + + Represents the "Report|Styles..." command. + + + + + + + + + + + Represents the "Report|Validation" command. + + + + + + + + + + + Represents the "Help|Account" command. + + + + + + + + + + + Represents the "Help|Help Contents..." command. + + + + + + + + + + + Represents the "Help|About..." command. + + + + + + + + Represents the "Show welcome window..." command. + + + + + + + + + + + Provides a data for the designer ReportLoaded event. + + + + + The current report. + + + + + Represents the method that will handle the designer ReportLoaded event. + + The source of the event. + The event data. + + + + Provides a data for the designer ObjectInserted event. + + + + + Gets the inserted object. + + + + + Gets the source where the object is inserted from. + + + + + Represents the method that will handle the designer ObjectInserted event. + + The source of the event. + The event data. + + + + Provides a data for the designer's custom dialog events. + + + + + Gets or sets a file name. + + + This property contains the location of a report. If you work with files (like the + standard "Open" and "Save" dialogs do), treat this property as a file name. + + + + + Gets or sets a value indicating that the dialog was cancelled. + + + This property is used to tell the designer that the user was cancelled the dialog. + + + + + Gets or sets the custom data that is shared across events. + + + You may set the Data in the OpenDialog event and use it later in the OpenReport event. + + + + + Gets a report designer. + + + + + Represents the method that will handle the designer's custom dialogs event. + + The source of the event. + The event data. + + + + Provides a data for the designer's custom dialog events. + + + + + Gets a report. + + + Use this report in the load/save operations. + + + + + Gets a file name. + + + This property contains the location of a report that was selected by the user in the + open/save dialogs. If you work with files (like the standard "Open" and "Save" dialogs do), + treat this property as a file name. + + + + + Gets the custom data that was set in the OpenDialog event. + + + + + Represents the method that will handle the designer's custom dialogs event. + + The source of the event. + The event data. + + + + Provides data for the FilterConnectionTables event. + + + + + Gets the Connection object. + + + + + Gets the table name. + + + + + Gets or sets a value that indicates whether this table should be skipped. + + + + + Represents the method that will handle the FilterConnectionTables event. + + The source of the event. + The event data. + + + + Provides data for the CustomQueryBuilder event. + + + + + Gets the Connection object. + + + + + Gets or sets the query text. + + + + + Gets or sets the query parameters. + + + + + Represents the method that will handle the CustomQueryBuilder event. + + The source of the event. + The event data. + + + + Represents list of registered design plugins. + + + + + Adds a new plugin's type. + + The type of a plugin. + + + + Represents a set of designer's restrictions. + + + + + Gets or sets a value that enables or disables the "Open" action. + + + + + Gets or sets a value that enables or disables the "Save/Save as" actions. + + + + + Gets or sets a value that enables or disables the "New..." action. + + + + + Gets or sets a value that enables or disables the "Preview" action. + + + + + Gets or sets a value that enables or disables the recent files list. + + + + + Gets or sets a value that enables or disables the "Code" tab. + + + + + Gets or sets a value that enables or disables the "Data" menu. + + + + + Gets or sets a value that enables or disables the "Data|Add New Data Source..." menu. + + + + + Gets or sets a value that enables or disables the "Data|Sort Data Sources" menu. + + + + + Gets or sets a value that enables or disables the "Report|Options..." menu. + + + + + Gets or sets a value that enables or disables insertion of objects. + + + + + Gets or sets a value that enables or disables the insertion of bands. + + + + + Gets or sets a value that enables or disables the "Delete Page" action. + + + + + Gets or sets a value that enables or disables the creation of report/dialog pages. + + + + + Gets or set a value that enables or disbles the "Copy Page" action. + + + + + Gets or sets a value that enables or disables the "Page Setup" action. + + + + + Copies the contents of another, similar object. + + Source object to copy the contents from. + + + + Creates exact copy of this object. + + The copy of this object. + + + + This class contains settings that will be applied to the report designer. + + + + + Occurs when the designer is loaded. + + + Use this event if you want to customize some aspects of the designer, for example, + to hide some menu items. + + + This example demonstrates how to hide the "File|Select Language..." menu item. + + Config.DesignerSettings.DesignerLoaded += new EventHandler(DesignerSettings_DesignerLoaded); + + void DesignerSettings_DesignerLoaded(object sender, EventArgs e) + { + (sender as DesignerControl).MainMenu.miFileSelectLanguage.Visible = false; + } + + + + + + Occurs when the designer is closed. + + + + + Occurs when the report is loaded. + + + + + Occurs when a report page or a dialog form is added to the report. + + + Use this event if you want to customize the page properties. + + + This example demonstrates how to change the default page margins. + + Config.DesignerSettings.PageAdded += new EventHandler(DesignerSettings_PageAdded); + + void DesignerSettings_PageAdded(object sender, EventArgs e) + { + if (sender is ReportPage) + (sender as ReportPage).TopMargin = 0; + } + + + + + + Occurs when object is inserted. + + + + + Occurs when the report designer is about to show the "Open" dialog. + + Use this event to attach own "Open" dialog to the designer. In the event handler, you must + display a dialog window to allow user to choose a report file. + If dialog was executed successfully, you must return e.Cancel = false and set the + e.FileName to the selected file name. + You also need to use event to provide code that + will open the report. + + + This example shows how to attach own "Open" and "Save" dialogs to the designer. + It uses the following events: , , + , . + + private void CustomOpenDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (OpenFileDialog dialog = new OpenFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomSaveDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (SaveFileDialog dialog = new SaveFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + // get default file name from e.FileName + dialog.FileName = e.FileName; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomOpenReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // load the report from the given e.FileName + e.Report.Load(e.FileName); + } + + private void CustomSaveReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // save the report to the given e.FileName + e.Report.Save(e.FileName); + } + + + + + + Occurs when the report designer is about to show the "Save" dialog. + + Use this event to attach own "Save" dialog to the designer. In the event handler, you must + display a dialog window to allow user to choose a report file. + If dialog was executed successfully, you must return e.Cancel = false and set the + e.FileName to the selected file name. + You also need to use event to provide code that + will save the report. + + + This example shows how to attach own "Open" and "Save" dialogs to the designer. + It uses the following events: , , + , . + + private void CustomOpenDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (OpenFileDialog dialog = new OpenFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomSaveDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (SaveFileDialog dialog = new SaveFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + // get default file name from e.FileName + dialog.FileName = e.FileName; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomOpenReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // load the report from the given e.FileName + e.Report.Load(e.FileName); + } + + private void CustomSaveReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // save the report to the given e.FileName + e.Report.Save(e.FileName); + } + + + + + + Occurs when the report designer is about to load the report. + + This event is used together with the event. + Use this event to attach own "Open" dialog to the designer. In the event handler, you must + load the e.Report from the location specified in the e.FileName property. + For example, if you work with files: e.Report.Load(e.FileName); + + + This example shows how to attach own "Open" and "Save" dialogs to the designer. + It uses the following events: , , + , . + + private void CustomOpenDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (OpenFileDialog dialog = new OpenFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomSaveDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (SaveFileDialog dialog = new SaveFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + // get default file name from e.FileName + dialog.FileName = e.FileName; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomOpenReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // load the report from the given e.FileName + e.Report.Load(e.FileName); + } + + private void CustomSaveReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // save the report to the given e.FileName + e.Report.Save(e.FileName); + } + + + + + + Occurs when the report designer is about to save the report. + + This event is used together with the event. + Use this event to attach own "Save" dialog to the designer. In the event handler, you must + save the e.Report to the location specified in the e.FileName property. + For example, if you work with files: e.Report.Save(e.FileName); + + + This example shows how to attach own "Open" and "Save" dialogs to the designer. + It uses the following events: , , + , . + + private void CustomOpenDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (OpenFileDialog dialog = new OpenFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomSaveDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (SaveFileDialog dialog = new SaveFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + // get default file name from e.FileName + dialog.FileName = e.FileName; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomOpenReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // load the report from the given e.FileName + e.Report.Load(e.FileName); + } + + private void CustomSaveReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // save the report to the given e.FileName + e.Report.Save(e.FileName); + } + + + + + + Occurs when previewing a report from the designer. + + + Use this event to show own preview window. + + + + Config.DesignerSettings.CustomPreviewReport += new EventHandler(MyPreviewHandler); + + private void MyPreviewHandler(object sender, EventArgs e) + { + Report report = sender as Report; + using (MyPreviewForm form = new MyPreviewForm()) + { + report.Preview = form.previewControl1; + report.ShowPreparedReport(); + form.ShowDialog(); + } + } + + + + + + Occurs when getting available table names from the connection. + + + Use this handler to filter the list of tables returned by the connection object. + + + This example demonstrates how to hide the table with "Table 1" name from the Data Wizard. + + Config.DesignerSettings.FilterConnectionTables += DesignerSettings_FilterConnectionTables; + + private void DesignerSettings_FilterConnectionTables(object sender, FilterConnectionTablesEventArgs e) + { + if (e.TableName == "Table 1") + e.Skip = true; + } + + + + + + Occurs when the query builder is called. + + + Subscribe to this event if you want to replace the embedded query builder with your own one. + + + + + Gets or sets the icon for the designer window. + + + + + Gets or sets the default font used in a report. + + + + + Gets or sets a value indicating whether the designer window is displayed in the Windows taskbar. + + + + + Gets the designer restrictions flags. + + + + + Gets or sets the title text for the designer window. + + + If no text is set, the default text "FastReport -" will be used. + + + + + Gets or sets a value indicating whether the preview window is embedded into the designer form. + + + + + Gets or sets application-defined DbConnection object that will be used in the designer + to create a new datasource. + + + The application connection object is used in the "Data Wizard" to create new datasources. + In this mode, you can't create any other connections in the wizard; only application + connection is available. You still able to choose tables or create a new queries inside + this connection. The connection information (ConnectionString) is not stored in the report file. + + + + + Gets the toolstrip renderer. + + + + + Adds a custom connection used in the "Data Wizard" window. + + + Use this method to provide own connection strings for the "Data Wizard" dialog. To do this, you need + to pass the type of connection object and connection string associated with it. You must use one of the + connection objects registered in FastReport that inherit from the + class. + To clear the custom connections, use the method. + + + This example shows how to add own connection string. + + Config.DesignerSettings.AddCustomConnection(typeof(MsAccessDataConnection), @"Data Source=c:\data.mdb"); + + + + + + Clears the custom connections added by the AddCustomConnection method. + + + + + Initializes a new instance of the class. + + + + + Base class for all export plugins. + + + + + Gets or sets the name of plugin. + + + + + Gets or sets the filter string used in the "Save File" dialog. + + + + + Gets or sets reference to the designer. + + + + + Gets or sets reference to the report. + + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with a specified designer. + + The report designer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a file filter for a save dialog. + + String that contains a file filter, for example: "Bitmap image (*.bmp)|*.bmp" + + + + Saves the specified report into specified file. + + Report object. + File name. + + + + Represents the FR3 export plugin. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a specified designer. + + The report designer. + + + + + + + + + + The FR3 units converter. + + + + + Converts Color to TColor. + + Color value. + String that contains TColor value. + + + + Converts font style. + + FontStyle value. + String that contains converted value. + + + + Converts horizontal alignment of text. + + HorzAlign value. + String that contains converted value. + + + + Converts vertical alignment of text. + + VertAlign value. + String that contains coverted value. + + + + Converts font size to delphi font height. + + Font size value. + String that contains font height value. + + + + Convert line style to frame style. + + Line style value. + String that contains converted value. + + + + Converts barcode type. + + BarcodeBase instance. + String that contains converted value. + + + + Converts BorderLines value. + + BorderLines instance. + String that contains converted value. + + + + Converts CheckedSymbol value. + + CheckeSymbol instance. + String that contains converted value. + + + + Converts ScaleDock value. + + ScaleDock instance. + String that contains converted value. + + + + Converts DashStyle value. + + DashStyle instance. + String that contains converted value. + + + + Converts TotalType value. + + TotalType instance. + String that contains converted value. + + + + Converts MapLabelKind value. + + MapLabelKind instance. + String that contains converted value. + + + + Converts MapPalette value. + + MapPalette instance. + String that contains converted value. + + + + Converts ShapeKind value. + + ShapeKind instance. + String that contains coverted value. + + + + Represents the RDL export plugin. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a specified designer. + + The report designer. + + + + + + + + + + The FR units converter. + + + + + Converts the float size in pixels to string value in millimeters. + + The float value in pixels. + The string value in millimeters. + + + + Converts the float size in millimeters to string value in millimeters. + + The float value in millimeters. + The string value in millimeters. + + + + Converts the bool value to string. + + The bool value. + The string value. + + + + Converts the int size in pixels to string value in pt. + + The int value in pixels. + The string value in pt. + + + + Converts the Color value to string. + + The Color value. + The string representation of Color value. + + + + Converts the LineStyle value to RDL BorderStyle value. + + The LineStyle value. + The string with RDL BorderStyle value. + + + + Converts the GradientStyle value to RDL GradientType value. + + The GradientStyle value. + The string with RDL GradientType value. + + + + Converts the FontStyle value to RDL FontStyle value. + + The FontStyle value. + The string with RDL FontStyle value. + + + + Converts the FontFamily value to RDL FontFamily value. + + The FontFamily value. + The string with RDL FontFamily value. + + + + Converts the HorzAlign value to RDL TextAlign value. + + The HorzAlign value. + The string with RDL TextAling value. + + + + Converts the VertAling value to RDL VerticalAling value. + + The VertAling value. + The string with RDL VerticalAlign value. + + + + Converts the Angle value to RDL WritingMode value. + + The Angle value. + The string with RDL WritingMode value. + + + + Converts the FontSize value to RDL FontSize value. + + The FontSize value. + The string with RDL FontSize value. + + + + Converts the PictureBoxSizeMode value to RDL Sizing value. + + The PictureBoxSizeMode value. + The string with RDL Sizing value. + + + + Converts the SeriesChartType value to RDL Chart.Type value. + + The SeriesChartType value. + The string with RDL Chart.Type value. + + + + Converts the ChartColorPalette value to RDL Chart.Palette value. + + The ChartColorPalette value. + The string with RDL Chart.Palette value. + + + + Converts the Legend.Docking and Legend.Alignment values to RDL Chart.Legend.Position value. + + The Legend.Docking value. + The Legend.Alignment value. + The string with RDL Chart.Legend.Position value. + + + + Converts the LegendStyle value to Chart.Legend.Layout value. + + The LegendStyle value. + The string with RDL Chart.Legend.Layout value. + + + + Converts the LightStyle value to RDL Shading value. + + The LightStyle value. + The string with RDL Shading value. + + + + Converts the ChartDashStyle value to RDL BorderStyle value. + + The ChartDashStyle value. + The string with RDL ChartDahsStyle value. + + + + Converts the ContentAlignment value to RDL TextAlign value. + + The ContentAlignment value. + The string with RDL TextAlign value. + + + + Converts the ContentAlignment value to RDL VerticalAlign value. + + The ContentAlignment value. + The string with RDL VerticalAlign value. + + + + Converts the AxisEnabled value to RDL Axis.Visible value. + + The AxisEnabled value. + The string with RDL Axis.Visible value. + + + + Converts the TickMarkStyle value to RDL TickMarkStyle value. + + The TickMarkStyle value. + The string with RDL TickMarkStyle value. + + + + Converts the StringAlignment value to RDL TextAlign value. + + The StringAlignment value. + The string with RDL TextAlign value. + + + + Provides functionality required for report designer plugins such as toolbars and toolwindows. + + + + + Gets the plugin name. + + + + + Saves the plugin state. + + This example shows how to save the state: + + public void SaveState() + { + XmlItem xi = Config.Root.FindItem("Designer").FindItem(Name); + xi.SetProp("ShowGrid", DialogWorkspace.ShowGrid ? "1" : "0"); + } + + + + + + Restores the plugin state. + + This example shows how to restore the state: + + public void RestoreState() + { + XmlItem xi = Config.Root.FindItem("Designer").FindItem(Name); + DialogWorkspace.ShowGrid = xi.GetProp("ShowGrid") != "0"; + } + + + + + + Updates plugin state when current selection was changed. + + + Typically you need to do the same work in the and + methods. + + + + + Updates plugin state when the report was modified. + + + Typically you need to do the same work in the and + methods. + + + + + Locks the plugin. + + + This method is called by the designer when report is loading. It may be needed to disable + some operations (like painting) that use the report. + + + + + Unlocks the plugin. + + This method is called by the designer when report is loaded. It follows the Lock + method call and must reset the lock. + + + + Localizes the plugin. + + + This method is called by the designer when current localization is changed. + + + + + Gets an options page that will be used in the Designer Options dialog to edit the plugin options. + + The options page, if implemented; otherwise, null. + + + + Updates UI style of the plugin. + + + The plugin should update its style according to the designer's UIStyle property. + + + + + Updates layout on dpi change. + + + + + Base class for all import plugins. + + + + + Gets or sets the name of plugin. + + + + + Gets or sets the filter string used in the "Open File" dialog. + + + + + Gets or sets reference to the designer. + + + + + Gets or sets reference to the report. + + + + + + + + Gets or sets reference to the import. + + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with a specified designer. + + The report designer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a file filter for a open dialog. + + String that contains a file filter, for example: "Bitmap image (*.bmp)|*.bmp" + + + + Loads the specified file into specified report. + + Report object. + File name. + + + + Loads the specified file into specified report from stream. + + Report object. + File stream. + + + + Gets storage service. + + + + + Represent ruler with guides for forms of editors + + + + + Get or set left indent position + + + + + Get or set right indent position + + + + + Gets or sets tab positiions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Method for drawing guides on element of form. + + + + + + + Base class for elements of RulerWithGuides + + + + + Get or set bounds of object + + + + + Get or set state of object + + + + + Draw element on graphics + + + + + + Method for moving object by means of chenging bounds + + + + + + Element of RulerWithGuides presenting position of tabs + + + + + Constructor of class TabPosition + + + + + + + + + + + + Represents collection of designer plugins. + + + This class is used in the Designer.Plugins property. + To register own plugin, add its type to the global collection: + + DesignerPlugins.Add(typeof(MyToolbar)); + + + + + + + Finds a plugin by its name. + + The plugin's name. + The plugin, if found; otherwise, null. + This example shows how to find a plugin. + + MessagesWindow window = designer.Plugins.Find("MessagesWindow") as MessagesWindow; + + + + + + Finds a plugin by its type name. + + The plugin's type name. + The plugin, if found; otherwise, null. + This example shows how to find a plugin. + + MessagesWindow window = designer.Plugins.FindType("MessagesWindow") as MessagesWindow; + + + + + + Base class for all designer toolbars. + + + Use this class to write own designer's toolbar. To do this: + - in the constructor, set the Name property and create toolbar buttons. + The Name will be used to restore toolbar's state; + - override the SelectionChanged method. This method is called when current selection + is changed. In this method, you should update buttons state to reflect the current selection. + Selected objects can be accessed via Designer.SelectedObjects property; + - override the UpdateContent method. This method is called when the report + content was changed. Typically you need to do the same actions in SelectionChanged and + UpdateContent methods; + - to register a toolbar, add its type to the global collection: + + DesignerPlugins.Add(typeof(MyToolbar)); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + The report designer. + + You don't need to call this constructor. The designer will do this automatically. + + + + + Represents the "Data Dictionary" window. + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + The report designer. + + + + Describes an item dragged from the "Data Dictionary" window. + + + + + The dragged object. + + + + + The text of dragged object. + + + + + Collection of dragged items. + + + + + Represents the "Messages" window. + + + To get this window, use the following code: + + Designer designer; + MessagesWindow window = designer.Plugins.FindType("MessagesWindow") as MessagesWindow; + + + + + + Clears the message list. + + + + + Adds a new message. + + The message text. + The name of object related to a message. + Determines whether the message is an error or a warning. + + + + Adds a new script-related message. + + The message text. + The line of the script. + The column of the script. + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + The report designer. + + + + Represents the "Properties" window. + + + + + Gets or sets a value indicating that properties are filtered. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + The report designer. + + + + Represents the "Report Tree" window. + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + The report designer. + + + + Extends the class for window with filterable TreeView. + + + + + + + + This method puts data to TreeView. + + + + + Searches for matches in + based on the text entered in the text field . + + + + + The method is needed to save focus on the selected node after performing operations; works only for WinForms.
+
+ The path to the node in the DataTree tree. +
+ + + Initializes a new instance of the class with default settings. + + The report designer. + + + + + + + + + + + + + Base class for all tool windows such as "Properties", "Data Dictionary" etc. + + + Use this class to create own tool window. To do this: + - in the constructor, set the Name and Image properties and create necessary controls. + The Name will be used to restore window's state; + - override the SelectionChanged method. This method is called when current selection + is changed. In this method, you should update buttons state to reflect the current selection. + Selected objects can be accessed via Designer.SelectedObjects property; + - override the UpdateContent method. This method is called when the report + content was changed. Typically you need to do the same actions in SelectionChanged and + UpdateContent methods; + - to register a toolwindow, add its type to the global collection: + + DesignerPlugins.Add(typeof(MyToolWindow)); + + + + + + + Gets the report designer. + + + + + Gets a value indicating that window is locked. + + + + + + + + Gets or sets shortcut keys used to show this toolwindow. + + + + + Gets or sets a value indicating that the toolwindow can be closed by the x button. + + + + + Gets the control collection. + + + + + Shows the toolwindow. + + + + + Hides the toolwindow. + + + + + + + + + + + + + + + + + + + + + + + + + + Implements method. + + The options page, if implemented; otherwise, null. + + + + + + + + + + Initializes a new instance of the class with default settings. + + The report designer. + + You don't need to call this constructor. The designer will do this automatically. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents the standard report designer. + + + This control extends the control with + standard menu, status bar, and toolbars. + To choose toolbars and tool windows in design-time, click the "View" menu + in this control and select what you want to see. Toolbars can be reordered using the mouse. + To restore the designer layout at runtime, you need to call the + RefreshLayout method in your + form's Load event handler. + + + + + Gets the main menu. + + + + + Gets or sets a value indicating whether the main menu should be displayed or not. + + + + + Gets or sets a value indicating whether the status bar should be displayed or not. + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Represents standard designer's form. + + + This form contains the . Use the + property to get access to this control. + Usually you don't need to create an instance of this class. The designer can be called + using the method of + the instance. + If you decided to use this class, you need: + + + create an instance of this class; + + + set the Designer.Report property to report that you need to design; + + + call either ShowModal or Show methods to display a form. + + + + + + + Gets a reference to the control which is actually a designer. + + + + + Gets a list of File menu buttons + + + + + Creates a new instance of the class with default settings. + + + + + Creates a new instance of the class with default settings. + + enables welcome window + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents the designer's main menu. + + + To get this menu, use the following code: + + Designer designer; + DesignerMenu menu = designer.Plugins.FindType("DesignerMenu") as DesignerMenu; + + + + + + The "File" menu. + + + + + The "File|New..." menu. + + + + + The "File|Open..." menu. + + + + + The "File|Open page..." menu. + + + + + The "File|Open via Cloud..." menu. + + + + + The "File|Recent Files" menu. + + + + + The "File|Close" menu. + + + + + The "File|Save" menu. + + + + + The "File|Save as..." menu. + + + + + The "File|Save with random data..." menu. + + + + + The "File|Save All" menu. + + + + + The "File|Save to Cloud..." menu. + + + + + The "File|Page Setup..." menu. + + + + + The "File|Printer Setup..." menu. + + + + + The "File|Preview..." menu. + + + + + The "File|Web preview..." menu. + + + + + The "File|Select Language" menu. + + + + + The "File|Exit" menu. + + + + + The "Edit" menu. + + + + + The "Edit|Undo" menu. + + + + + The "Edit|Redo" menu. + + + + + The "Edit|Cut" menu. + + + + + The "Edit|Copy" menu. + + + + + The "Edit|Paste" menu. + + + + + The "Edit|Delete" menu. + + + + + The "Edit|NewPage" menu. + + + + + The "Edit|Copy Page" menu. + + + + + The "Edit|Delete Page" menu. + + + + + The "Edit|Select All" menu. + + + + + The "Edit|Group" menu. + + + + + The "Edit|Ungroup" menu. + + + + + The "Edit|Find..." menu. + + + + + The "Edit|Replace..." menu. + + + + + The "View" menu. + + + + + The "View|Toolbars" menu. + + + + + The "View|Start Page" menu. + + + + + The "View|Options..." menu. + + + + + The "Insert" menu. + + + + + The "Report" menu. + + + + + The "Report|Validation" menu. + + + + + The "Report|Options..." menu. + + + + + The "Data" menu. + + + + + The "Data|Choose Report Data..." menu. + + + + + The "Data|Add Data Source..." menu. + + + + + The "Data|Show Data Dictionary" menu. + + + + + The "Window" menu. + + + + + The "Window|Close All" menu. + + + + + The "Help" menu. + + + + + The "Help|Help Contents..." menu. + + + + + The "Help|About..." menu. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Creates a new menu item. + + New menu item. + + + + Creates a new menu item. + + Click handler. + New menu item. + + + + Creates a new menu item. + + Item's image index. + Click handler. + New menu item. + + + + Creates a new menu item. + + Item's text. + Click handler. + New menu item. + + + + Creates a new menu item. + + Item's image index. + Item's text. + Click handler. + New menu item. + + + + Initializes a new instance of the class with default settings. + + The report designer. + + + + Represents the designer's statusbar. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Updates the information about location and size. + + The location. + The size. + + + + Updates the name and text information. + + The text. + + + + Initializes a new instance of the class with default settings. + + The report designer. + + + + Hold the list of registered aggregate functions. + + + + + Gets names of aggregates registered. + + + + + Registers the aggregate function. + + The function name. + The type of aggregate class. + + + + Returns an aggregate with specified name. + + The name of aggregate function. + The aggregate class type. + + + + Represents base class for AdvMatrixObject aggregates. + + + + + Adds a value to aggregate. + + The value. + + + + Gets aggregate value. + + Aggregate value. + + + + Merges value from another, similar aggregate. + + Aggregate to merge value from. + + + + Represents the "Sum" aggregate. + + + + + + + + + + + + + + Represents the "Avg" aggregate. + + + + + + + + + + + + + + Represents the "Min" aggregate. + + + + + + + + + + + + + + Represents the "Max" aggregate. + + + + + + + + + + + + + + Represents the "Count" aggregate. + + + + + + + + + + + + + + Represents the "CountDistinct" aggregate. + + + + + + + + + + + + + + Represents the "Var" aggregate. + + + + + + + + + + + + + + Represents the "VarP" aggregate. + + + + + + + + + + + + + + Represents the "StDev" aggregate. + + + + + + + + Represents the "StDevP" aggregate. + + + + + + + + Represents the "First" aggregate. + + + + + + + + + + + + + + Represents the "Last" aggregate. + + + + + + + + + + + + + + Represents the "ValuesList" aggregate. + + + + + Represents the "User" aggregate. + + + + + + + + + + + + + + Holds context required for aggregate functions evaluation. + + + + + Gets aggregate value. This method is for internal use only. + + Name of aggregate. + Expression. + Aggregate value. + + + + Gets value of the specific column. This method is for internal use only. + + The column value. + Dummy parameter. + The value or null. + + + + Gets value of the specific row. This method is for internal use only. + + The row value. + Dummy parameter. + The value or null. + + + + Gets value of the first column. This method is for internal use only. + + Dummy parameter. + Determines if the interactive sort must be respected. + Determines if the same level group should be used to search for item. + The value or null. + + + + Gets value of the last column. This method is for internal use only. + + Dummy parameter. + Determines if the interactive sort must be respected. + Determines if the same level group should be used to search for item. + The value or null. + + + + Gets value of the first row. This method is for internal use only. + + Dummy parameter. + Determines if the interactive sort must be respected. + Determines if the same level group should be used to search for item. + The value or null. + + + + Gets value of the last row. This method is for internal use only. + + Dummy parameter. + Determines if the interactive sort must be respected. + Determines if the same level group should be used to search for item. + The value or null. + + + + Gets value of previous column. This method is for internal use only. + + Dummy parameter. + Determines if the interactive sort must be respected. + Determines if the same level group should be used to search for item. + The value or null. + + + + Gets value of previous row. This method is for internal use only. + + Dummy parameter. + Determines if the interactive sort must be respected. + Determines if the same level group should be used to search for item. + The value or null. + + + + Gets value of next column. This method is for internal use only. + + Dummy parameter. + Determines if the interactive sort must be respected. + Determines if the same level group should be used to search for item. + The value or null. + + + + Gets value of next row. This method is for internal use only. + + Dummy parameter. + Determines if the interactive sort must be respected. + Determines if the same level group should be used to search for item. + The value or null. + + + + Gets column total value. This method is for internal use only. + + Dummy parameter. + The value or null. + + + + Gets row total value. This method is for internal use only. + + Dummy parameter. + The value or null. + + + + Gets grand total value. This method is for internal use only. + + Dummy parameter. + The value or null. + + + + Gets column group total value. This method is for internal use only. + + Dummy parameter. + The value or null. + + + + Gets row group total value. This method is for internal use only. + + Dummy parameter. + The value or null. + + + + Gets column group max value. This method is for internal use only. + + Dummy parameter. + The value or null. + + + + Gets column group min value. This method is for internal use only. + + Dummy parameter. + The value or null. + + + + Gets row group max value. This method is for internal use only. + + Dummy parameter. + The value or null. + + + + Gets row group min value. This method is for internal use only. + + Dummy parameter. + The value or null. + + + + Gets percent of column total. This method is for internal use only. + + Dummy parameter. + The value. + + + + Gets percent of row total. This method is for internal use only. + + Dummy parameter. + The value. + + + + Gets percent of grand total. This method is for internal use only. + + Dummy parameter. + The value. + + + + Gets percent of previous column. This method is for internal use only. + + Dummy parameter. + Determines if the interactive sort must be respected. + Determines if the same level group should be used to search for item. + The value or null. + + + + Gets percent of previous row. This method is for internal use only. + + Dummy parameter. + Determines if the interactive sort must be respected. + Determines if the same level group should be used to search for item. + The value or null. + + + + The descriptor that is used to describe one element of the matrix header. + + + The class is used to define one header element of the matrix + (either the column element or row element). The key properties are + and . + The collection of descriptors used to represent the matrix header is stored + in the AdvMatrixObject.Data.Columns and AdvMatrixObject.Data.Rows properties. + + + + + Gets or sets the name of this descriptor. + + + This property is used by the TopN engine to find linked items such as TopNTotal, Others, OtherTotal. + All others descriptors have empty name. + + + + + Gets the parent descriptor of this descriptor. + + + + + Gets child items of this descriptor. + + + + + Gets or sets an expression which value will be used to fill the matrix. + + + Expression may be any valid expression. Usually it's a data column: + [DataSource.Column]. + + + + + Gets or sets a text which will be displayed in this item. + + + DisplayText may contain text mixed with expressions just like in the TextObject, e.g. "Some text: [expr]". + The default property value is empty for group descriptors. + In this case the group value returned by the property will be displayed in this item. + + + + + Gets or sets the filter expression. + + + + + Gets or sets the sort order of header values. + + + This property determines how the values displayed in this element are sorted. The default sort is ascending. + + + + + Gets or sets the sort button name which toggles the sort order of this item. + + + + + Gets or sets an expression which value will be used to sort the header values. + + This expression is used to sort header by its total value. The expression must contain single aggregate, e.g. "Sum([Table1.Field1])". + The empty expression (by default) indicates that the header should be sorted by its value. + + + + + Gets or sets a value indicating that this item can be sorted interactively. + + + + + Gets or sets an expression which value will be used to sort the header values interactively. + + This expression is used to sort header values when interactive sorting is on. + The expression must contain single aggregate, e.g. "Sum([Table1.Field1])". + The empty expression (by default) indicates automatic mode. + + + + + Gets or sets the visibility of this item. + + + + + Gets or sets the expression that returns the visibility of this item. + + + + + Gets or sets the collapse button name which toggles the visibility of this item. + + + + + Gets or sets a value indicating that the page break must be printed before this element. + + + Page break is not printed before the very first element. + + + + + Determines whether the item should merge itself with single subitem. + + + + + Determines whether this item and its subitems will be displayed stepped. + + + + + Gets TopN settings for this item. + + + + + Gets or sets column span of this item. 0 means span is set automatically. + + + + + Gets or sets row span of this item. 0 means span is set automatically. + + + + + Adds new child descriptor. + + The new descriptor. + + + + Adds a child descriptor. + + The new descriptor. + The new descriptor. + + + + + + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the group expression specified. + + + + + Represents a base class for matrix buttons such as expand or sort button. + + + + + Determines the symbol size, in pixels. 0 indicates the auto size. + + + + + Determines whether this buttons belongs to column header. For internal use only. + + + + + Gets or set the index of this button. For internal use only. + + + + + + + + + + + Initializes a new instance of the class. + + + + + Represents the symbol used to display the matrix expand/collapse state. + + + + + Plus/minus. + + + + + The pointer. + + + + + The arrow. + + + + + Represents the matrix button used to toggle expand/collapse state of matrix headers. + + + + + Determines whether this button has a collapsed state. For internal use only. + + + + + Determines whether to show collapse/expand menu on right click. + + + + + Determines the symbol used to display the button's state. + + + + + Determines if only one button in the group can be expanded. + + + + + + + + + + + + + + For internal use only,return action click for Advanced Matrix collapse button + + + + + Initializes a new instance of the class. + + + + + + + + Represents the symbol used to display the matrix sort order. + + + + + The arrow. + + + + + The pointer. + + + + + Represents the matrix button used to toggle sort order of matrix headers. + + + + + Determines the sort state of this button. + + + + + Determines whether "None" sort is allowed when you switch sort states. + + + + + Determines the symbol used to display the state of this button. + + + + + Determines the color used to display button with inactive sort state (Sort = None). + + + + + + + + For internal use only,return action click for Advanced Matrix sort button + + + + + + + + + + + Initializes a new instance of the class. + + + + + + + + + Contains a set of properties and methods to hold and manipulate the matrix descriptors. + + + This class contains two collections of descriptors such as and + . Use collections' methods to add/remove descriptors. + When you are done, call the method to refresh the matrix. + + + + + Gets a collection of column descriptors. + + + Note: after you add or remove items in this collection, call the + method to refresh the matrix. + + + + + Gets a collection of row descriptors. + + + Note: after you add or remove items in this collection, call the + method to refresh the matrix. + + + + + Gets context required for aggregate calculation. + + + + + Processes single data row. + + + This method is used internally to process current data row. The matrix fills the column, row and cell data. + You should use this method if you fill a matrix in code using ManualBuild event. + + + + + Resets the data from the previous report run. + + + + + Initializes a new instance of the class. + + Reference to owner matrix. + + + + Represents the storage of header descriptors and its values. + + + + + Gets the root header descriptor. + + + + + Gets the size of this header. + + + + + + + + + + + Initializes a new instance of the class. + + + + + Stores the TopN settings of the matrix header item. + + + + + Gets or sets the TopN count. 0 means no TopN grouping will be performed. + + + + + Gets the properties of TopN total item. + + + + + Gets the properties of Others item. + + + + + Gets the properties of Others total item. + + + + + Stores the properties of TopN item. + + + + + Gets or sets the Name of the header descriptor item. + + + + + Gets or set the initial visibility of this item. + + + + + Gets or set the text of this item. Applicable to "Total" items. + + + + + Represents the matrix object that is used to print cross-table. + + + The matrix consists of the following elements: columns, rows and data cells. Each element is + represented by the descriptor. The class represents + columns and rows; data cells use dynamically created descriptors. + The property holds two root descriptors - Columns.Descriptor and Rows.Descriptor. + To create the matrix in a code, you should perform the following actions: + + + create an instance of the AdvMatrixObject and add it to the report; + + + create descriptors for columns and rows and add it to the + root descriptor using the matrix.Data.Columns.Descriptor and matrix.Data.Rows.Descriptor respectively; + + + call the method to create the matrix template + that will be used to create a result; + + + set the data cells content; + + + modify the matrix template (change captions, set the visual appearance). + + + To connect the matrix to a datasource, use the property. If + this property is not set, the result matrix will be empty. In this case you may use + the event handler to fill the matrix. + + This example demonstrates how to create a matrix in a code. + + // create an instance of AdvMatrixObject + AdvMatrixObject matrix = new AdvMatrixObject(); + matrix.Name = "Matrix1"; + // add it to the report title band of the first report page + matrix.Parent = (Report.Pages[0] as ReportPage).ReportTitle; + + // create two nested column descriptors and a total + HeaderDescriptor column = new HeaderDescriptor("[MatrixDemo.Year]"); + matrix.Data.Columns.Descriptor.Add(column); + HeaderDescriptor nestedColumn = new HeaderDescriptor("[MatrixDemo.Month]"); + column.Add(nestedColumn); + HeaderDescriptor columnTotal = new HeaderDescriptor(); + columnTotal.DisplayText = "Total"; + matrix.Data.Columns.Descriptor.Add(columnTotal); + + // create one row descriptor and a total + HeaderDescriptor row = new HeaderDescriptor("[MatrixDemo.Name]"); + matrix.Data.Rows.Descriptor.Add(row); + HeaderDescriptor rowTotal = new HeaderDescriptor(); + rowTotal.DisplayText = "Total"; + matrix.Data.Rows.Descriptor.Add(rowTotal); + + // connect matrix to a datasource + matrix.DataSource = Report.GetDataSource("MatrixDemo"); + + // create the matrix template + matrix.BuildTemplate(); + + // change the style + matrix.Style = "Gray"; + + // create data cells + string cellText = "[Sum([MatrixDemo.Revenue])]"; + for (int i = matrix.Data.Rows.Size; i < matrix.ColumnCount; i++) + for (int j = matrix.Data.Columns.Size; j < matrix.RowCount; j++) + matrix[i, j].Text = cellText; + + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets a data source. + + + When you create the matrix in the designer by drag-drop data columns into it, + this property will be set automatically. However you need to set it if you create + the matrix in code. + + + + + Gets the row filter expression. + + + This property can contain any valid boolean expression. If the expression returns false, + the corresponding data row will be skipped. + + + + + Gets or sets a matrix style. + + + + + Gets or sets even style priority for matrix cells. + + + + + Gets or sets data row priority for matrix cells. + + + + + Gets or sets a value indicating that empty matrix should be printed. + + + + + Gets or sets a value indicating that the matrix should reset its data on each report run. + + + Default value is false. In this case the matrix will use already prepared data when you refresh a report. + If you set it to true the matrix data will be reset on each report refresh. This also resets all user interaction such as + interactive sort and collapse state. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + See the event for more details. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + See the event for more details. + + + + + Allows to fill the matrix in code. + + + + + Allows to modify the prepared matrix elements such as cells, rows, columns. + + + + + Gets the object that holds the collection of descriptors used to build a matrix. + + + See the class for more details. + + + + + Gets or sets array of values that describes the currently printing column. + + + Use this property when report is running. It can be used to highlight matrix elements + depending on values of the currently printing column. To do this: + + + select the cell that you need to highlight; + + + click the "Highlight" button on the "Text" toolbar; + + + add a new highlight condition. Use the Matrix.ColumnValues to + refer to the value you need to analyze. Note: these values are array of dynamic, + so you don't need to cast it to actual type before making any comparisons. Example of highlight + condition: Matrix1.ColumnValues[0] == 2000. + + + + + + + + Gets or sets array of values that describes the currently printing row. + + + Use this property when report is running. It can be used to highlight matrix elements + depending on values of the currently printing row. To do this: + + + select the cell that you need to highlight; + + + click the "Highlight" button on the "Text" toolbar; + + + add a new highlight condition. Use the Matrix.RowValues to + refer to the value you need to analyze. Note: these values are arrays of dynamic, + so you don't need to cast it to actual type before making any comparisons. Example of highlight + condition: Matrix1.RowValues[0] == "Andrew Fuller". + + + + + + + + Gets or sets the index of currently printing column. + + + This property may be used to print even columns with alternate color. To do this: + + + select the cell that you need to highlight; + + + click the "Highlight" button on the "Text" toolbar; + + + add a new highlight condition that uses the Matrix.ColumnIndex, + for example: Matrix1.ColumnIndex % 2 == 1. + + + + + + + + Gets or sets the index of currently printing row. + + + This property may be used to print even rows with alternate color. To do this: + + + select the cell that you need to highlight; + + + click the "Highlight" button on the "Text" toolbar; + + + add a new highlight condition that uses the Matrix.RowIndex, + for example: Matrix1.RowIndex % 2 == 1. + + + + + + + + Gets or sets the data row index of currently printing header. + + + Use this value if you want to display the header value with its data row number, e.g. "1. Andrew Fuller". + To do this, set the header's DisplayExpression to something like this: Matrix1.RowNo + ". " + Value + + + + + Gets or sets count of items in the currently printing header. + + + + + + + + + + + + + + Creates or updates the matrix template. + + + Call this method after you modify the matrix descriptors using the object's properties. + + + + + This method fires the ManualBuild event and the script code connected to the ManualBuildEvent. + + Event data. + + + + This method fires the ModifyResult event and the script code connected to the ModifyResultEvent. + + Event data. + + + + Toggles visible state of the column with specified index. For internal use only. + + Index of column. + If true collapse all items. + If true expand all items. + + + + Toggles visible state of the row with specified index. For internal use only. + + Index of row. + If true collapse all items. + If true expand all items. + + + + Sort columns based on values of row with specified index. For internal use only. + + Index of row. + The sort order. + + + + Sort rows based on values of column with specified index. For internal use only. + + Index of column. + The sort order. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Describes how the even style is applied to a matrix. + + + + + The even style is applied to matrix rows. + + + + + The even style is applied to matrix columns. + + + + + The class for representing visible digital signature in the report. + + + + + Variants of filling + + + + + Solid filling of hatch and solid objects + + + + + Draw only borders of hatch and solid objects + + + + + Gets or sets lines/polygons gap for barcodes object, in millimeters + + + + + Gets or sets the dxf objects fill mode + + + + + Initializes a new instance of the class. + + + + + Export all report objects + + + + + + + + + Export of Band + + + + + + Begin exporting of page + + + + + + End exporting + + + + + + + + + + + + + + + Add BandObject. + + + + + Add TextObject. + + + + + Save DXF file. + + + + + Save DXF stream. + + + + + Add Line. + + + + + + + + Double precision 3D point value + + + + + Code range: 0-9 + String (with the introduction of extended symbol names in AutoCAD 2000, the 255-character + limit has been increased to 2049 single-byte characters not including the newline at the end + of the line) + + + + + Sets Name group + + Name (attribute tag, block name, and so on) + + + + Sets Name group + + Name (attribute tag, block name, ENDSEC, and so on) + + + + AutoCAD Color Index -> RGB Color table + + + + + RGB Color table -> AutoCAD Color Index + + + + + Get AutoCAD Color Index + + + AutoCAD Color Index + + + + Specifies the export font class. + + + + + These fonts do not support Bold or Itailc styles + + + + + Return text metric structure, need to use after FillOutlineTextMetrix() + + + + + Gets or sets internal font name + + + + + Return source font used in constructor + + + + + Returns multiplier for stroke bold emulation + + + + + Gets or sets internal reference + + + + + Gets or sets internal property - save flag + + + + + True if bold style is not supported by font + + + + + True if italic style is not supported by font + + + + + Mark font as editable for InteractiveForms + + + + + Get PostScript name of font + + + + + Return font file + + + + + + Get font data and set NeedSimulateBold and NeedSimulateItalic properties. Call this method after FillOutlineTextMetrix + + + + + Returns a list of font runs from the string specified. Also adds glyphs to the used glyphs table. + + + + + + + + + Get alphabet's subset from generation of pattern. + + Regular expression with pattern generator + Use left-to-right rules + + + + Return english name of source font + + + + + + Create object of ExportTTFFont. + + + + + + Destructor + + + + + CT command + + + + + CI command + + + + + EP command + Perimeter of polygon defined as polygon buffer by PM, PA/PR, PU/PD, + AA/AR, CI, and CT command is plotted. Pen position after command and + pen up / down state will be in state before command. + + + + + EA command + Rectangle which makes diagonal coordinates (x, y) specified the present position and + here is plotted. Pen position after command and pen up / down state will be in state before command. + + + + + ER command + Rectangle which makes diagonal relative coordinate (x, y) from the present position + and the present position is plotted. Pen position after command and pen up / down state + will be in state before command. + + + + + FP command + Shading of the inside of polygon defined as polygon buffer by PM, PA/PR, + PU/PD, AA/AR, CI, and CT command is carried out. Pen position after command + and pen up / down state will be in state before command. + + + + + RA command + It is used with FT and PT command and shading of the inside of rectangle which makes + diagonal point coordinates (x, y) specified the present position and here is carried out. + Pen position after command and pen up / down state will be in state before command. + + + + + RR command + It is used with FT and PT command and shading of the inside of rectangle which makes diagonal point + relative coordinate (x, y) from the present position and there is carried out. Pen position after command + and pen up / down state will be in state before command. + + + + + Model of shading + + + + + Painting out interactive at space specified by PT command (FT command interval and angle are ignored) + + + + + It is painting out (FT command space and angle are ignored) of the single direction at space specified by PT command. + + + + + Hatching which is the single direction at space and angle which were specified by FT command + + + + + It is crossing hatching at space and angle which were specified by FT command. + + + + + None (solid) + + + + + FT command + It is used together with FP, RA, RR, and WG command, and model of shading (painting out and hatching) is specified. + + + + + IN command + Plotter is changed into initial state. + + + + + IP command + Sets origin position of system of coordinates + + + + + Line Type + + + + + Point is plotted at specifying point + + + + + Dotted line of point + + + + + Short dotted line + + + + + Long dotted line + + + + + Short dashed line + + + + + Long dashed line + + + + + Two-point phantom line + + + + + No any patterns needed + + + + + LT command + + + + + PD command + + + + + PT command + It is used together with FP, FT, RR, RA, and WG command, and space (unit mm) of painting out + is specified between 0.1 and 5.0 in accordance with thickness of pen. Initial value is 0.3mm. + + + + + PU command + + + + + PA command + + + + + PR command + + + + + Polygon Type + + + + + Polygon buffer is cleared and it is made polygon definition mode. + + + + + Polygon under definition is closed. + + + + + Polygon under definition is closed and polygon definition mode is canceled. + + + + + PM command + It is made polygon definition mode. PM command is used with + PA/PR, PU/PD, AA/AR, CI, and CT command, and can define polygon. + + + + + RO command + + + + + SC command + + + + + SP command + + + + + PT command + It is used together with FP, FT, RR, RA, and WG command, and space (unit mm) of painting out + is specified between 0.1 and 5.0 in accordance with thickness of pen. Initial value is 0.3mm. + + + + + Variants of filling + + + + + Solid filling of hatch and solid objects + + + + + Draw only borders of hatch and solid objects + + + + + Gets or sets lines/polygons gap for barcodes object + + + + + Gets or sets the hpgl objects fill mode + + + + + Initializes a new instance of the class. + + + + + Save hpgl file. + + + + + Save hpgl stream. + + + + + Add BandObject. + + + + + Add TextObject. + + + + + + + + Begin exporting of page + + + + + + Export of Band + + + + + + End exporting + + + + + + + + + + + + + + + Export all report objects + + + + + + Add Line. + + + + + + + + Represents the HTML export filter. + + + + + + + + Draw any custom controls + + + + + Draw any custom controls. + + + + + + Types of html export + + + + + Simple export + + + + + Web preview mode + + + + + Web print mode + + + + + hash:base64Image + + + + + Gets or sets images, embedded in html (hash:base64Image) + + + + + Sets a ID of report + + + + + Sets an onclick template + + + + + Enable or disable layers export mode + + + + + For internal use only. + + + + + For internal use only. + + + + + For internal use only. + + + + + For internal use only. + + + + + For internal use only. + + + + + Enable or disable showing of print dialog in browser when html document is opened + + + + + Enable or disable a picture optimization. + + + + + Enable or disable preview in Web settings + + + + + Enable or disable the breaks between pages in print preview when single page mode is enabled + + + + + Specifies the output format + + + + + Specifies the width units in HTML export + + + + + Specifies the height units in HTML export + + + + + Enable or disable the pictures in HTML export + + + + + Enable or disable embedding pictures in HTML export + + + + + Enable or disable the WEB mode in HTML export + + + + + Gets or sets html export mode + + + + + Enable or disable the single HTML page creation + + + + + Enable or disable the page navigator in html export + + + + + Enable or disable the sub-folder for files of export + + + + + Gets or sets the WYSIWYG quality of export + + + + + Gets or sets the image format. + + + + + Gets print page data + + + + + Enable or disable saving streams in GeneratedStreams collection. + + + + + Enable or disable margins for pages. Works only for Layers-mode. + + + + + Enable or disable export of vector objects such as Barcodes in SVG format. + + + + + Not rotate landscape page when print. + + + + + + + + + + + + + + + + + Process Page with number p and real page ReportPage + + + + + + + + Process Page with number p and real page ReportPage + + + + + + + + + + + + + For internal use only. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class for WebPreview mode. + + + + + + + + For developers only + + + + + Event arguments for custom drawing of report objects. + + + + + Report object + + + + + ReportObject. + + + + + Resulting successful drawing flag. + + + + + Resulting HTML string. + + + + + Resulting CSS string. + + + + + Layers mode when true or Table mode when false. + + + + + Zoom value for scale position and sizes. + + + + + Left position. + + + + + Top position. + + + + + Width of object. + + + + + Height of object. + + + + + Represents the HTML export templates. + + + + + Page Template Title + + + + + Page Template Footer + + + + + Navigator Template + + + + + OutlineTemplate + + + + + Index Template + + + + + Initializes a new instance of the class. + + + + + Represents the HTML export format enum + + + + + Represents the message-HTML type + + + + + Represents the HTML type + + + + + Specifies the image format in HTML export. + + + + + Specifies the .bmp format. + + + + + Specifies the .png format. + + + + + Specifies the .jpg format. + + + + + Specifies the .gif format. + + + + + Specifies the units of HTML sizes. + + + + + Specifies the pixel units. + + + + + Specifies the percent units. + + + + + For internal use only. + + + + + For internal use only. + + + + + For internal use only. + + + + + For internal use only. + + + + + For internal use only. + + + + + For internal use only. + + + + + For internal use only. + + + + + For internal use only. + + + + + For internal use only. + + + + + For internal use only. + + + + + Excel 2003 export class + + + + + + + + Gets or sets a value that determines whether the wysiwyg mode should be used + for better results. + + + + + Gets or sets a value that determines whether to insert page breaks in the output file or not. + + + + + Gets or sets a value that determines whether to hide gridlines. + + + + + Enables or disables optimization of images for printing. + + + + + Read and parse Excel document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Related to DRAWING group. Used once + + + + + Provides API to binary stream + + + + + + + + + + Represents the CSV export filter. + + + + + + + + Gets or set the resulting file encoding. + + + + + Gets or set the separator character used in csv format. + + + + + Gets or sets a value that determines whether to export the databand rows only. + + + + + Gets or sets a value that disable quotation marks for text. + + + + + Gets or sets a value that disable escaping quotation marks for text. + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Represents the export to DBF. + + + + + + + + Gets or sets the encoding. + + + + + Gets or sets a value that determines whether to export the databand rows only. + + + + + Gets or sets a value that determines whether to export the types of fields. + + + + + Gets or sets the list of field names. + + + The field names must be separated by ";" symbol, for example: Column1;Column2;Column3 + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + + + + + + + + + + + + + Represents the record. + + + + + Types of fields. + + + + + Boolean type in DBF equal Logical marked 'L'. + + + + + DataTime type in DBF equal DataTime marked 'T'. + + + + + String type in DBF equal Character marked 'C'. + + + + + Decimal type in DBF equal Numeric marked 'N'. + + + + + Currency type 'Y' + + + + + Integer type in DBF equal Integer marked 'I'. + + + + + Gets or sets the field with a specified index. + + + + + Gets the count of a fields. + + + + + Gets the size of a fields. + + + + + Initializes a new instance of the class. + + + + + Adds the new item into a list of fields. + + + + + Clears the list of fields. + + + + + Represents the field. + + + + + Gets or sets data in field + + + + + Gets or sets type of field + + + + + Represents the email export. + + + In order to use this class, you need to set up at least the following properties: + , , . Use the + property to choose the format of an attachment. If you leave it empty, the attachment will be + in the .FRP format (FastReport prepared report). When you done with settings, call the + method to send an email. + + + This example demonstrates the bare minimum required to send an email. + + EmailExport export = new EmailExport(); + export.Account.Address = "my@address.net"; + export.Account.Host = "myhost"; + export.Address = "recipient@address.net"; + export.Subject = "Re: analysis report"; + // the report1 report must be prepared at this moment + export.SendEmail(report1); + + + + + + Displays the dialog box in which you can set up all parameters. + + true if user pressed OK button in the dialog. + + + + Gets or sets the recipient's address. + + + This property must contain value in form "john@url.com". + + + + + Gets or sets the carbon copy adresses. + + + This property must contain an array of values in form "john@url.com". + + + + + Gets or sets the subject of the message. + + + + + Gets or sets the message body. + + + + + Gets or sets the name attachment file. + + + + + Gets or sets the export filter which will be used to export a report. + + + Set this property to instance of any export filter. When you send the email, the report + will be exported using that export filter. + By default, this property is set to null. In this case the report will be send + in .FRP format. + + + + + Gets the email account settings such as host, user name, password. + + + + + Gets the parent Report object + + + + + Sends an email. + + Reports that will be sent as attachments. + + Before using this method, set up the following properties (it's a bare minimum): + , , . + The report that you pass in this method must be prepared using the Prepare method. + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with default settings. + + + + + Form for . + For internal use only. + + + + + Hides attachment settings. + For internal use only. + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Allows to send message using MAPI interface. + + + + + Sends a message. + + Parent window handle. + Files to attach. + Email subject. + Email body. + Recipient names. + Recipient addresses. + Error code. 0 if operation was completed succesfully. + + + + Returns a text describing an error. + + The error code. + The text describing an error. + + + + Contains the email account settings such as host, email address, name. + + + You have to set up at least the and properties. If your + host requires authentication, provide the and + properties as well. + Set property to true if you want to use default email client + such as Outlook to send an email. In this case, all other properties will be ignored. + + + + + Gets or sets the sender's email address. + + + This property contains your email address (for example, "john@site.com"). + + + + + Gets or sets the sender's name. + + + This property contains your name (for example, "John Smith"). + + + + + Gets or sets the template that will be used to create a new message. + + + + + Gets or sets the SMTP host name or IP address. + + + + + Gets or sets the SMTP port. + + + The default value for this property is 25. + + + + + Gets or sets the user name. + + + Specify the and properties if your host requires + authentication. + + + + + Gets or sets the password. + + + Specify the and properties if your host requires + authentication. + + + + + Gets or sets a value that determines whether to enable the SSL protocol. + + + + + Gets or sets a value that determines whether the account setting page + in the "Send Email" window is enabled. + + + + + Gets or sets a value that determines whether to use MAPI instead of SMTP when sending an email. + + + + + Copies email settings from another source. + + Source to copy settings from. + + + + Initializes a new instance of the class with default settings. + + + + + The base class for all export filters. + + + + + Exports the report to a file. + + Report to export. + Pages of open tabs. + true if report was succesfully exported. + + This method displays an export options dialog, then prompts a file name using standard "Open file" + dialog. If both dialogs were closed by OK button, exports the report and returns true. + + + + + Displays a dialog with export options. + + true if dialog was closed with OK button. + + + + Gets a report page with OverlayBand if it is a Demo or Academic. + + The prepared report page + The prepared report page with OverlayBand. + + + + Gets list of generated streams. + + + + + Zoom factor for output file + + + + + File filter that can be used in the "Save file" dialog. + + + + + Range of pages to export. + + + + + Page numbers to export. + + + Use page numbers separated by comma and/or page ranges, for example: "1,3-5,12". Empty string means + that all pages need to be exported. + + + + + Current page number. + + + Page number need to be exported if user selects "Current page" radiobutton in the export options dialog. + This property is typically set to current page number in the preview window. + + + + + Open the document after export. + + + + + Allows or disables the OpenAfterExport feature. + + + + + Gets or sets a value that determines whether to show progress window during export or not. + + + + + Gets a list of files generated by this export. + + + + + Gets a value indicating that the export may produce multiple output files. + + + + + Gets or sets a value indicating that the report bands should be shifted, if page + has any non-exportable bands + + + + + Gets or sets the initial directory that is displayed by a save file dialog. + + + + + Gets or sets a value indicating that pages will exporting from all open tabs. + + + + + Stream to export to. + + + + + File name to export to. + + + + + Array of page numbers to export. + + + + + Returns a file filter for a save dialog. + + String that contains a file filter, for example: "Bitmap image (*.bmp)|*.bmp" + + + + This method is called when the export starts. + + + + + This method is called at the start of exports of each page. + + Page for export may be empty in this method. + + + + This method is called at the end of exports of each page. + + Page for export may be empty in this method. + + + + This method is called for each band on exported page. + + Band, dispose after method compite. + + + + This method is called when the export is finished. + + + + + Gets a report page with specified index. + + Zero-based index of page. + The prepared report page. + + + + + + + + + + Exports the report to a stream. + + Report to export. + Stream to export to. + + This method does not show an export options dialog. If you want to show it, call + method prior to calling this method, or use the "Export(Report report)" method instead. + + + + + Exports the report to a file. + + Report to export. + File name to export to. + + This method does not show an export options dialog. If you want to show it, call + method prior to calling this method, or use the "Export(Report report)" method instead. + + + + + Initializes a new instance of the class. + + + + + Represents the MHT export filter. + + + + + + + + Enable or disable the pictures in MHT export + + + + + Gets or sets the Wysiwyg quality of export + + + + + Gets or sets the image format. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Represents the image export filter. + + + + + + + + Gets or sets the image format. + + + + + Gets or sets a value that determines whether to generate separate image file + for each exported page. + + + If this property is set to false, the export filter will produce one big image + containing all exported pages. Be careful using this property with a big report + because it may produce out of memory error. + And also when using Memory Stream and the value is true, an exception will be thrown. + + + + + Gets or sets image resolution, in dpi. + + + By default this property is set to 96 dpi. Use bigger values (300-600 dpi) + if you going to print the exported images. + + + + + Gets or sets horizontal image resolution, in dpi. + + + Separate horizontal and vertical resolution is used when exporting to TIFF. In other + cases, use the property instead. + + + + + Gets or sets vertical image resolution, in dpi. + + + Separate horizontal and vertical resolution is used when exporting to TIFF. In other + cases, use the property instead. + + + + + Gets or sets the jpg image quality. + + + This property is used if is set to Jpeg. By default + it is set to 100. Use lesser value to decrease the jpg file size. + + + + + Gets or sets the value determines whether to produce multi-frame tiff file. + + + + + Gets or sets a value that determines whether the Tiff export must produce monochrome image. + + + Monochrome tiff image is compressed using the compression method specified in the + property. + + + + + Gets or sets the compression method for a monochrome TIFF image. + + + This property is used only when exporting to TIFF image, and the property + is set to true. + The valid values for this property are: EncoderValue.CompressionNone, + EncoderValue.CompressionLZW, EncoderValue.CompressionRle, + EncoderValue.CompressionCCITT3, EncoderValue.CompressionCCITT4. + The default compression method is CCITT4. + + + + + Sets padding in non separate pages + + + + + Enable or disable saving streams in GeneratedStreams collection. + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Specifies the image export format. + + + + + Specifies the .bmp format. + + + + + Specifies the .png format. + + + + + Specifies the .jpg format. + + + + + Specifies the .gif format. + + + + + Specifies the .tif format. + + + + + Specifies the .emf format. + + + + + Represents the JSON export filter. + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Represents the LaTeX export filter. + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Base class for any ODF exports. + + + + + + + + Enum of OpenOffice formats. + + + + + OpenOffice Spreadsheet format. + + + + + OpenOffice Writer format. + + + + + Standard of ODF format. + + + + + ODF 1.0/1.1 + + + + + ODF 1.2 + + + + + XODF 1.0/1.1 + + + + + XODF 1.2 + + + + + Creator of the document + + + + + Is XODT format + + + + + Switch of page breaks + + + + + Wysiwyg mode, set for better results + + + + + Gets or sets locale for all document. + + + + + Gets or sets a value indicating that locale export are enabled. + + + + + Gets or sets ODF Compliance standard. + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + + + + Open Document Spreadsheet export (Open Office Calc). + + + + + Initializes a new instance of the class. + + + + + + + + Open Document Text export (Open Office Writer). + + + + + Initializes a new instance of the class. + + + + + + + + MS Word 2007 export class + + + + + + + + Types of table rows height + + + + + Exactly height + + + + + Minimum height + + + + + Enable or disable matrix view of document + + + + + Enable or disable Paragraph view of document + + + + + Disable section break in document + + + + + Gets or sets a value that determines whether the wysiwyg mode should be used + for better results. + + + Default value is true. In wysiwyg mode, the resulting Excel file will look + as close as possible to the prepared report. On the other side, it may have a lot + of small rows/columns, which will make it less editable. If you set this property + to false, the number of rows/columns in the resulting file will be decreased. + You will get less wysiwyg, but more editable file. + + + + + Gets or sets the type of height calculation. + + + + + Gets or sets the type of height calculation. + + + + + Enable or disable a resolution optimization. + + + + + Get or set a locale for all document. + + + + + Gets or sets a value indicating that locale export are enabled. + + + + + Gets or sets the value for adding bookmarks to each page. + + + + + Enable or disable DoNotExpandShiftReturn. + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the Word2007Export class. + + + + + Represents the PowerPoint 2007 export. + + + + + + + + Gets or sets the image format used when exporting. + + + + + Get or set a locale for all document. + + + + + Gets or sets a value indicating that locale export are enabled. + + + + + + + + + + + + + + + + + + + + + + + Get loacalization name. + + + + + + + + + Creates a new instance of the class with the default settings. + + + + + Excel 2007 export class + + + + + + + + Defines Print Scaling Mode. + + + + + Print sheets at thier actual size. + + + + + Shrink the printout so that it fits on one page. + + + + + Shrink the printout so that it is one page wide. + + + + + Shrink the printout so that it is one page high. + + + + + Move and modify the picture along with the cell. + + + + + Move but not resize the picture along with the cell. + + + + + Do not move or resize the picture along with the cell. + + + + + Gets or sets the Print Fit Mode. + + + + + Gets or sets the print scaling (value from 10 to 400). + + + + + Gets or sets the pinned cells in X ordinate. + + + + + Gets or sets the pinned cells in Y ordinate. + + + + + Sets or gets the flag using the preset print scale. + + + + + Gets or sets a value that determines whether the using locale data formatting. + + + + + Enable or disable show gridlines. + + + + + Gets or sets the font scale value. + Default value is 1 + + + + + Enable or disable a resolution optimization. + + + + + Each report page is placed on a new Excel page. + + + + + Each group is placed on a new Excel page. + + + + + Name of the selected group. + + + + + Gets or sets a value that determines whether the wysiwyg mode should be used + for better results. + + + Default value is true. In wysiwyg mode, the resulting Excel file will look + as close as possible to the prepared report. On the other side, it may have a lot + of small rows/columns, which will make it less editable. If you set this property + to false, the number of rows/columns in the resulting file will be decreased. + You will get less wysiwyg, but more editable file. + + + + + Gets or sets a value indicating that FileStream should be used instead of MomoryStream during export. + + + Enabling this option will reduce memory consumption, but increase the time of export. + + + + + Gets or sets a value indicating that currency should be converted to accounting format. + + + + + Gets or sets a value indicating that general should be converted to text format. + + + + + For delete temp files + + + + + Gets or sets a value that determines whether to insert page breaks in the output file or not. + + + + + Gets or sets a value that determines whether to export the databand rows only. + + + + + Enable or disable export of page footers and next page headers without table breaks. + + + + + Gets or sets a value that determines whether to export the databand rows only. + + + + + Grouping or ungrouping sheets. Grouping is enabled by default. + + + + + + + + + + + + + + + + + + + + + + + Gets the file name to export to. + + The full file name to export to. + + + + + + + Initializes a new instance of the class. + + + + + Main class of XML export + + + + + + + + PicturesCount + + + + + HumanReadable + + + + + + + + + + + + + + + + + + + + + + + Constructor of XPSExport + + + + + Destructor of XPSExport + + + + + Save + + + + + + + + + + + Padding over ridh object + + + + + This prperty keep RTF to DOC translation result, i.e. DOCX XML fragment + + + + + Base class for Microsoft Office 2007 export objects + + + + + Default XML header + + + + + Base class for export Office Open objects + + + + + Core document properties + + + + + Core document properties + + + + + Power point shape + + + + + Power Point Layout Descriptor + + + + + Power Point base class for style element + + + + + Base class for styles group + + + + + Base class for slides, masters, and layouts + + + + + Slide masters object + + + + + Ordinaty slide + + + + + Slide layout object + + + + + Presentation class + + + + + PPt Application Properties class + + + + + Ppt Table styles class + + + + + Ppt Presentation properties class + + + + + Ppt View Properties class + + + + + Specifies the image format in PowerPoint export. + + + + + Specifies the .png format. + + + + + Specifies the .jpg format. + + + + + Drawing class + + + + + Share all strings in document + + + + + Share all URL in document + + + + + Document styles + + + + + Workbook + + + + + OoXMLSheet class + + + + + Picture container + + + + + List of all document fonts + + + + + Single page export + + + + + Document structure descriptor + + + + + Font container + + + + + Font obfuscation procedure + + + + + PDF export (Adobe Acrobat) + + + + + + + + Embedded File + + + + + Name of embedded file. + + + + + Description of embedded file. + + + + + Modify Date of embedded file. + + + + + Relationship between the embedded document and the PDF part. + + + + + Valid MIME type. + + + + + Stream of embedded file. + + + + + File reference. + + + + + ZUGFeRD Conformance Level. + + + + Initializes a new instance of the class. + + + + Default preview size. + + + + + Actual size + + + + + Fit Page + + + + + Fit Width + + + + + Default + + + + + 10% + + + + + 25% + + + + + 50% + + + + + 75% + + + + + 100% + + + + + 125% + + + + + 150% + + + + + 200% + + + + + 400% + + + + + 800% + + + + + Standard of PDF format. + + + + + PDF 1.5 + + + + + PDF/A-1a + + + + + PDF/A-2a + + + + + PDF/A-2b + + + + + PDF/A-2u + + + + + PDF/A-3a + + + + + PDF/A-3b + + + + + Pdf/X-3 + + + + + Pdf/X-4 + + + + + Color Space. + + + + + RGB color space + + + + + CMYK color space + + + + + Types of pdf export. + + + + + Simple export + + + + + Web print mode + + + + + Relationship between the embedded document and the PDF part. + + + + + The embedded file contains data which is used for the visual representation. + + + + + The embedded file contains the source data for the visual representation derived therefrom in the PDF part. + + + + + This data relationship should be used if the embedded data are an alternative representation of the PDF contents. + + + + + This data relationship is used if the embedded file serves neither as the source nor as the alternative representation, but the file contains additional information. + + + + + If none of the data relationships above apply or there is an unknown data relationship, this data relationship is used. + + + + + ZUGFeRD Conformance Level. + + + + + Basic level. + + + + + Comfort level. + + + + + Extended level. + + + + + Gets or sets PDF Compliance standard. + After set, do not change other settings, it may lead to fail compliance test. + + + + + Enable or disable of embedding the TrueType fonts. + + + + + Enable or disable of exporting the background. + + + + + Enable or disable export text in curves + + + + + Gets or sets PDF color space + + + + + Enables or disables saving images in their original resolution + + + + + Enables or disables optimization of images for printing + + + + + Enable or disable image jpeg compression + + + + + Sets the quality of images in the PDF + + + + + Title of the document. + + + + + Author of the document. + + + + + Subject of the document. + + + + + Keywords of the document. + + + + + Creator of the document. + + + + + Producer of the document. + + + + + Sets the owner password. + + + + + Sets the user password. + + + + + Enable or disable printing in protected document. + + + + + Enable or disable modifying in protected document. + + + + + Enable or disable copying in protected document. + + + + + Enable or disable annotating in protected document. + + + + + Enable or disable the print dialog window after opening + + + + + Enable or disable hide the toolbar. + + + + + Enable or disable hide the menu's bar. + + + + + Enable or disable hide the Windows UI. + + + + + Enable or disable of fitting the window + + + + + Enable or disable of centering the window. + + + + + Enable or disable of scaling the page for shrink to printable area. + + + + + Enable or disable of document's Outline. + + + + + Set default zoom on open document + + + + + Sets the quality of RichText objects in the PDF + + + + + Enable or disable the compression in PDF document. + + + + + Enable or disable of images transparency. + + + + + Enable or disable of displaying document's title. + + + + + Set default page on open document + + + + + Color Profile (ICC file). + If "null" then default profile will be used + + + + + Gets or sets pdf export mode + + + + + Gets pdf AcroForms compatibility, if set then EmbeddingFonts = false and PdfCompliance = PdfStandard.None + + + + + Set pattern for selection of embedding glyphs for Interactive Forms + + + + + Enable or disable using FileStream instead of MemoryStream when exporting. + Its useful when exporting huge reports on machines with small amount of RAM. + + + + + Enable or disable digital sign for pdf document + + + Be sure to specify a valid certificate for signing using the DigitalSignCertificate property. + Or using the DigitalSignCertificatePath and DigitalSignCertificatePassword properties. + + + + + Should save and serialize password for digital sign certificate. + Do not save password unless absolutely necessary!!! + + + + + Manualy sets digital sign certificate for exported documents. + + + This property is in priority, i.e. if a certificate is specified, + the DigitalSignCertificatePath and DigitalSignCertificatePassword properties will not be used. + + + + + The path for load digital sign certificate. + + + + + Sets digital sign certificate password. + + + + + Gets or sets the cpu host name or physical location of the signing + + + + + The reason for the signing, such as (I agree ...) + + + + + The information to enable the recipient to contact the signer to verify the signature + + + + + + + + + + + Begin exporting of page + + + + + + End exporting + + + + + + Export of Band + + + + + + + + + + + + Add an embedded XML file (only for PDF/A-3 standard). + + File name + Description + Modification date + File stream + + + + Add an embedded XML file (only for PDF/A-3 standard). + + File name + Description + Modification date + File stream + ZUGFeRD Conformance Level + + + + Add an embedded file (only for PDF/A-3 standard). + + File name + Description + Modification date + Relation type + MIME type + File stream + + + + Initializes a new instance of the class. + + + + + Calculates mask for image. + + + + + Calculates image bounds according to . + + + + + Writes pixels' colors without alpha to stream according to CMYK or RGB color space. + Pixels should be in the format. + + + + + Update stream position for object number, only for int value + + int value + + + + + + The pdf export + size of place for svg + + + + The interpolation of curves (svg) + + + + + The interpolation of curves (text) + + + + + Export svg object as image, not vector + + + + + Gradient interpolation, high value will lead beautiful the gradient, + but the file size will increase and the speed of work will decrease. + + + + + The quality of gradient, export as image or export as gradient grid + + + + + Added graphics path to pdf, + + size of rect for gradient filling + path, with positions in pdf scaling + Any brush + Interpolation value + + matrix for transform to pdf scale + + + + returns true if this gradient is fillable by gradient grid + + + + + + The enum of curves interpolation + + + + + Export as curves, without interpolation + + + + + Two points + + + + + Four points + + + + + Eight points + + + + + Sixteen points + + + + + The enum of gradient interpolation points + + + + + Two points + + + + + Four points + + + + + Eight points + + + + + Sixteen points + + + + + Thirty two points + + + + + Sixty four points + + + + + One hundred and twenty eight points + + + + + Two hundred and fifty six points + + + + + The quality of gradient export + + + + + Export as image + + + + + Export as low quality gradient grid, max size of interpolation points is 32 + + + + + Export as medium quality gradient grid, max size of interpolation points is 128 + + + + + Export as high quality gradient grid, max size of interpolation points is 256 + + + + + File name without extentions, for example "MetaDataX" + + + + Represents the PPML export filter. + + + + + + + + Enable or disable the pictures in PPML export + + + + + Add TextObject. + + + + + Add BandObject. + + + + + Add Line. + + + + + Add Shape. + + + + + + + + Begin exporting of page + + + + + + Export of Band + + + + + + End exporting + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Contains Dashes enum + + + + + Specifies the Dash. + + + + + Specifies the Dot. + + + + + Specifies the DashDot. + + + + + Specifies the DashDotDot. + + + + + Specifies the Double line. + + + + + Create Window. + + + + + Add image as PPMLObject + + + + + + + + + + Save svg file. + + + + + Save svg stream. + + + + + + + + + + Represents the ps export filter. + + + + + + + + Enable or disable the pictures in PS export + + + + + Enable or disable export text in curves + + + + + Enable or disable export every page in separate file + + + + + Enable or disable saving every image in separate file + + + + + Gets or sets quality of JPEG images + + + + + Add TextObject. + + + + + Add BandObject. + + + + + Add Line. + + + + + Add Shape. + + + + + + + + Begin exporting of page + + + + + + Export of Band + + + + + + End exporting + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Contains Dashes enum + + + + + Specifies the Dash. + + + + + Specifies the Dot. + + + + + Specifies the DashDot. + + + + + Specifies the DashDotDot. + + + + + Specifies the Double line. + + + + + Create Window. + + + + Add TextLine in curves + + + + Method for add TextObject. + + + + + Method to add rectangle. + + + + + Method for add ellips. + + + + + Method for add triangle. + + + + + Method for add Diamond. + + + + + Method for add line. + + + + + Method for add line with dash. + + + + + Add image + + + + + + + + + + + Add image as hex code + + + + + + + + + + End of each page + + + + + Save file. + + + + + Save stream. + + + + + + + + + Represents the RTF export filter. + + + + + + + + Gets or sets the quality of Jpeg images in RTF file. + + + Default value is 90. This property will be used if you select Jpeg + in the property. + + + + + Gets or sets the image format that will be used to save pictures in RTF file. + + + Default value is Metafile. This format is better for exporting such objects as + MSChartObject and ShapeObject. + + + + + Gets or sets a value indicating that pictures are enabled. + + + + + Gets or sets a value indicating that page breaks are enabled. + + + + + Get or set a locale for all document. + + + + + Gets or sets a value indicating that locale export are enabled. + + + + + Gets or sets a value that determines whether the wysiwyg mode should be used + for better results. + + + Default value is true. In wysiwyg mode, the resulting rtf file will look + as close as possible to the prepared report. On the other side, it may have a lot + of small rows/columns, which will make it less editable. If you set this property + to false, the number of rows/columns in the resulting file will be decreased. + You will get less wysiwyg, but more editable file. + + + + + Gets or sets the PrintOptimized. + + + + + Gets or sets the creator of the document. + + + + + Gets or sets a value that determines whether the rows in the resulting table + should calculate its height automatically. + + + Default value for this property is false. In this mode, each row in the + resulting table has fixed height to get maximum wysiwyg. If you set it to true, + the height of resulting table will be calculated automatically by the Word processor. + The document will be more editable, but less wysiwyg. + + + + + Gets or sets a value that determines whether the repot's RichObject will be + translated as picture or joined to generated RTF. + + + Default value for this property is false. In this mode, each RichObject + will be embedded as a picture. This is default behavior. If you set it to true, + the RichObject will be incorporated as a navive part of document. This is experimetal + feature. + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Specifies the image format in RTF export. + + + + + Specifies the .png format. + + + + + Specifies the .jpg format. + + + + + Specifies the .emf format. + + + + + Represents the SVG export filter. + + + + + + + + Enable or disable the pictures in SVG export + + + + + Gets or sets the image format used when exporting. + + + + + Embed images into svg + + + + + Gets or sets value indicating whether or not should to force uniform scaling of SVG document + + + + + Gets or sets value indicating whether or not should be added 'viewBox' attribute to the svg tag + + + + + Gets or sets value indicating whether or not should be added 'width' and 'height' attributes to the svg tag + + + + + Gets or sets the prefix for style classes and object ids + + + + + + + + Begin exporting of page + + + + + + + + + End exporting + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Specifies the alignment methods + + + + + Do not force uniform scaling. Scale the graphic content of the given element non-uniformly + if necessary such that the element's bounding box exactly matches the viewport rectangle. + + + + + Force uniform scaling. Align the min-x of the element's viewBox with the smallest X value + of the viewport. Align the min-y of the element's viewBox with the smallest Y value of the viewport. + + + + + Force uniform scaling. Align the midpoint X value of the element's viewBox with the midpoint + X value of the viewport. Align the min-y of the element's viewBox with the smallest Y value + of the viewport. + + + + + Force uniform scaling. Align the min-x+width of the element's viewBox with the maximum X value + of the viewport. Align the min-y of the element's viewBox with the smallest Y value of the viewport. + + + + + Force uniform scaling. Align the min-x of the element's viewBox with the smallest X value of + the viewport. Align the midpoint Y value of the element's viewBox with the midpoint Y value + of the viewport. + + + + + The default. Force uniform scaling. Align the midpoint X value of the element's viewBox + with the midpoint X value of the viewport. Align the midpoint Y value of the element's + viewBox with the midpoint Y value of the viewport. + + + + + Force uniform scaling. Align the min-x+width of the element's viewBox with the maximum X + value of the viewport. Align the midpoint Y value of the element's viewBox with the midpoint + Y value of the viewport. + + + + + Force uniform scaling. Align the min-x of the element's viewBox with the smallest X value of + the viewport. Align the min-y+height of the element's viewBox with the maximum Y value of the viewport. + + + + + Force uniform scaling. Align the midpoint X value of the element's viewBox with the midpoint X + value of the viewport. Align the min-y+height of the element's viewBox with the maximum Y value + of the viewport. + + + + + Force uniform scaling. Align the min-x+width of the element's viewBox with the maximum X value of + the viewport. Align the min-y+height of the element's viewBox with the maximum Y value of the viewport. + + + + + Specifies the svg scale types + + + + + (the default) - Scale the graphic such that: + - aspect ratio is preserved + - the entire viewBox is visible within the viewport + - the viewBox is scaled up as much as possible, while still meeting the other criteria + + + + + Scale the graphic such that: + - aspect ratio is preserved + - the entire viewport is covered by the viewBox + - the viewBox is scaled down as much as possible, while still meeting the other criteria + + + + + Describes scaling of a svg documents + + + + + Gets the align value + + + + + Gets the meetOrSlice value + + + + + Initializes a new instance of the class. + + + + + + Initializes a new instance of the class. + + Align value + meetOrSlice value + + + + Represents the text export. + + + + + + + + Enable or disable the Data loss avoiding. + Auto calculation of ScaleX and ScaleY will be launched when dialogue window will be off. + + + + + Gets or sets the count of copies for printing of results. + + + + + Gets or sets the printer name for printing of results. + + + + + Enable or disable the printing results after export. + + + + + Gets or sets the active index of registered printer type. + + + + + Gets or sets the list of printer types. + + + + + Gets or sets the scale by X axis for correct text objects placement. + + + + + Gets or sets the scale by Y axis for correct text objects placement. + + + + + Gets or sets the encoding of resulting document. + + + Windows ANSI encoding + TextExport.Encoding = Encoding.Default; + Unicode UTF-8 encoding + TextExport.Encoding = Encoding.UTF8; + OEM encoding for current system locale sessings + TextExport.Encoding = Encoding.GetEncoding(CultureInfo.CurrentCulture.TextInfo.OEMCodePage); + + + + + Enable or disable the data only output without any headers. Default value is false. + + + + + Enable or disable the breaks of pages in resulting document. Default value is true. + + + + + Enable or disable frames in resulting document. Default value is true. + + + + + Enable or disable the text (non graphic) frames in resulting document. Default value is false. + + + + + Enable or disable the output of empty lines in resulting document. Default value is false. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Exports the page. + + + + + + + Calculates scale. + + + + + + Initializes a new instance of the class. + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents the printer command class + + + + + Gets or sets the active state of command. Default value is false. + + + + + Gets or sets the command name. + + + + + Gets or sets the list of "on sequence". + + + + + Gets or sets the list of "off sequence". + + + + + Initializes a new instance of the class. + + + + + Represents of the printer type class. + + + + + Gets or sets the printer name. + + + + + Gets or sets the list of printer commands. + + + + + Initializes a new instance of the class. + + + + + Represents supplement class for print of any stream directly in printer. + + + + + Prints a stream. + + Printer name on which should be print. + Document title for printer spooler. + Count of copies. + Stream that will be printed. + This example demonstrates the printing of Stream. + + TextExportPrint.PrintStream("EPSON FX-1000", "My Report", 1, txtStream) + + + + + Represents the XAML export filter. + + + + + + + + Gets or sets the class name of XAML document + + + + + Enable or disable the pictures in XAML export + + + + + Gets or sets the image format used when exporting. + + + + + Get or set scrollbar settings + + + + + Get dictionary of saved images + + + + + Add TextObject. + + + + + Add BandObject. + + + + + Add Line. + + + + + Add Shape. + + + + + + + + Begin exporting of page + + + + + + Export of Band + + + + + + End exporting + + + + + + + + + + + + Gem MemoryStream what contain image + + + + + + + + + + Initializes a new instance of the class. + + + + + Contains Dashes enum + + + + + Specifies the Dash. + + + + + Specifies the Dot. + + + + + Specifies the DashDot. + + + + + Specifies the DashDotDot. + + + + + Specifies the Double line. + + + + + XAML generator + + + + + Create Window. + + + + + Create Grid. + + + + + Create Canvas. + + + + + Create StackPanel + + + + + Create StackPanel + + + + + Create Resources tag + + + + + Add resource for TextObject + + + + + Add resource for TextObject with angle + + + + + Add resource for Line + + + + + Add resource for Rectangle + + + + + Add resource for Ellipse + + + + + Add resource for Polygon + + + + + Add TextObject. + + + + + Method for add TextObject with angle + + + + + Add line. + + + + + Add line with dash. + + + + + Add rectangle. + + + + + Add ellips. + + + + + Add triangle. + + + + + Add Diamond. + + + + + Add image + + + + + + + + + + + + Add image without name + + + + + + + + + + + Add page to StackPanel + + + + + + Save xaml file. + + + + + Save xaml stream. + + + + + + + + + + + + + Specifies the image format in XAML export. + + + + + Specifies the .png format. + + + + + Specifies the .jpg format. + + + + + Represents the Excel 2003 XML export filter. + + + + + + + + Gets or sets a value that determines whether to insert page breaks in the output file or not. + + + + + + Gets or sets a value that determines whether the wysiwyg mode should be used + for better results. + + + Default value is true. In wysiwyg mode, the resulting Excel file will look + as close as possible to the prepared report. On the other side, it may have a lot + of small rows/columns, which will make it less editable. If you set this property + to false, the number of rows/columns in the resulting file will be decreased. + You will get less wysiwyg, but more editable file. + + + + + Gets or sets the name of document creator. + + + + + Gets or sets a value that determines whether to export the databand rows only. + + + + + Each report page is placed on a new Excel page. + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Represents the Zpl export filter. + + + + + + + + Enum of ZPL format versions. + + + + + Standart ZPL + + + + + ZPL II + + + + + Enum of densty types of Zebra printers. + + + + + 6 dpmm(152 dpi) + + + + + 8 dpmm(203 dpi) + + + + + 12 dpmm(300 dpi) + + + + + 24 dpmm(600 dpi) + + + + + Sets the density of printer. + + + + + Gets or sets the version of ZPL. + + + + + Sets the init string for sending before printing the document. + + + + + Sets the code page of document. Default is UTF-8 (^CI28). + + + + + Sets the string for sending after printing the document. + + + + + Sets the string for sending before printing each page. + + + + + Sets the scale font size. + + + + + Sets the scale barcode size. + + + + + Sets the Printer Font, default value is "A". + + + + + Enable or disable export as bitmap. + + + + + Writes the string value in stream. + + + + + + + Writes the string value in stream with CRLF. + + + + + + + Gets the left position in zpl units. + + + + + + + Gets the top position in zpl units. + + + + + + + Exports the TableObject. + + + + + + Exports the LineObject. + + + + + + Exports the ShapeObject. + + + + + + Exports the TextObject. + + + + + + Gets the position of object in ZPL code. + + + + + + + + Gets the text attributes in ZPL code. + + + + + + + + + + + Gets the text with font width and height in ZPL code. + + + + + + + + + Gets the horiz align in ZPL code. + + + + + + + Gets the rectangle in ZPL code. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + This property for internal use only. + + + + + Binary tree class + + + + + Maximal value between child and parent + + + + + Nodes count + + + + + Root node + + + + + Nodes array. Accending sorting by node value. Available after close of tree. + + + + + Acceptable inaccuracy of new values. + + + + + Recursive add value to a node. + + + + + + + + Poll right child node for correct balance. + + + + + + Poll left child for correct balance. + + + + + + Recursive indexation of node and childs. + + + + + + Add new value in tree. All equals are skipped. + + + + + + Close the tree and make index array. + + + + + Seek of value index in the tree. + + + + + + + Find of value index in sub-tree of node. + + + + + + + + Borrow values form List in the tree + + + + + + Borrow values form array in the tree + + + + + + Clear tree + + + + + Tree constructor + + + + + Tree node class + + + + + Link to left child + + + + + Link to right child + + + + + Node value + + + + + Count of nodes in left sub-tree + + + + + Count of nodes in right sub-tree + + + + + Node index + + + + + Node constructor + + + + + + For internal use only. + + + + + Gets current page width. + + + + + + + Gets current page height. + + + + + + + + + + + + + + For developers only + + + + + Convert index to Excel column name. + + Index of column + Column name + + + + The components factory. + + + The components factory. + + + + + Creates a RichObject instance with specified name and parent. + + The name of the RichObject instance. + The parent of the RichObject instance. + The RichObject instance. + + + + Creates a SVGObject instance with specified name and parent. + + The name of the SVGObject instance. + The parent of the SVGObject instance. + The SVGObject instance. + + + + Creates a AdvMatrixObject instance with specified name and parent. + + The name of the AdvMatrixObject instance. + The parent of the AdvMatrixObject instance. + The AdvMatrixObject instance. + + + + Creates a MSChartObject instance with specified name and parent. + + The name of the MSChartObject instance. + The parent of the MSChartObject instance. + The MSChartObject instance. + + + + Creates a SparklineObject instance with specified name and parent. + + The name of the SparlineObject instance. + The parent of the SparlineObject instance. + + + + + Creates a MapObject instance with specified name and parent. + + The name of the MapObject instance. + The parent of the MapObject instance. + The MapObject instance. + + + + Creates a DialogPage instance in the specified Report. + + The Report instance. + The DialogPage instance. + + + + Creates a TextBoxControl instance with specified name and parent. + + The name of the TextBoxControl instance. + The parent of the TextBoxControl instance. + The TextBoxControl instance. + + + + Creates a LabelControl instance with specified name and parent. + + The name of the LabelControl instance. + The parent of the LabelControl instance. + The LabelControl instance. + + + + Creates a RadioButtonControl instance with specified name and parent. + + The name of the RadioButtonControl instance. + The parent of the RadioButtonControl instance. + The RadioButtonControl instance. + + + + Creates a DateTimePickerControl instance with specified name and parent. + + The name of the DateTimePickerControl instance. + The parent of the DateTimePickerControl instance. + The DateTimePickerControl instance. + + + + Creates a GridControl instance with specified name and parent. + + The name of the GridControl instance. + The parent of the GridControl instance. + The GridControl instance. + + + + Creates a GroupBoxControl instance with specified name and parent. + + The name of the GroupBoxControl instance. + The parent of the GroupBoxControl instance. + The GroupBoxControl instance. + + + + Creates a ButtonControl instance with specified name and parent. + + The name of the ButtonControl instance. + The parent of the ButtonControl instance. + The ButtonControl instance. + + + + Creates a CheckBoxControl instance with specified name and parent. + + The name of the CheckBoxControl instance. + The parent of the CheckBoxControl instance. + The CheckBoxControl instance. + + + + Creates a CheckedListBoxControl instance with specified name and parent. + + The name of the CheckedListBoxControl instance. + The parent of the CheckedListBoxControl instance. + The CheckedListBoxControl instance. + + + + Creates a ListBoxControl instance with specified name and parent. + + The name of the ListBoxControl instance. + The parent of the ListBoxControl instance. + The ListBoxControl instance. + + + + Creates a PanelControl instance with specified name and parent. + + The name of the PanelControl instance. + The parent of the PanelControl instance. + The PanelControl instance. + + + + Creates a ComboBoxControl instance with specified name and parent. + + The name of the ComboBoxControl instance. + The parent of the ComboBoxControl instance. + The ComboBoxControl instance. + + + + Creates a NumericUpDownControl instance with specified name and parent. + + The name of the NumericUpDownControl instance. + The parent of the NumericUpDownControl instance. + The NumericUpDownControl instance. + + + + Creates a PictureBoxControl instance with specified name and parent. + + The name of the PictureBoxControl instance. + The parent of the PictureBoxControl instance. + The PictureBoxControl instance. + + + + Creates a ListViewControl instance with specified name and parent. + + The name of the ListViewControl instance. + The parent of the ListViewControl instance. + The ListViewControl instance. + + + + Creates a RichTextBoxControl instance with specified name and parent. + + The name of the RichTextBoxControl instance. + The parent of the RichTextBoxControl instance. + The RichTextBoxControl instance. + + + + Creates a TreeViewControl instance with specified name and parent. + + The name of the TreeViewControl instance. + The parent of the TreeViewControl instance. + The TreeViewControl instance. + + + + Creates a ReportPage instance in the specified Report. + + The Report instance. + The ReportPage instance. + + + + Creates a ReportPage instance in the specified Report with the cpecified name. + + The name of page. + The Report instance. + The ReportPage instance. + + + + Creates a ReportTitleBand instance in the specified ReportPage. + + The ReportPage instance. + The ReportTitleBand instance. + + + + Creates a ReportSummaryBand instance in the specified ReportPage. + + The ReportPage instance. + The ReportSummaryBand instance. + + + + Creates a PageHeaderBand instance in the specified ReportPage. + + The ReportPage instance. + The PageHeaderBand instance. + + + + Creates a PageFooterBand instance in the specified ReportPage. + + The ReportPage instance. + The PageFooterBand instance. + + + + Creates a ColumnHeaderBand instance in the specified ReportPage. + + The ReportPage instance. + The ColumnHeaderBand instance. + + + + Creates a ColumnFooterBand instance in the specified ReportPage. + + The ReportPage instance. + The ColumnFooterBand instance. + + + + Creates a DataHeaderBand instance in the specified DataBand. + + The DataBand instance. + The DataHeaderBand instance. + + + + Creates a DataBand instance in the specified ReportPage. + + The ReportPage instance. + The DataBand instance. + + + + Creates a DataFooterBand instance in the specified DataBand. + + The DataBand instance. + The DataFooterBand instance. + + + + Creates a GroupHeaderBand instance in the specified ReportPage. + + The ReportPage instance. + The GroupHeaderBand instance. + + + + Creates a GroupFooterBand instance in the cpecified ReportPage. + + The ReportPage instance. + The GroupFooterBand instance. + + + + Creates a GroupFooterBand instance in the cpecified GroupHeaderBand. + + The GroupHeaderBand instance. + The GroupFooterBand instance. + + + + Creates a ChildBand instance in the specified BandBase. + + The BandBase instance. + The ChildBand instance. + + + + Creates an OverlayBand in the specified ReportPage. + + The ReportPage instance. + The OverlayBand instance. + + + + Creates a Style instance with specified name. + + The name of the Style instance. + The report to add style to. + The Style instance. + + + + Creates a TextObject instance with specified name and parent. + + The name of the TextObject instance. + The parent of the TextObject instance. + The TextObject instance. + + + + Creates a PictureObject instance with specified name and parent. + + The name of the PictureObject instance. + The parent of the PictureObject instance. + The PictureObject instance. + + + + Creates a LineObject instance with specified name and parent. + + The name of the LineObject instance. + The parent of the LineObject instance. + The LineObject instance. + + + + Creates a ShapeObject instance with specified name and parent. + + The name of the ShapeObject instance. + The parent of the ShapeObject instance. + The ShapeObject instance. + + + + Creates a PolyLineObject instance with specified name and parent. + + The name of the PolyLineObject instance. + The parent of the PolyLineObject instance. + The PolyLineObject instance. + + + + Creates a PolygonObject instance with specified name and parent. + + The name of the PolygonObject instance. + The parent of the PolygonObject instance. + The PolygonObject instance. + + + + Creates a SubreportObject instance with specified name and parent. + + The name of the SubreportObject instance. + The parent of the SubreportObject instance. + The SubreportObject instance. + + + + Creates a ContainerObject instance with specified name and parent. + + The name of the ContainerObject instance. + The parent of the ContainerObject instance. + The ContainerObject instance. + + + + Creates a CheckBoxObject instance with specified name and parent. + + The name of the CheckBoxObject instance. + The parent of the CheckBoxObject instance. + The CheckBoxObject instance. + + + + Creates a HtmlObject instance with specified name and parent. + + The name of the HtmlObject instance. + The parent of the HtmlObject instance. + The HtmlObject instance. + + + + Creates a TableObject instance with specified name and parent. + + The name of the TableObject instance. + The parent of the TableObject instance. + The TableObject instance. + + + + Creates a MatrixObject instance with specified name and parent. + + The name of the MatrixObject instance. + The parent of the MatrixObject instance. + The MatrixObject instance. + + + + Creates a BarcodeObject instance with specified name and parent. + + The name of the BarcodeObject instance. + The parent of the BarcodeObject instance. + The BarcodeObject instance. + + + + Creates a ZipCodeObject instance with specified name and parent. + + The name of the ZipCodeObject instance. + The parent of the ZipCodeObject instance. + The ZipCodeObject instance. + + + + Creates a CellularTextObject instance with specified name and parent. + + The name of the CellularTextObject instance. + The parent ot the CellularTextObject instance. + The CellularTextObject instance. + + + + Creates a LinearGauge instance with specified name and parent. + + The name of the LinearGauge instance. + The parent of the LinearGauge instance. + The LinearGauge instance. + + + + Creates a SimpleGauge instance with specified name and parent. + + The name of the SimpleGauge instance. + The parent of the SimpleGauge instance. + The SimpleGauge instance. + + + + Creates a RadialGauge instance with specified name and parent. + + The name of the RadialGauge instance. + The parent of the RadialGauge instance. + The RadialGauge instance. + + + + Creates a SimpleProgressGauge instance with specified name and parent. + + The name of the SimpleProgressGauge instance. + The parent of the SimpleProgressGauge instance. + The SimpleProgressGauge instance. + + + + Creates a Parameter instance with specified name and parent. + + The name of the Parameter instance. + The parent Report for the new Parameter. + The Parameter instance. + + + + Represents the DevExpess import plugin. + + + Represents the DevExpess import plugin. + + + + + Initializes a new instance of the class. + + + + + + + + + + + The DevExpress units converter. + + + + + Converts SizeF to pixels. + + SizeF value as string. + The value in pixels. + + + + Converts SizeF to pixels. + + SizeF value as string. + The value in pixels. + + Use this method for fonts, because font size is not stored as multiplied by dpi + + + + + Converts value to Boolean. + + Boolen value as string. + + + + Converts DevExpress Color. + + The DevExpress Color value as string. + The Color value. + + + + Converts DevExpress BackColor. + + The DevExpress BackColor value as string. + The Color value. + + + + Converts the DevExpress BorderDashStyle to LineStyle. + + The DevExpress BorderDashStyle value. + The LineStyle value. + + + + Converts the DevExpress LineStyle to LineStyle. + + The DevExpress LineStyle value. + The LineStyle value. + + + + Converts the DevExpress TextAlignment to HorzAlignment. + + The DevExpress TextAlignment value. + The HorzAlign value. + + + + Converts the DevExpress TextAlignment to VertAlignment. + + The DevExpress TextAlignment value. + The VertAlign value. + + + + Converts the DevExpress ImageSizeMode to PictureBoxSizeMode. + + The ImageSizeMode value as string. + The PictureBoxSizeMode value. + + + + Converts the DevExpress Shape to ShapeKind. + + The DevExpress Shape value as string. + The ShapeKind value. + + + + Converts the DevExpress Barcode.Symbology to Barcode.Barcode. + + The DevExpress Barcode.Symbology value as string. + The BarcodeObject instance. + + + + Converts the DevExpress border sides to FastReport border sides + + The DevExpress Barcode.Symbology value as string. + The BarcodeObject instance. + + + + Represents the RDL import plugin. + + + Represents the RDL import plugin. + + + + + Initializes a new instance of the class. + + + + + + + + + + + The RDL units converter. + + + The RDL units converter. + + + + + Converts the RDL GradientType to GradientStyle. + + The RDL GradientType value. + The GradientStyle value. + + + + Converts the RDL Chart.Type to SeriesChartType. + + The RDL Chart.Type value. + The SeriesChartType value. + + + + Converts the RDL Chart.Palette to ChartColorPalette. + + The RDL Chart.Palette value. + The RDL ChartColorPalette value. + + + + Converts the RDL Chart.Legend.Position to Legend.Docking and Legend.Alignment. + + The RDL Chart.Legend.Position value. + The Legend instance to convert to. + + + + Converts the RDL Chart.Legend.Layout to LegendStyle. + + The RDL Chart.Legend.Layout value. + The LegendStyle value. + + + + Converts the RDL BorderStyle to ChartDashStyle. + + The RDL BorderStyle value. + The ChartDashStyle value. + + + + Converts the RDL Axis.Visible to AxisEnabled. + + The RDL Axis.Visible value. + The AxisEnabled value. + + + + Converts the RDL TickMarkStyle to TickMarkStyle. + + The RDL TickMarkStyle value. + The TickMarkStyle value. + + + + Converts the RDL Shading to LightStyle. + + The RDL Shading value. + The LightStyle value. + + + + Converts the RDL Boolean to bool value. + + The RDL Boolean value. + The bool value. + + + + Converts the RDL Color to Color. + + The RDL Color value. + The Color value. + + + + Converts the RDL Size to float value. + + The RDL Size value. + The RDL Size units measure. + The float value of RDL Size. + + + + Converts the RDL Size to int value. + + The RDL Size value. + The RDL Size units measure. + The int value of RDL Size. + + + + Converts the RDL Size to millimeters. + + The RDL Size value. + The float value of RDL Size in millimeters. + + + + Converts the RDL Size to pixels. + + The RDL Size value. + The float value of RDL Size in pixels. + + + + Converts the RDL FontStyle to FontStyle. + + The RDL FontStyle value. + The FontStyle value. + + + + Converts the RDL FontSize to float. + + The RDL FontSize value. + The float value of RDL FontSize in points. + + + + Converts the RDL TextAlign to HorzAlign. + + The RDL TextAlign value. + The HorzAlign value. + + + + Converts the RDL TextAlign to VerticalAlign. + + The RDL VerticalAlign value. + The VertAlign value. + + + + Converts the RDL WritingMode to Angle. + + The RDL WritingMode value. + The int value of RDL WritingMode in degree. + + + + Converts the RDL TextAlign to StringAlignment. + + The RDL TextAling value. + The StringAlignment value. + + + + Converts the RDL TextAlign and VerticalAlign to ContentAlignment. + + The RDL TextAlign value. + The RDL VerticalAlign value. + The ContentAlignment value. + + + + Converts the RDL BorderStyle to LineStyle. + + The RDL BorderStyle value. + The LineStyle value. + + + + Converts the RDL Sizing to PictureBoxSizeMode. + + The RDL Sizing value. + The PictureBoxSizeMode value. + + + + The RDL Size units. + + + + + Specifies the units measured in millimeters. + + + + + Specifies the units measured in centimeters. + + + + + Specifies the units measured in inches. + + + + + Specifies the units measured in points. + + + + + Specifies the units measured in picas. + + + + + Defines the constants used to convert between RDL Size and pixels. + + + To convert pixels to inches, use the code: + inches = pixels / SizeUnitsP.Inch; + To convert inches to pixels, use the code: + pixels = inches * SizeUnitsP.Inch; + + + + + The number of pixels in one millimeter. + + + + + The number of pixels in one centimeter. + + + + + The number of pixels in one inch. + + + + + The number of pixels in one point. + + + + + The number of pixels in one pica. + + + + + Defines the constants used to convert between RDL Size and millimeters. + + + To convert millimeters to inches, use the code: + inches = millimeters / SizeUnitsM.Inch; + To convert inches to millimeters, use the code: + millimeters = inches * SizeUnitsM.Inch; + + + + + The number of millimeters in one centimeter. + + + + + The number of millimeters in one inch. + + + + + The number of millimeters in one point. + + + + + The number of millimeters in one pica. + + + + + Represents the StimulSoft import plugin. + + + Represents the StimulSoft import plugin. + + + + + Initializes a new instance of the class. + + + + + + + + + + + The StimulSoft units converter. + + + + + Converts value to Boolean. + + Boolen value as string. + + + + Converts value to PageUnits. + + + + + + + Converts value to PageUnits. + + + + + + + Converts the PaperSize to width and height values of paper size in millimeters + + The PaperSize value. + The ReportPage instance. + + + + Parse int value. + + + + + + + Parse float value + + + + + + + Converts StimulSoft Color. + + The DevExpress Color value as string. + The Color value. + + + + Converts StimulSoft Border. + + + + + + + Converts the StimulSoft BorderDashStyle to LineStyle. + + The DevExpress BorderDashStyle value. + The LineStyle value. + + + + Converts the StimulSoft BorderDashStyle to LineStyle. + + The DevExpress BorderDashStyle value. + The LineStyle value. + + + + Converts the StimulSoft LineStyle to LineStyle. + + The StimulSoft LineStyle value. + The LineStyle value. + + + + Converts the StimulSoft TextAlignment to HorzAlignment. + + The StimulSoft TextAlignment value. + The HorzAlign value. + + + + Converts the StimulSoft Brush to FillBase object. + + + + + + + Converts the StimulSoft Format to FormatBase object. + + + + + + + Converts the StimulSoft RTF string to raw RTF. + + + + + + + Converts the StimulSoft CapStyle to CapStyle. + + + + + + + Converts the StimulSoft TextAlignment to VertAlignment. + + The StimulSoft TextAlignment value. + The VertAlign value. + + + + Converts the StimulSoft CheckedSymbol to CheckedSymbol. + + + + + + + Converts the StimulSoft Barcode.Symbology to Barcode.Barcode. + + The StimulSoft Barcode.Symbology value as string. + The BarcodeObject instance. + + + + Converts the StimulSoft border sides to FastReport border sides + + + + + + Converts the StimulSoft AggregateFunction sides to FastReport MatrixAggregateFunction + + + + + + + Convert fill to color + + + + + + + Converts the StimulSoft SeriesChartType to SeriesChartType. + + + + + + + Parse string to struct f Point. + + + + + + + Parse string to struct of Size. + + + + + + + Converts the StimulSoft SeriesChartType to SeriesChartType. + + + + + + + Represents the JasperReports import plugin. + + + Represents the JasperReports import plugin. + + + + + Initializes a new instance of the class. + + + + + + + + + + + The JasperReports units converter. + + + + + Converts value to Boolean. + + Boolen value as string. + + + + Converts string to PictureBoxSizeMode. + + + + + + + Parse int value. + + + + + + + Parse float value + + + + + + + Converts JasperReports Color. + + The DevExpress Color value as string. + The Color value. + + + + Converts string to QRCodeErrorCorrection. + + + + + + + Parse BorderLine from XmlNode. + + + + + + + Converts JasperReports Border. + + + + + + + Converts the JasperReports BorderDashStyle to LineStyle. + + The DevExpress BorderDashStyle value. + The LineStyle value. + + + + Converts the JasperReports LineStyle to LineStyle. + + The JasperReports LineStyle value. + The LineStyle value. + + + + Converts the JasperReports TextAlignment to HorzAlignment. + + The JasperReports TextAlignment value. + The HorzAlign value. + + + + Converts the JasperReports rotation to int. + + + + + + + Converts the JasperReports TextAlignment to VertAlignment. + + The JasperReports TextAlignment value. + The VertAlign value. + + + + Converts the JasperReports Barcode.Symbology to Barcode.Barcode. + + The JasperReports Barcode.Symbology value as string. + The BarcodeObject instance. + + + + Convert JasperReports HyperlinkType to HyperlinkKind. + + + + + + + Converts the JasperReports SeriesChartType to SeriesChartType. + + + + + + + Base class for all import plugins. + + + + + Gets or sets the name of plugin. + + + + + Gets or sets reference to the report. + + + + + Initializes a new instance of the class with default settings. + + + + + Loads the specified file into specified report. + + Report object. + File name. + + + + Loads the specified file into specified report from stream. + + Report object + File stream + + + + Represents the List and Label import plugin. + + + + + Gets the value indicating is the report List and Label template after trying to load it. + + + + + Initializes a new instance of the class. + + + + + + + + + + + The List and Label units converter. + + + + + Converts List and Label units to millimeters. + + The List and Label unit as string. + The value in millimeters. + + + + Converts List and Label units to pixels. + + The List and Label unit as string. + The value in pixels. + + + + Converts List and Label paper orientation. + + The List and Label paper orientation value as string. + Returns true if orientation is landscape. + + + + Converts List and Label bool. + + The List and Label bool value as string. + A bool value. + + + + Converts List and Label text Align. + + The List and Label text Align value as string. + A HorzAlign value. + + + + Convert List and Label LineType to LineStyle. + + The List and Label LineType value as string. + A LineStyle value. + + + + Converts List and Label rounding to float. + + The List and Label rounding value as string. + A float value. + + + + Provider for getting a json object fron connection source + + + + + Returns JsonBase object from connection source specific by tableDataSource + + + + + + + FastReport json connection + + + + + Name of json object table + + + + + Initialize a new instance + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents the JsonDataConnection connection string builder. + + + Use this class to parse connection string returned by the JsonDataConnection class. + + + + + Gets or sets json data + + + + + Gets or sets json schema + + + + + Gets or sets json url encoding + + + + + Set or get headers of the connection string. + + + + Returns copy of dictionary. If you need to update values, set the dictionary again! + + + + + Gets or sets simple structure value + + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with + specified connection string. + + The connection string. + + + + JsonTableDataSource present a json array object + + + + + Gets or sets value for force update schema on init schema + + + + + Get or sets simplify mode for array types + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The default field name. + + + + + This class represents a single data column in a . + + + + + + + + Gets or sets the business object property name which this column is bound to. + + + + + Gets or sets the business object property descriptor which this column is bound to. + + + + + Gets or sets the type of data supplied by this column. + + + + + Gets or sets a value that specifies the type of a control that will be created + when you drop this column on a report page. + + + If you need to specify the custom type, use the property instead. + + + + + Gets or sets a name of custom bindable control. + + + Use this property if you want to bind a column to custom object type. You need to + specify the type name of your object; that object must be registered in FastReport using the + RegisteredObjects.Add method. + + + + + Gets or sets the format of this column. + + + This property is used when you drag a column from the Data window to the report page. + FastReport will create a "Text" object and set its "Format" property to the corresponding format. + By default, this property is set to Auto. It means that the format will be determined + automatically depending on the property. + + + + + Gets or sets expression of the calculated column. + + + This property is used if the property is true. + + + + + Gets or sets a value that indicates whether this column is calculated. + + + You should specify the property for calculated columns. + + + + + Gets the collection of child columns. + + + + + Gets or sets the tag value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the Column class with default settings. + + + + + + + + + + Initialize a new instance + + + + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + The base class for all connection editors. This control is used when you edit + the connection in the Data Wizard. + + + + + Gets or sets a connection string. + + + + + This method should construct the connection string from values entered by user. + + The connection string. + + + + This method should parse the connection string and fill the user interface elements. + + The connection string. + + + + Updates the component layout on dpi change. + + + + + Initializes a new instance of the class with default settings. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents a connection to xml file-based database. + + This example shows how to add a new connection to the report. + + Report report1; + XmlDataConnection conn = new XmlDataConnection(); + conn.XmlFile = @"c:\data.xml"; + report1.Dictionary.Connections.Add(conn); + conn.CreateAllTables(); + + + + + + + + + + + + + + + Gets or sets the path to .xsd file. + + + + + Gets or sets the path to .xml file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Represents a total that is used to calculate aggregates such as Sum, Min, Max, Avg, Count. + + + + + + + + Gets or sets the total type. + + + + + Gets or sets the expression used to calculate the total. + + + + + Gets or sets the evaluator databand. + + + The total will be calculated for each row of this band. + + + + + This property is kept for compatibility only. + + + + + Gets or sets the band to print the total on. + + + The total will be resetted after the specified band has been printed. + + + + + Gets or sets a value that determines whether the total should be resetted after print. + + + + + Gets or sets a value that determines whether the total should be resetted if printed + on repeated band (i.e. band with "RepeatOnEveryPage" flag). + + + + + Gets or sets the condition which tells the total to evaluate. + + + + + Gets or sets a value that determines if invisible rows of the Evaluator should + be included into the total's value. + + + + + This property is not relevant to this class. + + + + + Gets the value of total. + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Represents a datasource based on DataTable class. + + This example shows how to add a new table to the existing connection: + + Report report1; + DataConnectionBase conn = report1.Dictionary.Connections.FindByName("Connection1"); + TableDataSource table = new TableDataSource(); + table.TableName = "Employees"; + table.Name = "Table1"; + conn.Tables.Add(table); + + + + + + + + + Gets or sets the underlying DataTable object. + + + + + Gets or sets the table name. + + + + + Gets or sets SQL "select" command. + + + If this command contains parameters, you should specify them in the + property. + + + + + Gets a collection of parameters used by "select" command. + + + You must set up this property if the SQL query that you've specified in the + property contains parameters. + You can pass a value to the SQL parameter in two ways. + The right way is to define a report parameter. You can do this in the + "Data" window. Once you have defined the parameter, you can use it to pass a value + to the SQL parameter. To do this, set the SQL parameter's Expression property + to the report parameter's name (so it will look like [myReportParam]). + To pass a value to the report parameter from your application, use the + method. + The other way (unrecommended) is to find a datasource object and set its parameter from a code: + + TableDataSource ds = report.GetDataSource("My DataSource Name") as TableDataSource; + ds.Parameters[0].Value = 10; + + This way is not good because you hardcode the report object's name. + + + + + Gets or sets the parent object. + + + + + Gets or sets a value that determines whether it is necessary to store table data in a report file. + + + + + Gets or sets the table data. + + + This property is for internal use only. + + + + + If set, ignores the Connection (always returns null). Needed when we replace the + existing connection-based datasource with datatable defined in an application. + + + + + Gets or sets the query builder schema. + + + This property is for internal use only. + + + + + + + + + + + + + + + + + Refresh the table schema. + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Represents a master-detail relation between two data sources. + + + To setup a relation, you must specify parent and child datasources. For a parent datasource, + you must specify set of key columns; for child datasource, you must specify set of columns that + relate to the parent key columns. + This example shows how to create relation between Customers and Orders tables: + + Report report1; + DataSourceBase customersTable = report1.Dictionary.DataSources.FindByAlias("Customers"); + DataSourceBase ordersTable = report1.Dictionary.DataSources.FindByAlias("Orders"); + Relation rel = new Relation(); + rel.Name = "customersOrders"; + rel.ParentDataSource = customersTable; + rel.ChildDataSource = ordersTable; + rel.ParentColumns = new string[] { "CustomerID" }; + rel.ChildColumns = new string[] { "CustomerID" }; + report1.Dictionary.Relations.Add(rel); + + + + + + + + + + Gets or sets the parent datasource. + + + + + Gets or sets the child datasource. + + + + + Gets or sets an array of parent datasource columns. + + + Note: both and must have the + same number of elements. + + + + + Gets or sets an array of child datasource columns. + + + Note: both and must have the + same number of elements. + + + + + + + + Compares this relation with another one. + + Another relation to compare with. + true if both relations are equal; false otherwise. + + + + Initializes a new instance of the class with default settings. + + + + + Represents a connection to any OLE DB database. + + This example shows how to add a new connection to the report. + + Report report1; + OleDbDataConnection conn = new OleDbDataConnection(); + conn.ConnectionString = "your_connection_string"; + report1.Dictionary.Connections.Add(conn); + conn.CreateAllTables(); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a connection to any database through ODBC. + + This example shows how to add a new connection to the report. + + Report report1; + OdbcDataConnection conn = new OdbcDataConnection(); + conn.ConnectionString = "your_connection_string"; + report1.Dictionary.Connections.Add(conn); + conn.CreateAllTables(); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a connection to MS SQL database. + + This example shows how to add a new connection to the report. + + Report report1; + MsSqlDataConnection conn = new MsSqlDataConnection(); + conn.ConnectionString = "your_connection_string"; + report1.Dictionary.Connections.Add(conn); + conn.CreateAllTables(); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a connection to MS Access database (.mdb file). + + This example shows how to add a new connection to the report. + + Report report1; + MsAccessDataConnection conn = new MsAccessDataConnection(); + conn.DataSource = @"c:\data.mdb"; + report1.Dictionary.Connections.Add(conn); + conn.CreateAllTables(); + + + + + + + + + + + + Contains supported list of providers + + + + + Gets or sets the datasource file name. + + + + + Gets or sets the datasource file name. + + + + + Gets or sets the user name. + + + + + Gets or sets the password. + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + The base class for all data connection components such as . + + This example shows how to add a new MS Access connection to the report. + + Report report1; + MsAccessDataConnection conn = new MsAccessDataConnection(); + conn.DataSource = @"c:\data.mdb"; + report1.Dictionary.Connections.Add(conn); + conn.CreateAllTables(); + + + + + + + + + Gets a string that will identify a connection in the Data Wizard. + + The string that contains the connection type and some meaningful information. + + + + Gets the default type for a new parameter. + + The integer representation of a parameter type. + + + + Gets a control that will be used to edit the connection properties. + + The editor's control. + + + + + + + Tests the connection. + + + If test connection is not successful, this method throws an exception. Catch this exception to + show an error message. + + + + + Gets an internal DataSet object that contains all data tables. + + + + + Gets a collection of data tables in this connection. + + + To add a table to the connection, you must either create a new TableDataSource and add it + to this collection or call the method which will add + all tables available in the database. + + + + + Gets or sets a connection string that contains all connection parameters. + + + To modify some parameter of the connection, use respective + ConnectionStringBuilder class. + Security note: the connection string may contain a user name/password. + This information is stored in a report file. By default, it is crypted using the standard + FastReport's password. Since FastReport's source code is available to anyone who paid for it, + it may be insecure to use the standard password. For more security, you should use own + password. To do this, specify it in the Crypter.DefaultPassword property. + + This example demonstrates how to change a connection string: + + OleDbConnectionStringBuilder builder = new OleDbConnectionStringBuilder(oleDbConnection1.ConnectionString); + builder.PersistSecurityInfo = false; + oleDbConnection1.ConnectionString = builder.ToString(); + + + + + + Gets or sets an expression that returns a connection string. + + + Use this property to set the connection string dynamically. + The recommended way to do this is to define a report parameter. You can do this in the + "Data" window. Once you have defined the parameter, you can use it to pass a value + to the connection. Set the ConnectionStringExpression property of the + connection object to the report parameter's name (so it will look like [myReportParam]). + To pass a value to the report parameter from your application, use the + method. + + Once you set value for this property, the property will be ignored + when report is run. + + + + + + Gets or sets a value indicates if this connection is SQL-based. + + + + + Gets or sets a value indicates if this connection can contain procedures. + + + + + Gets or sets a value indicating whether a login dialog appears immediately before opening a connection. + + + Set LoginPrompt to true to provide login dialog when establishing a connection. If this + property is false (by default), you should provide login information (user name and password) + in the property. Though that property is stored in a crypted form, + this may be insecure. + Another way to pass login information to the connection is to use + property that is bound to the report parameter. In that + case you supply the entire connection string from your application. + + + + + Gets or sets the command timeout, in seconds. + + + + + + + + Initializes a DataSet instance. + + The DataSet object. + + This method is used to support FastReport infrastructure. You don't need to use it. + + + + + Disposes a DataSet. + + + This method is used to support FastReport infrastructure. You don't need to use it. + + + + + Sets the connection string. + + New connection string. + + Use this method if you need to perform some actions when the connection string is set. + + + + + Gets a connection string that contains username and password specified. + + User name. + Password. + + Override this method to pass login information to the connection. Typical implementation + must get the existing , merge specified login information into it + and return the new value. + + + + + + + + + + + + + + + + + + + + + + + + + + Fills the collection with all tables available in the database. + + + This method does not read the table data; to do this, call the + method of each table. + + + + + Fills the collection with all tables available in the database. + + Set to true to initialize each table's schema. + + + + Fills the collection with all procedures available in the database. + + + + + Create the stored procedure. + + + + + Creates the relations between tables. Applies to XmlDataConnection only. + + + + + Gets an array of table names available in the database. + + An array of strings. + + + + Gets an array of table names available in the database. + + An array of strings. + + + + Returns a type of connection. + + Type instance. + + You should override this method if you developing a new connection component. + If your connection component does not use data connection, you need to override + the and methods instead. + + Here is the example of this method implementation: + + public override Type GetConnectionType() + { + return typeof(OleDbConnection); + } + + + + + + Returns a connection object. + + The DbConnection instance. + Either creates a new DbConnection instance of type provided by the + method, or returns the application connection if set + in the Config.DesignerSettings.ApplicationConnection. + + + + Opens a specified connection object. + + Connection to open. + + Use this method to open a connection returned by the method. + This method displays a login dialog if your connection has the + property set to true. Once you have entered an user name and password in + this dialog, it will remeber the entered values and will not used anymore in this report session. + + + + + Disposes a connection. + + The connection to dispose. + + + + Returns a object that is specific to this connection. + + The SQL command used to fetch a table data rows. + The connection object. + The select command parameters. + The DbDataAdapter object. + + You should override this method if you are developing a new connection component. In this method, + you need to create the adapter and set its SelectCommand's parameters. + If your connection does not use data adapter, you need to override + the and methods instead. + + Here is the example of this method implementation: + + public override DbDataAdapter GetAdapter(string selectCommand, DbConnection connection, + CommandParameterCollection parameters) + { + OleDbDataAdapter adapter = new OleDbDataAdapter(selectCommand, connection as OleDbConnection); + foreach (CommandParameter p in parameters) + { + OleDbParameter parameter = adapter.SelectCommand.Parameters.Add(p.Name, (OleDbType)p.DataType, p.Size); + parameter.Value = p.Value; + } + return adapter; + } + + + + + + Gets the type of parameter that is specific to this connection. + + The parameter's type. + + This property is used in the report designer to display available data types when you edit the + connection parameters. For example, the type of OleDbConnection parameter is a OleDbType. + + + + + Quotes the specified DB identifier such as table name or column name. + + Identifier to quote. + The opened DB connection. + The quoted identifier. + + + + Fills the table schema. + + DataTable to fill. + The SQL select command. + SQL parameters. + + Usually you don't need to use this method. Internally it uses the and + methods to fill the table schema. If you create own connection component + that does not use nor connection or adapter, then you need to override this method. + + + + + Fills the table data. + + DataTable to fill. + The SQL select command. + SQL parameters. + + Usually you don't need to use this method. Internally it uses the and + methods to fill the table data. If you create own connection component + that does not use nor connection or adapter, then you need to override this method. + + + + + Creates table. + For internal use only. + + + + + Deletes table. + For internal use only. + + + + + Clone table. + For internal use only. + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + The base class for all data components such as data sources, columns. + + + + + + + + Gets or sets alias of this object. + + + Alias is a human-friendly name of this object. It may contain any symbols (including + spaces and national symbols). + + + + + Gets or sets a value indicates that object is enabled and thus can be used in a report. + + + This property is used to hide an object from the Data Dictionary window. Hidden + objects are still accessible in the "Data|Choose Data Source..." menu. + + + + + Gets or sets a name of the data object. + + + This property is used to support FastReport.Net infrastructure. Do not use it directly. + + + + + Gets or sets a reference to the data object. + + + This property is used to support FastReport.Net infrastructure. Do not use it directly. + + + + + Gets a value indicates that this object has an alias. + + + + + + + + + + + + + + Initializes the object before running a report. + + + This method is used by the report engine, do not call it directly. + + + + + Initializes a new instance of the class with default settings. + + + + + Represents a connection to csv file-based database. + + This example shows how to add a new connection to the report. + + Report report1; + CsvDataConnection conn = new CsvDataConnection(); + conn.CsvFile = @"c:\data.csv"; + report1.Dictionary.Connections.Add(conn); + conn.CreateAllTables(); + + + + + + + + + + + + + + + + + + Gets or sets the path to .csv file. + + + + + Gets or sets the codepage of the .csv file. + + + + + Gets or sets the separator of the .csv file. + + + + + Gets or sets the value indicating that field names should be loaded from the first string of the file. + + + + + Gets or sets the value indicating that quotation marks should be removed. + + + + + Gets or sets the value indicating that field types fhould be converted. + + + + + Gets or sets locale name used to auto-convert numeric fields, e.g. "en-US". + + + + + Gets or sets locale name used to auto-convert currency fields, e.g. "en-US". + + + + + Gets or sets locale name used to auto-convert datetime fields, e.g. "en-US". + + + + + Initializes a new instance of the class. + + + + + + + + Checking a relative path relative to a file + + + + + + + + + + + + + + + + + + + + + + + + + + Obsolete. Specifies a set of flags used to convert business objects into datasources. + + + + + Specifies no actions. + + + + + Allows using the fields of a business object. + + + + + Allows using properties of a business object with BrowsableAttribute only. + + + + + Specifies a kind of property. + + + + + Specifies the property of a simple type (such as integer). + + + + + Specifies the complex property such as class with own properties. + + + + + Specifies the property which is a list of objects (is of IEnumerable type). + + + + + Represents a datasource based on business object of IEnumerable type. + + + Do not use this class directly. To register a business object, use the + Report.RegisterData method. + + + + + Occurs when FastReport engine loads data source with data from a business object. + + + Use this event if you want to implement load-on-demand. Event handler must load the data into + your business object. + + + + + + + + + + + + + + + + + + + + Represents the method that will handle the LoadBusinessObject event. + + The source of the event. + The event data. + + + + Provides data for event. + + + + + Parent object for this data source. + + + + + Specifies the format for the column value. + + + + + The format will be determined automatically depending on the column's DataType. + + + + + Specifies the General format (no formatting). + + + + + Specifies the Number format. + + + + + Specifies the Currency format. + + + + + Specifies the Date format. + + + + + Specifies the Time format. + + + + + Specifies the Percent format. + + + + + Specifies the Boolean format. + + + + + Specifies the type of an object that will be created when you drop the + data column on a report page. + + + + + The column will create the object. + + + + + The column will create the object. + + + + + The column will create the object. + + + + + The column will create the object. + + + + + The column will create the custom object, specified in the + property. + + + + + Represents the collection of objects. + + + + + Gets or sets a column. + + The index of a column in this collection. + The column with specified index. + + + + Finds a column by its name. + + The name of a column. + The object if found; otherwise null. + + + + Finds a column by its alias. + + The alias of a column. + The object if found; otherwise null. + + + + Returns an unique column name based on given name. + + The base name. + The unique name. + + + + Returns an unique column alias based on given alias. + + The base alias. + The unique alias. + + + + Sorts the collection of columns. + + + + + Initializes a new instance of the class with default settings. + + The owner of this collection. + + + + Represents the comparer class that used for sorting the collection of columns. + + + + + + + + This class represents a single parameter to use in the "select" command. + + + + + Gets or sets the parameter's data type. + + + + + Gets or sets the size of parameter's data. + + + This property is used if the property is set to String. + + + + + Gets or set type of parameter. + + + + + Gets or sets an expression that returns the parameter's value. + + + If this property is not set, the property will be used + to obtain a parameter's value. + + + + + Gets or sets a default value for this parameter. + + + This value is used when you designing a report. Also it is used when report is running + in case if you don't provide a value for the property. + + + + + Gets or sets the parameter's value. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Query parameter for request to stored procedure. + + + + + + + + + + + + + + + + + Represents the collection of objects. + + + This class is used to store the list of parameters defined in the datasource. See the + property for more details. + + + + + Gets or sets a parameter. + + The index of a parameter in this collection. + The parameter with specified index. + + + + Finds a parameter by its name. + + The name of a parameter. + The object if found; otherwise null. + + + + Returns an unique parameter name based on given name. + + The base name. + The unique name. + + + + Initializes a new instance of the class with default settings. + + The owner of this collection. + + + + Represents the collection of objects. + + + + + Gets or sets a data connection. + + The index of a data connection in this collection. + The data connection with specified index. + + + + Initializes a new instance of the class with default settings. + + The owner of this collection. + + + + Represents the CsvDataConnection connection string builder. + + + Use this class to parse connection string returned by the CsvDataConnection class. + + + + + Gets or sets the path to .csv file. + + + + + Gets or sets the codepage of .csv file. + + + + + Gets or sets the separator. + + + + + Gets or sets the value indicating that field names should be loaded from the first string of the file. + + + + + Gets or sets the value indicating that quotation marks should be removed. + + + + + Gets or sets the value indicating that field types should be converted. + + + + + Gets or sets locale name used to auto-convert numeric fields, e.g. "en-US". + + + + + Gets or sets locale name used to auto-convert currency fields, e.g. "en-US". + + + + + Gets or sets locale name used to auto-convert datetime fields, e.g. "en-US". + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a specified connection string. + + The connection string. + + + + Base class for all CubeSources such as . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Represents the collection of objects. + + + + + Gets or sets a data source. + + The index of a data source in this collection. + The data source with specified index. + + + + Finds a CubeSource by its name. + + The name of a CubeSource. + The object if found; otherwise null. + + + + Finds a CubeSource by its alias. + + The alias of a CubeSource. + The object if found; otherwise null. + + + + Initializes a new instance of the class with default settings. + + The owner of this collection. + + + + Base class for all datasources such as . + + + + + Occurs when the FastReport engine loads data source with data. + + + Use this event if you want to implement load-on-demand. Event handler must load the data + into the data object which this datasource is bound to (for example, the + TableDataSource uses data from the DataTable object bound to + the Table property). + + + + + Gets or sets alias of this object. + + + Alias is a human-friendly name of this object. It may contain any symbols (including + spaces and national symbols). + + + + + Gets a number of data rows in this datasource. + + + You should initialize the datasource by the Init method before using this property. + + + + + Gets a value indicating that datasource has more rows, that is the + is less than the . + + + You should initialize the datasource by the Init method before using this property. + Usually this property is used with the following code block: + + dataSource.Init(); + while (dataSource.HasMoreRows) + { + // do something... + dataSource.Next(); + } + + + + + + Gets the current data row. + + + This property is updated when you call the method. + + + + + Gets an index of current data row. + + + You should initialize the datasource by the Init method before using this property. + This property is updated when you call the method. + + + + + Gets data stored in a specified column. + + Alias of a column. + The column's value. + + You should initialize the datasource by the Init method before using this property. + + + + + Gets data stored in a specified column. + + The column. + The column's value. + + You should initialize the datasource by the Init method before using this property. + + + + + Forces loading of data for this datasource. + + + This property is false by default. Set it to true if you need to reload data + each time when the datasource initialized. Note that this may slow down the performance. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + Gets the additional filter settings. + + + + + Gets data stored in a specified column. + + The column alias. + An object that contains the data. + + + + Gets data stored in a specified column. + + The column. + An object that contains the data. + + + + Initializes the datasource schema. + + + This method is used to support the FastReport.Net infrastructure. Do not call it directly. + + + + + Loads the datasource with data. + + + This method is used to support the FastReport.Net infrastructure. Do not call it directly. + + Rows to fill with data. + + + + Initializes this datasource. + + + This method fills the table with data. You should always call it before using most of + datasource properties. + + + + + Initializes this datasource and applies the specified filter. + + The filter expression. + + + + Initializes this datasource, applies the specified filter and sorts the rows. + + The filter expression. + The collection of sort descriptors. + + + + Initializes this datasource and filters data rows according to the master-detail relation between + this datasource and parentData. + + Parent datasource. + + To use master-detail relation, you must define the object that describes + the relation, and add it to the Report.Dictionary.Relations collection. + + + + + Initializes this datasource and filters data rows according to the master-detail relation between + this datasource and parentData. Also applies the specified filter and sorts the rows. + + Parent datasource. + The filter expression. + The collection of sort descriptors. + + To use master-detail relation, you must define the object that describes + the relation, and add it to the Report.Dictionary.Relations collection. + + + + + Initializes this datasource and filters data rows according to the master-detail relation. + Also applies the specified filter and sorts the rows. + + The master-detail relation. + The filter expression. + The collection of sort descriptors. + + To use master-detail relation, you must define the object that describes + the relation, and add it to the Report.Dictionary.Relations collection. + + + + + Initializes the data source if it is not initialized yet. + + + + + Navigates to the first row. + + + You should initialize the datasource by the Init method before using this method. + + + + + Navigates to the next row. + + + You should initialize the datasource by the Init method before using this method. + + + + + Navigates to the prior row. + + + You should initialize the datasource by the Init method before using this method. + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Represents the collection of objects. + + + + + Gets or sets a data source. + + The index of a data source in this collection. + The data source with specified index. + + + + Finds a datasource by its name. + + The name of a datasource. + The object if found; otherwise null. + + + + Finds a datasource by its alias. + + The alias of a datasource. + The object if found; otherwise null. + + + + Sorts data sources by their names. + + + + + Initializes a new instance of the class with default settings. + + The owner of this collection. + + + + Represents the comparer class that used for sorting the collection of data sources. + + + + + + + + Determines how to filter the data value. + + + The "Data value" is a value contained in the datasource which you filter. + The "Selected value" is a value you have entered or selected in the dialog control. + + + + + Data value is equal to selected value. + + + + + Data value is not equal to selected value. + + + + + Data value is less than selected value. + + + + + Data value is less than or equal to selected value. + + + + + Data value is greater than selected value. + + + + + Data value is greater than or equal to selected value. + + + + + Data string contains selected value. + + + + + Data string does not contain selected value. + + + + + Data string starts with selected value. + + + + + Data string does not start with selected value. + + + + + Data string ends with selected value. + + + + + Data string does not end with selected value. + + + + + This class stores all report data items such as datasources, connections, relations, parameters, + system variables. + + + You can access the report dictionary via Report.Dictionary property. + + + + + Gets a collection of connection objects available in a report. + + + + + Gets a collection of datasources available in a report. + + + Usually you don't need to use this property. It contains only datasources + registered using the RegisterData method. All other datasources are contained + in connection objects and may be accessed via property. + + + + + Gets a collection of relations. + + + + + Gets a collection of parameters. + + + Another way to access parameters is to use the Report.Parameters property + which is actually a shortcut to this property. You also may use the Report.GetParameter + and Report.GetParameterValue methods. + + + + + Gets a collection of system variables like Date, PageNofM etc. + + + Another way to access a system variable is to use the Report.GetVariableValue method. + + + + + Gets a collection of totals. + + + Another way to get a total value is to use the Report.GetTotalValue method. + + + + + Gets a collection of cubesources available in a report. + + + Usually you don't need to use this property. It contains only cubesources + registered using the RegisterData method. + + + + + Gets a list of registered items. + + + This property is for internal use only. + + + + + + + + + + + Registers a DataView. + + The DataView to register. + The name of the data object. + Determines wheter to enable the object or not. + + This method is for internal use only. + + + + + Registers a business object. + + The business object. + The name of the object. + Maximum level of data nesting. + Determines wheter to enable the object or not. + + This method is for internal use only. + + + + + Registers a CubeLink. + + The CubeLink to register. + The name of the data object. + Determines wheter to enable the object or not. + + This method is for internal use only. + + + + + Registers a data object. + + The object to register. + The name of the object. + Determines whether to enable the object or not. + + This method is for internal use only. + + + + + Unregisters the previously registered data. + + The application data. + + + + Unregisters the previously registered data. + + The application data. + The name of the data. + + You must specify the same data and name as when you call RegisterData. + + + + + Re-registers the data registered before. + + + This method is for internal use only. + + + + + Re-registers the data registered before. + + + + + + Clears all registered data. + + + + + Enables or disables relations between data tables. + + + Call this method if you create master-detail report from code. This method enables + relation between two data tables which Enabled flag is set to true. Relations + whose parent and child tables are disabled, gets disabled too. + + + + + Creates unique name for data item such as connection, datasource, relation, parameter or total. + + The base name. + The new unique name. + + Use this method to create unique name of the data item. It is necessary when you create new + items in code to avoid conflicts with existing report items. + This example show how to add a new parameter: + + Report report1; + Parameter par = new Parameter(); + par.Name = report1.Dictionary.CreateUniqueName("Parameter"); + report1.Parameters.Add(par); + + + + + + + Creates unique alias for data item such as connection, datasource or relation. + + The base alias. + The new unique alias. + + Use this method to create unique alias of the data item. It is necessary when you create new + items in code to avoid conflicts with existing report items. + This example show how to add a new table: + + Report report1; + DataConnectionBase conn = report1.Dictionary.Connections.FindByName("Connection1"); + TableDataSource table = new TableDataSource(); + table.TableName = "Employees"; + table.Name = report1.Dictionary.CreateUniqueName("EmployeesTable"); + table.Alias = report1.Dictionary.CreateUniqueAlias("Employees"); + conn.Tables.Add(table); + + + + + + + Finds a data item such as connection, datasource, relation, parameter or total by its name. + + The item's name. + The data item if found; otherwise, null. + + + + Finds a data item such as connection, datasource or relation by its alias. + + The item's alias. + The data item if found; otherwise, null. + + + + Finds a datasource that matches the specified DataTable. + + The DataTable object to check. + The DataSourceBase object if found. + + This method is for internal use only. + + + + + Finds a data component that matches the specified reference name. + + The name to check. + The DataComponentBase object if found. + + This method is for internal use only. + + + + + + + + + + + Saves the dictionary to a stream. + + Stream to save to. + + + + Saves the dictionary to a file. + + The name of a file to save to. + + + + Loads the dictionary from a stream. + + The stream to load from. + + + + Loads the dictionary from a file. + + The name of a file to load from. + + + + Merges this dictionary with another Dictionary. + + Another dictionary to merge the data from. + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Represents the item registered in a dictionary. + + + + + Gets the item data. + + + + + Gets the item name. + + + + + Represents a report parameter that is used to pass user data to a report. + + + See for details about using parameters. + + + + + Gets or sets the name of parameter. + + + + + Gets or sets the type of parameter. + + + + + Gets or sets the value of parameter. + + + You may specify the static value in this property. Note: if the + property is not empty, it will be calculated and its value will be returned. + + + + + Gets or sets value of the parameter as a string. + + + + + Gets or sets an expression of the parameter. + + + This expression will be calculated each time you access a parameter's Value. + + + + + Gets or sets the description of a parameter. + + + + + Gets a collection of nested parameters. + + + Parameters can have child (nested) parameters. To get or set a nested + parameter's value, use the method. + + + + + Gets the full name of the parameter. This is useful to get the nested parameter's full name. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with specified name. + + + + + Represents the collection of objects. + + + + + Gets or sets a parameter. + + The index of a parameter in this collection. + The parameter with specified index. + + + + Finds a parameter by its name. + + The name of a parameter. + The object if found; otherwise null. + + + + Returns an unique parameter name based on given name. + + The base name. + The unique name. + + + + Copies the parameters from other collection. + + Parameters to copy from. + + + + Initializes a new instance of the class with default settings. + + The owner of this collection. + + + + Represents the collection of objects. + + + + + Gets or sets a relation. + + The index of a relation in this collection. + The relation with specified index. + + + + Finds a relation by its name. + + The name of a relation. + The object if found; otherwise null. + + + + Finds a relation by its alias. + + The alias of a relation. + The object if found; otherwise null. + + + + Finds a relation that is equal to specified one. + + Another relation to compare with. + The object if found; otherwise null. + + + + Initializes a new instance of the class with default settings. + + The owner of this collection. + + + + Represents a datasource based on DataView class. + + + This class is used to support FastReport.Net infrastructure, do not use it directly. + If you want to use data from DataView object, call the + method of the Report. + + + + + Represents the collection of system variables. + + + + + Represents the base class for system variables. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + Returns date and time of the report's start. + + + + + + + + Returns current page number. + + + + + + + + Returns total number of pages in the report. To use this variable, you need + to enable the report's double pass. + + + + + + + + Returns a string containing the current page number in a form "Page N". + + + + + + + + Returns a string containing the current page number and total pages in a form "Page N of M". + To use this variable, you need to enable the report's double pass. + + + + + + + + Returns data row number inside the group. This value is reset at the start of a new group. + + + + + + + + Returns absolute number of data row. This value is never reset at the start of a new group. + + + + + + + + Returns current page number. + This variable is actually a macro. Its value is substituted when the component is viewed in + the preview window. That means you cannot use it in an expression. + + + + + + + + Returns the number of total pages in the report. + This variable is actually a macro. Its value is substituted when the component is viewed in + the preview window. That means you cannot use it in an expression. + + + + + + + + Returns the name of the printed copy. + This variable is actually a macro. Its value is substituted when the component is viewed in + the preview window. That means you cannot use it in an expression. + + + + + + + + Returns a level of hierarchy in the hierarchical report. + + + + + + + + Returns the row number like "1.2.1" in the hierarchical report. + + + + + + + + Represents the collection of objects. + + + + + Gets or sets a data table. + + The index of a data table in this collection. + The data table with specified index. + + + + Sorts tables by their names. + + + + + Initializes a new instance of the class with default settings. + + The owner of this collection. + + + + Datasource for stored procedure. + + + + + + + + + + + Specifies the total type. + + + + + The total returns sum of values. + + + + + The total returns minimal value. + + + + + The total returns maximal value. + + + + + The total returns average value. + + + + + The total returns number of values. + + + + + The total returns number of distinct values. + + + + + Represents the collection of objects. + + + + + Gets or sets a total. + + The index of a total in this collection. + The total with specified index. + + + + Finds a total by its name. + + The name of a total. + The object if found; otherwise null. + + + + Returns an unique total name based on given name. + + The base name. + The unique name. + + + + Initializes a new instance of the class with default settings. + + The owner of this collection. + + + + Represents a datasource based on DataView class. + + + This class is used to support FastReport.Net infrastructure, do not use it directly. + If you want to use data from DataView object, call the + method of the Report. + + + + + Gets the underlying DataView object. + + + + + + + + + + + + + + + + + Represents the XmlDataConnection connection string builder. + + + Use this class to parse connection string returned by the XmlDataConnection class. + + + + + Gets or sets the path to .xml file. + + + + + Gets or sets the path to .xsd file. + + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with + specified connection string. + + The connection string. + + + + This class contains settings that will be applied to the Report component. + + + + + Occurs before displaying a progress window. + + + + + Occurs after closing a progress window. + + + + + Occurs after printing a report. + + + + + Occurs when progress state is changed. + + + + + Gets or sets a value that determines whether to show the progress window + when perform time-consuming operations such as run, print, export. + + + + + Gets or sets a value that determines whether to show the information about + the report performance (report generation time, memory consumed) in the + lower right corner of the preview window. + + + + + Occurs when database connection is about to open. + + Use this event to provide own connection string or user name/password to the connection + object that is about to open. + To provide own connection string, set the e.ConnectionString property. + In this case the new connection string will be used. + To provide own user name/password, set the e.UserName and e.Password properties. + You may ask these values in own login dialog. + This example shows how to provide username/password using own login dialog. + + private void report1_DatabaseLogin(object sender, DatabaseLoginEventArgs e) + { + using (MyLoginDialog dialog = new MyLoginDialog()) + { + if (dialog.ShowDialog() == DialogResult.OK) + { + e.UserName = dialog.UserName; + e.Password = dialog.Password; + } + } + } + + This example shows how to provide own connection string. + + private void report1_DatabaseLogin(object sender, DatabaseLoginEventArgs e) + { + e.ConnectionString = my_connection_string; + } + + + + + + Occurs after the database connection is established. + + + + + Occurs when discovering the business object's structure. + + + + + Occurs when determining the kind of business object's property. + + + + + Occurs when discovering the structure of business object of ICustomTypeDescriptor type + with no instance specified. + + + The event handler must return an instance of that type. + + + + + Gets or sets the default script language. + + + + + Gets or sets the default paper size used when creating a new report. + + + + + Gets or sets a value indicating that the business object engine will use property values + when possible to discover the BO structure. + + + + + Gets or sets the default path for root of PictureObject.ImageLocation path. + + + + + Initializes a new instance of the class. + + + + + Number of folder and files, that have to be skipped + + + + + Number of folder and files, that have to be returned + + + + + Indicates a field to sort by + + + + + Indicates if sorting is descending + + + + + Default search options pattern + + + + + Number of folder and files, that have to be skipped + + + + + Number of folder and files, that have to be returned + + + + + Id of subscription with data sources + + + + + Mode of opening form: opening mode or saving mode + + + + + Mode of viewing reports: .frx or .fpx + + + + + Simple Storage Service client. + + + + + Gets or sets bucket where will saved export. + + + + + Gets or sets filename. + + + + + Gets or sets host S3. + + + + + + + + Get list of buckets names. + + List of buckets names + + + + Initialize signer. + + Access key ID + Secret access key + Service region + + + + Class for request sign to S3. Doc + + + + + Calculate hash sha256 of content and convert it to hexadecimal string. This string will be returned and written to x-amz-content-sha256 header. + + Request to which header will be added + Stream with content of request + String containing the encrypted and hexadecimal stream of the request content + + + + Represents form of SkyDrive storage client. + + + + + Initializes a new instance of the class. + + The report template. + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents the Client Info diabolg form. + + + + + Initializes a new instance of the class. + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Box cloud storage client. + + + + + Gets or sets the client info. + + + + + Gets or sets the authorization code. + + + + + Gets or sets the access token. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The storage client info. + + + + Initializes a new instance of the class. + + Client ID. + Client Secret. + + + + + + + Gets the authorization URL. + + The authorization URL stirng. + + + + Gets the access token. + + The access token string. + + + + Represents form of Box storage client. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The information about Box client application. + The report template. + + + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents the Client Info dialog form. + + + + + Gets the client ID. + + + + + Gets the client secret. + + + + + Initializes a new instance of the class. + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents form of the web browser. + + + + + Gets obtained authorization code. + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + FastCloud storage client. + + + + + Gets or sets the access token. + + + + + Gets the report URL that can be used to download report from cloud. + + + + + Initializes a new instance of the class. + + + + + + + + Gets the access token. + + The access token string. + + + + Represents form of FastCloud storage client. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The report template. + + + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents form of FastCloud storage client. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The report template. + + + + Checks is the string numeric. + + The checking string. + True if string is numeric, otherwise false. + + + + Gets the proxy settings. + + The proxy settings. + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + FTP storage client. + + + + + Gets or sets the FTP server. + + + + + Gets or sets the username. + + + + + Gets or sets the password. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The FTP server. + The username. + The password. + + + + + + + Represents form of the FTP storage client. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The FTP server. + The username. + The password. + The report template. + + + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + The base class for all cloud storage clients. + + + + + Gets or sets the filename. + + + + + Gets or set the information is user authorized or not. + + + + + Gets or sets the proxy settings of a client. + + + + + Initializes a new instance of the class. + + + + + Prepares report before it will be saved to cloud storage. + + The report template. + The export filter. + Memory stream that contains prepared report. + + + + Creates a MemoryStream instance using a Stream instance. + + The Stream instance that should be converted. + The MemoryStream instance. + + + + Saves a memory stream to cloud. + + The memory stream that should be saved. + + + + Saves the report to cloud storage. + + The report template that should be saved. + The export filter that should export template before. + + + + + Saves the stream to cloud storage. + + The stream that contains report. + The filename in which stream will be saved in cloud. + + + + Represents form of Dropbox storage client. + + + + + Gets or sets the report template. + + + + + Gets or sets the list of exports. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The report template. + + + + Initializes the list of exports. + + + + + Gets the proxy settings. + + The proxy settings. + + + + Initializes the component. + + + + + Checks is the string numeric. + + The checking string. + True if string is numeric, otherwise false. + + + + Finishes the form work. + + Returns true if work has been successfully finished, otherwise false. + + + + + + + SelectedIndexChanged event handler for ComboBox File Type. + + Event sender. + Event args. + + + + Click event handler for Button Settings. + + Event sender. + Event args. + + + + Shows a dialog window. + + Modal result. + + + + FormClosing event handler for CloudStorageClientForm. + + Event sender. + Event args. + + + + Click event handler for button OK. + + Event sender. + Event args. + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Page File. + + + + + Page Proxy. + + + + + ComboBox File Type. + + + + + Label File Type. + + + + + Buttons Settings. + + + + + Label Colon. + + + + + Label Password. + + + + + Label Username. + + + + + Label Server. + + + + + TextBox Username. + + + + + TextBox Port. + + + + + TextBox Server. + + + + + TextBox Password. + + + + + PageControl. + + + + + Represents the Application Info diabolg form. + + + + + Gets the access token. + + + + + Initializes a new instance of the class. + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Dropbox cloud storage client. + + + + + The base URL for files_put command. + + + + + Gets or sets the application access token. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Dropbox application access token. + + + + + + + Represents form of Dropbox storage client. + + + + + Initializes a new instance of the class. + + The Dropbox access token. + The report template. + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents the Client Info diabolg form. + + + + + Gets the client ID. + + + + + Gets the client secret. + + + + + Gets the client Auth key. + + + + + Initializes a new instance of the class. + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Google Drive cloud storage client. + + + + + Gets or sets the client info. + + + + + Gets or sets the authorization code. + + + + + Gets or sets the access token. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The storage client info. + + + + Initializes a new instance of the class. + + Client ID. + Client Secret. + + + + + + + Gets the authorization URL. + + The authorization URL stirng. + + + + Gets the access token. + + The access token string. + + + + Represents form of Google Drive storage client. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The information about Google Drive client application. + The report template. + + + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents form of the web browser. + + + + + Gets obtained authorization code. + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents form of the web browser. + + + + + Gets obtained authorization code. + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents the information about SkyDrive application. + + + + + Gets or sets the client name. + + + + + Gets or sets the client ID. + + + + + Gets or sets the client secret. + + + + + Initializes a new instance of the class. + + The client name. + The client ID. + The client secret. + + + + Represents the Client Info diabolg form. + + + + + Gets the client ID. + + + + + Gets the client secret. + + + + + Initializes a new instance of the class. + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents form of SkyDrive storage client. + + + + + Initializes a new instance of the class. + + The SkyDrive client info. + The report template. + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + SkyDrive cloud storage client. + + + + + Gets or sets the client info. + + + + + Gets or sets the authorization code. + + + + + Gets or sets the access token. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The client info. + + + + Initializes a new instance of the class. + + Client ID. + Client Secret. + + + + + + + Gets the authorization URL. + + The authorization URL string. + + + + Gets the access token. + + The access token value. + + + + Represents the base form for cloud storage web browsers. + + + + + Gets or sets the url string. + + + + + Initizlizes a new instance of the class. + + + + + Initializes a new instance of the class. + + The url string. + + + + Handle the web browser form shown event. + + The event sender. + The event args. + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + The web browser component. + + + + + Represents an HTTP request method. + + + + + GET request method. + + + + + POST request method. + + + + + PUT request method. + + + + + DELETE request method. + + + + + Static class that contains HTTP utilities. + + + + + Encodes the URL string. + + The URL string. + The encoded URL string. + + + + Encodes the dictionary with URL parameters. + + The dictionary with parameters. + The encoded string. + + + + Decodes the URL string. + + The URL string. + The decoded URL string. + + + + Represents the consumer. + + + + + Gets the consumer key. + + + + + Gest the consumer secret. + + + + + Gets the consumer's signature method. + + + + + Initializes a new instance of the class. + + The consumer key. + The consumer secret. + + + + Represents parser for parse OAuth responses. + + + + + Parses token information in stream. + + The stream for parse. + The OAuth token. + + + + Parses token information in stream for SkyDrive. + + The stream for parse. + The SkyDrive access token. + + + + Parses token information in stream for Google Drive. + + The stream for parse. + The Google Drive access token. + + + + Parses token information in stream for FastCloud. + + The stream for parse. + The FastCloud access token. + + + + Represents the service provider. + + + + + Gets the request token URL. + + + + + Gets the user authorization URL. + + + + + Gets the callback URL. + + + + + Gets the access token URL. + + + + + Initializes a new instance of the class with a specified parameters. + + The request token URL. + The user authorization URL. + The callback URL. + The access token URL. + + + + Represents the OAuth token credentials. + + + + + Gets the token key. + + + + + Gets the token secret. + + + + + Initializes a new instance of the class. + + The token key. + The token secret. + + + + API for OAuth protocol. + + + + + Builds signed URL. + + The base token URL. + The HTTP method. + The consumer context. + The request token. + Signed URL. + + + + Represents the signature method. + + + + + Signature method PLAINTEXT. + + + + + Signature method HMAC-SHA1. + + + + + Signature method RSA-SHA1. + + + + + Represents proxy settings of the cloud storage. + + + + + Gets or sets the type of proxy. + + + + + Gets or sets the proxy server. + + + + + Gets or sets the port number of proxy server. + + + + + Gets or sets the username. + + + + + Gets or sets the user's password. + + + + + Initializes a new instance of the class. + + The type of proxy. + The proxy server. + The port number of server. + The username. + The user's password. + + + + Represents the type of rpoxy. + + + + + The HTTP proxy type. + + + + + The SOCKS4 proxy type. + + + + + The SOCKS5 proxy type. + + + + + Provides utils for the web request. + + + + + Sets proxy settings for web request. + + The web request. + The cloud proxy settings. + + + + Represents the parameter of http request. + + + + + Gets the name of a request parameter. + + + + + Gets the value of a request parameter. + + + + + Initializes a naw instance of the class with a specified parameters. + + The name of a request parameter. + The value of a request paramter. + + + + Comparer class for comparing request parameters. + + + + + + + + Container object that may contain child objects. + + + + + Gets the collection of child objects. + + + + + This event occurs before the container layouts its child objects. + + + + + This event occurs after the child objects layout was finished. + + + + + Gets or sets a script event name that will be fired before the container layouts its child objects. + + + + + Gets or sets a script event name that will be fired after the child objects layout was finished. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This method fires the BeforeLayout event and the script code connected to the BeforeLayoutEvent. + + Event data. + + + + This method fires the AfterLayout event and the script code connected to the AfterLayoutEvent. + + Event data. + + + + + + + + + + + + + Initializes a new instance of the ContainerObject class with default settings. + + + + + + + + + + + + + + + + + Allows working with JsonObject + + + + + Returns child object for JsonArray + + + + + + + Returns child object for JsonObject + + + + + + + Returns count of child object + + + + + Returns true if this object is JsonArray + + + + + Returns true if this object is JsonObject + + + + + Returns list of JsonObject keys + + + + + Pars json text string and return a new JsonBase Object + + + + + + + returns true + + + + + + + Serialize this object to sb + + + + indent in space, 0 = without indent + + + + Based on code of Stefan Böther, xprocs@hotmail.de + + + + + Contains standard functions registered in the "Data" window. + + + + + Returns the larger of two 32-bit signed integers. + + The first of two values to compare. + The second of two values to compare. + Parameter val1 or val2, whichever is larger. + + + + Returns the larger of two 64-bit signed integers. + + The first of two values to compare. + The second of two values to compare. + Parameter val1 or val2, whichever is larger. + + + + Returns the larger of two single-precision floating-point numbers. + + The first of two values to compare. + The second of two values to compare. + Parameter val1 or val2, whichever is larger. + + + + Returns the larger of two double-precision floating-point numbers. + + The first of two values to compare. + The second of two values to compare. + Parameter val1 or val2, whichever is larger. + + + + Returns the larger of two decimal numbers. + + The first of two values to compare. + The second of two values to compare. + Parameter val1 or val2, whichever is larger. + + + + Returns the smaller of two 32-bit signed integers. + + The first of two values to compare. + The second of two values to compare. + Parameter val1 or val2, whichever is smaller. + + + + Returns the smaller of two 64-bit signed integers. + + The first of two values to compare. + The second of two values to compare. + Parameter val1 or val2, whichever is smaller. + + + + Returns the smaller of two single-precision floating-point numbers. + + The first of two values to compare. + The second of two values to compare. + Parameter val1 or val2, whichever is smaller. + + + + Returns the smaller of two double-precision floating-point numbers. + + The first of two values to compare. + The second of two values to compare. + Parameter val1 or val2, whichever is smaller. + + + + Returns the smaller of two decimal numbers. + + The first of two values to compare. + The second of two values to compare. + Parameter val1 or val2, whichever is smaller. + + + + Returns an integer value representing the character code corresponding to a character. + + Character to convert. + The character code. + + + + Returns the character associated with the specified character code. + + Character code to convert. + The character. + + + + Inserts a specified string at a specified index position in the original string. + + The original string. + The index position of the insertion. + The string to insert. + A new string. + + + + Gets the number of characters in a string. + + The original string. + The number of characters. + + + + Converts a specified string to lowercase. + + The string to convert. + A string in lowercase. + + + + Right-aligns the characters in a string, padding with spaces on the left for a specified total length. + + The original string. + The number of characters in the resulting string. + Right-aligned string, padded on the left with spaces. + + + + Right-aligns the characters in a string, padding on the left with a specified character + for a specified total length. + + The original string. + The number of characters in the resulting string. + A padding character. + Right-aligned string, padded on the left with padding characters. + + + + Left-aligns the characters in a string, padding with spaces on the right, for a specified total length. + + The original string. + The number of characters in the resulting string. + Left-aligned string, padded on the right with spaces. + + + + Left-aligns the characters in a string, padding on the right with a specified character, + for a specified total length. + + The original string. + The number of characters in the resulting string. + A padding character. + Left-aligned string, padded on the right with padding characters. + + + + Converts the specified string to titlecase. + + The string to convert. + A new string. + + + + Deletes all the characters from a string beginning at a specified position. + + The original string. + The position to begin deleting characters. + A new string. + + + + Deletes a specified number of characters from a string beginning at a specified position. + + The original string. + The position to begin deleting characters. + The number of characters to delete. + A new string. + + + + Replaces all occurrences of a specified string in the original string, with another specified string. + + The original string. + A string to be replaced. + A string to replace all occurrences of oldValue. + A new string. + + + + Retrieves a substring from the original string, starting at a specified character position. + + The original string. + The starting character position of a substring. + A new string. + + + + Retrieves a substring from the original string, starting at a specified character position, + with a specified length. + + The original string. + The starting character position of a substring. + The number of characters in the substring. + A new string. + + + + Removes all occurrences of white space characters from the beginning and end of the original string. + + The original string. + A new string. + + + + Converts a specified string to uppercase. + + The string to convert. + A string in uppercase. + + + + Adds the specified number of days to the original date. + + The original date. + A number of whole and fractional days. + A new DateTime value. + + + + Adds the specified number of hours to the original date. + + The original date. + A number of whole and fractional hours. + A new DateTime value. + + + + Adds the specified number of minutes to the original date. + + The original date. + A number of whole and fractional minutes. + A new DateTime value. + + + + Adds the specified number of months to the original date. + + The original date. + A number of months. + A new DateTime value. + + + + Adds the specified number of seconds to the original date. + + The original date. + A number of whole and fractional seconds. + A new DateTime value. + + + + Adds the specified number of years to the original date. + + The original date. + A number of years. + A new DateTime value. + + + + Subtracts the specified date and time from the original date. + + The original date. + The date and time to subtract. + A TimeSpan interval between two dates. + + + + Initializes a new instance of the DateTime. + + The year. + The month. + The day. + A new DateTime value. + + + + Gets the day of the month. + + The date value. + The day component. + + + + Gets the localized name of the day of the week. + + The date value. + The name of the day of the week. + + + + Gets the day of the year. + + The date value. + The day of the year. + + + + Returns the number of days in the specified month and year. + + The year. + The month. + The number of days in month for the specified year. + + + + Gets the hour component of the date. + + The date. + The hour component. + + + + Gets the minute component of the date. + + The date. + The minute component. + + + + Gets the month component of the date. + + The date. + The month component. + + + + Gets the localized month name. + + The month number. + The month name. + + + + Gets the seconds component of the date. + + The date. + The seconds component. + + + + Gets the week of the year. + + The date value. + The week of the year. + + + + Gets the year component of the date. + + The date. + The year component. + + + + Replaces the format item in a specified String with the text equivalent of the value of a + corresponding Object instance in a specified array. + + A String containing zero or more format items. + An Object array containing zero or more objects to format. + A copy of format in which the format items have been replaced by the String equivalent of the corresponding instances of Object in args. + + + + Returns a string formatted as a currency value. + + The value to format. + The formatted string. + + + + Returns a string formatted as a currency value with specified number of decimal digits. + + The value to format. + Number of decimal digits. + The formatted string. + + + + Returns a string formatted as a date/time value. + + The value to format. + The formatted string. + + + + Returns a string formatted as a date/time value. + + The value to format. + The format specifier, one of the + "Long Date", "Short Date", "Long Time", "Short Time" values. + The formatted string. + + + + Returns a string formatted as a numeric value. + + The value to format. + The formatted string. + + + + Returns a string formatted as a numeric value with specified number of decimal digits. + + The value to format. + Number of decimal digits. + The formatted string. + + + + Returns a string formatted as a percent value. + + The value to format. + The formatted string. + + + + Returns a string formatted as a percent value with specified number of decimal digits. + + The value to format. + Number of decimal digits. + The formatted string. + + + + Converts a numeric value to Roman string representation. + + Integer value in range 0-3998. + The string in Roman form. + + + + Converts a currency value to an english (US) string representation of that value. + + The currency value to convert. + The string representation of the specified value. + + + + Converts a currency value to an english (US) string representation of that value, + using the specified currency. + + The currency value to convert. + The 3-digit ISO name of the currency, for example "EUR". + The string representation of the specified value. + + + + Converts a numeric value to an english (US) string representation of that value. + + The numeric value to convert. + The name in singular form, for example "page". + The name in plural form, for example "pages". + The string representation of the specified value. + + + + Converts a currency value to an english (GB) string representation of that value. + + The currency value to convert. + The string representation of the specified value. + + + + Converts a currency value to an english (GB) string representation of that value, + using the specified currency. + + The currency value to convert. + The 3-digit ISO name of the currency, for example "EUR". + The string representation of the specified value. + + + + Converts a numeric value to an english (GB) string representation of that value. + + The numeric value to convert. + The name in singular form, for example "page". + The name in plural form, for example "pages". + The string representation of the specified value. + + + + Converts a currency value to a spanish string representation of that value. + + The currency value to convert. + The string representation of the specified value. + + + + Converts a currency value to a spanish string representation of that value, + using the specified currency. + + The currency value to convert. + The 3-digit ISO name of the currency, for example "EUR". + The string representation of the specified value. + + + + Converts a numeric value to a spanish string representation of that value. + + The numeric value to convert. + The name in singular form, for example "page". + The name in plural form, for example "pages". + The string representation of the specified value. + + + + Converts a currency value to a russian string representation of that value. + + The currency value to convert. + The string representation of the specified value. + + + + Converts a currency value to a russian string representation of that value, + using the specified currency. + + The currency value to convert. + The 3-digit ISO name of the currency, for example "EUR". + The string representation of the specified value. + + + + Converts a numeric value to a russian string representation of that value. + + The numeric value to convert. + True if the name is of male gender. + The name in singular form, for example "страница". + The name in plural form, for example "страницы". + The name in plural form, for example "страниц". + The string representation of the specified value. + + + + Converts a currency value to a german string representation of that value. + + The currency value to convert. + The string representation of the specified value. + + + + Converts a currency value to a german string representation of that value, + using the specified currency. + + The currency value to convert. + The 3-digit ISO name of the currency, for example "EUR". + The string representation of the specified value. + + + + Converts a numeric value to a german string representation of that value. + + The numeric value to convert. + The name in singular form, for example "page". + The name in plural form, for example "pages". + The string representation of the specified value. + + + + Converts a currency value to a french string representation of that value. + + The currency value to convert. + The string representation of the specified value. + + + + Converts a currency value to a french string representation of that value, + using the specified currency. + + The currency value to convert. + The 3-digit ISO name of the currency, for example "EUR". + The string representation of the specified value. + + + + Converts a numeric value to a french string representation of that value. + + The numeric value to convert. + The name in singular form, for example "page". + The name in plural form, for example "pages". + The string representation of the specified value. + + + + Converts a currency value to a dutch string representation of that value. + + The currency value to convert. + The string representation of the specified value. + + + + Converts a currency value to a dutch string representation of that value, + using the specified currency. + + The currency value to convert. + The 3-digit ISO name of the currency, for example "EUR". + The string representation of the specified value. + + + + Converts a numeric value to a dutch string representation of that value. + + The numeric value to convert. + The name in singular form, for example "page". + The name in plural form, for example "pages". + The string representation of the specified value. + + + + Converts a numeric value to a indian numbering system string representation of that value. + + the currency value to convert + The string representation of the specified value. + + + + Converts a numeric value to a indian numbering system string representation of that value. + + he numeric value to convert. + The 3-digit ISO name of the currency, for example "INR". + + + + + Converts a numeric value to a indian numbering system string representation of that value. + + The numeric value to convert. + The name in singular form, for example "page". + The name in plural form, for example "pages". + The string representation of the specified value. + + + + Converts a numeric value to a ukrainian string representation of that value. + + The numeric value to convert. + The string representation of the specified value. + + + + Converts a currency value to a ukrainian string representation of that value, + using the specified currency. + + The currency value to convert. + The 3-digit ISO name of the currency, for example "UAH". + The string representation of the specified value. + + + + Converts a numeric value to a ukrainian string representation of that value. + + The numeric value to convert. + True if the name is of male gender. + The name in singular form, for example "сторінка". + The name in plural form, for example "сторінки". + The name in plural form, for example "сторінок". + The string representation of the specified value. + + + + Converts a numeric value to a spanish string representation of that value. + + The numeric value to convert. + The string representation of the specified value. + + + + Converts a numeric value to a spanish representation of that value. + + he numeric value to convert. + The 3-digit ISO name of the currency, for example "EUR". + + + + + Converts a numeric value to a spanish string representation of that value. + + The numeric value to convert. + The name in singular form, for example "silla". + The name in plural form, for example "Sillas". + The string representation of the specified value. + + + + Converts a numeric value to a persian string representation of that value. + + The numeric value to convert. + The string representation of the specified value. + + + + Converts a numeric value to a persian representation of that value. + + he numeric value to convert. + The 3-digit ISO name of the currency, for example "EUR". + + + + + Converts a numeric value to a persian string representation of that value. + + The numeric value to convert. + The name in singular form, for example "silla". + The name in plural form, for example "Sillas". + The string representation of the specified value. + + + + Converts a numeric value to a polish string representation of that value. + + The numeric value to convert. + The string representation of the specified value. + + + + Converts a numeric value to a polish representation of that value. + + he numeric value to convert. + The 3-digit ISO name of the currency, for example "EUR". + + + + + Converts a numeric value to a polish string representation of that value. + + The numeric value to convert. + The name in singular form, for example "silla". + The name in plural form, for example "Sillas". + The string representation of the specified value. + + + + Converts a value to an english (US) alphabet string representation of that value. + + The value to convert. + The alphabet string representation of the specified value. + + + + Converts a value to an english (US) alphabet string representation of that value. + + The value to convert. + Bool indicating that letters should be in upper registry. + The alphabet string representation of the specified value. + + + + Converts a value to a russian alphabet string representation of that value. + + The value to convert. + The alphabet string representation of the specified value. + + + + Converts a value to a russian alphabet string representation of that value. + + The value to convert. + Bool indicating that letters should be in upper registry. + The alphabet string representation of the specified value. + + + + Selects and returns a value from a list of arguments. + + A value between 1 and the number of elements passed in the "choice" argument. + Object parameter array. + One of the values in the "choice" argument. + + + + Returns one of two objects, depending on the evaluation of an expression. + + The expression you want to evaluate. + Returned if Expression evaluates to True. + Returned if Expression evaluates to False. + Either truePart os falsePart. + + + + Evaluates a list of expressions and returns a value corresponding to the first + expression in the list that is True. + + Parameter array consists of paired expressions and values. + The value corresponding to an expression which returns true. + + + + Checks if the specified object is null. + + The report instance. + Either a name of DB column, or a parameter name, or a total name to check. + true if the object's value is null. + + + + The FastReport.dll assembly initializer. + + + + + Registers all standard objects, wizards, export filters. + + + + + Base class for all bands. + + + + + + + + + + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This event occurs before the band layouts its child objects. + + + + + This event occurs after the child objects layout was finished. + + + + + Gets or sets a value indicating that the band should be printed from a new page. + + + New page is not generated when printing very first group or data row. This is made to avoid empty + first page. + + + + + Gets or sets a value that determines the number of repetitions of the same band. + + + + + Gets or sets a value indicating that the first row can start a new report page. + + + Use this property if is set to true. Normally the new page + is not started when printing the first data row, to avoid empty first page. + + + + + Gets or sets a value indicating that the band should be printed on the page bottom. + + + + + Gets or sets a value indicating that the band should be printed together with its child band. + + + + + Gets or sets an outline expression. + + + + Outline is a tree control displayed in the preview window. It represents the prepared report structure. + Each outline node can be clicked to navigate to the item in the prepared report. + + + To create the outline, set this property to any valid expression that represents the outline node text. + This expression will be calculated when band is about to print, and its value will be added to the + outline. Thus, nodes' hierarchy in the outline is similar to the bands' hierarchy + in a report. That means there will be the main and subordinate outline nodes, corresponding + to the main and subordinate bands in a report (a report with two levels of data or with groups can + exemplify the point). + + + + + + Gets or sets a child band that will be printed right after this band. + + + Typical use of child band is to print several objects that can grow or shrink. It also can be done + using the shift feature (via property), but in some cases it's not possible. + + + + + Gets a collection of report objects belongs to this band. + + + + + Gets a value indicating that band is reprinted on a new page. + + + This property is applicable to the DataHeaderBand and GroupHeaderBand only. + It returns true if its RepeatOnAllPages property is true and band is + reprinted on a new page. + + + + + Gets or sets a script event name that will be fired before the band layouts its child objects. + + + + + Gets or sets a script event name that will be fired after the child objects layout was finished. + + + + + + + + + + + Gets or sets collection of guide lines for this band. + + + + + Gets a row number (the same value returned by the "Row#" system variable). + + + This property can be used when running a report. It may be useful to print hierarchical + row numbers in a master-detail report, like this: + 1.1 + 1.2 + 2.1 + 2.2 + To do this, put the Text object on a detail data band with the following text in it: + [Data1.RowNo].[Data2.RowNo] + + + + + Gets an absolute row number (the same value returned by the "AbsRow#" system variable). + + + + + Gets a value indicating that this is the first data row. + + + + + Gets a value indicating that this is the last data row. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This method fires the BeforeLayout event and the script code connected to the BeforeLayoutEvent. + + Event data. + + + + This method fires the AfterLayout event and the script code connected to the AfterLayoutEvent. + + Event data. + + + + Initializes a new instance of the class with default settings. + + + + + Specifies an origin where the new objects inserted from. + + + + + Specifies that a new object was inserted from the "Objects" toolbar or "Insert" menu. + + + + + Specifies that a new object was dragged from the "Dictionary" window. + + + + + Specifies that a new object was pasted from the clipboard. + + + + + Represents the root class of the FastReport object's hierarchy. + + + + + Gets a value indicating whether the object is selected in the designer. + + + + + Gets a value indicating whether one of the object's parent is selected in the designer. + + + + + Deletes the object in the designer. + + + This method is called when you delete the object in the designer. + Typically this method calls the method to delete the object and all + its children. You may override it to delete the object only, and keep children. + + + + + Called before inserting a new object in the designer. + + + Do not call this method directly. You may override it if you are developing a + new component for FastReport. + + Some objects are registered in the designer several times with the same object + type, but different flags. For example, the + represents different shapes: rectangle, roundrect, ellipse and so on. All these + shapes are registered in the designer using flags (the last parameter in this + code): + + RegisteredObjects.Add(typeof(ShapeObject), "ReportPage,Shapes", 108, "Objects,Shapes,Rectangle", 0); + RegisteredObjects.Add(typeof(ShapeObject), "ReportPage,Shapes", 109, "Objects,Shapes,RoundRectangle", 1); + RegisteredObjects.Add(typeof(ShapeObject), "ReportPage,Shapes", 110, "Objects,Shapes,Ellipse", 2); + + When we put the "Ellipse" object on a band, the designer creates the + ShapeObject instance and calls its OnBeforeInsert method with + flags value set to 2. In turn, the OnBeforeInsert method converts the + int value of the flags to the shape kind: + + public override void OnBeforeInsert(int flags) + { + FShape = (ShapeKind)flags; + } + + + + Object's flags. + + + + Called after the new object was inserted in the designer. + + + Do not call this method directly. You may override it if you are developing a new component + for FastReport. + This method is called when new object is inserted, pasted from clipboard or dragged from + "Dictionary" window. You may override this method if you need to perform some actions when object + is inserted. Typical implementation invokes the object's editor if "Edit after insert" flag is set + in the designer options. + + The insertion source. + + + + Called when the user selects another object in the designer. + + + This method is typically used by the in-place object's editor to check if selection was changed and close + the editor. + + + + + Gets the object's context menu. + + Null reference if object does not have a menu. + + Do not call this method directly. You may override it if you are developing a new component + for FastReport. + You may use base menu classes such as , + to create own context menus. + + + + + Gets an image index for this component to display it in the Report Tree. + + The image index or -1 if no image is associated with this component. + + + + Gets or sets the name of the object. + + + Name of the report object must contain alpha, digit, underscore symbols only. + Data objects such as Variable, TableDataSource + etc. can have any characters in they names. Each component must have unique + name. + + The following code demonstrates how to find an object by its name: + + TextObject text1 = report1.FindObject("Text1") as TextObject; + + + Another object with such name exists. + Rename an object that was introduced in the ancestor report. + + + + Gets or sets the flags that restrict some actions in the designer. + + + Use this property to restrict some user actions like move, resize, edit, delete. For example, if + Restriction.DontMove flag is set, user cannot move the object in the designer. + + + + + Gets the flags that allow some functionality in the designer. + + + Use this property only if you developing a new FastReport object. + + + + + Gets or sets the parent of the object. + + + Each report object must have a parent in order to appear in the report. Parent must be able to + contain objects of such type. + Another way (preferred) to set a parent is to use specific properties of the parent object. + For example, the object has the collection. + To add a new page to the report, use the following code: report1.Pages.Add(new ReportPage()); + + + + Report report1; + ReportPage page = new ReportPage(); + page.Parent = report1; + + Parent object cannot contain this object. + + + + The base part of the object's name. + + + This property is used to automatically create unique object's name. See + + + + + Gets the short type name. + + + Returns the short type name, such as "TextObject". + + + + + Gets reference to the parent object. + + + + + Gets reference to the parent object. + + + + + Gets the collection of this object's child objects. + + + This property returns child objects that belongs to this object. For example, Report.ChildObjects + will return only pages that contains in the report, but not page childs such as bands. To return all + child objects, use property. + + + + + Gets the collection of all child objects. + + + This property returns child objects that belongs to this object and to child objects of this object. + For example, Report.AllObjects will return all objects that contains in the report - such as + pages, bands, text objects. + + + + + Gets or sets the Z-order of the object. + + + The Z-order is also called "creation order". It is the index of an object in the parent's objects list. + For example, put two text objects on a band. First object will have ZOrder = 0, second = 1. Setting the + second object's ZOrder to 0 will move it to the back of the first text object. + + + + + Gets a value indicating whether the object was introduced in the ancestor report. + + + + + Gets a value indicating whether the object is in the design state. + + + + + Gets a value indicating whether the object is currently printing. + + + + + Gets a value indicating whether the object is currently processed by the report engine. + + + + + Gets a value indicating whether the object is currently processed by the report engine. + + + + + Gets an original component for this object. + + + This property is used in the preview mode. Each object in the prepared report is bound to its + original (from the report template). This technique is used to minimize the prepared report's size. + + + + + Helper method, helps to set a reference-type value to the property. + + Old property value. + New property value. + + This method is used widely to set a new value to the property that references another FastReport object. + Method deals with the property. + + This is example of the DataBand.Header property: + public DataHeaderBand Header + { + get { return FHeader; } + set + { + SetProp(FHeader, value); + FHeader = value; + } + } + + + + + Checks if two float values are different. + + First value. + Second value. + true if values are not equal. + + This method is needed to compare two float values using some precision (0.001). It is useful + to compare objects' locations and sizes for equality. + + + + + Deserializes nested object properties. + + Reader object. + + Typically the object serializes all properties to the single xml item: + + <TextObject Name="Text2" Left="18.9" Top="37.8" Width="283.5" Height="28.35"/> + + Some objects like have child objects that serialized in subitems: + + <DataBand Name="Data1" Top="163" Width="718.2" Height="18.9"> + <TextObject Name="Text3" Left="18.9" Top="37.8" Width="283.5" Height="28.35"/> + </DataBand> + + To read such subitems, the DeserializeSubItems method is used. Base + implementation reads the child objects. You may override it to read some specific subitems. + + The following code is used to read report's styles: + + protected override void DeserializeSubItems(FRReader reader) + { + if (String.Compare(reader.ItemName, "Styles", true) == 0) + reader.Read(Styles); + else + base.DeserializeSubItems(reader); + } + + + + + + Replaces the macros in the given string and returns the new string. + + The text containing macros. + The text with macros replaced with its values. + + + + + + + Set object's flags. + + Flag to set. + true to set the flag, false to reset. + + + + Sets the reference to a Report. + + Report to set. + + + + Sets the object's name. + + + This method is for internal use only. It just sets a new name without any checks + (unlike the property setter). + + Name Property + New name. + + + + Sets the object's parent. + + + This method is for internal use only. You can use it if you are developing a new + component for FastReport. Override it to perform some actions when the parent of an + object is changing. This method checks that parent can contain a child. + + Parent object cannot contain this object. + New parent. + + + + Sets the object's parent. + + New parent. + + This method is for internal use only. You can use it if you are developing a new component for FastReport. + This method does not perform any checks, it just sets the new parent. + + + + + Searches for an object with given name. + + Name of the object to find. + Returns a null reference if object is not found + The following code demonstrates how to find an object by its name: + + TextObject text1 = report1.FindObject("Text1") as TextObject; + if (text1 != null) + { + // object found + } + + + + + + Creates the unique object's name. + + + Note: you have to set object's parent before calling this method. Method uses the + property to create a name. + Note: this method may be very slow on a report that contains lots of objects. Consider + using own naming logic in this case. + + + + TextObject textObj = new TextObject(); + dataBand1.Objects.Add(textObj); + textObj.CreateUniqueName(); + + + + + + Clears the object's state. + + + This method also disposes all object's children. + + + + + Serializes the object. + + + Do not call this method directly. You should override it if you are + developing a new component for FastReport. + This method is called when the object needs to save the state. It may happen + when: + + + saving the report to the file or stream; + + + saving the report to the designer's undo buffer; + + + + assigning the object to another object using the + or AssignAll methods; + + + + saving the object to the designer's clipboard; + + + saving the object to the preview (when run a + report). + + + + Writer object. + + + + Deserializes the object. + + + Do not call this method directly. You should override it if you are + developing a new component for FastReport. + This method is called when the object needs to restore the state. It may + happen when: + + + loading the report from a file or stream; + + + loading the report from the designer's undo + buffer; + + + assigning another object to this object using the + or AssignAll methods; + + + loading the object from the designer's + clipboard; + + loading the object from the preview pages. + + + Reader object. + + + + Assigns values from another source. + + + Note: this method is relatively slow because it serializes + an object to the xml and then deserializes it. + + Source to assign from. + + + Copies the contents of another, similar object. + + Call Assign to copy the properties from another object of the same type. + The standard form of a call to Assign is + destination.Assign(source); + + which tells the destination object to copy the contents of the + source object to itself. In this method, all child objects are + ignored. If you want to copy child objects, use the + AssignAll method. + + + + Report report1; + Report report2 = new Report(); + // copy all report settings, do not copy report objects + report2.Assign(report1); + + AssignAll Method + Source object to copy the contents from. + + + Copies the contents (including children) of another, similar object. + + + This method is similar to method. It copies child + objects as well. + + + + Report report1; + Report report2 = new Report(); + // copy all report settings and objects + report2.AssignAll(report1); + + + Source object to copy the state from. + + + + Gets a value indicating whether the object has the specified parent in its parent hierarchy. + + Parent object to check. + Returns true if the object has given parent in its parent hierarchy. + + + + Gets a value indicating whether the object has a specified flag in its property. + + Flag to check. + true if Flags property contains specified flag. + + + + Gets a value indicating whether the object has a specified restriction + in its property. + + Restriction to check. + true if Restrictions property contains specified restriction. + + + + Invokes script event. + + Name of the event to invoke. + Event parameters. + + Do not call this method directly. You should use it if you are developing a new component + for FastReport. + Use this method to call an event handler that is located in the report's script. + + Example of the OnBeforePrint method: + public void OnBeforePrint(EventArgs e) + { + if (BeforePrint != null) + BeforePrint(this, e); + InvokeEvent(BeforePrintEvent, e); + } + + + + + Called after all report objects were loaded. + + + Do not call this method directly. You may override it if you are developing a new component + for FastReport. + + + + + Gets all expressions contained in the object. + + Array of expressions or null if object contains no expressions. + + Do not call this method directly. You may override it if you are developing a + new component for FastReport. + + This method is called by FastReport each time before run a report. FastReport + do this to collect all expressions and compile them. For example, + GetExpressions method of the class + parses the text and returns all expressions found in the text. + + + + + + Returns a custom code that will be added to the report script before report is run. + + A custom script text, if any. Otherwise returns null. + + This method may return any valid code that may be inserted into the report script. Currently it is + used in the TableObject to define the following script methods: Sum, Min, Max, Avg, Count. + + + Note: you must take into account the current script language - C# or VB.Net. You may check it via + Report.ScriptLanguage property. + + + + + + Used to extract macros such as "TotalPages#" in the preview mode. + + + This method is used mainly by the TextObject to extract macros and replace it with + actual values passed in the pageIndex and totalPages parameters. This method + is called automatically when the object is being previewed. + + + + + Used to get information of the need to convertation if the function returns true, then the GetConvertedObjects function is called + + The export or the object, that call this method + By default returns false + + The functions IsHaveToConvert and GetConvertedObjects allow you to convert objects from one to another, + for example the export will convert object before adding it to the file and convert recursive, + i.e. If the new object has the ability to convert, + it will be converted again but limit is 10 times. + At the time of export it is called, only on objects inside the band, + the child objects of converted object will be returned, and the child objects of old object will be ignored. + + + + + Used to get an enumeration of the objects to which this object will be converted, before calling this function, the IsHaveToConvert function will be called + + By default returns this object + + The functions IsHaveToConvert and GetConvertedObjects allow you to convert objects from one to another, + for example the export will convert object before adding it to the file and convert recursive, + i.e. If the new object has the ability to convert, + it will be converted again but limit is 10 times. + At the time of export it is called, only on objects inside the band, + the child objects of converted object will be returned, and the child objects of old object will be ignored. + + + + + Gets the collection of all child objects, converts objects if necessary + + the object or export, that call this convertation + + + + Initializes a new instance of the Base class with default settings. + + + + + This class represents the context menu of the . + + + This class adds the "Can Break" menu item to the component context menu. + + + + + The "Can Break" menu item. + + + + + Initializes a new instance of the BreakableComponentMenu class with default settings. + + + + + Represents a text object which draws each symbol of text in its own cell. + + + The text may be aligned to left or right side, or centered. Use the + property to do this. The "justify" align is not supported now, as well as vertical alignment. + The cell size is defined in the and properties. + These properties are 0 by default, in this case the size of cell is calculated automatically based + on the object's Font. + To define a spacing (gap) between cells, use the and + properties. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + + + + Gets or sets the width of cell, in pixels. + + + If zero width and/or height specified, the object will calculate the cell size + automatically based on its font. + + + + + Gets or sets the height of cell, in pixels. + + + If zero width and/or height specified, the object will calculate the cell size + automatically based on its font. + + + + + Gets or sets the horizontal spacing between cells, in pixels. + + + + + Gets or sets the vertical spacing between cells, in pixels. + + + + + + + + + + + + + + + + + Initializes a new instance of the class with the default settings. + + + + + Represents a check box object. + + + + + + + + + + + + + + Gets or set a value indicating whether the check box is in the checked state. + + + + + Gets or sets a symbol that will be displayed when the check box is in the checked state. + + + + + Gets or sets a symbol that will be displayed when the check box is in the unchecked state. + + + + + Gets or sets a color of the check symbol. + + + + + Gets or sets a data column name bound to this control. + + + Value must be in the form "[Datasource.Column]". + + + + + Gets or sets an expression that determines whether to show a check. + + + + + Gets or sets the check symbol width ratio. + + + Valid values are from 0.2 to 2. + + + + + Gets or sets a value determines whether to hide the checkbox if it is in the unchecked state. + + + + + Gets or sets editable for pdf export + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the CheckBoxObject class with default settings. + + + + + This class represents a child band. + + + Typical use of child band is to print several objects that can grow or shrink. It also can be done + using the shift feature (via property), but in some cases it's not possible. + + + + + + + + + + + Gets or sets a value indicating that band will be used to fill unused space on a page. + + + If you set this property to true, the band will be printed several times to fill + unused space on a report page. + + + + + Gets or sets a value that determines the overall number of data rows printed by the data band. + + + Using this property, you may complete the data band upto N data rows. + If the data band has less number of rows, this band will be used to print empty rows. + + + + + Gets or sets a value indicating that the band will be printed if its parent databand is empty. + + + The child band with this property set to true, connected to a databand can be used to print "No data" + text if the databand has no rows. + + + + + + + + + + + Returns true, if compilation is successful + + + + + Handle compile errors + + + + + Returns true if recompilation is successful + + + + + This class is used to pass find arguments to some methods of the CodeUtils class. + + + + + The start position of the search. After the search, this property points to + the begin of an expression. + + + + + After the search, this property points to the end of an expression. + + + + + The char sequence used to find the expression's begin. + + + + + The char sequence used to find the expression's end. + + + + + The text with embedded expressions. + + + + + The last found expression. + + + + + This static class contains methods that may be used to find expressions embedded + in the object's text. + + + + + Returns expressions found in the text. + + Text that may contain expressions. + The char sequence used to find the start of expression. + The char sequence used to find the end of expression. + Array of expressions if found; otherwise return an empty array. + + + + Gets first expression found in the text. + + Object with find arguments. + Indicates whether to skip strings. + The expression if found; otherwise, returns null. + + + + Class that implements some object's properties such as location, size and visibility. + + + + + Corrects the object's size and sizing point if the size becomes negative. + + Current mouse state. + Typically you don't need to use or override this method. + This method is called by the FastReport designer to check if the object's size becomes negative + when resizing the object by the mouse. Method must correct the object's size and/or position to + make it positive, also change the sizing point if needed. + + + + Checks if the object is inside its parent. + + if true, check now independent of any conditions. + + Typically you don't need to use or override this method. + When you move an object with the mouse, it may be moved outside its parent. If so, this method + must find a new parent for the object and correct it's Left, Top and Parent + properties. If immediately parameter is false, you can optimize the method + to search for new parent only if the object's bounds are outside parent. If this parameter is + true, you must skip any optimizations and search for a parent immediately. + + + + + Draws the object. + + Paint event args. + + This method is widely used in the FastReport. It is called each time when the object needs to draw + or print itself. + In order to draw the object correctly, you should multiply the object's bounds by the scale + parameter. + cache parameter is used to optimize the drawing speed. It holds all items such as + pens, fonts, brushes, string formats that was used before. If the item with requested parameters + exists in the cache, it will be returned (instead of create new item and then dispose it). + + + + + Draw the frame around the object to indicate that it accepts the drag&drop operation. + + Paint event args. + The color of frame. + + + + Draw the selection points. + + Paint event args. + + This method draws a set of selection points returned by the method. + + + + + + + + Gets the preferred size of an object. + + Preferred size. + + This method is called by the FastReport designer when you insert a new object. + + + + + Returns a "smart tag" menu. + + + "Smart tag" is a little button that appears near the object's top-right corner when we are in the + designer and move the mouse over the object. When you click that button you will see a popup window + where you can set up some properties of the object. FastReport uses smart tags to quickly choose + the datasource (for a band) or data column (for objects). + + + + + Handles double click event in the designer. + + + This method is called when the user doubleclicks the object in the designer. Typical implementation + invokes the object's editor (calls the InvokeEditor method) and sets the designer's + Modified flag. + + + + + Handles the DragDrop event in the designer. + + Current mouse state. + + This method is called when the user drops an item from the Data Tree window into this object. + This method should copy the information from the e.DraggedObject object and set the + e.Handled flag to true to complete the drag operation. + + + + + Handles the DragOver event in the designer. + + Current mouse state. + + This method is called when the user drags an item from the Data Tree window. This method should + check that the mouse (e.X, e.Y) is inside the object, then set the e.Handled flag + to true if an item can be dragged into this object. + + + + + Handles KeyDown event in the designer. + + The designer's workspace. + Keyboard event parameters. + + This method is called when the user presses any key in the designer. Typical implementation + does nothing. + + + + + Handles MouseDown event that occurs when the user clicks the mouse in the designer. + + + This method is called when the user press the mouse button in the designer. + The standard implementation does the following: + + checks if the mouse pointer is inside the object; + add an object to the selected objects list of the designer; + sets the e.Handled flag to true. + + + Current mouse state. + + + + Handles MouseMove event that occurs when the user moves the mouse in the designer. + + + This method is called when the user moves the mouse in the designer. Typical + use of this method is to change the mouse cursor to SizeAll when it is over + an object. The standard implementation does the following: + + checks if the mouse pointer is inside the object; + changes the cursor shape (e.Cursor property); + sets the e.Handled flag to true. + + + Current mouse state. + + + + Handles MouseMove event that occurs when the user moves the mouse in the designer. + + + This method is called when the user moves the mouse in the designer. The + standard implementation does the following: + + + if mouse button is not pressed, check that mouse pointer is inside one of + the selection points returned by the + method and set the e.SizingPoint member to the corresponding sizing + point; + + if mouse button is pressed, and e.SizingPoint member is not + SizingPoint.None, resize the object. + + + Current mouse state. + + + + Handles MouseUp event that occurs when the user releases the mouse button in the designer. + + + This method is called when the user releases the mouse button in the + designer. The standard implementation does the following: + + if e.Mode is WorkspaceMode2.SelectionRect, checks if object + is inside the selection rectangle and sets e.Handled flag if so; + + checks that object is inside its parent (calls the + method). + + + + Current mouse state. + + + + Handles mouse wheel event. + + Current mouse state. + + + + Checks if given point is inside the object's bounds. + + point to check. + true if point is inside the object's bounds. + + You can override this method if your objectis not of rectangular form. + + + + + Draws the selection point. + + Paint event args. + object. + object. + Left coordinate. + Top coordinate. + + + + Gets the object's selection points. + + Array of objects. + + Selection point is a small square displayed at the object's sides when object is selected + in the designer. You can drag this square by the mouse to change the object's size. For example, + the TextObject has eight selection points to change its width and height by the mouse. + If you are developing a new component for FastReport, you may override this method + if your object has non-standard set of selection points. For example, if an object has something like + "AutoSize" property, it would be good to disable all selection points if that property is true, + to disable resizing of the object by the mouse. + + + + + Gets a value indicating that given point is inside selection point. + + point's x coordinate. + point's y coordinate. + selection point. + true if (x,y) is inside the point + + + + Gets the absolute bottom coordinate of the object. + + + + + Gets the absolute bounding rectangle of the object. + + + + + Gets the absolute left coordinate of the object. + + + + + Gets the absolute right coordinate of the object. + + + + + Gets the absolute top coordinate of the object. + + + + + Gets or sets the edges of the container to which a control is bound and determines how a control + is resized with its parent. + + + Use the Anchor property to define how a control is automatically resized as its parent control + is resized. Anchoring a control to its parent control ensures that the anchored edges remain in the + same position relative to the edges of the parent control when the parent control is resized. + You can anchor a control to one or more edges of its container. For example, if you have a band + with a TextObject whose Anchor property value is set to Top, Bottom, the TextObject is stretched to + maintain the anchored distance to the top and bottom edges of the band as the height of the band + is increased. + + + + + Gets the bottom coordinate of the object in relation to its container. + + + To change the bottom coordinate, change the and/or properties. + + + + + Gets or sets the bounding rectangle of the object. + + + Assigning a value to this property is equal to assigning values to the , + , , properties. + + + + + Gets or sets the size of client area of the object. + + + This property is used in the class. + + + + + Gets or sets which control borders are docked to its parent control and determines how a control + is resized with its parent. + + + Use the Dock property to define how a control is automatically resized as its parent control is + resized. For example, setting Dock to DockStyle.Left causes the control to align itself with the + left edges of its parent control and to resize as the parent control is resized. + A control can be docked to one edge of its parent container or can be docked to all edges and + fill the parent container. + + + + + Gets or sets a group index. + + + Group index is used to group objects in the designer (using "Group" button). When you select + any object in a group, entire group becomes selected. To reset a group, set the GroupIndex + to 0 (default value). + + + + + Gets or sets the height of the object. + + + This property value is measured in the screen pixels. Use class to + convert a value to desired units. + + The following example demonstrates how to convert between pixels and units: + TextObject text1; + // set Height to 10mm + text1.Height = Units.Millimeters * 10; + // convert a value to millimeters + MessageBox.Show("Height = " + (text1.Height / Units.Millimeters).ToString() + "mm"); + + + + + Gets or sets the left coordinate of the object in relation to its container. + + + + This property value is measured in the screen pixels. Use + class to convert a value to desired units. + + + To obtain absolute coordinate, use property. + + + The following example demonstrates how to convert between pixels and units: + TextObject text1; + // set Left to 10mm + text1.Left = Units.Millimeters * 10; + // convert a value to millimeters + MessageBox.Show("Left = " + (text1.Left / Units.Millimeters).ToString() + "mm"); + + + + + Gets the right coordinate of the object in relation to its container. + + + To change the right coordinate, change the and/or properties. + + + + + Gets or sets the Tag string for this component. + + + + + Gets or sets the top coordinate of the object in relation to its container. + + + + This property value is measured in the screen pixels. Use + class to convert a value to desired units. + + + To obtain absolute coordinate, use property. + + + The following example demonstrates how to convert between pixels and units: + TextObject text1; + // set Top to 10mm + text1.Top = Units.Millimeters * 10; + // convert a value to millimeters + MessageBox.Show("Top = " + (text1.Top / Units.Millimeters).ToString() + "mm"); + + + + + Gets or sets a value indicating whether the object is displayed in the preview window. + + + Setting this property to false will hide the object in the preview window. + + The following report script will control the Text1 visibility depending on the value of the + data column: + private void Data1_BeforePrint(object sender, EventArgs e) + { + Text1.Visible = [Orders.Shipped] == true; + } + + + + + Gets or sets a string containing expression that determines should be object displayed in the preview window. + + + + + Gets or sets a value that determines if the object can be printed on the printer. + + + Object with Printable = false is still visible in the preview window, but not on the printout. + If you want to hide an object in the preview, set the property to false. + + + + + Gets or sets a string containing expression that determines should be object printed on the printer. + + + + + Gets or sets the width of the object. + + + This property value is measured in the screen pixels. Use class to + convert a value to desired units. + + The following example demonstrates how to convert between pixels and units: + TextObject text1; + // set Width to 10mm + text1.Width = Units.Millimeters * 10; + // convert a value to millimeters + MessageBox.Show("Width = " + (text1.Width / Units.Millimeters).ToString() + "mm"); + + + + + Initializes a new instance of the class with default settings. + + + + + + + + + + + + + + Caclulates visible expression value. + + The expression to calculate. + The result of calculation. + + + + The base class for the context menu of the report component. + + + This class represents a context menu of the report component that is displayed when the object + is right-clicked in the designer. This class implements the following actions: Edit, Cut, Copy, + Paste, Delete, Bring to Front, Send to Back. + + + + + The "Name" menu item. + + + + + The "Edit" menu item. + + + + + The "Cut" menu item. + + + + + The "Copy" menu item. + + + + + The "Paste" menu item. + + + + + The "Delete" menu item. + + + + + The "BringToFront" menu item. + + + + + The "SendToBack" menu item. + + + + + Initializes a new instance of the ComponentBaseMenu class with default settings. + + The reference to a report designer. + + + + Specifies the shape of the CrossBandObject. + + + + + Specifies the vertical line shape. + + + + + Specifies the rectangle shape. + + + + + Represents an object that can be printed across several bands. + + + + + Gets or sets the object's shape. + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with the default settings. + + + + + This class represents the Data band. + + + Use the property to connect the band to a datasource. Set the + property if you want to filter data rows. The + property can be used to sort data rows. + + + + + + + + + + + + + + + + + Invokes column editor + + + + + Gets or sets a header band. + + + + + Gets a collection of detail bands. + + + + + Gets or sets a footer band. + + + + + Gets or sets a data source. + Please note: data source have to be enabled. + + + + + Gets or sets a number of rows in the virtual data source. + + + Use this property if your data band is not connected to any data source. In this case + the virtual data source with the specified number of rows will be used. + + + + + Limits the maximum number of rows in a datasource. 0 means no limit. + + + + + Gets or sets a relation used to establish a master-detail relationship between + this band and its parent. + + + Use this property if there are several relations exist between two data sources. + If there is only one relation (in most cases it is), you can leave this property empty. + + + + + Gets the collection of sort conditions. + + + + + Gets the row filter expression. + + + This property can contain any valid boolean expression. If the expression returns false, + the corresponding data row will not be printed. + + + + + Gets the band columns. + + + + + Gets or sets a value that determines whether to print a band if all its detail rows are empty. + + + + + Gets or sets a value that determines whether to print a band if its datasource is empty. + + + + + Gets or sets a value indicating that all band rows should be printed together on one page. + + + + + Gets or sets a value indicating that the band should be printed together with all its detail rows. + + + + + Gets or sets the key column that identifies the data row. + + + This property is used when printing a hierarchic list. + To print the hierarchic list, you have to setup three properties: IdColumn, + ParentIdColumn and Indent. First two properties are used to identify the data + row and its parent; the Indent property specifies the indent that will be used to shift + the databand according to its hierarchy level. + When printing hierarchy, FastReport shifts the band to the right + (by value specified in the property), and also decreases the + width of the band by the same value. You may use the Anchor property of the + objects on a band to indicate whether the object should move with the band, or stay + on its original position, or shrink. + + + + + Gets or sets the column that identifies the parent data row. + + + This property is used when printing a hierarchic list. See description of the + property for more details. + + + + + Gets or sets the indent that will be used to shift the databand according to its hierarchy level. + + + This property is used when printing a hierarchic list. See description of the + property for more details. + + + + + Gets or sets a value indicating that the databand should collect child data rows. + + + This property determines how the master-detail report is printed. Default behavior is: + MasterData row1 + -- DetailData row1 + -- DetailData row2 + -- DetailData row3 + MasterData row2 + -- DetailData row1 + -- DetailData row2 + When you set this property to true, the master databand will collect all child data rows + under a single master data row: + MasterData row1 + -- DetailData row1 + -- DetailData row2 + -- DetailData row3 + -- DetailData row4 + -- DetailData row5 + + + + + Gets or sets a value that determines whether to reset the page numbers when this band starts print. + + + Typically you should set the property to true as well. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes the data source connected to this band. + + + + + + + + Initializes a new instance of the class. + + + + + Class represent a smart tag that is used to choose a data column. + + + + + Gets or sets the data column name. + + + + + + + + Gets a root datasource for the object currently edited. + + The DataSourceBase object if found; null otherwise. + + + + Initializes a new instance of the class with default settings. + + Report object that owns this smart tag. + + + + Represents a smart tag that is used to choose a data source. + + + + + Gets or sets a data source. + + + + + + + + Initializes a new instance of the class with default settings. + + Report object that owns this smart tag. + + + + Contains the email settings such as recipient(s) address, name, subject, message body. + + + + + + + Gets or sets the recipient(s) email addresses. + + + This property contains one or several email addresses in the following form: "john@url.com". + + + + + Gets or sets the message subject. + + + + + Gets or sets the message body. + + + + + Copies email settings from another source. + + Source to copy settings from. + + + + Resets all settings to its default values. + + + + + Initializes a new instance of the class with default settings. + + + + + This class contains some global settings that used in the FastReport.Net. + + + This component is intended for use in the Visual Studio IDE to quickly configure + FastReport global settings. To use it, drop the component on your Form and set up + its properties and events. + Here are some common actions that can be performed with this object: + + + To define own open/save dialogs that will be used in the report designer, + use the , , + , events; + + + + To pass connection string to the connection object defined in a report, + or to define own database login dialog, use the event; + + + + To adjust the connection object after it is opened, + use the event; + + + + To define own progress window, use the , + and events; + + + + To setup some common properties of the report, designer and preview, + use properties defined in this class; + + + + To set UI style of the designer and preview window, + use property. + + + + This component actually uses the static class which + contains , and + properties. You can use Config class as well. + + + + + Gets or sets the UI style of the designer and preview windows. + + + This property affects both designer and preview windows. + + + + + Indicates whether the Ribbon-style window should be used. + + + + + Occurs before displaying a progress window. + + + + + Occurs after closing a progress window. + + + + + Occurs when progress state is changed. + + + + + Occurs when database connection is about to open. + + Use this event to provide own connection string or user name/password to the connection + object that is about to open. + To provide own connection string, set the e.ConnectionString property. + In this case the new connection string will be used. + To provide own user name/password, set the e.UserName and e.Password properties. + You may ask these values in own login dialog. + This example shows how to provide username/password using own login dialog. + + private void report1_DatabaseLogin(object sender, DatabaseLoginEventArgs e) + { + using (MyLoginDialog dialog = new MyLoginDialog()) + { + if (dialog.ShowDialog() == DialogResult.OK) + { + e.UserName = dialog.UserName; + e.Password = dialog.Password; + } + } + } + + This example shows how to provide own connection string. + + private void report1_DatabaseLogin(object sender, DatabaseLoginEventArgs e) + { + e.ConnectionString = my_connection_string; + } + + + + + + Occurs after the database connection is established. + + + + + Occurs when discovering the business object's structure. + + + + + Occurs when determining the kind of business object's property. + + + + + Gets or sets the report settings. + + + + + Occurs when the designer is loaded. + + + Use this event if you want to customize some aspects of the designer, for example, + to hide some menu items. + + + This example demonstrates how to hide the "File|Select Language..." menu item. + + environmentSettings1.DesignerLoaded += new EventHandler(DesignerSettings_DesignerLoaded); + + void DesignerSettings_DesignerLoaded(object sender, EventArgs e) + { + (sender as DesignerControl).MainMenu.miFileSelectLanguage.Visible = false; + } + + + + + + Occurs when report is loaded in the designer. + + + Use this event handler to register application data in a report. + + + + + Occurs when object is inserted in the designer. + + + Use this event handler to set some object's properties when it is inserted. + + + + + Occurs when the report designer is about to show the "Open" dialog. + + Use this event to attach own "Open" dialog to the designer. In the event handler, you must + display a dialog window to allow user to choose a report file. + If dialog was executed successfully, you must return e.Cancel = false and set the + e.FileName to the selected file name. + You also need to use event to provide code that + will open the report. + + + This example shows how to attach own "Open" and "Save" dialogs to the designer. + It uses the following events: , , + , . + + private void CustomOpenDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (OpenFileDialog dialog = new OpenFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomSaveDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (SaveFileDialog dialog = new SaveFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + // get default file name from e.FileName + dialog.FileName = e.FileName; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomOpenReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // load the report from the given e.FileName + e.Report.Load(e.FileName); + } + + private void CustomSaveReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // save the report to the given e.FileName + e.Report.Save(e.FileName); + } + + + + + + Occurs when the report designer is about to show the "Save" dialog. + + Use this event to attach own "Save" dialog to the designer. In the event handler, you must + display a dialog window to allow user to choose a report file. + If dialog was executed successfully, you must return e.Cancel = false and set the + e.FileName to the selected file name. + You also need to use event to provide code that + will save the report. + + + This example shows how to attach own "Open" and "Save" dialogs to the designer. + It uses the following events: , , + , . + + private void CustomOpenDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (OpenFileDialog dialog = new OpenFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomSaveDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (SaveFileDialog dialog = new SaveFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + // get default file name from e.FileName + dialog.FileName = e.FileName; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomOpenReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // load the report from the given e.FileName + e.Report.Load(e.FileName); + } + + private void CustomSaveReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // save the report to the given e.FileName + e.Report.Save(e.FileName); + } + + + + + + Occurs when the report designer is about to load the report. + + This event is used together with the event. + Use this event to attach own "Open" dialog to the designer. In the event handler, you must + load the e.Report from the location specified in the e.FileName property. + For example, if you work with files: e.Report.Load(e.FileName); + + + This example shows how to attach own "Open" and "Save" dialogs to the designer. + It uses the following events: , , + , . + + private void CustomOpenDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (OpenFileDialog dialog = new OpenFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomSaveDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (SaveFileDialog dialog = new SaveFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + // get default file name from e.FileName + dialog.FileName = e.FileName; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomOpenReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // load the report from the given e.FileName + e.Report.Load(e.FileName); + } + + private void CustomSaveReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // save the report to the given e.FileName + e.Report.Save(e.FileName); + } + + + + + + Occurs when the report designer is about to save the report. + + This event is used together with the event. + Use this event to attach own "Save" dialog to the designer. In the event handler, you must + save the e.Report to the location specified in the e.FileName property. + For example, if you work with files: e.Report.Save(e.FileName); + + + This example shows how to attach own "Open" and "Save" dialogs to the designer. + It uses the following events: , , + , . + + private void CustomOpenDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (OpenFileDialog dialog = new OpenFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomSaveDialog_Handler(object sender, OpenSaveDialogEventArgs e) + { + using (SaveFileDialog dialog = new SaveFileDialog()) + { + dialog.Filter = "Report files (*.frx)|*.frx"; + // get default file name from e.FileName + dialog.FileName = e.FileName; + + // set e.Cancel to false if dialog was succesfully executed + e.Cancel = dialog.ShowDialog() != DialogResult.OK; + // set e.FileName to the selected file name + e.FileName = dialog.FileName; + } + } + + private void CustomOpenReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // load the report from the given e.FileName + e.Report.Load(e.FileName); + } + + private void CustomSaveReport_Handler(object sender, OpenSaveReportEventArgs e) + { + // save the report to the given e.FileName + e.Report.Save(e.FileName); + } + + + + + + Occurs when previewing a report from the designer. + + + Use this event to show own preview window. + + + + environmentSettings1.CustomPreviewReport += new EventHandler(MyPreviewHandler); + + private void MyPreviewHandler(object sender, EventArgs e) + { + Report report = sender as Report; + using (MyPreviewForm form = new MyPreviewForm()) + { + report.Preview = form.previewControl1; + report.ShowPreparedReport(); + form.ShowDialog(); + } + } + + + + + + Occurs when getting available table names from the connection. + + + Use this handler to filter the list of tables returned by the connection object. + + + This example demonstrates how to hide the table with "Table 1" name from the Data Wizard. + + environmentSettings1.FilterConnectionTables += DesignerSettings_FilterConnectionTables; + + private void DesignerSettings_FilterConnectionTables(object sender, FilterConnectionTablesEventArgs e) + { + if (e.TableName == "Table 1") + e.Skip = true; + } + + + + + + Gets or sets the designer settings. + + + + + Gets or sets the preview settings. + + + + + Gets or sets the email settings. + + + + + Represents a group header band. + + + A simple group consists of one GroupHeaderBand and the DataBand that is set + to the property. To create the nested groups, use the property. + + Only the last nested group can have data band. + + Use the property to set the group condition. The + property can be used to set the sort order for group's data rows. You can also use the Sort + property of the group's DataBand to specify additional sort. + + This example shows how to create nested groups. + + ReportPage page = report.Pages[0] as ReportPage; + + // create the main group + GroupHeaderBand mainGroup = new GroupHeaderBand(); + mainGroup.Height = Units.Millimeters * 10; + mainGroup.Name = "MainGroup"; + mainGroup.Condition = "[Orders.CustomerName]"; + // add a group to the page + page.Bands.Add(mainGroup); + + // create the nested group + GroupHeaderBand nestedGroup = new GroupHeaderBand(); + nestedGroup.Height = Units.Millimeters * 10; + nestedGroup.Name = "NestedGroup"; + nestedGroup.Condition = "[Orders.OrderDate]"; + // add it to the main group + mainGroup.NestedGroup = nestedGroup; + + // create a data band + DataBand dataBand = new DataBand(); + dataBand.Height = Units.Millimeters * 10; + dataBand.Name = "GroupData"; + dataBand.DataSource = report.GetDataSource("Orders"); + // connect the databand to the nested group + nestedGroup.Data = dataBand; + + + + + + + + + + + + + + + Gets or sets a nested group. + + + Use this property to create nested groups. + + Only the last nested group can have data band. + + + + This example demonstrates how to create a group with nested group. + + ReportPage page; + GroupHeaderBand group = new GroupHeaderBand(); + group.NestedGroup = new GroupHeaderBand(); + group.NestedGroup.Data = new DataBand(); + page.Bands.Add(group); + + + + + + Gets or sets the group data band. + + + Use this property to add a data band to a group. Note: only the last nested group can have Data band. + + + This example demonstrates how to add a data band to a group. + + ReportPage page; + GroupHeaderBand group = new GroupHeaderBand(); + group.Data = new DataBand(); + page.Bands.Add(group); + + + + + + Gets or sets a group footer. + + + + + Gets or sets a header band. + + + + + Gets or sets a footer band. + + + To access a group footer band, use the property. + + + + + Gets or sets the group condition. + + + This property can contain any valid expression. When running a report, this expression is calculated + for each data row. When the value of this condition is changed, FastReport starts a new group. + + + + + Gets or sets the sort order. + + + FastReport can sort data rows automatically using the value. + + + + + Gets or sets a value indicating that the group should be printed together on one page. + + + + + Gets or sets a value that determines whether to reset the page numbers when this group starts print. + + + Typically you should set the property to true as well. + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Base class for headers and footers which support the "Keep With Data" and "Repeat on Every Page" features. + + + + + + + + Gets or sets a value indicating that the band should be printed together with data band. + + + + + Gets or sets a value that determines whether to repeat this band on every page. + + + When band is repeated, its property is set to true. You can use + it to show any additional information on the band. To do this, + use the property which + can be set to "Rpeeated". In that case the object will be printed + only on the repeated band. + + + + + + + + + + + Represents the Text object that may display one or several text lines. + + + Specify the object's text in the Text property. + Text may contain expressions and data items, for example: "Today is [Date]". When report + is running, all expressions are calculated and replaced with actual values, so the text + would be "Today is 01.01.2008". + The symbols used to find expressions in a text are set in the + Brackets property. You also may disable expressions + using the AllowExpressions property. + To format an expression value, use the property. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets a value that indicates whether the component should draw right-to-left for RTL languages. + + + + + + + + Draws a text. + + Paint event data. + + + + + + + + + + + + + + + + + + + Calculates the object's width. + + The width, in pixels. + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + The class introduces some menu items specific to the TextObject. + + + + + Initializes a new instance of the TextObjectMenu + class with default settings. + + The reference to a report designer. + + + + Implements the object's editor. + + + + + Invokes the object's editor. + + true if object was succesfully edited. + + This method is called by FastReport when the object is doubleclicked in the designer. + + + + + Provides the "search" functionality in the preview and designer. + + + + + Finds the specified text inside the object. + + Text to find. + true to perform case-sensitive search. + true to find whole words only. + Array of character ranges that describes the occurences of text found; + null if text not found. + + + + Draws the highlight to show the text found. + + Draw event arguments. + Range of characters to highlight. + + + + Represents a line object. + + + Use the Border.Width, Border.Style and Border.Color properties to set + the line width, style and color. Set the property to true + if you want to show a diagonal line. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets a value indicating that the line is diagonal. + + + If this property is false, the line can be only horizontal or vertical. + + + + + Gets or sets the start cap settings. + + + + + Gets or sets the end cap settings. + + + + + Gets or sets collection of values for custom dash pattern. + + + Each element should be a non-zero positive number. + If the number is negative or zero, that number is replaced by one. + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Base class for report pages and dialog forms. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + Gets the snap size for this page. + + + + + Gets a page designer for this page type. + + The page designer. + + + + This method is called by the designer when you create a new page. + + + You may create the default page layout (add default bands, set default page size, etc). + + + + + Causes the page to refresh in the preview window. + + + Call this method when you handle object's MouseMove, MouseDown, MouseUp, MouseEnter, MouseLeave events + and want to refresh the preview window. + + If you have changed some objects on a page, the Refresh method will not save the changes. + This means when you print or export the page, you will see original (unmodified) page content. + If you want to save the changes, you have to use the method instead. + + + + + + Modifies the page content and refresh it in the preview window. + + + Call this method when you handle object's Click, MouseDown or MouseUp events + and want to modify an object and refresh the preview window. + + + + + Initializes a new instance of the class with default settings. + + + + + Represents a Picture object that can display pictures. + + + The Picture object can display the following kind of pictures: + + + picture that is embedded in the report file. Use the + property to do this; + + + picture that is stored in the database BLOb field. Use the + property to specify the name of data column you want to show; + + + picture that is stored in the local disk file. Use the + property to specify the name of the file; + + + picture that is stored in the Web. Use the + property to specify the picture's URL. + + + Use the property to specify a size mode. The + and properties can be used to restrict the image size if SizeMode + is set to AutoSize. + The property can be used to display an image with + transparent background. Use the property if you want to display + semi-transparent image. + + + + + + + + + + + Invokes the object's editor. + + true if object was edited succesfully. + + + + Gets or sets the image. + + + By default, image that you assign to this property is never disposed - you should + take care about it. If you want to dispose the image when this PictureObject is disposed, + set the property to true right after you assign an image: + + myPictureObject.Image = new Bitmap("file.bmp"); + myPictureObject.ShouldDisposeImage = true; + + + + + + Gets or sets the extension of image. + + + + + Gets or sets a value indicating that the image should be displayed in grayscale mode. + + + + + Gets or sets a hash of grayscale svg image + + + + + Gets or sets the color of the image that will be treated as transparent. + + + + + Gets or sets the transparency of the PictureObject. + + + Valid range of values is 0..1. Default value is 0. + + + + + Gets or sets a value indicating that the image should be tiled. + + + + + Gets or sets a value indicating that the image stored in the + property should be disposed when this object is disposed. + + + By default, image assigned to the property is never disposed - you should + take care about it. If you want to dispose the image when this PictureObject is disposed, + set this property to true right after you assign an image to the property. + + + + + Gets or sets a bitmap transparent image + + + + + + + + + + + + + + + + + Draws the image. + + Paint event args. + + + + Sets image data to FImageData + + + + + + + + + + + + Loads image + + + + + Disposes image + + + + + The shape of the image is set using GraphicsPath + + + + + + + + + + + + + + + + + + + Forces loading the image from a data column. + + + Call this method in the AfterData event handler to force loading an image + into the property. Normally, the image is stored internally as byte[] array + and never loaded into the Image property, to save the time. The side effect is that you + can't analyze the image properties such as width and height. If you need this, call this method + before you access the Image property. Note that this will significantly slow down the report. + + + + + Initializes a new instance of the class with default settings. + + + + + the base class for all picture objects + + + + + Draw an error image to Graphics g, when the image is designing + + + + + + + + + + + + + + + + + + + Invokes the object's editor. + + true if object was edited succesfully. + + + + Gets or sets the image rotation angle, in degrees. Possible values are 0, 90, 180, 270. + + + + + Gets or sets the data column name to get the image from. + + + + + Gets or sets a value indicating that the image should be displayed in grayscale mode. + + + + + + + + Gets or sets the path for the image to display in the PictureObject. + + + This property may contain the path to the image file as well as external URL. + + + + + Gets or sets the expression that determines the source for the image to display in the PictureObject. + + + The result of the expression should be data column name or path to the image file. + The data column name will be saved to the property. + The path will be savetd to the property. + + + + + Gets a value indicating that the image stored in the databases column + + + + + Gets a value indicating that the image stored in the separate file + + + + + Gets a value indicating that the image stored in the Web + + + + + Gets or sets the maximum height of a Picture object, in pixels. + + + Use this property to restrict the object size if the property + is set to AutoSize. + + + + + Gets or sets the maximum width of a Picture object, in pixels. + + + Use this property to restrict the object size if the property + is set to AutoSize. + + + + + Gets or sets padding within the PictureObject. + + + + + Gets or sets a value indicating whether the PictureObject should display + the error indicator if there is no image in it. + + + + + Gets or sets a value that specifies how an image is positioned within a PictureObject. + + + + + + + + Gets or sets the alignment of a image in the border. + + + + + Gets or sets a shape kind. + + + + + Return base size of image, internal use only + + + + + Return base size of image, internal use only + + + + + + + + + + + Calculates URI from ImageLocation + + + + + + + + + gets points for transform this image + + the box where to draw image + image width + image height + scale horizontal + scale vertical + offset of left + offset of top + out start of vectors + out end of frist vector + out end of second vector + + + + Loads image + + + + + Moves the point on specified angle + + + + + + + + + + + + Rotates vector on specified angle + + + + + + + + + + + Draws not tiled image + + + + + + + Reset index of image + + + + + When auto size was updated, internal use only + + + + + + + + Represents a polygon object. + + + Use the Border.Width, Border.Style and Border.Color properties to set + the line width, style and color. + + + + + + + + + Calculate GraphicsPath for draw to page + + Pen for lines + scale by width + scale by height + Always returns a non-empty path + + + + Draw polyline path to graphics + + Event arguments + + + + + + + Initializes a new instance of the class with default settings. + + + + + Represents a poly line object. + + + Use the Border.Width, Border.Style and Border.Color properties to set + the line width, style and color. + + + + + + + + + + + Add point to end of polyline and recalculate bounds after add. + Can be first point. + Deprecated, use insert point + + local x - relative to left-top point + local y - relative to left-top point + + + + Add point to start of polyline and recalculate bounds after add + Can be first point + Deprecated, use insert point + + local x - relative to left-top point + local y - relative to left-top point + + + + + + + + + + Replace points with star + + Minimum value is 3 + + + + + + + + + + + + + + + + + + + Insert point to desired place of polyline + Recalculate bounds after insert + + Index of place from zero to count + local x - relative to left-top point + local y - relative to left-top point + + + + Insert point to near line + Recalculate bounds after insert + + local x - relative to left-top point + local y - relative to left-top point + depricated + Index of inserted point + + + + + + + + + + + + + + + + Delete point from polyline by index + Recalculate bounds after remove + + Index of point in polyline + + + + + + + Delete point from polyline by index. + Recalculate bounds. + + Index of point in polyline + + + + + + + + + + Returns best new point position based on mouse + + + + + + do not set this value, internal use only + + + + + Gets or sets collection of values for custom dash pattern. + + + Each element should be a non-zero positive number. + If the number is negative or zero, that number is replaced by one. + + + + + Return points collection. + You can modify the collection for change this object. + + + + + Returns origin of coordinates relative to the top left corner + + + + + Returns origin of coordinates relative to the top left corner + + + + + Return points array of line + deprecated + + + + + Return point types array. 0 - Start of line, 1 - Keep on line + deprecated + + + + + Initializes a new instance of the class with default settings. + + + + + + + + + + + + + + Calculate GraphicsPath for draw to page + + Pen for lines + Left boundary + Top boundary + Right boundary + Bottom boundary + scale by width + scale by height + Always returns a non-empty path + + + + Recalculate position and size of element + + + + + + + + Add point to end of polyline, need to recalculate bounds after add + First point must have zero coordinate and zero type. + Recalculate bounds. + Method is slow do not use this. + + local x - relative to left-top point + local y - relative to left-top point + depreceted + + + + Delete point from polyline by index. + Recalculate bounds. + Method is slow do not use this. + + Index of point in polyline + + + + Draw polyline path to graphics + + Event arguments + + + + Insert point to desired place of polyline + recalculateBounds(); + Method is slow do not use this + + Index of place from zero to count + local x - relative to left-top point + local y - relative to left-top point + deprecated + + + + Represent a point for polygon object + + + + + Specifies the set of buttons available in the preview. + + + + + No buttons visible. + + + + + The "Print" button is visible. + + + + + The "Open" button is visible. + + + + + The "Save" button is visible. + + + + + The "Email" button is visible. + + + + + The "Find" button is visible. + + + + + The zoom buttons are visible. + + + + + The "Outline" button is visible. + + + + + The "Page setup" button is visible. + + + + + The "Edit" button is visible. + + + + + The "Watermark" button is visible. + + + + + The page navigator buttons are visible. + + + + + The "Close" button is visible. + + + + + The "Design" button is visible. + + + + + The "Copy Page" button is visible. + + + + + The "Delete Page" button is visible. + + + + + The "About" button is visible. + + + + + All buttons are visible. + + + + + Specifies the set of export buttons available in the preview. + + + + + No exports visible. + + + + + The "Prepared" button is visible. + + + + + The "PDFExport" button is visible. + + + + + The "RTFExport" button is visible. + + + + + The "HTMLExport" button is visible. + + + + + The "MHTExport" button is visible. + + + + + The "XMLExport" export button is visible. + + + + + The "Excel2007Export" button is visible. + + + + + The "Excel2003Document" button is visible. + + + + + The "Word2007Export" button is visible. + + + + + The "PowerPoint2007Export" button is visible. + + + + + The "ODSExport" button is visible. + + + + + The "ODTExport" button is visible. + + + + + The "XPSExport" export button is visible. + + + + + The "CSVExport" button is visible. + + + + + The "DBFExport" button is visible. + + + + + The "TextExport" button is visible. + + + + + The "ZplExport" button is visible. + + + + + The "ImageExport" button is visible. + + + + + The "XAMLExport" button is visible. + + + + + The "SVGExport" button is visible. + + + + + The "PPMLExport" button is visible. + + + + + The "PSExport" button is visible. + + + + + The "JsonExport" button is visible. + + + + + The "LaTeXExport" button is visible. + + + + + The "HpglExport" button is visible. + + + + + The "DxfExport" button is visible. + + + + + The All export buttons is visible. + + + + + Specifies the set of cloud exports available in the preview. + + + + + No items visible. + + + + + The "Box" button is visible. + + + + + The "Dropbox" button is visible. + + + + + The "Ftp" button is visible. + + + + + The "GoogleDrive" button is visible. + + + + + The "SkyDrive" button is visible. + + + + + The "S3" button is visible. + + + + + The All export in clouds buttons is visible. + + + + + Specifies the set of export by messenger buttons available in the preview. + + + + + No exports by messengers visible. + + + + + The "Xmpp" button is visible. + + + + + The All export by messengers buttons is visible. + + + + + Contains some settings of the preview window. + + + + + Occurs when the standard preview window opened. + + + You may use this event to change the standard preview window, for example, add an own button to it. + The sender parameter in this event is the PreviewControl. + + + + + Gets or sets a set of buttons that will be visible in the preview's toolbar. + + + Here is an example how you can disable the "Print" and "EMail" buttons: + + Config.PreviewSettings.Buttons = PreviewButtons.Open | + PreviewButtons.Save | + PreviewButtons.Find | + PreviewButtons.Zoom | + PreviewButtons.Outline | + PreviewButtons.PageSetup | + PreviewButtons.Edit | + PreviewButtons.Watermark | + PreviewButtons.Navigator | + PreviewButtons.Close; + + + + + + Specifies the set of exports that will be available in the preview's "save" menu. + + + + + Specifies the set of exports in clouds that will be available in the preview's "save" menu. + + + + + Specifies the set of exports by messengers that will be available in the preview's "save" menu. + + + + + Gets or sets the number of prepared pages that can be stored in the memory cache during preview. + + + Decrease this value if your prepared report contains a lot of pictures. This will + save the RAM memory. + + + + + Gets or sets a value indicating whether the preview window is displayed in the Windows taskbar. + + + + + Gets or sets a value indicating whether the preview window should be displayed as a topmost form. + + + + + Gets or sets the icon for the preview window. + + + + + Gets or sets the text for the preview window. + + + If no text is set, the default text "Preview" will be used. + + + + + Gets or sets a value indicating whether the fast scrolling method should be used. + + + If you enable this property, the gradient background will be disabled. + + + + + Enables or disables the "Print to file" feature in the print dialog. + + + + + Gets or sets the initial directory that is displayed by a save file dialog. + + + + + Initializes a new instance of the PreviewSettings class with default settings. + + + + + Specifies the report printing mode. + + + + + Specifies the default printing mode. One report page produces + one printed paper sheet of the same size. + + + + + Specifies the split mode. Big report page produces several smaller paper sheets. + Use this mode to print A3 report on A4 printer. + + + + + Specifies the scale mode. One or several report pages produce one bigger paper sheet. + Use this mode to print A5 report on A4 printer. + + + + + Specifies the number of report pages printed on one paper sheet. + + + + + Specifies one report page per sheet. + + + + + Specifies two report pages per sheet. + + + + + Specifies four report pages per sheet. + + + + + Specifies eight report pages per sheet. + + + + + Specifies the pages to print. + + + + + Print all report pages. + + + + + Print odd pages only. + + + + + Print even pages only. + + + + + This class contains the printer settings. + It is used in the property. + + + Typical use of this class is to setup a printer properties without using the "Print" + dialog. In this case, setup necessary properties and turn off the dialog via the + property. + + + + + Gets or sets the printer name. + + + + + Gets or sets a value indicating that the printer name should be saved in a report file. + + + If this property is set to true, the printer name will be saved in a report file. + Next time when you open the report, the printer will be automatically selected. + + + + + Gets or sets a value indicating that the printing output should be send + to a file instead of a printer. + + + Also set the property. + + + + + The name of a file to print the report to. + + + This property is used if property is true. + + + + + Gets or sets a value specifies the page range to print. + + + + + Gets or sets the page number(s) to print. + + + This property is used if property is set to PageNumbers. + You can specify the page numbers, separated by commas, or the page ranges. + For example: "1,3,5-12". + + + + + Gets or sets the number of copies to print. + + + + + Gets or sets a value indicating whether the printed document should be collated. + + + + + Gets or sets a value specifies the pages to print. + + + + + Gets or sets a value determines whether to print pages in reverse order. + + + + + Gets or sets the duplex mode. + + + + + Gets or sets the paper source. + + + This property corresponds to the RAW source number. Default value is 7 which + corresponds to DMBIN_AUTO. + + + + + Gets or sets the print mode. + + + See the enumeration for details. If you use + the mode other than Default, you must specify the sheet size in the + , properties. + + + + + Gets or sets the width of the paper sheet to print on. + + + This property is used if the property is not Default. + Specify the paper width in millimeters. + + + + + Gets or sets the height of the paper sheet to print on. + + + This property is used if the property is not Default. + Specify the paper height in millimeters. + + + + + Gets or sets the raw index of a paper size. + + + + + Gets or sets the number of pages per printed sheet. + + + This property is used if the property is set to Scale. + + + + + Gets or sets an array of printed copy names, such as "Original", "Copy", etc. + + + + + Specifies whether to display the "Print" dialog. + + + + + + + + Assigns values from another source. + + Source to assign from. + + + + Resets all settings to its default values. + + + + + Initializes a new instance of the class with default settings. + + + + + The style of the report object markers. + + + + + Rectangle marker. + + + + + Small markers at the object's corners. + + + + + Base class for all report objects. + + + + + + + + + + + + + + + + + Assigns a format from another, similar object. + + Source object to assign a format from. + + + + + + + + + + Draws the object's markers. + + Draw event arguments. + + + + Draws the object's markers. + + Draw event arguments. + Marker style + + + + Draws the intersection indicator. + + Draw event arguments. + + + + + + + + + + + + + This event occurs when the user moves the mouse over the object in the preview window. + + + + + This event occurs when the user releases the mouse button in the preview window. + + + + + This event occurs when the user clicks the mouse button in the preview window. + + + + + This event occurs when the mouse enters the object's bounds in the preview window. + + + + + This event occurs when the mouse leaves the object's bounds in the preview window. + + + + + Copies event handlers from another similar object. + + The object to copy handlers from. + + + + This method fires the MouseMove event and the script code connected to the MouseMoveEvent. + + Event data. + + + + This method fires the MouseUp event and the script code connected to the MouseUpEvent. + + Event data. + + + + This method fires the MouseDown event and the script code connected to the MouseDownEvent. + + Event data. + + + + This method fires the MouseEnter event and the script code connected to the MouseEnterEvent. + + Event data. + + + + This method fires the MouseLeave event and the script code connected to the MouseLeaveEvent. + + Event data. + + + + This method is fired when the user scrolls the mouse in the preview window. + + Event data. + + + + This event occurs before the object is added to the preview pages. + + + + + This event occurs after the object was added to the preview pages. + + + + + This event occurs after the object was filled with data. + + + + + This event occurs when the user clicks the object in the preview window. + + + + + Gets or sets a value that determines if the object can be exported. + + + + + Gets or sets a string containing expression that determines should be object exported. + + + + + Gets or sets an object's border. + + + + + Gets or sets an object's fill. + + + The fill can be one of the following types: , , + , . + To set the solid fill color, use the simpler property. + + This example shows how to set the new fill and change its properties: + + textObject1.Fill = new SolidFill(Color.Green); + (textObject1.Fill as SolidFill).Color = Color.Red; + + + + + + Gets or sets the fill color in a simple manner. + + + This property can be used in a report script to change the fill color of the object. It is + equivalent to: reportComponent1.Fill = new SolidFill(color); + + + + + Gets or sets a bookmark expression. + + + This property can contain any valid expression that returns a bookmark name. This can be, for example, + a data column. To navigate to a bookmark, you have to use the property. + + + + + Gets or sets a hyperlink. + + + The hyperlink is used to define clickable objects in the preview. + When you click such object, you may navigate to the external url, the page number, + the bookmark defined by other report object, or display the external report. + Set the Kind property of the hyperlink to select appropriate behavior. + Usually you should set the Expression property of the hyperlink to + any valid expression that will be calculated when this object is about to print. + The value of an expression will be used for navigation. + If you want to navigate to + something fixed (URL or page number, for example) you also may set the Value + property instead of Expression. + + + + + Determines if the object can grow. + + + This property is applicable to the bands or text objects that can contain several text lines. + If the property is set to true, object will grow to display all the information that it contains. + + + + + Determines if the object can shrink. + + + This property is applicable to the bands or text objects that can contain several text lines. + If the property is set to true, object can shrink to remove the unused space. + + + + + Determines if the object must grow to the band's bottom side. + + + If the property is set to true, object grows to the bottom side of its parent. This is useful if + you have several objects on a band, and some of them can grow or shrink. + + + + + Gets or sets a shift mode of the object. + + + See enumeration for details. + + + + + Gets or sets the style name. + + + Style is a set of common properties such as border, fill, font, text color. The Report + has a set of styles in the property. + + + + + Gets or sets a style name that will be applied to even band rows. + + + Style with this name must exist in the collection. + + + + + Gets or sets a style name that will be applied to this object when the mouse pointer is over it. + + + Style with this name must exist in the collection. + + + + + Gets or sets a value that determines which properties of the even style to use. + + + Usually you will need only the Fill property of the even style to be applied. If you want to + apply all style settings, set this property to StylePriority.UseAll. + + + + + Gets or sets a value that determines whether to insert the hard page break before processing this object. + + + + + Gets or sets a value that determines where to print the object. + + + See the enumeration for details. + + + + + Gets or sets a script event name that will be fired before the object will be printed in the preview page. + + + + + Gets or sets a script event name that will be fired after the object was printed in the preview page. + + + + + Gets or sets a script event name that will be fired after the object was filled with data. + + + + + Gets or sets a script event name that will be fired when the user click the object in the preview window. + + + + + Determines if the object has custom border and use only Border.Width, Border.Style and + Border.Color properties. + + + This flag is used to disable some toolbar buttons when such object is selected. Applicable to the + ShapeObject and LineObject. + + + + + Determines if the object uses the Border. + + + This flag is used to disable some toolbar buttons when such object is selected. + + + + + Determines if the object uses the fill. + + + This flag is used to disable some toolbar buttons when such object is selected. + + + + + Gets or sets a value indicates that object should not be added to the preview. + + + + + Determines if serializing the Style property is needed. + + + The Style property must be serialized last. Some ancestor classes may turn off the standard Style + serialization and serialize it by themselves. + + + + + Determines if an object can provide the hyperlink value automatically. + + + This flag is used in complex objects such as Matrix or Chart. These objects can provide + a hyperlink value automatically, depending on where you click. + + + + + Gets an object's parent band. + + + + + Gets an object's parent data band. + + + + + Gets or sets an object's cursor shape. + + + This property is used in the preview mode. + + + + + Gets or sets a script event name that will be fired when the user + moves the mouse over the object in the preview window. + + + + + Gets or sets a script event name that will be fired when the user + releases the mouse button in the preview window. + + + + + Gets or sets a script event name that will be fired when the user + clicks the mouse button in the preview window. + + + + + Gets or sets a script event name that will be fired when the + mouse enters the object's bounds in the preview window. + + + + + Gets or sets a script event name that will be fired when the + mouse leaves the object's bounds in the preview window. + + + + + + + + Applies the style settings. + + Style to apply. + + + + Saves the current style. + + + + + Restores the current style. + + + + + Draws the object's background. + + Draw event arguments. + + + + + + + Determines if the object is visible on current drawing surface. + + Draw event arguments. + + + + Validate this object. + + List of errors + + + + + + + + + + + + + This method fires the Click event and the script code connected to the ClickEvent. + + Event data. + + + + + + + Checks if there are any listeners to the Click event. + + + + + Resets the data from the previous report run. + + + + + Initializes the object before running a report. + + + This method is used by the report engine, do not call it directly. + + + + + Performs a finalization after the report is finished. + + + This method is used by the report engine, do not call it directly. + + + + + Saves the object's state before printing it. + + + This method is called by the report engine before processing the object. + Do not call it directly. You may override it if you are developing a new FastReport component. + In this method you should save any object properties that may be changed during the object printing. + The standard implementation saves the object's bounds, visibility, bookmark and hyperlink. + + + + + Restores the object's state after printing it. + + + This method is called by the report engine after processing the object. + Do not call it directly. You may override it if you are developing a new FastReport component. + In this method you should restore the object properties that were saved by the method. + + + + + Calculates the object's height. + + Actual object's height, in pixels. + + Applicable to objects that contain several text lines, such as TextObject. Returns the height needed + to display all the text lines. + + + + + Gets the data from a datasource that the object is connected to. + + + This method is called by the report engine before processing the object. + Do not call it directly. You may override it if you are developing a new FastReport component. + In this method you should get the data from a datasource that the object is connected to. + + + + + + + + This method fires the BeforePrint event and the script code connected to the BeforePrintEvent. + + Event data. + + + + This method fires the AfterPrint event and the script code connected to the AfterPrintEvent. + + Event data. + + + + This method fires the AfterData event and the script code connected to the AfterDataEvent. + + Event data. + + + + Initializes a new instance of the class with default settings. + + + + + The class introduces some menu items specific + to the ReportComponentBase. + + + + + The "Can Grow" menu item. + + + + + The "Can Shrink" menu item. + + + + + The "Grow to Bottom" menu item. + + + + + The "Hyperlink" menu item. + + + + + The "Style" menu item. + + + + + Initializes a new instance of the ReportComponentBaseMenu + class with default settings. + + The reference to a report designer. + + + + Represents a report page. + + + To get/set a paper size and orientation, use the , + and properties. Note that paper size is measured in millimeters. + Report page can contain one or several bands with report objects. Use the , + , , , + , , properties + to get/set the page bands. The property holds the list of data bands or groups. + Thus you may add several databands to this property to create master-master reports, for example. + + Report page can contain bands only. You cannot place report objects such as TextObject on a page. + + + + This example shows how to create a page with one ReportTitleBand and DataBand bands and add + it to the report. + + ReportPage page = new ReportPage(); + // set the paper in millimeters + page.PaperWidth = 210; + page.PaperHeight = 297; + // create report title + page.ReportTitle = new ReportTitleBand(); + page.ReportTitle.Name = "ReportTitle1"; + page.ReportTitle.Height = Units.Millimeters * 10; + // create data band + DataBand data = new DataBand(); + data.Name = "Data1"; + data.Height = Units.Millimeters * 10; + // add data band to the page + page.Bands.Add(data); + // add page to the report + report.Pages.Add(page); + + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + Gets a value indicating that imperial units (inches, hundreths of inches) are used. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Invokes the object's editor. + + + + + This event occurs when the report engine starts this page. + + + + + This event occurs when the report engine finished this page. + + + + + This event occurs when the report engine is about to print databands in this page. + + + + + Gets or sets a width of the paper, in millimeters. + + + + + Gets or sets the page name on export + + + + + Gets or sets a height of the paper, in millimeters. + + + + + Gets or sets the raw index of a paper size. + + + This property stores the RawKind value of a selected papersize. It is used to distinguish + between several papers with the same size (for ex. "A3" and "A3 with no margins") used in some + printer drivers. + It is not obligatory to set this property. FastReport will select the + necessary paper using the PaperWidth and PaperHeight values. + + + + + Gets or sets a value indicating whether the page has unlimited height. + + + + + Gets or sets the value indicating whether the unlimited page should be printed on roll paper. + + + + + Gets or sets a value indicating whether the page has unlimited width. + + + + + Get or set the current height of unlimited page. + + + + + Get or set the current width of unlimited page. + + + + + Gets the current page height in pixels. + + + + + Gets the current page width in pixels. + + + + + Gets or sets a value indicating that page should be in landscape orientation. + + + When you change this property, it will automatically swap paper width and height, as well as paper margins. + + + + + Gets or sets the left page margin, in millimeters. + + + + + Gets or sets the top page margin, in millimeters. + + + + + Gets or sets the right page margin, in millimeters. + + + + + Gets or sets the bottom page margin, in millimeters. + + + + + Gets or sets a value indicating that even pages should swap its left and right margins when + previewed or printed. + + + + + Gets the page columns settings. + + + + + Gets or sets the page border that will be printed inside the page printing area. + + + + + Gets or sets the page background fill. + + + + + Gets or sets the page watermark. + + + To enabled watermark, set its Enabled property to true. + + + + + Gets or sets a value indicating that ReportTitle band should be printed before the + PageHeader band. + + + + + Gets or sets an outline expression. + + + For more information, see property. + + + + + Gets or sets a value indicating whether to start to print this page on a free space of the previous page. + + + This property can be used if you have two or more pages in the report template. + + + + + Gets or sets a value indicating that FastReport engine must reset page numbers before printing this page. + + + This property can be used if you have two or more pages in the report template. + + + + + Gets or sets a value indicating whether the page has extra width in the report designer. + + + This property may be useful if you work with such objects as Matrix and Table. + + + + + Gets or sets a value indicating whether this page will start on an odd page only. + + + This property is useful to print booklet-type reports. Setting this property to true + means that this page will start to print on an odd page only. If necessary, an empty page + will be added to the prepared report before this page will be printed. + + + + + Uses this page as a back page for previously printed pages. + + + + + Gets or sets a report title band. + + + + + Gets or sets a report summary band. + + + + + Gets or sets a page header band. + + + + + Gets or sets a page footer band. + + + + + Gets or sets a column header band. + + + + + Gets or sets a column footer band. + + + + + Gets or sets an overlay band. + + + + + Gets the collection of data bands or group header bands. + + + The Bands property holds the list of data bands or group headers. + Thus you may add several databands to this property to create master-master reports, for example. + + + + + Gets or sets the page guidelines. + + + This property hold all vertical guidelines. The horizontal guidelines are owned by the bands (see + property). + + + + + Gets or sets the reference to a parent SubreportObject that owns this page. + + + This property is null for regular report pages. See the for details. + + + + + Gets or sets a script event name that will be fired when the report engine starts this page. + + + + + Gets or sets a script event name that will be fired when the report engine finished this page. + + + + + Gets or sets a script event name that will be fired when the report engine is about + to print databands in this page. + + + + + Gets or sets the paper source for the first printed page. + + + + This property represents the paper source (printer tray) that will be used when printing + the first page. To set the source for other pages, use + and properties. + + + Note: This property uses the raw number of the paper source. + + + + + + Gets or sets the paper source for all printed pages except the first one. + + + + This property represents the paper source (printer tray) that will be used when printing + all pages except the first one and the last one. To set source for first and last pages, use + and properties. + + + Note: This property uses the raw number of the paper source. + + + + + + Gets or sets the paper source for the last printed page. + + + + This property represents the paper source (printer tray) that will be used when printing + the last page. To set the source for other pages, use + and properties. + + + Note: This property uses the raw number of the paper source. + + + + + + Gets or sets the printer duplex mode that will be used when printing this page. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This method fires the StartPage event and the script code connected to the StartPageEvent. + + + + + This method fires the FinishPage event and the script code connected to the FinishPageEvent. + + + + + This method fires the ManualBuild event and the script code connected to the ManualBuildEvent. + + + + + Updates width of all bands on this page according to page's paper settings. + + + + + Initializes a new instance of the class with default settings. + + + + + Represents a report summary band. + + + + + This property is not relevant to this class. + + + + + + + + Holds the list of objects currently selected in the designer. + + + This class is used by the "Alignment" toolbar. Use methods of this class to perform some + operations on the selected objects. + Note: after calling any method in this class, call the + Designer.SetModified method to reflect changes. + Note: this list contains only objects of type. If you want to access all + selected objects, use the property. + + + + + Gets the first selected object. + + + + + Gets the number of selected objects. + + + + + Aligns left edges of the selected objects. + + + + + Aligns right edges of the selected objects. + + + + + Aligns centers of the selected objects. + + + + + Aligns top edges of the selected objects. + + + + + Aligns bottom edges of the selected objects. + + + + + Aligns middles of the selected objects. + + + + + Makes the selected objects the same width as the first object. + + + + + Makes the selected objects the same height as the first object. + + + + + Makes the selected objects the same size as the first object. + + + + + Centers the selected objects horizontally. + + + + + Centers the selected objects vertically. + + + + + Aligns the selected objects to the grid. + + + + + Adjusts the size of selected objects to the grid. + + + + + Spaces the selected objects horizontally. + + + + + Increases horizontal spacing between the selected objects. + + + + + Decreases horizontal spacing between the selected objects. + + + + + Removes horizontal spacing between the selected objects. + + + + + Spaces the selected objects vertically. + + + + + Increases vertical spacing between the selected objects. + + + + + Decreases vertical spacing between the selected objects. + + + + + Removes vertical spacing between the selected objects. + + + + + Holds the list of selected objects of type. Used by the + . + + + + + Gets a value indicating that report page is selected. + + + + + Gets a value indicating that report is selected. + + + + + Holds the list of objects currently selected in the designer. + + + This class is used by the "Border and Fill" toolbar. Use methods of this class to perform some + operations on the selected objects. + Note: after calling any method in this class, call the + Designer.SetModified method to reflect changes. + Note: this list contains only objects of type. + If you want to access all selected objects, use the property. + + + + + Gets the first selected object. + + + + + Gets the number of selected objects. + + + + + Gets a value indicating whether the operations are enabled. + + + + + Gets a value indicating whether the object with simple border is selected. + + + When the object has a simple border, you cannot change individual border lines. + Example of such an object is the "Shape" and "Line" objects. + + + + + Gets a value indicating whether the border operations are enabled. + + + + + Gets a value indicating whether the fill operations are enabled. + + + + + Sets the solid fill color for the selected objects. + + Fill color. + + + + Sets the fill for the selected objects. + + Fill. + + + + Sets the style for the selected objects. + + Style name. + + + + Sets the hyperlink for the selected objects. + + Hyperlink. + Indicates whether to modify the object's appearance. + Indicates whether it is necessary to change designer's modified state. + + + + Sets the CanGrow flag for the selected objects. + + Flag value. + + + + Sets the CanShrink flag for the selected objects. + + Flag value. + + + + Sets the GrowToBottom flag for the selected objects. + + Flag value. + + + + Toggles the specified border line for the selected objects. + + Border line. + Toggle value. + + + + Sets the border color for the selected objects. + + Border color. + + + + Sets the border width for the selected objects. + + Border width. + + + + Sets the border style for the selected objects. + + Border style. + + + + Sets the border for the selected objects. + + Border. + + + + Invokes the fill editor for the selected objects. + + true if editor was closed by the OK button. + + + + Invokes the border editor for the selected objects. + + true if editor was closed by the OK button. + + + + Invokes the hyperlink editor for the selected objects. + + true if editor was closed by the OK button. + + + + Holds the list of objects currently selected in the designer. + + + This class is used by the "Text" toolbar. Use methods of this class to perform some + operations on the selected objects. + Note: after calling any method in this class, call the + Designer.SetModified method to reflect changes. + Note: this list contains only objects of type. If you want to access all + selected objects, use the property. + + + + + Gets the first selected object. + + + + + Gets the number of selected objects. + + + + + Gets a value indicating whether the operations are enabled. + + + + + Sets the font name for the selected objects. + + Font name. + + + + Sets the font size for the selected objects. + + Font size. + + + + Toggles the specified font style for the selected objects. + + Font style. + Toggle value. + + + + Sets the horizontal text alignment for tthe selected objects. + + Alignment to set. + + + + Sets the vertical text alignment for tthe selected objects. + + Alignment to set. + + + + Sets the text color for the selected objects. + + Text color. + + + + Sets the angle for the selected objects. + + Angle to set. + + + + Sets the AutoWidth property value for the selected objects. + + Value to set. + + + + Sets the WordWrap property value for the selected objects. + + Value to set. + + + + Sets the highlight conditions for the selected objects. + + Highlight conditions. + + + + Clears the text of the selected objects. + + + + + Invokes the highlight editor for the selected objects. + + true if editor was closed with the OK button. + + + + Represents a shape object. + + + Use the property to specify a shape. To set the width, style and color of the + shape's border, use the Border.Width, Border.Style and Border.Color properties. + + + + + + + + + + + + + + Gets or sets collection of values for custom dash pattern. + + + Each element should be a non-zero positive number. + If the number is negative or zero, that number is replaced by one. + + + + + Gets or sets a shape kind. + + + + + Gets or sets a shape curvature if is RoundRectangle. + + + 0 value means automatic curvature. + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + The base class for smart tags. + + + + "Smart tag" is a little button that appears near the object's top-right corner when we are in the + designer and move the mouse over the object. When you click that button you will see a popup window + where you can set up some properties of the object. FastReport uses smart tags to quickly choose + the datasource (for a band) or data column (for objects). + + + Smart tag is internally a ContextMenuStrip. + + + + + + Gets the underlying context menu. + + + + + Gets the report object that invokes this smart tag. + + + + + Gets the report designer. + + + + + Called when the menu item is clicked. + + + Override this method to define a reaction on the menu item click. + + + + + Creates the smart tag menu items. + + + Override this method to create the smart tag menu. + + + + + Displays a smart tag at the specified location. + + + Do not call this method directly. It is called automatically when click on smart tag button. + + Control. + Location. + + + + Initializes a new instance of the class with default settings. + + Report object that owns this smart tag. + + + + Represents the base class for the report style or the highlight condition. + + + + + Gets or sets a value determines that the border must be applied. + + + + + Gets or sets a value determines that the fill must be applied. + + + + + Gets or sets a value determines that the font must be applied. + + + + + Gets or sets a value determines that the text fill must be applied. + + + + + Gets or sets a border. + + + + + Gets or sets a fill. + + + + + Gets or sets a font. + + + + + Gets or sets a text fill. + + + + + Initializes a new instance of the class with default settings. + + + + + Assigns values from another source. + + Source to assign from. + + + + Deserializes the style. + + Reader object. + + This method is for internal use only. + + + + + Serializes the style. + + Writer object. + + This method is for internal use only. + + + + + Represents a subreport object. + + + To create a subreport in code, you should create the report page first and + connect it to the subreport using the property. + + The following example shows how to create a subreport object in code. + + // create the main report page + ReportPage reportPage = new ReportPage(); + reportPage.Name = "Page1"; + report.Pages.Add(reportPage); + // create report title band + reportPage.ReportTitle = new ReportTitleBand(); + reportPage.ReportTitle.Name = "ReportTitle1"; + reportPage.ReportTitle.Height = Units.Millimeters * 10; + // add subreport on it + SubreportObject subreport = new SubreportObject(); + subreport.Name = "Subreport1"; + subreport.Bounds = new RectangleF(0, 0, Units.Millimeters * 25, Units.Millimeters * 5); + reportPage.ReportTitle.Objects.Add(subreport); + // create subreport page + ReportPage subreportPage = new ReportPage(); + subreportPage.Name = "SubreportPage1"; + report.Pages.Add(subreportPage); + // connect the subreport to the subreport page + subreport.ReportPage = subreportPage; + + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + + + + + + + + + + Gets or sets a report page that contains the subreport bands and objects. + + + + + Gets or sets a value indicating that subreport must print its objects on a parent band to which it belongs. + + + Default behavior of the subreport is to print subreport objects they own separate bands. + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Represents the Text object that may display one or several text lines. + + + Specify the object's text in the Text property. + Text may contain expressions and data items, for example: "Today is [Date]". When report + is running, all expressions are calculated and replaced with actual values, so the text + would be "Today is 01.01.2008". + The symbols used to find expressions in a text are set in the + Brackets property. You also may disable expressions + using the AllowExpressions property. + To format an expression value, use the property. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets a paragraph format for a new html rendering type, not for others rendering + + + + + Gets or sets a value that determines if the text object should handle its width automatically. + + + + + Gets or sets a value that indicates whether the font size should shrink to + display the longest text line without word wrap. + + + To limit the minimum size, use the property. + + + + + Gets or sets the minimum size of font (or minimum width ratio) if the + mode is on. + + + This property determines the minimum font size (in case the property is set to + FontSize), or the minimum font width ratio (if AutoShrink is set to FontWidth). + The default value is 0, that means no limits. + + + + + Gets or sets the horizontal alignment of a text in the TextObject object. + + + + + Gets or sets the vertical alignment of a text in the TextObject object. + + + + + Gets or sets the text angle, in degrees. + + + + + Gets or sets a value that indicates whether the component should draw right-to-left for RTL languages. + + + + + Gets or sets a value that indicates if lines are automatically word-wrapped. + + + + + Gets or sets a value that determines if the text object will underline each text line. + + + + + Gets or sets the font settings for this object. + + + + + Gets or sets a collection of TAB symbol positions, in pixels. Negative values will not affect this property. + + Use collection methods to add or remove TAB positions. + + + + Gets or sets the fill color used to draw a text. + + + Default fill is . You may specify other fill types, for example: + + text1.TextFill = new HatchFill(Color.Black, Color.White, HatchStyle.Cross); + + Use the property to set the solid text color. + + + + + Gets or sets the text outline. + + + + + Gets or sets the text color in a simple manner. + + + This property can be used in a report script to change the text color of the object. It is + equivalent to: textObject1.TextFill = new SolidFill(color); + + + + + Gets or sets the string trimming options. + + + + + Gets or sets the width ratio of the font. + + + Default value is 1. To make a font wider, set a value grether than 1; to make a font narrower, + set a value less than 1. + + + + + Gets or sets the height of single text line, in pixels. + + + + + Gets or sets the offset of the first TAB symbol. Negative value will not affect this property. + + + + + Gets or sets the width of TAB symbol, in pixels. Negative values will not affect this property. + + + + + Gets or sets a value that indicates if text should be clipped inside the object's bounds. + + + + + Gets the collection of conditional highlight attributes. + + + Conditional highlight is used to change the visual appearance of the Text object + depending on some condition(s). For example, you may highlight negative values displayed by + the Text object with red color. To do this, add the highlight condition: + + TextObject text1; + HighlightCondition highlight = new HighlightCondition(); + highlight.Expression = "Value < 0"; + highlight.Fill = new SolidFill(Color.Red); + highlight.ApplyFill = true; + text1.Highlight.Add(highlight); + + + + + + Gets or sets a value that indicates if the text object should display its contents similar to the printout. + + + + + Forces justify for the last text line. + + + + + Allows handling html tags in the text. + + + The following html tags can be used in the object's text: <b>, <i>, <u>, + <strike>, <sub>, <sup>, </b>, </i>, </u>, + </strike>, </sub>, </sup>, + <font color=&...&>, </font>. Font size cannot + be changed due to limitations in the rendering engine. + + + + + Indicates handling html tags in the text. + + To set the value use the TextRenderer property. + + + + The type of text render + + /// + The following html tags can be used in the object's text: <b>, <i>, <u>, + <strike>, <sub>, <sup>, </b>, </i>, </u>, + </strike>, </sub>, </sup>, + <font color=&...&>, </font>. Font size cannot + be changed due to limitations in the rendering engine. + + + + + Gets or sets the paragraph offset, in pixels. For HtmlParagraph use ParagraphFormat.FirstLineIndent. + + + + + Cache for inline images + + + + + Gets or sets a value indicating whether the text should be merged with other nearby text objects. + + + + + + + + Returns StringFormat object. + + Report graphic cache. + StringFormat flags. + StringFormat object. + + + + + + + Returns an instance of html text renderer. + + Scale ratio. + Font scale ratio. + The html text renderer. + + + + Draws a text. + + Paint event data. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Calculates the object's width. + + The width, in pixels. + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + + + + + + + Base class for text objects such as and . + + + This class implements common functionality of the text objects. + + + + + + + + + + + + + + Gets or sets a value indicating that the object's text may contain expressions. + + + + + Gets or sets the symbols that will be used to find expressions in the object's text. + + + The default property value is "[,]". As you can see, the open and close symbols are + separated by the comma. You may use another symbols, for example: "<,>" or "<%,%>". + You should use different open and close symbols. + + + + + Gets or sets the object's text. + + + Text may contain expressions and data items, for example: "Today is [Date]". + When report is running, all expressions are calculated and replaced with actual + values, so the text would be "Today is 01.01.2008". + + + + + Gets or sets padding within the text object. + + + + + Gets or sets a value indicating that zero values must be hidden. + + + + + Gets or sets a value that will be hidden. + + + Use this property to specify a value that you would like to hide. For example, specify "0" + if you want to hide zero values, or use property to do this. + You also may use this property to hide default DateTime values (such as 1/1/1900). + In this case you need to specify a string containing both date and time, for example: + "1/1/1900 0:00:00". + + FastReport uses the ToString conversion to compare the expression value with this property. + This conversion depends on regional settings selected in the Control Panel, so be aware of this + if you going to distribute your report worldwide. + + + + + + Gets or sets a string that will be displayed instead of a null value. + + + + + Gets or sets the formatter that will be used to format data in the Text object. + + + The default formatter does nothing, i.e. it shows expression values with no formatting. + To set another formatting, create a new formatter and assign it to this property. + If there are several expressions in the text, use the property + to format each expression value. + + This example shows how to set currency formatter. + + TextObject text1; + text1.Format = new CurrencyFormat(); + + + + + + Gets or sets a value that specifies how the report engine processes this text object. + + + Use this property to perform such task as "print a total value in the group header". Normally, + all total values are calculated in the footers (for example, in a group footer). If you try to print + a total value in the group header, you will get 0. If you set this property to + ProcessAt.DataFinished, FastReport will do the following: + + + print the object (with wrong value); + + + print all related data rows; + + + calculate the correct object's value and replace old (wrong) value with the new one. + + + + This option will not work if you set the to true. + + + + + + Gets the collection of formatters. + + + This property is used to set format for each expression contained in the text. + For example, if the TextObject contains two expressions: + Today is [Date]; Page [PageN] + you can use the following code to format these expressions separately: + + text1.Formats.Clear(); + text1.Formats.Add(new DateFormat()); + text1.Formats.Add(new NumberFormat()); + + + + + + Gets or sets a value that determines how to display duplicate values. + + + + + Gets a value of expression contained in the object's text. + + + + + Gets or sets editable for pdf export + + + + + + + + + + + + + + + + + Returns the text to display. + + The text to display. + This method is used to display simplified DB field names in the designer. In runtime, it returns the Text property value. + + + + Initializes a new instance of the class with default settings. + + + + + The class introduces some menu items specific to the TextObjectBase. + + + + + The "Format" menu item. + + + + + The "Allow Expressions" menu item. + + + + + The "Hide Zeros" menu item. + + + + + Initializes a new instance of the TextObjectBaseMenu + class with default settings. + + The reference to a report designer. + + + + The class introduces some menu items specific to the TextObject. + + + + + The "Clear" menu item. + + + + + The "Auto Width" menu item. + + + + + The "Word Wrap" menu item. + + + + + Initializes a new instance of the TextObjectMenu + class with default settings. + + The reference to a report designer. + + + + Represents a zip code object. + + + This object is mainly used in Russia to print postal index on envelopes. It complies with the + GOST R 51506-99. + + + + + + + + + + + + + + + + + + + + Gets or sets the width of a single zipcode segment, in pixels. + + + + + Gets or sets the height of a single zipcode segment, in pixels. + + + + + Gets or sets the spacing between origins of segments, in pixels. + + + + + Gets or sets the number of segments in zipcode. + + + + + Gets or sets a value indicating whether the reference markers should be drawn. + + + Reference markers are used by postal service to automatically read the zipcode. + + + + + Gets or sets a value indicating whether the segment grid should be drawn. + + + + + Gets or sets a data column name bound to this control. + + + Value must be in the form "Datasource.Column". + + + + + Gets or sets an expression that contains the zip code. + + + + + Gets or sets the zip code. + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the with the default settings. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents a form for opening and adding pages of another report to the main report. + + + + + Designer of the main report. + + + + + Creates a new instance of the form to open the pages of another report + + Designer of the main report. + The report from which pages will be added to the main report + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Base class for all forms. + + + + + Gets the form's storage service. + + + + + Gets or sets value indicating that the form can save/restore the state such as location and size. + + + + + The event occurs on form's dpi change. + + + + + Convenience method returns an image with specified index for this form's dpi. + + Image index. + The image. + + + + Convenience method returns an image with specified name for this form's dpi. + + Image resource name. + The image. + + + + Convenience method returns an imagelist for this form's dpi. + + The imagelist. + + + + Localizes the dialog controls. + + + Use this method to set control's captions specific to the current locale. + + + + + Saves the form's state. + + + + + Restores the form's state. + + + + + + + + + + + + + + Update controls on dpi change. + + This method is called when the form's dpi is changed. Write custom logic to update + some controls (such as ListBox.ItemHeight) here. + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Editor for rearrangement Exports Menu elements + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + The form for message box with text editor + + + + + Gets or sets text + + + + + Defualt constructor + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for . + For internal use only. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Base form for all export options dialog forms. + + + + + Represents the "Open after export" button visibility. + + + + + Gets a reference to the currently editing export filter. + + + + + + + + + + + Called when editing is done. + + + Override this method to pass edited values from the dialog controls to the export filter. + + See the example of this method implementation that is used in the ImageExport. + + protected override void Done() + { + base.Done(); + ImageExport imageExport = Export as ImageExport; + imageExport.ImageFormat = (ImageExportFormat)cbxImageFormat.SelectedIndex; + imageExport.Resolution = (int)udResolution.Value; + imageExport.JpegQuality = (int)udQuality.Value; + imageExport.SeparateFiles = cbSeparateFiles.Checked; + } + + + + + + + + + Initializes controls with initial values. + + The export filter to edit. + + Override this method to pass values from the export filter to the dialog controls. + + See the example of this method implementation that is used in the ImageExport. + + public override void Init(ExportBase export) + { + base.Init(export); + ImageExport imageExport = Export as ImageExport; + cbxImageFormat.SelectedIndex = (int)imageExport.ImageFormat; + udResolution.Value = imageExport.Resolution; + udQuality.Value = imageExport.JpegQuality; + cbSeparateFiles.Checked = imageExport.SeparateFiles; + } + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + "Page Range" groupbox. + + + + + "Page Numbers" label. + + + + + "Page Numbers" textbox. + + + + + "Page Numbers" radiobutton. + + + + + "Current Page" radiobutton. + + + + + "All Pages" radiobutton. + + + + + PageControl. + + + + + Pages panel. + + + + + "Open after export" checkbox. + + + + + "Export all tabs" checkbox. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents the Splash Screen showing during loading designer + + + + + Initializes a new instance of the class. + + + + + Filters mouse events. + For internal use only. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents the Welcome window displayed on the designer startup + + + + + Initializes a new instance of the class. + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + The "Advanced Connection Properties" form. + + + + + Gets or sets the connection string builder which contains the connection properties. + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents the FastReport exception form. + + + + + + + + Creates a new instance ofthe form. + + The exception object which data to display in the form. + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + + + + + + Gets Aborted state + + + + + + + + + + Initialazes a new instance of the class. + + A reference to the report. + + + + Initialazes a new instance of the class. + + A reference to the report. + Specifies whether the form should be with Cancel button. + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Form for barcode editor + + + + + Generated text for barcode object + + + + + Initializes a new instance of the class. + + Text data for parsing + Report object for nodes + Brackets symbols + Editor for rich barcode? + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Base class for all dialog forms with two buttons, OK and Cancel. + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + The OK button. + + + + + The Cancel button. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + The base class for designer plugin's options page. + + + Use this class if you develop a designer plugin that may be configured in the + "View|Options..." menu. You need to implement an options page for your + plugin and return it in the IDesignerPlugin.GetOptionsPage method. + + + + + The TabControl control. + + + + + The TabPage control. + + + + + Gets or sets a value indicating that restart is required. + + + + + Event is fired whenever the RestartRequired property is changed. + + + + + Initializes controls on this options page. + + + Override this method to fill options page's controls with initial values. + + + + + Finalizes the options page. + + The dialog result. + + Override this method to pass controls' values to the plugin. Do this if result is + DialogResult.OK. + + + + + Updates images used in the control. + + + + + Initializes a new instance of the DesignerOptionsPage class with default settings. + + + Usually you need to define another contructor which takes one parameter - the plugin. + + This example shows how to define own constructor which takes a plugin: + + public DialogPageOptions(DialogPageDesigner pd) : base() + { + FPageDesigner = pd; + InitializeComponent(); + } + + + + + + The base class for the context menu item. + + + + + Gets a collection of menu items. + + + + + Gets or sets "Check on click" property. + + + + + Sets bold font. + + + + + Gets or sets a value indicating whether the item will be added to the toolbar. + + + + + The base class for the context menu of the report component. + + + This class represents a context menu of the report component that is displayed when the object + is right-clicked in the designer. + + + + + The reference to the report designer. + + + + + Gets a collection of menu items. + + + You should add new items to this collection. + + + + + Gets or sets the image list. + + + + + This method is called to reflect changes in the designer. + + + + + Creates a new menu item. + + Item's text. + New item. + + + + Creates a new menu item. + + Item's text. + Click handler. + New item. + + + + Creates a new menu item. + + Item's image index. + Item's text. + Click handler. + New item. + + + + Clears menu items. + + + + + Adds an item to this menu. + + Menu item to add. + + + + Returns true if menu is empty. + + + + + Displays context menu. + + Parent control. + Location. + + + + Updates the menu style. + + + + + Initializes a new instance of the ComponentBaseMenu class with default settings. + + The reference to a report designer. + + + + Updates HeaderWidth, HeaderHeight, BodyWidth, BodyHeight properties. + + + + + Represents the crossview object that is used to print cube slice or slicegrid. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + + + + Allows to modify the prepared matrix elements such as cells, rows, columns. + + + + + Gets or sets a value indicating whether to show a title row. + + + + + Gets or sets a value indicating whether to show a X Axis fields Caption. + + + + + Gets or sets a value indicating whether to show a Y Axis fields Caption. + + + + + Gets or sets a matrix style. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + See the event for more details. + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets a cube source. + + + + + Gets the object that holds data of Cube + + + See the class for more details. + + + + + + + + + + + + + + Creates or updates the matrix template. + + + Call this method after you modify the matrix descriptors using the + object's properties. + + + + + + + + + + + + + + + + + + + + This method fires the ModifyResult event and the script code connected to the ModifyResultEvent. + + Event data. + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents interface of the source for object. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The descriptor that is used to describe one CrossView data cell. + + + The class is used to define one data cell of the CrossView. + To set visual appearance of the data cell, use the + property. + The collection of descriptors used to represent the CrossView data cells is stored + in the CrossViewObject.Data.Cells property. + + + + + Gets a value indicating that this is the "GrandTotal" element on X axis. + + + + + Gets a value indicating that this is the "GrandTotal" element on Y axis. + + + + + Gets a value indicating that this is the "Total" element on X axis. + + + + + Gets a value indicating that this is the "Total" element on Y axis. + + + + + Gets the name of field in X axis. + + + + + Gets the name of field in Y axis. + + + + + Gets the name of measure in cube. + + + + + Gets the x coordinate. + + + + + Gets the y coordinate. + + + + + + + + + + + Initializes a new instance of the class + + The Field Name in X axis. + The Field Name in Y axis. + The Measure Name. + Indicates the "XTotal" element. + Indicates the "YTotal" element. + Indicates the "XGrandTotal" element. + Indicates the "YGrandTotal" element. + + + + Initializes a new instance of the class + + + + + Represents a collection of CrossView data descriptors used in the . + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Adds the specified descriptors to the end of this collection. + + Array of descriptors to add. + + + + Adds a descriptor to the end of this collection. + + Descriptor to add. + Index of the added descriptor. + + + + Inserts a descriptor into this collection at the specified index. + + The zero-based index at which value should be inserted. + The descriptor to insert. + + + + Removes the specified descriptor from the collection. + + Descriptor to remove. + + + + Returns the zero-based index of the first occurrence of a descriptor. + + The descriptor to locate in the collection. + The zero-based index of the first occurrence of descriptor within + the entire collection, if found; otherwise, -1. + + + + Determines whether a descriptor is in the collection. + + The descriptor to locate in the collection. + true if descriptor is found in the collection; otherwise, false. + + + + Copies the elements of this collection to a new array. + + An array containing copies of this collection elements. + + + + + + + + + + + + + + + Contains a set of properties and methods to hold and manipulate the CrossView descriptors. + + + This class contains three collections of descriptors such as , + and . Descriptors are filled from FastCube Slice. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets a collection of column descriptors. + + + Note: after you change something in this collection, call the + method to refresh the CrossView. + + + + + Gets a collection of row descriptors. + + + Note: after you change something in this collection, call the + method to refresh the CrossView. + + + + + Gets a collection of data cell descriptors. + + + Note: after you change something in this collection, call the + method to refresh the CrossView. + + + + + The base class for matrix element descriptors such as and + . + + + + + Gets or sets an expression which value will be used to fill the matrix. + + + Expression may be any valid expression. Usually it's a data column: + [DataSource.Column]. + + + + + Gets or sets the template column bound to this descriptor. + + + This property is for internal use; usually you don't need to use it. + + + + + Gets or sets the template row bound to this descriptor. + + + This property is for internal use; usually you don't need to use it. + + + + + Gets or sets the template cell bound to this descriptor. + + + Using this property, you may access the matrix cell which is bound to + this descriptor. It may be useful to change the cell's appearance. + + Before using this property, you must initialize the matrix descriptors by + calling the method. + + + + + CrossViewObject crossView; + // change the fill color of the first matrix cell + crossView.Data.Cells[0].TemplateCell.Fill = new SolidFill(Color.Red); + + + + + + Assigns values from another descriptor. + + Descriptor to assign values from. + + + + + + + + + + Represents a collection of CrossView header descriptors used in the . + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Adds the specified descriptors to the end of this collection. + + Array of descriptors to add. + + + + Adds a descriptor to the end of this collection. + + Descriptor to add. + Index of the added descriptor. + + + + Inserts a descriptor into this collection at the specified index. + + The zero-based index at which value should be inserted. + The descriptor to insert. + + + + Removes the specified descriptor from the collection. + + Descriptor to remove. + + + + Returns the zero-based index of the first occurrence of a descriptor. + + The descriptor to locate in the collection. + The zero-based index of the first occurrence of descriptor within + the entire collection, if found; otherwise, -1. + + + + Determines whether a descriptor is in the collection. + + The descriptor to locate in the collection. + true if descriptor is found in the collection; otherwise, false. + + + + Copies the elements of this collection to a new array. + + An array containing copies of this collection elements. + + + + + + + + + + + + + + + The descriptor that is used to describe one element of the CrossView header. + + + The class is used to define one header element of the CrossView + (either the column element or row element). + To set visual appearance of the element, use the + property. + The collection of descriptors used to represent the CrossView header is stored + in the CrossViewObject.Data.Columns and CrossViewObject.Data.Rows properties. + + + + + Gets a value indicating that this is the "GrandTotal" element. + + + + + Gets a value indicating that this is the "Total" element. + + + + + Gets a value indicating that this is the "Measure" element. + + + + + Gets the name of field in cube. + + + + + Gets the name of measure in cube. + + + + + Gets the cell coordinate. + + + + + Gets the size in cell coordinate. + + + + + Gets the level coordinate. + + + + + Gets the size in level coordinate. + + + + + + + + + + + Initializes a new instance of the class + + The Field Name. + The Measure Name. + Indicates the "Total" element. + Indicates the "GrandTotal" element. + Indicates the "Measure" element. + + + + Initializes a new instance of the class + + + + + Represents a Windows CheckBox. + Wraps the control. + + + + + + + + Occurs when the value of the Checked property changes. + Wraps the event. + + + + + Gets an internal CheckBox. + + + + + Gets or sets the value that determines the appearance of a CheckBox control. + Wraps the property. + + + + + Gets or sets the horizontal and vertical alignment of the check mark on a CheckBox control. + Wraps the property. + + + + + Gets or set a value indicating whether the CheckBox is in the checked state. + Wraps the property. + + + + + Gets or sets the state of the CheckBox. + Wraps the property. + + + + + Gets or sets a value indicating whether the CheckBox will allow three check states rather than two. + Wraps the property. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + + + + + + + + + + + + + This method fires the CheckedChanged event and the script code connected to the CheckedChangedEvent. + + Event data. + + + + Initializes a new instance of the CheckBoxControl class with default settings. + + + + + Represents a Windows combo box control. + Wraps the control. + + + + + + + + + + + + + + Occurs after the selection has been changed. + Wraps the event. + + + + + Occurs each time an owner-drawn ComboBox item needs to be drawn and + when the sizes of the list items are determined. + Wraps the event. + + + + + Occurs when a visual aspect of an owner-drawn ComboBox changes. + Wraps the event. + + + + + Gets an internal ComboBox. + + + + + Gets or sets a value indicating whether your code or the operating system will handle drawing of elements in the list. + Wraps the property. + + + + + Gets or sets a value specifying the style of the combo box. + Wraps the property. + + + + + Gets or sets the width of the of the drop-down portion of a combo box. + Wraps the property. + + + + + Gets or sets the height in pixels of the drop-down portion of the ComboBox. + Wraps the property. + + + + + Gets or sets the height of an item in the combo box. + Wraps the property. + + + + + Gets a collection of the items contained in this ComboBox. + Wraps the property. + + + + + Gets or sets the maximum number of items to be shown in the drop-down portion of the ComboBox. + Wraps the property. + + + + + Gets or sets a value indicating whether the items in the combo box are sorted. + Wraps the property. + + + + + Gets or sets the string that contains all items text. + + + + + Gets or sets the index specifying the currently selected item. + Wraps the property. + + + + + Gets or sets currently selected item in the ComboBox. + Wraps the property. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + + + + + + + + + + + + + + + + + + + This method fires the SelectedIndexChanged event and the script code connected to the SelectedIndexChangedEvent. + + Event data. + + + + This method fires the MeasureItem event and the script code connected to the MeasureItemEvent. + + Event data. + + + + This method fires the DrawItem event and the script code connected to the DrawItemEvent. + + Event data. + + + + Initializes a new instance of the ComboBoxControl class with default settings. + + + + + Implements base behavior of button controls. + + + + + This property is not relevant to this class. + + + + + Gets or sets a value that indicates whether the control resizes based on its contents. + Wraps the property. + + + + + Gets or sets the image that is displayed on a button control. + Wraps the property. + + + + + Gets or sets the alignment of the image on the button control. + Wraps the property. + + + + + Gets or sets the alignment of the text on the button control. + Wraps the property. + + + + + Gets or sets the position of text and image relative to each other. + Wraps the property. + + + + + + + + + + + Represents a Windows button control. + Wraps the control. + + + + + + + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + Gets an internal Button. + + + + + Gets or sets a value that is returned to the parent form when the button is clicked. + Wraps the property. + + + + + + + + Initializes a new instance of the ButtonControl class with default settings. + + + + + Displays a ListBox in which a check box is displayed to the left of each item. + Wraps the control. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + Occurs after item's check state was changed. + Wraps the event. + + + + + Gets an internal CheckedListBox. + + + + + Gets or sets a value indicating whether the check box should be toggled when an item is selected. + Wraps the property. + + + + + Gets the items of the CheckedListBox. + Wraps the property. + + + + + Collection of checked indexes in this CheckedListBox. + Wraps the property. + + + + + Collection of checked items in this CheckedListBox. + Wraps the property. + + + + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + + + + + + + + + + + + + + + + + + + This method fires the ItemCheck event and the script code connected to the ItemCheckEvent. + + Event data. + + + + Initializes a new instance of the CheckedListBoxControl class with default settings. + + + + + Displays a hierarchical collection of labeled items, each represented by a TreeNode. + Wraps the control. + + + + + This property is not relevant to this class. + + + + + + + + + + + Occurs after the tree node is selected. + Wraps the event. + + + + + Gets an internal TreeView. + + + + + Gets or sets a value indicating whether check boxes are displayed next to the tree nodes in the tree view control. + Wraps the property. + + + + + Gets or sets a value indicating whether lines are drawn between tree nodes in the tree view control. + Wraps the property. + + + + + Gets or sets a value indicating whether lines are drawn between the tree nodes that are at the root of the tree view. + Wraps the property. + + + + + Gets or sets the ImageList that contains the Image objects used by the tree nodes. + Wraps the property. + + + + + Gets the collection of tree nodes that are assigned to the tree view control. + Wraps the property. + + + + + Gets or sets the tree node that is currently selected in the tree view control. + Wraps the property. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + + + + + + + + + + This method fires the AfterSelect event and the script code connected to the AfterSelectEvent. + + Event data. + + + + Initializes a new instance of the class with default settings. + + + + + Represents a Windows text box control. + Wraps the control. + + + + + + + + + + + + + + + + + Gets an internal TextBox. + + + + + Gets or sets a value indicating whether pressing ENTER in a multiline TextBox control creates a new line of text in the control or activates the default button for the form. + Wraps the property. + + + + + Gets or sets a value indicating whether pressing the TAB key in a multiline text box control types a TAB character in the control instead of moving the focus to the next control in the tab order. + Wraps the property. + + + + + Gets or sets whether the TextBox control modifies the case of characters as they are typed. + Wraps the property. + + + + + Gets or sets the maximum number of characters the user can type or paste into the text box control. + Wraps the property. + + + + + Gets or sets a value indicating whether this is a multiline TextBox control. + Wraps the property. + + + + + Gets or sets a value indicating whether text in the text box is read-only. + Wraps the property. + + + + + Gets or sets which scroll bars should appear in a multiline TextBox control. + Wraps the property. + + + + + Gets or sets how text is aligned in a TextBox control. + Wraps the property. + + + + + Gets or sets a value indicating whether the text in the TextBox control should appear as the default password character. + Wraps the property. + + + + + Indicates whether a multiline text box control automatically wraps words to the beginning of the next line when necessary. + Wraps the property. + + + + + + + + + + + + + + Initializes a new instance of the TextBoxControl class with default settings. + + + + + Enables the user to select a single option from a group of choices when paired with other RadioButton controls. + Wraps the control. + + + + + + + + Occurs when the value of the Checked property changes. + Wraps the event. + + + + + Gets an internal RadioButton. + + + + + Gets or sets the location of the check box portion of the RadioButton. + Wraps the property. + + + + + Gets or sets a value indicating whether the control is checked. + Wraps the property. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + + + + + + + + + + + + + This method fires the CheckedChanged event and the script code connected to the CheckedChangedEvent. + + Event data. + + + + Initializes a new instance of the RadioButtonControl class with default settings. + + + + + Represents a Windows picture box control for displaying an image. + Wraps the control. + + + + + This property is not relevant to this class. + + + + + + + + Gets an internal PictureBox. + + + + + Indicates the border style for the control. + Wraps the property. + + + + + Gets or sets the image that the PictureBox displays. + Wraps the property. + + + + + Indicates how the image is displayed. + Wraps the property. + + + + + + + + Initializes a new instance of the PictureBoxControl class with default settings. + + + + + Base class for controls that may contain child controls. + + + + + + + + + + + + + + + + + + + + Gets the collection of child controls. + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the ParentControl class with default settings. + + + + + Used to group collections of controls. + Wraps the control. + + + + + This property is not relevant to this class. + + + + + Gets an internal Panel. + + + + + Indicates the border style for the control. + Wraps the property. + + + + + + + + + + + Initializes a new instance of the PanelControl class with default settings. + + + + + Represents a Windows spin box (also known as an up-down control) that displays numeric values. + Wraps the control. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + Occurs when the Value property has been changed in some way. + Wraps the event. + + + + + Gets an internal NumericUpDown. + + + + + Gets or sets the number of decimal places to display in the up-down control. + Wraps the property. + + + + + Gets or sets a value indicating whether the up-down control should display the value it contains in hexadecimal format. + Wraps the property. + + + + + Gets or sets the value to increment or decrement the up-down control when the up or down buttons are clicked. + Wraps the property. + + + + + Gets or sets the maximum value for the up-down control. + Wraps the property. + + + + + Gets or sets the minimum value for the up-down control. + Wraps the property. + + + + + Gets or sets a value indicating whether a thousands separator is displayed in the up-down control when appropriate. + Wraps the property. + + + + + Gets or sets the value assigned to the up-down control. + Wraps the property. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + + + + + + + + + + + + + + + + This method fires the ValueChanged event and the script code connected to the ValueChangedEvent. + + Event data. + + + + Initializes a new instance of the NumericUpDownControl class with default settings. + + + + + Represents a Windows control that enables the user to select a date using a visual monthly calendar display. + Wraps the control. + + + + + + + + + + + + + + + + + Occurs when the date selected in the MonthCalendar changes. + Wraps the event. + + + + + Gets an internal MonthCalendar. + + + + + Gets or sets the number of columns and rows of months displayed. + Wraps the property. + + + + + Gets or sets the first day of the week as displayed in the month calendar. + Wraps the property. + + + + + Gets or sets the maximum allowable date. + Wraps the property. + + + + + Gets or sets the maximum number of days that can be selected in a month calendar control. + Wraps the property. + + + + + Gets or sets the minimum allowable date. + Wraps the property. + + + + + Gets or sets a value indicating whether the date represented by the TodayDate property is displayed at the bottom of the control. + Wraps the property. + + + + + Gets or sets a value indicating whether today's date is circled. + Wraps the property. + + + + + Gets or sets a value indicating whether the month calendar control displays week numbers (1-52) to the left of each row of days. + Wraps the property. + + + + + Gets or sets the value that is used by MonthCalendar as today's date. + Wraps the property. + + + + + Gets or sets the array of DateTime objects that determines which annual days are displayed in bold. + Wraps the property. + + + + + Gets or sets the array of DateTime objects that determines which nonrecurring dates are displayed in bold. + Wraps the property. + + + + + Gets or sets the array of DateTime objects that determine which monthly days to bold. + Wraps the property. + + + + + Gets or sets the end date of the selected range of dates. + Wraps the property. + + + + + Gets or sets the selected range of dates for a month calendar control. + Wraps the property. + + + + + Gets or sets the start date of the selected range of dates. + Wraps the property. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + + + + + + + + + + + + + This method fires the DateChanged event and the script code connected to the DateChangedEvent. + + Event data. + + + + Initializes a new instance of the MonthCalendarControl class with default settings. + + + + + Uses a mask to distinguish between proper and improper user input. + Wraps the control. + + + + + + + + + + + + + + + + + Gets an internal MaskedTextBox. + + + + + Gets or sets the input mask to use at run time. + Wraps the property. + + + + + Gets or sets a value indicating whether the user is allowed to reenter literal values. + Wraps the property. + + + + + Gets or sets how text is aligned in a masked text box control. + Wraps the property. + + + + + + + + + + + + + + Initializes a new instance of the MaskedTextBoxControl class with default settings. + + + + + Represents a Windows list view control, which displays a collection of items that can be displayed using one of four different views. + Wraps the control. + + + + + This property is not relevant to this class. + + + + + + + + + + + Occurs when the checked state of an item changes. + Wraps the event. + + + + + Occurs when the index of the selected item in the list view control changes. + Wraps the event. + + + + + Gets an internal ListView. + + + + + Gets or sets a value indicating whether a check box appears next to each item in the control. + Wraps the property. + + + + + Gets or sets a value indicating whether multiple items can be selected. + Wraps the property. + + + + + Gets or sets a value indicating whether items are displayed in groups. + Wraps the property. + + + + + Gets or sets how items are displayed in the control. + Wraps the property. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets the indexes of the currently checked items in the control. + Wraps the property. + + + + + Gets the currently checked items in the control. + Wraps the property. + + + + + Gets the collection of all column headers that appear in the control. + Wraps the property. + + + + + Gets the collection of ListViewGroup objects assigned to the control. + Wraps the property. + + + + + Gets a collection containing all items in the control. + Wraps the property. + + + + + Gets or sets the ImageList to use when displaying items as large icons in the control. + Wraps the property. + + + + + Gets the indexes of the selected items in the control. + Wraps the property. + + + + + Gets the items that are selected in the control. + Wraps the property. + + + + + Gets or sets the ImageList to use when displaying items as small icons in the control. + Wraps the property. + + + + + + + + + + + + + + This method fires the ItemChecked event and the script code connected to the ItemCheckedEvent. + + Event data. + + + + This method fires the SelectedIndexChanged event and the script code connected to the SelectedIndexChangedEvent. + + Event data. + + + + Initializes a new instance of the ListViewControl class with default settings. + + + + + Base class for list box controls such as ListBoxControl, CheckedListBoxControl. + + + + + This property is not relevant to this class. + + + + + + + + + + + Occurs when the SelectedIndex property has changed. + Wraps the event. + + + + + Occurs when an owner-drawn ListBox is created and the sizes of the list items are determined. + Wraps the event. + + + + + Occurs when a visual aspect of an owner-drawn ListBox changes. + Wraps the event. + + + + + Gets or sets the width of columns in a multicolumn ListBox. + Wraps the property. + + + + + Gets or sets the drawing mode for the control. + Wraps the property. + + + + + Gets or sets the height of an item in the ListBox. + Wraps the property. + + + + + Gets the items of the ListBox. + Wraps the property. + + + + + Gets or sets a value indicating whether the ListBox supports multiple columns. + Wraps the property. + + + + + Gets or sets the method in which items are selected in the ListBox. + Wraps the property. + + + + + Gets or sets a value indicating whether the items in the ListBox are sorted alphabetically. + Wraps the property. + + + + + Gets or sets a value indicating whether the ListBox can recognize and expand tab characters when drawing its strings. + Wraps the property. + + + + + Gets or sets the string that contains all items text. + + + + + Gets or sets the zero-based index of the currently selected item in a ListBox. + Wraps the property. + + + + + Gets a collection that contains the zero-based indexes of all currently selected items in the ListBox. + Wraps the property. + + + + + Gets or sets the currently selected item in the ListBox. + Wraps the property. + + + + + Gets a collection containing the currently selected items in the ListBox. + Wraps the property. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + + + + + + + + + + + + + This method fires the SelectedIndexChanged event and the script code connected to the SelectedIndexChangedEvent. + + Event data. + + + + This method fires the MeasureItem event and the script code connected to the MeasureItemEvent. + + Event data. + + + + This method fires the DrawItem event and the script code connected to the DrawItemEvent. + + Event data. + + + + Represents a standard Windows label. + Wraps the control. + + + + + + + + Gets an internal Label. + + + + + Gets or sets a value indicating whether the control is automatically resized to display its entire contents. + Wraps the property. + + + + + Gets or sets the alignment of text in the label. + Wraps the property. + + + + + + + + Initializes a new instance of the LabelControl class with default settings. + + + + + Displays data in a customizable grid. + Wraps the control. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + Gets an internal DataGridView. + + + + + Gets or sets the data source that the DataGridView is displaying data for. + + + + + Gets or sets a value indicating whether the option to add rows is displayed to the user. + Wraps the property. + + + + + Gets or sets a value indicating whether the user is allowed to delete rows from the DataGridView. + Wraps the property. + + + + + Gets or sets the default cell style applied to odd-numbered rows of the DataGridView. + Wraps the property. + + + + + Gets or sets a value indicating how column widths are determined. + Wraps the property. + + + + + Gets or sets a value indicating how row heights are determined. + Wraps the property. + + + + + Gets or sets the background color of the DataGridView. + Wraps the property. + + + + + Gets or sets the border style for the DataGridView. + Wraps the property. + + + + + Gets the cell border style for the DataGridView. + Wraps the property. + + + + + Gets the border style applied to the column headers. + Wraps the property. + + + + + Gets or sets the default column header style. + Wraps the property. + + + + + Gets or sets the height, in pixels, of the column headers row. + Wraps the property. + + + + + Gets or sets a value indicating whether the height of the column headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers. + Wraps the property. + + + + + Gets or sets a value indicating whether the column header row is displayed. + Wraps the property. + + + + + Gets the collection of objects that represents the grid columns. + + + + + Gets or sets the default cell style to be applied to the cells in the DataGridView if no other cell style properties are set. + Wraps the property. + + + + + Gets or sets the color of the grid lines separating the cells of the DataGridView. + Wraps the property. + + + + + Gets or sets a value indicating whether the user is allowed to select more than one cell, row, or column of the DataGridView at a time. + Wraps the property. + + + + + Gets a value indicating whether the user can edit the cells of the DataGridView control. + Wraps the property. + + + + + Gets or sets the border style of the row header cells. + Wraps the property. + + + + + Gets or sets the default style applied to the row header cells. + Wraps the property. + + + + + Gets or sets a value indicating whether the column that contains row headers is displayed. + Wraps the property. + + + + + Gets or sets the width, in pixels, of the column that contains the row headers. + Wraps the property. + + + + + Gets or sets a value indicating whether the width of the row headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers. + Wraps the property. + + + + + Gets or sets the default style applied to the row cells of the DataGridView. + Wraps the property. + + + + + Gets or sets the type of scroll bars to display for the DataGridView control. + Wraps the property. + + + + + Gets or sets a value indicating how the cells of the DataGridView can be selected. + Wraps the property. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the GridControl class with default settings. + + + + + Represents the special kind of report page that wraps the + and used to display dialog forms. + + + Use the property to add/remove controls to/from a dialog form. + If you set the Visible property to false, this dialog form will be + skippen when you run a report. + + This example shows how to create a dialog form with one button in code. + + DialogPage form = new DialogPage(); + // set the width and height in pixels + form.Width = 200; + form.Height = 200; + form.Name = "Form1"; + // create a button + ButtonControl button = new ButtonControl(); + button.Location = new Point(20, 20); + button.Size = new Size(75, 25); + button.Text = "The button"; + // add the button to the form + form.Controls.Add(button); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Occurs before a form is displayed for the first time. + Wraps the event. + + + + + Occurs after the form is closed. + Wraps the event. + + + + + Occurs before the form is closed. + Wraps the event. + + + + + Occurs whenever the form is first displayed. + Wraps the event. + + + + + Occurs when the form is resized. + Wraps the event. + + + + + Occurs when the form is redrawn. + Wraps the event. + + + + + Gets an internal Form. + + + + + Gets or sets an active state in Web application. + + + + + Gets or sets the button on the form that is clicked when the user presses the ENTER key. + Wraps the property. + + + + + Gets or sets the button control that is clicked when the user presses the ESC key. + Wraps the property. + + + + + Gets the auto scale dimensions for this form. + + + + + Gets or sets the background color for the form. + Wraps the property. + + + + + Gets or sets the font of the text displayed by the control. + Wraps the property. + + + + + Gets or sets the border style of the form. + Wraps the property. + + + + + Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts. + Wraps the property. + + + + + Gets or sets the text associated with this form. + Wraps the property. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets the collection of controls contained within the form. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Shows the form as a modal dialog box with the currently active window set as its owner. + Wraps the method. + + One of the DialogResult values. + + + + This method fires the Load event and the script code connected to the LoadEvent. + + Event data. + + + + This method fires the FormClosed event and the script code connected to the FormClosedEvent. + + Event data. + + + + This method fires the FormClosing event and the script code connected to the FormClosingEvent. + + Event data. + + + + This method fires the Shown event and the script code connected to the ShownEvent. + + Event data. + + + + This method fires the Resize event and the script code connected to the ResizeEvent. + + Event data. + + + + This method fires the Paint event and the script code connected to the PaintEvent. + + Event data. + + + + Initializes a new instance of the DialogPage class. + + + + + Base class for all dialog controls such as ButtonControl, TextBoxControl. + + + + + Determines whether is necessary to serialize the BackColor property. + + true if serialization is necessary. + + + + Determines whether is necessary to serialize the Cursor property. + + true if serialization is necessary. + + + + Determines whether is necessary to serialize the Font property. + + true if serialization is necessary. + + + + Determines whether is necessary to serialize the ForeColor property. + + true if serialization is necessary. + + + + + + + Draws the selection point. + + Graphics object to draw on. + object. + object. + Left coordinate. + Top coordinate. + + + + + + + + + + Creates the empty event handler for the ClickEvent event in the report's script. + + true if event handler was created successfully. + + + + + + + Occurs when the control is clicked. + Wraps the event. + + + + + Occurs when the control is double-clicked. + Wraps the event. + + + + + Occurs when the control is entered. + Wraps the event. + + + + + Occurs when the input focus leaves the control. + Wraps the event. + + + + + Occurs when a key is pressed while the control has focus. + Wraps the event. + + + + + Occurs when a key is pressed while the control has focus. + Wraps the event. + + + + + Occurs when a key is released while the control has focus. + Wraps the event. + + + + + Occurs when the mouse pointer is over the control and a mouse button is pressed. + Wraps the event. + + + + + Occurs when the mouse pointer is moved over the control. + Wraps the event. + + + + + Occurs when the mouse pointer is over the control and a mouse button is released. + Wraps the event. + + + + + Occurs when the mouse pointer enters the control. + Wraps the event. + + + + + Occurs when the mouse pointer leaves the control. + Wraps the event. + + + + + Occurs when the control is resized. + Wraps the event. + + + + + Occurs when the Text property value changes. + Wraps the event. + + + + + Occurs when the control is redrawn. + Wraps the event. + + + + + Gets an internal Control. + + + + + Gets or sets the background color for the control. + Wraps the property. + + + + + Gets or sets the cursor that is displayed when the mouse pointer is over the control. + Wraps the property. + + + + + Gets or sets a value indicating whether the control can respond to user interaction. + Wraps the property. + + + + + Gets or sets the font of the text displayed by the control. + Wraps the property. + + + + + Gets or sets the foreground color of the control. + Wraps the property. + + + + + Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts. + Wraps the property. + + + + + Gets or sets the tab order of the control within its container. + Wraps the property. + + + + + Gets or sets a value indicating whether the user can give the focus to this control using the TAB key. + Wraps the property. + + + + + Gets or sets the text associated with this control. + Wraps the property. + + + + + Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent. + Wraps the property. + + + + + Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent. + Wraps the property. + + + + + Gets or sets a value indicating whether the control is displayed. + Wraps the property. + + + + + Gets or sets a property that returns actual data contained in a control. This value is used + in the "Data" window. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + + + + + + + + + + + + + + + + Called when the control's Enabled state changed. + + + + + Attaches Control events to its event handlers. + + + Override this method if your custom control has own events. + + See the example of AttachEvents implementation used in the CheckBoxControl: + + protected override void AttachEvents() + { + base.AttachEvents(); + CheckBox.CheckedChanged += new EventHandler(CheckBox_CheckedChanged); + } + + private void CheckBox_CheckedChanged(object sender, EventArgs e) + { + if (CheckedChanged != null) + CheckedChanged(this, e); + InvokeEvent(CheckedChangedEvent, e); + } + + + + + + Detaches Control events from its event handlers. + + + Override this method if your custom control has own events. In this method, you should + detach control's events that were attached in the method. + + See the example of DetachEvents implementation used in the CheckBoxControl: + + protected override void DetachEvents() + { + base.DetachEvents(); + CheckBox.CheckedChanged -= new EventHandler(CheckBox_CheckedChanged); + } + + + + + + + + + + + + Initializes the control before display it in the dialog form. + + + This method is called when report is run. + + + + + Finalizes the control after its parent form is closed. + + + This method is called when report is run. + + + + + Sets input focus to the control. + + + + + Conceals the control from the user. + + + + + Displays the control to the user. + + + + + + + + This method fires the Click event and the script code connected to the ClickEvent. + + Event data. + + + + This method fires the DoubleClick event and the script code connected to the DoubleClickEvent. + + Event data. + + + + This method fires the Enter event and the script code connected to the EnterEvent. + + Event data. + + + + This method fires the Leave event and the script code connected to the LeaveEvent. + + Event data. + + + + This method fires the KeyDown event and the script code connected to the KeyDownEvent. + + Event data. + + + + This method fires the KeyPress event and the script code connected to the KeyPressEvent. + + Event data. + + + + This method fires the KeyUp event and the script code connected to the KeyUpEvent. + + Event data. + + + + This method fires the MouseDown event and the script code connected to the MouseDownEvent. + + Event data. + + + + This method fires the MouseMove event and the script code connected to the MouseMoveEvent. + + Event data. + + + + This method fires the MouseUp event and the script code connected to the MouseUpEvent. + + Event data. + + + + This method fires the MouseEnter event and the script code connected to the MouseEnterEvent. + + Event data. + + + + This method fires the MouseLeave event and the script code connected to the MouseLeaveEvent. + + Event data. + + + + This method fires the Resize event and the script code connected to the ResizeEvent. + + Event data. + + + + This method fires the TextChanged event and the script code connected to the TextChangedEvent. + + Event data. + + + + This method fires the Paint event and the script code connected to the PaintEvent. + + Event data. + + + + Base class for all dialog components. + + + + + + + + + + + + + + + + + + + + Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container. + + + + + Gets or sets the height and width of the control. + + + + + + + + Initializes a new instance of the DialogComponentBase class with default settings. + + + + + Represents the control with two lists (available items and selected items). + + + The control allows to select one or several items and then filter the datasource which it is connected to. + All you need is to setup the DataColumn property. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + Gets or sets a value indicating that the items must be sorted. + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the DataSelectorControl class with default settings. + + + + + Represents a Windows control that allows the user to select a date and a time and to display the date and time with a specified format. + Wraps the control. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + Occurs after the date has been changed. + Wraps the event. + + + + + Gets an internal DateTimePicker. + + + + + Gets or sets a value indicating whether the Value property has been set with a valid date/time value and the displayed value is able to be updated. + Wraps the property. + + + + + Gets or sets the custom date/time format string. + Wraps the property. + + + + + Gets or sets the alignment of the drop-down calendar on the DateTimePicker control. + Wraps the property. + + + + + Gets or sets the format of the date and time displayed in the control. + Wraps the property. + + + + + Gets or sets the maximum date and time that can be selected in the control. + Wraps the property. + + + + + Gets or sets the minimum date and time that can be selected in the control. + Wraps the property. + + + + + Gets or sets a value indicating whether a check box is displayed to the left of the selected date. + Wraps the property. + + + + + Gets or sets a value indicating whether a spin button control (also known as an up-down control) is used to adjust the date/time value. + Wraps the property. + + + + + Gets or sets the date/time value assigned to the control. + Wraps the property. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + + + + + + + + + + + + + This method fires the ValueChanged event and the script code connected to the ValueChangedEvent. + + Event data. + + + + Initializes a new instance of the DateTimePickerControl class with default settings. + + + + + Represents the 's column. + Wraps the class. + + + + + Gets or sets the mode by which the column automatically adjusts its width. + Wraps the property. + + + + + Gets or sets the data column attached to this column. + + + + + Gets or sets the caption text on the column's header cell. + Wraps the property. + + + + + Gets or sets the column's default cell style. + Wraps the property. + + + + + Gets or sets a value that represents the width of the column when it is in fill mode relative to the widths of other fill-mode columns in the control. + Wraps the property. + + + + + Gets or sets the current width of the column. + Wraps the property. + + + + + Gets or sets a value indicating whether the column is visible. + Wraps the property. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + + + + Initializes a new instance of the GridControlColumn class with default settings. + + + + + Represents the collection of GridControl columns. + + + + + Gets or sets a column. + + The index of a column in this collection. + The column with specified index. + + + + + + + + + + Serializes the collection. + + Writer object. + + This method is for internal use only. + + + + + Deserializes the collection. + + Reader object. + + This method is for internal use only. + + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with default settings. + + The owner of this collection. + + + + Represents a Windows rich text box control. + Wraps the control. + + + + + Gets an internal RichTextBox. + + + + + Gets or sets the text of the RichTextBox control, including all rich text format (RTF) codes. + Wraps the property. + + + + + Gets or sets the type of scroll bars to display in the RichTextBox control. + Wraps the property. + + + + + + + + Loads rtf from a file. + + File to load from. + + + + Loads rtf from a stream using specified stream type. + + Stream to load from. + Type of a stream. + + + + Loads rtf from a file using specified stream type. + + File to load from. + Type of a stream. + + + + Initializes a new instance of the RichTextBoxControl class with default settings. + + + + + Represents a Windows control that displays a frame around a group of controls with an optional caption. + Wraps the control. + + + + + Gets an internal GroupBox. + + + + + Initializes a new instance of the GroupBoxControl class with default settings. + + + + + The base class for all controls that support the data filtering feature. + + + The data filtering allows you to bind the control to a . + It will be automatically filled by data from the datasource's column. When you select/check + item(s) and close the dialog with OK button, it will filter the datasource according to your selection. + You can set the filter operation using the property. + + + + + Occurs after the control is filled with data. + + + + + Gets or sets a value that determines whether to fill the control with data automatically. + + + The default value of this property is true. If you set it to false, + you need to call the method manually. + + + + + Gets or sets a value that determines whether to filter the datasource automatically + when you close the dialog by OK button. + + + The default value of this property is true. If you set it to false, + you need to call the method manually. + + + + + Gets or sets a data column name that will be used to fill this control with data. + + + This property must contain both datasource name and column name, for example: + Orders.OrderID. You also may use relations, for example: Orders.Customers.CompanyName. + + + + + Gets or sets name of report parameter which value will be set to value contained + in this control when you close the dialog. + + + + + Gets or sets a value that specifies the filter operation. + + + + + Gets or sets the detail control used in cascaded filtering. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + + + Fills the control with data. + + The data source. + The data column. + Here is the example of FillData method implementation: + + protected override void FillData(DataSourceBase dataSource, Column column) + { + Items.Clear(); + dataSource.First(); + while (dataSource.HasMoreRows) + { + Items.Add(dataSource[column].ToString()); + dataSource.Next(); + } + } + + + + + + Returns list of values that can be used to fill control with data. + + The data source. + The data column. + List of string values. + + This method is used by the FillData method to fill list-type controls + such as ListBox with data. The result list contains distinct values. + + + + + Returns value entered in the control. + + The value of type supported by this control. + + This method must return a value entered by the user. For example, TextBox + control must return its Text property value. If this control supports multi-selection, + return selected values in an array, for example string[] array for CheckedListBox. + + + + + Handles the cascaded filter internal logic. + + + This method should be called in your custom dialog control that supports data filtering. + Call it when the value in your control is changed. + + + + + + + + + + + + + + Fills the control with data from a datasource. + + + Call this method if you set the property to false. + + + + + Fills the control with data from a datasource. + + Parent data source + + Call this method if you need to implement cascaded filter. In the parentData parameter, + pass the parent data source that will be used to set up master-detail relationship with + data source in this control. + + + + + Fills the control with data from a datasource. + + Parent control + + Call this method if you need to implement cascaded filter. In the parentControl parameter, + pass the parent control which performs filtering on a parent data source. + + + + + Applies the filter to a datasource. + + + Call this method if you set the property to false. + + + + + Resets the filter set by this control. + + + + + This method fires the DataLoaded event and the script code connected to the DataLoadedEvent. + + Event data. + + + + Initializes a new instance of the DataFilterBaseControl class with default settings. + + + + + Represents the collection of dialog components. + + + + + Gets or sets a component. + + The index of a component in this collection. + The component with specified index. + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with default settings. + + The owner of this collection. + + + + Represents a Windows control to display a list of items. + Wraps the control. + + + + + Gets an internal ListBox. + + + + + + + + + + + Initializes a new instance of the ListBoxControl class with default settings. + + + + + read current token, returns next + + + + + + + + read current token, returns next + + + + + + + + ignore current token, read from next, returns current i.e not next + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents a RFID label. + + + + + + + + + + + Specifies lock type on write\rewrite bank of data. + + + + + Unlock. + + + + + Lock. + + + + + Permanently unlock. + + + + + Permanently lock. + + + + + Specifies action on error printing of RFID label. + + + + + Skip label. + + + + + Place printer in Pause mode. + + + + + Place printer in Error mode. + + + + + + + + + + + + + + + + + + + + Gets or sets Tag ID memory bank. + + + + + Gets or sets User memory bank. + + + + + Gets or sets EPC memory bank. + + + + + Gets or sets EPC format. + + + + + Gets or sets access password. + + + + + Gets or sets kill password. + + + + + Gets or sets the name of the data column used to set the access password. + + + + + Gets or sets the name of the data column used to set the kill password. + + + + + Gets or sets the lock type for the kill password. + + + + + Gets or sets the lock type for the access password. + + + + + Gets or sets the lock type for the EPC bank. + + + + + Gets or sets the lock type for the user bank. + + + + + Gets or sets the start section for permanent lock of user bank. + + + + + Gets or sets the count of section for permanent lock of user bank. + + + + + Gets or sets the read power level for the label. + + + + + Gets or sets the write power level for the label. + + + + + Gets or sets a value that determines whether the using auto adjust of bits when write EPC bank. + + + + + Gets or sets a value that determines whether the entire EPC bank will be overwritten. + + + + + Gets or sets error handle mode. + + + + + Gets or sets a value that determines whether to use the adaptive antenna property. + + + + + + + + + + + + + + + + + Specifies the data format of a RFID label bank. + + + + + Gets or sets a data of bank. + + + + + Gets or sets a data column name to this bank. + + + + + Gets or sets a data offset of bank. Offset measured in 16-bit blocks. + + + + + Gets or sets a data format of bank. + + + + + Gets count byte of data. + + + + + Serializes the object. + + + + + Copies the contents of another, similar object. + + + + + + + + + + + Provides a user interface for choosing a data source. + + + + + + + + + + + Provides a user interface for editing a text outline. + + + + + + + + + + + Provides a user interface for choosing a relation. + + + + + Provides a user interface for selecting a component inside the report. + + + + + + + + + + + + + + Provides a user interface for selecting a component inside the same band. + + + + + + + + + + + + + + Provides an user interface for editing a flags enumeration. + + + + + + + + + + + Provides a user interface for choosing a data type. + + + + + + + + + + + Provides a user interface for choosing a data column. + + + + + + + + + + + + + + Provides a user interface for choosing a data source. + + + + + Provides a user interface for editing an expression. + + + + + + + + + + + Provides a user interface for editing an angle in degrees. + + + + + + + + + + + Provides a user interface for editing a component's border. + + + + + + + + + + + Provides a user interface for selecting a component inside the same page. + + + + + + + + + + + + + + Provides a user interface for choosing a color. + + + + + + + + + + + + + + + + + Provides a user interface for editing a fill. + + + + + + + + + + + Provides a user interface for editing a string collection. + + + + + + + + + + + Represents the report engine. + + + + + Shows band at the current position. + + Band to show. + + After the band is shown, the current position is advanced by the band's height. + + + + + Gets or sets the current X offset. + + + This property specifies the X offset where the current band will be printed. + + + + + Gets or sets the current Y offset. + + + This property specifies the Y offset where the current band will be printed. + After the band is printed, this value is incremented by the band's height. + + + + + Gets the index of currently printing column in the multi-column report. + + + This value is 0-based. + + + + + Gets or sets index of current prepared page the current band will print on. + + + Note: the page with specified index must exists. This property is used to print side-by-side + subreports and Table object. Usually you don't need to use it. + + + + + Gets the current page width, in pixels. + + + This property returns a paper width minus left and right margins. + + + + + Gets the current page height, in pixels. + + + This property returns a paper height minus top and bottom margins. + + + + + Gets the value indicating whether the page has unlimited height. + + + + + Gets the value indicating whether the page has unlimited width. + + + + + Gets or sets the current height of unlimited page. + + + + + Gets or sets the current width of unlimited page. + + + + + Gets the height of page footer (including all its child bands), in pixels. + + + + + Gets the height of column footer (including all its child bands), in pixels. + + + + + Gets the free space on the current page, in pixels. + + + This property returns the page height minus footers height minus CurY value. + + + + + Gets the current prepared page number. + + + This value is 1-based. The initial value (usually 1) is set in the Report.InitialPageNumber property. + + + + + Gets the number of total pages in a prepared report. + + + To use this property, your report must be two-pass. Set the + property to true. + + + + + Gets the string that represents the current page number. + + + This property returns a locale-based value, for example: "Page 1". + + + + + Gets the string that represents the "Page N of M" number. + + + This property returns a locale-based value, for example: "Page 1 of 10". + + + + + Gets the current row number of currently printing band. + + + This value is 1-based. It resets to 1 on each new group. + + + + + Gets the running current row number of currently printing band. + + + This value is 1-based. + + + + + Gets the date of report start. + + + + + Gets a value indicating whether the report is executing the final pass. + + + This property is true if report is one-pass, or if report is two-pass and + the second pass is executing. + + + + + Gets a value indicating whether the report is executing the first pass. + + + This property is true if report is one-pass, or if report is two-pass and + the first pass is executing. + + + + + Gets a level of hierarchy when printing hierarchical bands. + + + The first level of hierarchy has 0 index. + + + + + Gets the row number like "1.2.1" when printing hierarchical bands. + + + + + Translate RichObject to series of ReportComponentBase objects + + + + + + This code splits RichObject to report objects + + + + + + Returns true of keeping is enabled + + + + + Returns keeping position + + + + + Starts the keep mechanism. + + + Use this method along with the method if you want to keep + several bands together. Call StartKeep method before printing the first band + you want to keep, then call the EndKeep method after printing the last band you want to keep. + + + + + Ends the keep mechanism. + + + Use this method along with the method if you want to keep + several bands together. Call StartKeep method before printing the first band + you want to keep, then call the EndKeep method after printing the last band you want to keep. + + + + + Gets xml containing outline nodes. + + + + + Creates a new outline element with specified text. + + Text of element. + + After you call this method, the element will be added to the current position in the outline. + The next call to AddOutline will add new element as a child of this element. + To shift the position, use the or + OutlineUp methods. + + + + + Sets the current outline position to root. + + + + + Shifts the current outline position one level up. + + + + + Creates a new bookmark with specified name at current position. + + + + + + Gets a page number for the specified bookmark name. + + Name of bookmark. + Page number if bookmark with such name found; 0 otherwise. + + Use this method to print the table of contents in your report. Normally it can be done + using bookmarks. + + You must set your report to double pass to use this method. + + + + + + Resets the logical page numbers. + + + + + Called when the number of pages increased during DoublePass + + + + + Starts a new page. + + + + + Starts a new column. + + + + + Processes the specified text object which ProcessAt property is set to Custom. + + The text object to process. + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed. Otherwise, false. + + + + Represents a linear gauge. + + + + + Gets or sets the value that specifies inverted gauge or not. + + + + + Gets or sets gauge label. + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents a linear pointer. + + + + + Gets o sets the height of gauge pointer. + + + + + Gets or sets the width of a pointer. + + + + + Initializes a new instance of the + + The parent gauge object. + + + + + + + + + + + + + Represents a linear scale. + + + + + Initializes a new instance of the class. + + The parent gauge object. + + + + + + + + + + + + + Represents a linear gauge. + + + + + + + + + + + + + + Returns centr of the gauge + + + + + The number of radians in one degree + + + + + Gets or sets the Radial Gauge type + + + + + Gats or sets the Radial Gauge position. Doesn't work for Full Radial Gauge. + + + + + Gets or sets the semicircles offset + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Radial Gauge types + + + + + Full sized gauge + + + + + Half of the radial gauge + + + + + Quarter of the radial gauge + + + + + Radial Gauge position types + + + + + None + + + + + Top + + + + + Bottom + + + + + Left + + + + + Right + + + + + Represents a linear pointer. + + + + + Gets or sets the value, indicating that gradient should be rotated automatically + + + + + Initializes a new instance of the + + The parent gauge object. + The scale object. + + + + + + + Represents a linear scale. + + + + + Initializes a new instance of the class. + + The parent gauge object. + + + + + + + + + + + + + Represents a simple progress gauge. + + + + + Gets or sets gauge label. + + + + + Gets scale. Should be disabled for SimpleProgressGauge + + + + + Initializes a new instance of the class. + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + + + + Gets or sets the number of fractional digits + + + + + + + + + + + + + + SimpleProgressGauge pointer types + + + + + Full sized pointer + + + + + Small pointer + + + + + + + + Gets or sets the pointer type + + + + + Gets or sets the small pointer width ratio + + + + + + + + + + + + + + Represents a simple gauge. + + + + + Gets or sets gauge label. + + + + + Initializes a new instance of the class. + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Represents a simple pointer. + + + + + Gets o sets the Left offset of gauge pointer. + + + + + Gets o sets the Top offset of gauge pointer. + + + + + Gets o sets the height of gauge pointer. + + + + + Gets or sets the width of a pointer. + + + + + Gets or sets the pointer ratio. + + + + + Gets or sets the pointer horizontal offset (cm). + + + + + Initializes a new instance of the class. + + The parent gauge object. + + + + + + + + + + + + + Represents a simple scale. + + + + + Gets or sets the first subscale (top or left). + + + + + Gets or sets the second subscale (right or bottom). + + + + + Initializes a new instance of the class. + + The parent gauge object. + + + + + + + + + + + + + Represent the subscale of simple scale. + + + + + Gets or sets a value that specifies enabled subscale or not. + + + + + Gets or sets a value that specifies show caption or not. + + + + + Initializes a new instance of the class. + + + + + Copies the contents of another SimpleSubScale. + + The SimpleSubScale instance to copy the contents from. + + + + Serializes the SimpleSubScale. + + Writer object. + SimpleSubScale property name. + Another SimpleSubScale to compare with. + + This method is for internal use only. + + + + + Represents a gauge object. + + + + + + + + + + + Gets or sets the minimal value of gauge. + + + + + Gets or sets the maximal value of gauge. + + + + + Gets or sets the current value of gauge. + + + + + Gets or sets scale of gauge. + + + + + Gets or sets pointer of gauge. + + + + + Gets or sets gauge label. + + + + + Gets or sets an expression that determines the value of gauge object. + + + + + Gets a value that specifies is gauge vertical or not. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + Minimum value of gauge. + Maximum value of gauge. + Current value of gauge. + + + + Initializes a new instance of the class. + + Minimum value of gauge. + Maximum value of gauge. + Current value of gauge. + Scale of gauge. + Pointer of gauge. + + + + + + + + + + + + + Draws the gauge. + + Draw event arguments. + + + + + + + Clone Gauge Object + + clone of this object + + + + Represents a label of a gauge. + + + + + Gets or sets the label text + + + + + Gets or sets the label font + + + + + Gets or sets the label color + + + + + Gets or sets the label parent + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + Label text + Label font + Label color + Label parent + + + + Copies the contents of another GaugeLabel. + + The GaugeLabel instance to copy the contents from. + + + + Draws the gauge label. + + Draw event arguments. + + + + Serializes the gauge label. + + Writer object. + Gauge label property name. + Another GaugeLabel to compare with. + + This method is for internal use only. + + + + + Represents a pointer of gauge. + + + + + Gets or sets the parent gauge object. + + + + + Gets or sets the color of a pointer. + + + + + Gets or sets the border width of a pointer. + + + + + Gets or sets the border color of a pointer. + + + + + Initializes a new instance of the class. + + The parent gauge object. + + + + Copies the contents of another GaugePointer. + + The GaugePointer instance to copy the contents from. + + + + Draws the gauge pointer. + + Draw event arguments. + + + + Serializes the gauge pointer. + + Writer object. + Gauge pointer property name. + Another GaugePointer to compare with. + + This method is for internal use only. + + + + + Represents a scale of a gauge. + + + + + Gets or sets major ticks of scale. + + + + + Gets or sets minor ticks of scale. + + + + + Gets or sets the parent gauge object. + + + + + Gets or sets the font of scale. + + + + + Gets or sets the scale font color + + + + + Initializes a new instance of the class. + + The parent gauge object. + + + + Copies the contents of another GaugeScale. + + The GaugeScale instance to copy the contents from. + + + + Draws the scale of gauge. + + Draw event arguments. + + + + Serializes the gauge scale. + + Writer object. + Scale property name. + Another GaugeScale to compare with. + + This method is for internal use only. + + + + + Represents a scale ticks. + + + + + Gets or sets the length of ticks. + + + + + Gets or sets the width of ticks. + + + + + Gets or sets the color of ticks. + + + + + Gets or sets the count of ticks + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + Ticks length. + Ticks width. + Ticks color. + + + + Initializes a new instance of the class. + + Ticks length. + Ticks width. + Ticks color. + Ticks count. + + + + Copies the contents of another ScaleTicks. + + The ScaleTicks instance to copy the contents from. + + + + Serializes the scale ticks. + + Writer object. + Scale ticks property name. + Another ScaleTicks to compare with. + + This method is for internal use only. + + + + + Represents a map object. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets the path to folder containing shapefiles. + + + This property is used by the map editor when selecting a shapefile. + + + + + Gets or sets the map zoom. + + + + + Gets or sets minimum zoom value. + + + + + Gets or sets maximum zoom value. + + + + + Gets or sets the X offset of the map. + + + + + Gets or sets the Y offset of the map. + + + + + Gets or sets the value indicating that mercator projection must be used to view the map. + + + + + Gets the color scale settings. + + + + + Gets or sets a collection of map layers. + + + + + Gets or sets padding within the map. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Loads a map from file. + + Name of file that contains a map. + + + + Creates unique names for all contained objects such as layers, shapes, etc. + + + + + Initializes a new instance of the class. + + + + + Represents a map point. + + + + + Gets or sets the X-coordinate of the point. + + + + + Gets or sets the Y-coordinate of the point. + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Represents a polygon shape. + + + + + Holds the largest bounding rectangle of this shape. + + + + + Gets or sets a bounding box of this shape. + + + + + Gets or sets a list of polygons in this shape. + + + + + Gets or sets the shape data in binary format. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed. Otherwise, false. + + + + Represents four coordinates that define a bounding box. + + + + + Gets or sets the minimum X-coordinate of a bounding box. + + + + + Gets or sets the minimum Y-coordinate of a bounding box. + + + + + Gets or sets the maximum X-coordinate of a bounding box. + + + + + Gets or sets the maximum Y-coordinate of a bounding box. + + + + + Copies the contents of another instance. + + Source box to copy the contents from. + + + + Defines the palette used to display map shapes. + + + + + No palette used. + + + + + Light palette. + + + + + Pastel palette. + + + + + Grayscale palette. + + + + + Earth tones palette. + + + + + Sea green palette. + + + + + Bright pastel palette. + + + + + Represents a set of color ranges used to highlight polygons based on analytical value. + + + + + Gets the list of ranges. + + + + + Gets or sets the number of ranges. + + + + + Gets or sets the start color. + + + + + Gets or sets the middle color. + + + + + Gets or sets the end color. + + + + + Gets or sets a value indicating that the map's color scale must display data from this color ranges. + + + + + Gets or sets ranges as a string. + + + + + Copies the contents of another ColorRanges. + + The ColorRanges instance to copy the contents from. + + + + Gets a color associated with given analytical value. + + The analytical value. + The color associated with this value, or Color.Transparent if no association found. + + + + Initializes a new instance of the class. + + + + + Represents a single color range. + + + + + Gets or sets color of the range. + + + + + Gets or sets start value of the range. + + + + + Gets or sets end value of the range. + + + + + Copies the contents of another ColorRange. + + The ColorRange instance to copy the contents from. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a specified parameters. + + The color of the range. + The start value of the range. + The end value of the range. + + + + Represents the color scale. + + + + + Gets or sets that must be displayed in this color scale. + + + + + Gets or sets the format string used to format data values. + + + + + Gets or sets a value indicating whether the color scale must be hidden if there is no data in it. + + + + + Gets or sets the text displayed in the color scale if there is no data in it. + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Represents a distance scale. + + + + + Initializes a new instance of the class. + + + + + Represents loading map data from dbf-file. + + + + + Gets or sets the filter string used in an open file dialog. + + + + + Initializes a new instance of the class. + + + + + Returns a file filter for an open file dialog. + + String that contains a file filter. + + + + Imports the map data from a specified file into a specfied layer. + + The MapObject for an importing map. + The name of a file that contains map. + + + + Represents the description of dBase field. + + + + + Gets the field name. + + + + + Gets the field type. + + + + + Gets the field length. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a specified parameters. + + The field name. + The field type. + The field length. + + + + Initializes a new instance of the class with a specified parameters. + + The field name. + The field type. + The field length. + + + + The type of dBase field. + + + + + Character field. + + + + + Date field. + + + + + Numeric field. + + + + + Logical field. + + + + + Memo field. + + + + + Represents a collection of objects. + + + + + Gets a layer with specified index. + + Index of a layer. + The layer with specified index. + + + + Specifies the type of objects that layer contains. + + + + + The layer contains points. + + + + + The layer contains lines. + + + + + The layer contains polygons. + + + + + Specifies the spatial source for the layer. + + + + + Source is ESRI shapefile. + + + + + Source is a latitude/longitude/name provided by an application. + + + + + Determines how map labels are displayed. + + + + + No label displayed. + + + + + The shape name is displayed. + + + + + The value is displayed. + + + + + Both name and value displayed. + + + + + Represents a map layer. + + + + + Gets or sets a type of layer. + + + + + Gets or sets the spatial source for the layer. + + + + + Gets or sets the name of ESRI shapefile. + + + + + Gets or sets the data source. + + + + + Gets or sets the datasource filter expression. + + + + + Gets or sets spatial column name. + + + This property is used if the is set to ShpFile. + + + + + Gets or sets an expression that returns spatial value. + + + This property is used if the is set to ShpFile. + + + + + Gets or sets an expression that returns latitude value. + + + This property is used if the is set to ApplicationData. + + + + + Gets or sets an expression that returns longitude value. + + + This property is used if the is set to ApplicationData. + + + + + Gets or sets an expression that returns label value. + + + This property is used if the is set to ApplicationData. + + + + + Gets or sets an expression that returns analytical value. + + + + + Gets or sets label's column name. + + + + + Gets or sets a value that determines how map labels are displayed. + + + + + Gets or sets the format of label's value. + + + + + Gets or sets the map accuracy. Lower value is better, but slower. + + + + + Gets or sets the value that determines the labels visiblity at a certain zoom value. + + + + + Gets or sets the aggregate function. + + + + + Gets or sets a value indicating that the layer is visible. + + + + + Gets or sets a bounding box of layer. + + + + + Gets a collection of map objects. + + + + + Gets the default style of shapes in this layer. + + + + + Gets or sets the palette used to highlight shapes. + + + + + Gets the color ranges used to highlight shapes based on analytical value. + + + + + Gets the size ranges used to draw points based on analytical value. + + + + + Gets or sets the expression that returns the name of polygon to zoom. + + + + + Gets or sets the bounding box as a string. + + + + + Gets a reference to the Map object. + + + + + + + + Draws the layer. + + The drawing parameters. + + + + Finds the shape under cursor. + + The cursor coordinates. + The ShapeBase object if found. + + + + + + + Creates unique names for all contained objects such as points, lines, polygons, etc. + + + + + Reduces the number of points in the shapes in this layer. + + The accuracy value. + + + + Loads the layer contents from ESRI shapefile (*.shp/*.dbf). + + The file name. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Adds application provided data. + + Latitude value. + Longitude value. + The name displayed as a label. + Analytical value. + + Use this method if the is set to ApplicationData. + + + + + Adds a spatial/analytical value pair to the list. + + The spatial value. + The analytical value. + + Use this method if the is set to ShpFile. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Represents a pair of double coordinates that defines a constituent point. + + + + + Gets or sets the X-coordinate of a point. + + + + + Gets or sets the Y-coordinate of a point. + + + + + Creates a new instance of the class with specified coordinates. + + X coordinate. + Y coordinate. + + + + Specifies the position of a scale control inside the map. + + + + + The scale is displayed at top left corner. + + + + + The scale is displayed at top center side. + + + + + The scale is displayed at top right corner. + + + + + The scale is displayed at middle left side. + + + + + The scale is displayed at middle right side. + + + + + The scale is displayed at bottom left corner. + + + + + The scale is displayed at bottom center side. + + + + + The scale is displayed at bottom right corner. + + + + + The base class for scale-type controls such as and . + + + + + Gets or sets the border. + + + + + Gets or sets the fill. + + + + + Gets or sets the title font. + + + + + Gets or sets the title text color. + + + + + Gets or sets the title text. + + + + + Gets or sets the font. + + + + + Gets or sets the text color. + + + + + Gets or sets the border color. + + + + + Gets or sets the location of the scale. + + + + + Gets or sets the visibility of a scale. + + + + + Copies the contents of another ScaleBase. + + The ScaleBase instance to copy the contents from. + + + + Serializes the scale. + + Writer object. + Scale property name. + Another ScaleBase to compare with. + + This method is for internal use only. + + + + + Gets the size of the scale, in pixels. + + The SizeF structure containing the size of the object. + + + + Draws the object. + + Draw parameters. + Parent map object. + + + + Initializes a new instance of the class. + + + + + The base class for shape objects such as , and . + + + + + Gets or sets the shape visibility. + + + + + Gets or sets a value indicating that custom shape style is used. + + + If this property is false, the layer's DefaultShapeStyle is used. + + + + + Gets a custom shape style. + + + To use this property, first set the property to true. + + + + + Gets or sets the center point X offset. + + + Use this property to adjust the label's position. + + + + + Gets or sets the center point Y offset. + + + Use this property to adjust the label's position. + + + + + Gets or sets the shape X offset. + + + Use this property to adjust the shape position. + + + + + Gets or sets the shape Y offset. + + + Use this property to adjust the shape position. + + + + + Gets or sets the scale factor for this shape. + + + Use this property to adjust the shape size. + + + + + Gets or sets the spatial data associated with this shape. + + + + + Gets or sets the value. + + + + + Gets a reference to the parent Map object. + + + + + Gets a reference to the parent Layer object. + + + + + + + + Draws the shape. + + Object that provides a data for paint event. + + + + Draws the label. + + Object that provides a data for paint event. + + + + Checks if the shape is under cursor. + + The cursor coordinates. + true if the cursor is over the shape. + + + + Reduces the number of points in the shape. + + The accuracy value. + + + + + + + Initializes a component before running a report. + + + + + Finalizes a component before running a report. + + + + + Saves the state of this component. + + + + + Restores the state of this component. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Holds the list of objects of type. + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with specified owner. + + + + + Represents a line shape. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Represents the spatial data of a shape. + + + + + Copies contents from another spatial data object. + + The object to copy contents from. + + + + Compares two spatial data objects. + + The spatial object to compare with. + true if spatial objects are identical. + + + + Gets a value by its key. + + The key of value. + The value. + + + + Sets a value by its key. + + The key of value. + The value. + + + + Gets a list of keys. + + The list of keys. + + + + Creates a new instance of the class. + + + + + Represents the style of a shape. + + + + + Gets or sets the border color. + + + + + Gets or sets the border style. + + + + + Gets or sets the border width. + + + + + Gets or sets the fill color. + + + + + Gets or sets the font. + + + + + Gets or sets the text color. + + + + + Gets or sets the point size, in pixels. + + + + + Copies contents from another similar object. + + The object to copy the contents from. + + + + Initializes a new instance of the class. + + + + + Represents a set of size ranges used to draw points based on analytical value. + + + + + Gets the list of ranges. + + + + + Gets or sets the number of ranges. + + + + + Gets or sets the start size. + + + + + Gets or sets the end size. + + + + + Gets or sets ranges as a string. + + + + + Copies the contents of another SizeRanges. + + The SizeRanges instance to copy the contents from. + + + + Gets a size associated with given analytical value. + + The analytical value. + The size associated with this value, or 0 if no association found. + + + + Initializes a new instance of the class. + + + + + Represents a single size range. + + + + + Gets or sets size of the range. + + + + + Gets or sets start value of the range. + + + + + Gets or sets end value of the range. + + + + + Copies the contents of another SizeRange. + + The SizeRange instance to copy the contents from. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a specified parameters. + + The size of the range. + The start value of the range. + The end value of the range. + + + + Represents the matrix object that is used to print pivot table (also known as cross-tab). + + + The matrix consists of the following elements: columns, rows and data cells. Each element is + represented by the descriptor. The class is used + for columns and rows; the is used for data cells. + The property holds three collections of descriptors - Columns, + Rows and Cells. + To create the matrix in a code, you should perform the following actions: + + + create an instance of the MatrixObject and add it to the report; + + + create descriptors for columns, rows and cells and add it to the + collections inside the property; + + + call the method to create the matrix template + that will be used to create a result; + + + modify the matrix template (change captions, set the visual appearance). + + + To connect the matrix to a datasource, use the property. If + this property is not set, the result matrix will be empty. In this case you may use + the event handler to fill the matrix. + + This example demonstrates how to create a matrix in a code. + + // create an instance of MatrixObject + MatrixObject matrix = new MatrixObject(); + matrix.Name = "Matrix1"; + // add it to the report title band of the first report page + matrix.Parent = (report.Pages[0] as ReportPage).ReportTitle; + + // create two column descriptors + MatrixHeaderDescriptor column = new MatrixHeaderDescriptor("[MatrixDemo.Year]"); + matrix.Data.Columns.Add(column); + column = new MatrixHeaderDescriptor("[MatrixDemo.Month]"); + matrix.Data.Columns.Add(column); + + // create one row descriptor + MatrixHeaderDescriptor row = new MatrixHeaderDescriptor("[MatrixDemo.Name]"); + matrix.Data.Rows.Add(row); + + // create one data cell + MatrixCellDescriptor cell = new MatrixCellDescriptor("[MatrixDemo.Revenue]", MatrixAggregateFunction.Sum); + matrix.Data.Cells.Add(cell); + + // connect matrix to a datasource + matrix.DataSource = Report.GetDataSource("MatrixDemo"); + + // create the matrix template + matrix.BuildTemplate(); + + // change the style + matrix.Style = "Green"; + + // change the column and row total's text to "Grand Total" + matrix.Data.Columns[0].TemplateTotalCell.Text = "Grand Total"; + matrix.Data.Rows[0].TemplateTotalCell.Text = "Grand Total"; + + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Allows to fill the matrix in code. + + + In most cases the matrix is connected to a datasource via the + property. When you run a report, the matrix is filled with datasource values automatically. + Using this event, you can put additional values to the matrix or even completely fill it + with own values (if is set to null. To do this, call the + Data.AddValue method. See the + method for more details. + + This example shows how to fill a matrix with own values. + + // suppose we have a matrix with one column, row and data cell. + // provide 3 one-dimensional arrays with one element in each to the AddValue method + Matrix1.Data.AddValue( + new object[] { 1996 }, + new object[] { "Andrew Fuller" }, + new object[] { 123.45f }); + Matrix1.Data.AddValue( + new object[] { 1997 }, + new object[] { "Andrew Fuller" }, + new object[] { 21.35f }); + Matrix1.Data.AddValue( + new object[] { 1997 }, + new object[] { "Nancy Davolio" }, + new object[] { 421.5f }); + + // this code will produce the following matrix: + // | 1996 | 1997 | + // --------------+--------+--------+ + // Andrew Fuller | 123.45| 21.35| + // --------------+--------+--------+ + // Nancy Davolio | | 421.50| + // --------------+--------+--------+ + + + + + + Allows to modify the prepared matrix elements such as cells, rows, columns. + + + + + Allows to modify the prepared matrix elements such as cells, rows, columns. + + + + + Gets or sets a value that determines whether the matrix must calculate column/row sizes automatically. + + + + + Gets or sets a value that determines how to print multiple data cells. + + + This property can be used if matrix has two or more data cells. Default property value + is false - that means the data cells will be stacked. + + + + + Gets or sets a value indicating that the side-by-side cells must be kept together on the same page. + + + + + Gets or sets a data source. + + + When you create the matrix in the designer by drag-drop data columns into it, + this property will be set automatically. However you need to set it if you create + the matrix in code. + + + + + Gets the row filter expression. + + + This property can contain any valid boolean expression. If the expression returns false, + the corresponding data row will be skipped. + + + + + Gets or sets a value indicating whether to show a title row. + + + + + Gets or sets a matrix style. + + + + + Gets or sets even style priority for matrix cells. + + + + + Gets or sets need split rows. + + + + + Gets or sets a value indicating that empty matrix should be printed. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + See the event for more details. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + See the event for more details. + + + + + Gets or sets a script method name that will be used to handle the + event. + + + See the event for more details. + + + + + Gets the object that holds the collection of descriptors used + to build a matrix. + + + See the class for more details. + + + + + Gets or sets array of values that describes the currently printing column. + + + Use this property when report is running. It can be used to highlight matrix elements + depending on values of the currently printing column. To do this: + + + select the cell that you need to highlight; + + + click the "Highlight" button on the "Text" toolbar; + + + add a new highlight condition. Use the Matrix.ColumnValues to + refer to the value you need to analyze. Note: these values are arrays of System.Object, + so you need to cast it to actual type before making any comparisons. Example of highlight + condition: (int)Matrix1.ColumnValues[0] == 2000. + + + + + + + + Gets or sets array of values that describes the currently printing row. + + + Use this property when report is running. It can be used to highlight matrix elements + depending on values of the currently printing row. To do this: + + + select the cell that you need to highlight; + + + click the "Highlight" button on the "Text" toolbar; + + + add a new highlight condition. Use the Matrix.RowValues to + refer to the value you need to analyze. Note: these values are arrays of System.Object, + so you need to cast it to actual type before making any comparisons. Example of highlight + condition: (string)Matrix1.RowValues[0] == "Andrew Fuller". + + + + + + + + Gets or sets the index of currently printing column. + + + This property may be used to print even columns with alternate color. To do this: + + + select the cell that you need to highlight; + + + click the "Highlight" button on the "Text" toolbar; + + + add a new highlight condition that uses the Matrix.ColumnIndex, + for example: Matrix1.ColumnIndex % 2 == 1. + + + + + + + + Gets or sets the index of currently printing row. + + + This property may be used to print even rows with alternate color. To do this: + + + select the cell that you need to highlight; + + + click the "Highlight" button on the "Text" toolbar; + + + add a new highlight condition that uses the Matrix.RowIndex, + for example: Matrix1.RowIndex % 2 == 1. + + + + + + + + + + + + + + + + + Creates or updates the matrix template. + + + Call this method after you modify the matrix descriptors using the + object's properties. + + + + + + + + + + + + + + + + + + + + + + + + + + This method fires the ManualBuild event and the script code connected to the ManualBuildEvent. + + Event data. + + + + This method fires the ModifyResult event and the script code connected to the ModifyResultEvent. + + Event data. + + + + This method fires the AfterTotals event and the script code connected to the AfterTotalsEvent. + + Event data. + + + + Adds a value in the matrix. + + Array of column values. + Array of row values. + Array of data values. + + This is a shortcut method to call the matrix Data.AddValue. + See the method for more details. + + + + + Gets the value of the data cell with the specified index. + + Zero-based index of the data cell. + The cell's value. + + Use this method in the cell's expression if the cell has custom totals + (the total function is set to "Custom"). The example: + Matrix1.Value(0) / Matrix1.Value(1) + will return the result of dividing the first data cell's value by the second one. + + + + + Initializes a new instance of the class. + + + + + Specifies the aggregate function used in the . + + + + + No aggregates are used. + + + + + Specifies the sum of values. + + + + + Specifies the minimum of values. + + + + + Specifies the maximum of values. + + + + + Specifies the average of values. + + + + + Specifies the count of values. + + + + + Specifies the count of distinct values. + + + + + Specifies the custom function. + + + + + Determines how matrix percents are calculated. + + + + + Do not calculate percent value. + + + + + Calculate percent of the column total value. + + + + + Calculate percent of the row total value. + + + + + Calculate percent of the grand total value. + + + + + The descriptor that is used to describe one matrix data cell. + + + The class is used to define one data cell of the matrix. + The key properties are and . + To set visual appearance of the data cell, use the + property. + The collection of descriptors used to represent the matrix data cells is stored + in the MatrixObject.Data.Cells property. + + + + + Gets or sets an aggregate function used to calculate totals for this cell. + + + + + Gets or sets a value that determines how to calculate the percent value for this cell. + + + + + + + + + + + Initializes a new instance of the class + with default settings. + + + + + Initializes a new instance of the class + with specified expression. + + The descriptor's expression. + + + + Initializes a new instance of the class + with specified expression and aggregate function. + + The descriptor's expression. + The aggregate function. + + + + Initializes a new instance of the class + with specified expression, aggregate function, and a percent. + + The descriptor's expression. + The aggregate function. + The percent setting. + + + + Represents a collection of matrix data descriptors used in the . + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Adds the specified descriptors to the end of this collection. + + Array of descriptors to add. + + + + Adds a descriptor to the end of this collection. + + Descriptor to add. + Index of the added descriptor. + + + + Inserts a descriptor into this collection at the specified index. + + The zero-based index at which value should be inserted. + The descriptor to insert. + + + + Removes the specified descriptor from the collection. + + Descriptor to remove. + + + + Returns the zero-based index of the first occurrence of a descriptor. + + The descriptor to locate in the collection. + The zero-based index of the first occurrence of descriptor within + the entire collection, if found; otherwise, -1. + + + + Determines whether a descriptor is in the collection. + + The descriptor to locate in the collection. + true if descriptor is found in the collection; otherwise, false. + + + + Copies the elements of this collection to a new array. + + An array containing copies of this collection elements. + + + + + + + + + + Contains a set of properties and methods to hold and manipulate the matrix descriptors. + + + This class contains three collections of descriptors such as , + and . Use collections' methods to add/remove + descriptors. When you are done, call the + method to refresh the matrix. + To fill a matrix in code, use the AddValue method. + + + + + Gets a collection of column descriptors. + + + Note: after you change something in this collection, call the + method to refresh the matrix. + + + + + Gets a collection of row descriptors. + + + Note: after you change something in this collection, call the + method to refresh the matrix. + + + + + Gets a collection of data cell descriptors. + + + Note: after you change something in this collection, call the + method to refresh the matrix. + + + + + Clears all descriptors. + + + + + Adds a value in the matrix. + + Array of column values. + Array of row values. + Array of data values. + + The number of elements in an array passed to this method must be the same as + a number of descriptors in the appropriate collection. That is, if your matrix + has one column, two row and one cell descriptors (in Columns, Rows and + Cells collections respectively), you have to pass one-element array for the + columnValues param, two-element array for the rowValues and one-element + array for the cellValues. + + This example demonstrates how to fill a simple matrix that contains one column, + row and cell. + + MatrixObject matrix; + matrix.Data.AddValue( + new object[] { 1996 }, + new object[] { "Andrew Fuller" }, + new object[] { 123.45f }); + + // this will produce the following result: + // | 1996 | + // --------------+----------+ + // Andrew Fuller | 123.45| + // --------------+----------+ + + + + + + Adds a value in the matrix. + + Array of column values. + Array of row values. + Array of data values. + Datasource row index. + + See the method for more details. + + + + + Gets a value with specified column, row and cell indicies. + + Index of a column. + Index of a row. + Index of a cell. + The value of a cell. + + + + Sets the cell's value. + + Index of a column. + Index of a row. + The new value. + + + + The base class for matrix element descriptors such as and + . + + + + + Gets or sets an expression which value will be used to fill the matrix. + + + Expression may be any valid expression. Usually it's a data column: + [DataSource.Column]. + + + + + Gets or sets the template column bound to this descriptor. + + + This property is for internal use; usually you don't need to use it. + + + + + Gets or sets the template row bound to this descriptor. + + + This property is for internal use; usually you don't need to use it. + + + + + Gets or sets the template cell bound to this descriptor. + + + Using this property, you may access the matrix cell which is bound to + this descriptor. It may be useful to change the cell's appearance. + + Before using this property, you must initialize the matrix descriptors by + calling the method. + + + + + MatrixObject matrix; + // change the fill color of the first matrix cell + matrix.Data.Cells[0].TemplateCell.Fill = new SolidFill(Color.Red); + + + + + + Assigns values from another descriptor. + + Descriptor to assign values from. + + + + + + + + + + Represents a collection of matrix header descriptors used in the . + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Adds the specified descriptors to the end of this collection. + + Array of descriptors to add. + + + + Adds a descriptor to the end of this collection. + + Descriptor to add. + Index of the added descriptor. + + + + Inserts a descriptor into this collection at the specified index. + + The zero-based index at which value should be inserted. + The descriptor to insert. + + + + Removes the specified descriptor from the collection. + + Descriptor to remove. + + + + Returns the zero-based index of the first occurrence of a descriptor. + + The descriptor to locate in the collection. + The zero-based index of the first occurrence of descriptor within + the entire collection, if found; otherwise, -1. + + + + Determines whether a descriptor is in the collection. + + The descriptor to locate in the collection. + true if descriptor is found in the collection; otherwise, false. + + + + Copies the elements of this collection to a new array. + + An array containing copies of this collection elements. + + + + Gets the list of indices of terminal items of this header. + + The list of indices. + + + + Gets the list of indices of terminal items of the header with specified address. + + The address of a header. + The list of indices. + + + + Removes a header item with the address specified. + + The address of a header. + + + + Gets an index of header with the address specified. + + The address of a header. + The index of header. + + + + Gets an index of header with the address specified. If there is no such header item, it will be created. + + The address of a header. + The index of header. + + + + + + + + + + The descriptor that is used to describe one element of the matrix header. + + + The class is used to define one header element of the matrix + (either the column element or row element). The key properties are + , and . + To set visual appearance of the element, use the + property. To set visual appearance of the "total" element, use the + property. + The collection of descriptors used to represent the matrix header is stored + in the MatrixObject.Data.Columns and MatrixObject.Data.Rows properties. + + + + + Gets or sets the sort order of header values. + + + This property determines how the values displayed in this element are sorted. The default sort + is ascending. + + + + + Gets or sets a value indicating that this element has associated "total" element. + + + To access the matrix cell that is bound to the "Total" element, use the + property. It may be useful to change the + "Total" text by something else. + + This example shows how to change the "Total" text of the total element. + + MatrixObject matrix; + matrix.Data.Rows[0].TemplateTotalCell.Text = "Grand Total"; + + + + + + Gets or sets the value indicating whether the total values must be printed before the data. + + + + + Gets or sets a value indicating that the page break must be printed before this element. + + + Page break is not printed before the very first element. + + + + + Gets or sets a value that determines whether it is necessary to suppress totals + if there is only one value in a group. + + + + + Gets or sets the template column bound to the "total" element of this descriptor. + + + This property is for internal use; usually you don't need to use it. + + + + + Gets or sets the template row bound to the "total" element of this descriptor. + + + This property is for internal use; usually you don't need to use it. + + + + + Gets or sets the template cell bound to the "total" element of this descriptor. + + + This property may be useful to change the "Total" text by something else. + + Before using this property, you must initialize the matrix descriptors by + calling the method. + + + This example shows how to change the "Total" element. + + MatrixObject matrix; + matrix.Data.Rows[0].TemplateTotalCell.Text = "Grand Total"; + matrix.Data.Rows[0].TemplateTotalCell.Fill = new SolidFill(Color.Green); + + + + + + + + + + + + Initializes a new instance of the class with + default settings. + + + + + Initializes a new instance of the class with + specified expression. + + The descriptor's expression. + + + + Initializes a new instance of the class with + specified expression and totals. + + The descriptor's expression. + Indicates whether to show the "total" element. + + + + Initializes a new instance of the class with + specified expression, sort order and totals. + + The descriptor's expression. + Sort order used to sort header values. + Indicates whether to show the "total" element. + + + + Updates HeaderWidth, HeaderHeight, BodyWidth, BodyHeight properties. + + + + + Describes how the even style is applied to a matrix. + + + + + The even style is applied to matrix rows. + + + + + The even style is applied to matrix columns. + + + + + Represents the chart object based on Microsoft Chart control. + + + FastReport uses Microsoft Chart library to display charts. This library is included + in .Net Framework 4.0. For .Net 3.5 it is available as a separate download here: + http://www.microsoft.com/downloads/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c + This library requires .Net Framework 3.5 SP1. + To access Microsoft Chart object, use the property. It allows you + to set up chart appearance. For more information on available properties, refer to the + MS Chart documentation. + Chart object may contain one or several series. Each series is represented by two objects: + + + the Series that is handled by MS Chart. It is stored in the + Chart.Series collection; + + + the object that provides data for MS Chart series. + It is stored in the collection. + + + Do not operate series objects directly. To add or remove series, use + the and methods. These methods + handle Series and MSChartSeries in sync. + If you have a chart object on your Form and want to print it in FastReport, use + the method. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + + + + + + + + + + Gets the collection of objects. + + + + + Gets a reference to the MS Chart object. + + + + + Gets or set Force automatically created series. + + + + + Gets or sets the data source. + + + + + Gets or sets the filter expression. + + + This filter will be applied to all series in chart. You may also use the series' + property to filter each series individually. + + + + + Gets or sets a value indicating that all series' data point should be aligned by its X value. + + + Using this property is necessary to print stacked type series. These series must have + equal number of data points, and the order of data points must be the same for all series. + + + + + Gets or set the data column or expression for automatically created series. + + + In order to create auto-series, you need to define one series that will be used as a + template for new series, and set up the property. + The value of this property will be a name of new series. If there is no series + with such name yet, the new series will be added. + + + + + Gets or set the color for auto-series. + + + If no color is specified, the new series will use the palette defined in the chart. + + + + + Gets or sets sort order for auto-series. + + + + + + + + Adds a new series. + + The type of series. + The new MSChartSeries object. + + + + Deletes a series at a specified index. + + Index of series. + + + + Assigns chart appearance, series and data from the + System.Windows.Forms.DataVisualization.Charting.Chart object. + + Chart object to assign data from. + + Use this method if you have a chart in your application and want to print it in FastReport. + To do this, put an empty MSChartObject in your report and execute the following code: + + report.Load("..."); + MSChartObject reportChart = report.FindObject("MSChart1") as MSChartObject; + reportChart.AssignChart(applicationChart); + report.Show(); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the with default settings. + + + + + Represents the small chart object (called sparkline) fully based on MSChartObject. + + + + + + + + + + + Initializes a new instance of the with default settings. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Specifies how the series points are sorted. + + + + + Points are not sorted. + + + + + Points are sorted by X value. + + + + + Points are sorted by Y value. + + + + + Specifies the direction in which the series points are sorted. + + + + + Points are sorted in ascending order. + + + + + Points are sorted in descending order. + + + + + Specifies how the series points are grouped. + + + + + Points are not grouped. + + + + + Points are grouped by X value. + + + + + Points are grouped by number specified in the . + + + + + Points are grouped by Years. + + + + + Points are grouped by Months. + + + + + Points are grouped by Weeks. + + + + + Points are grouped by Days. + + + + + Points are grouped by Hours. + + + + + Points are grouped by Minutes. + + + + + Points are grouped by Seconds. + + + + + Points are grouped by Milliseconds. + + + + + Specifies which pie value to explode. + + + + + Do not explode pie values. + + + + + Explode the biggest value. + + + + + Explode the lowest value. + + + + + Explode the value specified in the property. + + + + + Specifies which data points to collect into one point. + + + + + Do not collect points. + + + + + Show top N points (N value is specified in the + property), collect other points into one. + + + + + Show bottom N points (N value is specified in the + property), collect other points into one. + + + + + Collect points which have Y value less than specified + in the property. + + + + + Collect points which have Y value less than percent specified + in the property. + + + + + Collect points which have Y value greater than specified + in the property. + + + + + Collect points which have Y value greater than percent specified + in the property. + + + + + Represents a MS Chart series wrapper. + + + This class provides a data for MS Chart series. The series itself is stored inside the + MS Chart and is accessible via the property. + You don't need to create an instance of this class directly. Instead, use the + method. + + + + + Gets os sets the data filter expression. + + + The filter is applied for this series only. You can also use the + property to set a filter that will be applied to all + series in a chart. + + + + + Gets or set the data column or expression for automatically created series. + + + In order to create auto-series, you need to define one series that will be used as a + template for new series, and set up the property. + The value of this property will be a name of new series. If there is no series + with such name yet, the new series will be added. + + + + + Gets or sets the sort method used to sort data points. + + + You have to specify the property as well. Data points in this series + will be sorted according selected sort criteria and order. + + + + + Gets or set Force automatically created series. + + + + + Gets or sets the sort order used to sort data points. + + + You have to specify the property as well. Data points in this series + will be sorted according selected sort criteria and order. + + + + + Gets or sets the group method used to group data points. + + + This property is mainly used when series is filled with data with several identical X values. + In this case, you need to set the property to XValue. All identical data points will be + grouped into one point, their Y values will be summarized. You can choose the summary function + using the property. + + + + + Gets or sets the group interval. + + + This value is used if property is set to Number. + + + + + Gets or sets the function used to group data points. + + + + + Gets or sets the collect method used to collect several data points into one. + + + This instrument for data processing allows to collect several series points into one point. + The collected point will be displaed using the text specified in the + property and color specified in the property. + For example, to display top 5 values, set this property to TopN and specify + N value (5) in the property. + + + + + Gets or sets the collect value used to collect several data points into one. + + + This property is used if the property is set to any value other than None. + + + + + Gets or sets the text for the collected value. + + + + + Gets or sets the color for the collected value. + + + If this property is set to Transparent (by default), the default palette color + will be used to display a collected point. + + + + + Gets or sets the method used to explode values in pie-type series. + + + + + Gets or sets the value that must be exploded. + + + This property is used if property is set + to SpecificValue. + + + + + Gets or sets the data column or expression that returns the X value of data point. + + + + + Gets or sets the data column or expression that returns the first Y value of data point. + + + + + Gets or sets the data column or expression returns the second Y value of data point. + + + + + Gets or sets the data column or expression returns the third Y value of data point. + + + + + Gets or sets the data column or expression returns the fourth Y value of data point. + + + + + Gets or sets the data column or expression that returns the color of data point. + + + + + Gets or sets the data column or expression returns the label value of data point. + + + + + Gets a reference to MS Chart Series object. + + + Use this property to set many options available for the Series object. These options + include: visual appearance, labels, marks, value types. Refer to the Microsoft Chart control + documentation to learn more. + + + + + Gets a number of Y value per data point. + + + Number of Y values depends on series type. Most of series have only one Y value. Financial + series such as Stock and Candlestick, use four Y values. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + Clears all data points in this series. + + + + + Adds a data point with specified X and Y values. + + X value. + Array of Y values. + + Note: number of values in the yValues parameter must be the same as value returned + by the property. + + + + + + + + Creates a new instance of the class with default settings. + + + + + Represents a collection of objects. + + + + + Gets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Resets series data. + + + + + Processes the current data row. + + + + + Finishes the series data. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + SVG object + + + + + + + + + + + + + + Invokes the object's editor. + + true if object was edited succesfully. + + + + Gets or sets svg document + + + + + Gets or sets ViewBox value + + + + + Gets or sets AspectRatio value + + + + + + + + Gets or sets grayscale svg document + + + + + Gets or sets a value indicating that the image should be displayed in grayscale mode. + + + + + Returns SVG string + + + + + + + + + + + + + + + + + + + + + + + Returns clone of this object + + + + + + Sets svg object by SvgDocument + + SVG document + + + + Sets svg object from specified path + + path to SVG file + + + + Sets svg object from svg string + + SVG string + + + + Initializes a new instance of the class with default settings. + + + + + Represents a table row. + + + Use the property to set the height of a row. If + property is true, the row will calculate its height automatically. + You can also set the and properties + to restrict the row's height. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + Gets or sets a height of the row, in pixels. + + + The row height cannot exceed the range defined by the + and properties. + To convert between pixels and report units, use the constants defined + in the class. + + + + + Gets or sets the minimal height for this row, in pixels. + + + + + Gets or sets the maximal height for this row, in pixels. + + + + + Gets or sets a value determines if the row should calculate its height automatically. + + + The row height cannot exceed the range defined by the + and properties. + + + + + Gets or sets a value that determines if the component can break its contents across pages. + + + + + Gets the index of this row. + + + + + + + + Gets or sets the cell with specified index. + + Column index. + The TableCell object. + + + + Gets or sets the page break flag for this row. + + + + + Gets or sets the number of rows to keep on the same page. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Represents a table object that consists of several rows and columns. + + + To add/remove columns, use the collection. To add/remove + rows, use the collection. To initialize a table with specified number of + columns and rows, use and properties. + To print a table in code, use the event. In the manual build + mode, you can use aggregate functions. The following functions available: + + + Aggregate function + Description + + + Sum(cell) + Calculates the sum of values in specified table cell. + + + Min(cell) + Calculates the minimum of values in specified table cell. + + + Max(cell) + Calculates the maximum of values in specified table cell. + + + Avg(cell) + Calculates the average of values in specified table cell. + + + Count(cell) + Calculates the number of repeats of a specified table cell. + + + To print aggregate value, place the aggregate function call in the table cell: + [Count(Cell2)]. + + + + + + + + + + + + + + + + + + + + + + + + + + Represent expanding tags for add a new row/column. + + + + + Draw expanding tag. + + + + + + Allows to print table rows/columns dynamically. + + + This event is used to handle the table print process in a code. Using special methods + like , you can print specified rows/columns. + + First way is to repeat specified row(s) to get a table that will grow downwards. + To do this, you have to call the PrintRow method followed by the PrintColumns method. + + Another way is to repeat the specified column(s) to get a table that grows sidewards. + To do this, call the PrintColumn method followed by the PrintRows method. + + Finally, the third way is to repeat rows and columns. The table will grow downwards and + sidewards. To do this, call the PrintRow method followed by the PrintColumn + method (or vice versa). + + + + When you print a table row-by-row, you must call one of the PrintColumn, + PrintColumns methods right after the PrintRow method. + In the same manner, when you print a table column-by-column, call one of the + PrintRow, PrintRows methods right after the PrintColumn method. + If you ignore this rule you will get an exception. + + + + In this example, we will consider all three ways to print a table which has 3 rows and 3 columns. + Case 1: print a table downwards. + + // print table header (the first row) + Table1.PrintRow(0); + Table1.PrintColumns(); + // print table body (the second row) + for (int i = 0; i < 10; i++) + { + Table1.PrintRow(1); + Table1.PrintColumns(); + } + // print table footer (the third row) + Table1.PrintRow(2); + Table1.PrintColumns(); + + + Case 2: print a table sidewards. + + // print table header (the first column) + Table1.PrintColumn(0); + Table1.PrintRows(); + // print table body (the second column) + for (int i = 0; i < 10; i++) + { + Table1.PrintColumn(1); + Table1.PrintRows(); + } + // print table footer (the third column) + Table1.PrintColumn(2); + Table1.PrintRows(); + + + Case 3: print a table downwards and sidewards. + + // print the first row with all its columns + Table1.PrintRow(0); + // print header column + Table1.PrintColumn(0); + // print 10 data columns + for (int i = 0; i < 10; i++) + { + Table1.PrintColumn(1); + } + // print footer column + Table1.PrintColumn(2); + + // print table body (the second row) + for (int i = 0; i < 10; i++) + { + // print data row with all its columns + Table1.PrintRow(1); + Table1.PrintColumn(0); + for (int j = 0; j < 10; j++) + { + Table1.PrintColumn(1); + } + Table1.PrintColumn(2); + } + + // print table footer (the third row) + Table1.PrintRow(2); + // again print all columns in the table footer + Table1.PrintColumn(0); + for (int i = 0; i < 10; i++) + { + Table1.PrintColumn(1); + } + Table1.PrintColumn(2); + + + + + + Gets or sets a script method name that will be used to handle the + event. + + + If you use this event, you must handle the table print process manually. + See the event for details. + + + + + Determines whether to manage cell spans automatically during manual build. + + + The default value for this property is true. If you set it to false, you need to manage + spans in your ManualBuild event handler. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This method fires the ManualBuild event and the script code connected to the ManualBuildEvent. + + Event data. + + + + Prints a row with specified index. + + Index of a row to print. + + See the event for more details. + + + + + Prints rows with specified indices. + + Indices of rows to print. + + See the event for more details. + + + + + Prints all rows. + + + See the event for more details. + + + + + Prints a column with specified index. + + Index of a column to print. + + See the event for more details. + + + + + Prints columns with specified indices. + + Indices of columns to print. + + See the event for more details. + + + + + Prints all columns. + + + See the event for more details. + + + + + Adds a page before rows or columns. + + + Call this method to insert a page break before the next row or column that you intend to print + using PrintRow(s) or PrintColumn(s) methods. + See the event for more details. + + + + + Initializes a new instance of the class. + + + + + Represents a table column. + + + Use the property to set the width of a column. If + property is true, the column will calculate its width automatically. + You can also set the and properties + to restrict the column's width. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + Gets or sets a width of the column, in pixels. + + + The column width cannot exceed the range defined by the + and properties. + To convert between pixels and report units, use the constants defined + in the class. + + + + + Gets or sets the minimal width for this column, in pixels. + + + + + Gets or sets the maximal width for this column, in pixels. + + + + + Gets or sets a value determines if the column should calculate its width automatically. + + + The column width cannot exceed the range defined by the + and properties. + + + + + Gets the index of this column. + + + + + + + + Gets or sets the page break flag for this column. + + + + + Gets or sets the number of columns to keep on the same page. + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + Represents a table cell. + + + Use , properties to set the cell's + column and row spans. To put an object inside the cell, use its property: + + TableCell cell1; + PictureObject picture1 = new PictureObject(); + picture1.Bounds = new RectangleF(0, 0, 32, 32); + picture1.Name = "Picture1"; + cell1.Objects.Add(picture1); + + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets a collection of objects contained in this cell. + + + + + Gets or sets the column span for this cell. + + + + + Gets or sets the row span for this cell. + + + + + + + + Gets or sets a value that determines how to display duplicate values in the cells of the same group. + + + + + Ges or sets data associated with this cell. For internal use only. + + + + + Gets the address of this cell. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + + + + Gets the TableBase object which this cell belongs to. + + + + + + + + Creates the exact copy of this cell. + + The copy of this cell. + + + + Determines if two cells have identical settings. + + Cell to compare with. + true if cells are equal. + + + + + + + Changes the cell's style. + + The new style. + + Each cell in a dynamic table object (or in a matrix) has associated style. + Several cells may share one style. If you try to change the cell's appearance directly + (like setting cell.TextColor), it may affect other cells in the table. + To change the single cell, use this method. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class. + + + + + The base class for table-type controls such as and + . + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + This property is not relevant to this class. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets a collection of table rows. + + + + + Gets a collection of table columns. + + + + + Gets or sets the number of fixed rows that will be repeated on each page. + + + + + Gets or sets the number of fixed columns that will be repeated on each page. + + + + + Gets or sets the value that determines whether to print the dynamic table (or matrix) on its parent band directly. + + + By default the dynamic table (matrix) is printed on its own band and is splitted on pages if necessary. + + + + + Gets or sets a value that determines whether is necessary to repeat table header on each page. + + + To define a table header, set the and + properties. + + + + + Gets or sets a value that determines whether is necessary to repeat table Row header on each page. + + + To define a table Row header, set the + properties. + + + + + Gets or sets a value that determines whether is necessary to repeat table Column header on each page. + + + To define a table Column header, set the + properties. + + + + + Gets or sets the table layout. + + + This property affects printing the big table that breaks across pages. + + + + + Gets or sets gap between parts of the table in wrapped layout mode. + + + This property is used if you set the property to Wrapped. + + + + + Gets or sets a value that determines whether to adjust the spanned cell's width when breaking the table across pages. + + + If set to true, the spanned cell's width will be adjusted to accomodate all contained text. + + + + + Gets or sets the table cell. + + Column index. + Row index. + The TableCell object that represents a cell. + + + + Gets or sets a number of columns in the table. + + + + + Gets or sets a number of rows in the table. + + + + + Gets a table which contains the result of rendering dynamic table. + + + Use this property to access the result of rendering your table in dynamic mode. + It may be useful if you want to center or right-align the result table on a page. + In this case, you need to add the following code at the end of your ManualBuild event handler: + + // right-align the table + Table1.ResultTable.Left = Engine.PageWidth - Table1.ResultTable.CalcWidth() - 1; + + + + + + + + + + + + + + + Gets data of the table cell with specified column and row numbers. + + The column number. + The row number. + TableCellData instance containing data of the table cell. + + + + Creates unique names for all table elements such as rows, columns, cells. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Calculates and returns the table width, in pixels. + + + + + + + + + + + Calculates a sum of values in a specified cell. + + The cell. + The object that contains calculated value. + + This method can be called from the ManualBuild event handler only. + + + + + Calculates a minimum of values in a specified cell. + + The cell. + The object that contains calculated value. + + This method can be called from the ManualBuild event handler only. + + + + + Calculates a maximum of values in a specified cell. + + The cell. + The object that contains calculated value. + + This method can be called from the ManualBuild event handler only. + + + + + Calculates an average of values in a specified cell. + + The cell. + The object that contains calculated value. + + This method can be called from the ManualBuild event handler only. + + + + + Calculates number of repeats of a specified cell. + + The cell. + The object that contains calculated value. + + This method can be called from the ManualBuild event handler only. + + + + + Initializes a new instance of the class. + + + + + Specifies the layout that will be used when printing a big table. + + + + + The table is printed across a pages then down. + + + + + The table is printed down then across a pages. + + + + + The table is wrapped. + + + + + Specifies how to display the duplicate values. + + + + + The TableCell can show duplicate values. + + + + + The TableCell with duplicate value will be shown but with no text. + + + + + Several TableCell objects with the same value will be merged into one object. + + + + + Several TableCell objects with the same non-empty value will be merged into one object. + + + + + Represents data of the table cell. + + + + + Gets or sets parent table of the cell. + + + + + Gets or sets objects collection of the cell. + + + + + Gets or sets text of the table cell. + + + + + Gets or sets value of the table cell. + + + + + Gets or sets hyperlink value of the table cell. + + + + + Gets or sets column span of the table cell. + + + + + Gets or sets row span of the table cell. + + + + + Gets or sets the address of the table cell. + + + + + Gets the table cell. + + + + + Gets style of table cell. + + + + + Gets original the table cell. + + + + + Gets width of the table cell. + + + + + Gets height of the table cell. + + + + + Initializes a new instance of the class. + + + + + Attaches the specified table cell. + + The table cell instance. + This method is called when we load the table. + + + + Assigns another instance. + + The table cell data that used as a source. + This method is called when we copy cells or clone columns/rows in a designer. + + + + Assigns another instance at run time. + + The table cell data that used as a source. + This flag shows should children be copied or not. + This method is called when we print a table. We should create a copy of the cell and set the style. + + + + Sets style of the table cell. + + The new style of the table cell. + + + + Disposes the instance. + + + + + Calculates width of the table cell. + + The value of the table cell width. + + + + Calculates height of the table cell. + + The width of the table cell. + The value of the table cell height. + + + + Represents a collection of objects. + + + + + Gets a column with specified index. + + Index of a column. + The column with specified index. + + + + + + + + + + Represents a result table. + + + Do not use this class directly. It is used by the and + objects to render a result. + + + + + Occurs after calculation of table bounds. + + + You may use this event to change automatically calculated rows/column sizes. It may be useful + if you need to fit dynamically printed table on a page. + + + + + + + + + + + Creates a new instance of the class. + + + + + Represents a collection of objects. + + + + + Gets a row with specified index. + + Index of a row. + The row with specified index. + + + + + + + + + + Represents the "Blank Report" wizard. + + + + + + + + Represents the "Inherited Report" wizard. + + + + + + + + Represents the "Label" wizard. + + + + + Gets a selected label manufacturer. + + + + + Gets a selected label name. + + + + + Gets the XML item containing a selected label parameters. + + + + + + + + Initializes a new instance of the class with the default settings. + + + + + Represents the "New Data Source" wizard. + + + + + + + + Represents the "Standard Report" wizard. + + + + + + + + The base class for all report wizards. + + + To create own wizard, use this class as a base. All you need is to override + the method. To register a wizard, use the + method. + + + + + Runs the wizard. + + Report designer. + true if wizard was executed succesfully. + + This method is called when you select a wizard in the "Add New Item" window and + click "Add" button. You should do the work in this method. + + + + + Represents the "New Dialog" wizard. + + + + + + + + Represents the "New Page" wizard. + + + + + + + + Represents a RichText object that can display formatted text. + + + Use the property to set the object's text. The text may include + the RTF formatting tags. + + + + + + + + + + + + + + Gets or sets the object's text. + + + This property returns the formatted text with rtf tags. + + + + + Gets or sets a name of the data column bound to this control. + + + Value must contain the datasource name, for example: "Datasource.Column". + + + + + Gets the actual text start. + + + This property is for internal use only; you should not use it in your code. + + + + + Gets the actual text length. + + + This property is for internal use only; you should not use it in your code. + + + + + Gets or sets the break style. + + + Set this property to true if you want editable rich text when you edit the prepared report page. + + + + + Experimental feature for translation of RichText into report objects + + + + + This property not described + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Called from RichObject.CalcHeight() + + + + + + The DIGEST-MD5 SASL authentication mechanism. + + + + + The mechanism name. + + + + + Initializes a new instance of the class. + + The username. + The user's password. + + + + + + + The PLAIN SASL authentication mechanism. + + + + + The mechanism name. + + + + + Initializes a new instance of the class. + + The username. + The user's password. + + + + Computes the client response for server challenge. + + The challenge from server. Usually empty for PLAIN mechanism. + The response from client. + + + + The base abstarct class for all SASL mechanisms. + + + + + Gets or sets the name of mechanism. + + + + + Gets or sets the username. + + + + + Gets or sets the user's password. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with specified parameters. + + The username. + The user's password. + + + + Computes client response for server challenge. + + The server challenge. + The client response. + + + + Gets the base64-encoded client response fo the server challenge. + + The base64-string containing server challenge. + The base64-string containing client response. + + + + Gets the client response for the server challenge. + + Byte array containing server challenge. + Byte array containing client response. + + + + The base class for all messengers. + + + + + Gets the filename. + + + + + Gets or sets the proxy settings. + + + + + Initializes a new instance of the class. + + + + + Authorizes the user. + + True if user has been successfully authorized. + + + + Prepares the report before it will be send. + + The report template. + The export filter. + Memory stream that contains prepared report. + + + + Sends the report. + + The report template that should be sent. + The export filter that should export template before. + True if report has been successfully sent. + + + + Represents form of messenger. + + + + + Gets or sets the report template. + + + + + Gets or sets the list of exports. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The report template. + + + + Initializes the list of exports. + + + + + Gets the proxy settings. + + The proxy settings. + + + + Initializes the component. + + + + + Checks is the string numeric. + + The checking string. + True if string is numeric, otherwise false. + + + + Finishes the form work. + + Returns true if work has been successfully finished, otherwise false. + + + + + + + SelectedIndexChanged event handler for ComboBox File Type. + + Event sender. + Event args. + + + + Click event handler for Button Settings. + + Event sender. + Event args. + + + + FormClosing event handler for CloudStorageClientForm. + + Event sender. + Event args. + + + + Click event handler for button OK. + + Event sender. + Event args. + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Page File. + + + + + Page Proxy. + + + + + ComboBox File Type. + + + + + Label File Type. + + + + + Buttons Settings. + + + + + Label Colon. + + + + + Label Password. + + + + + Label Username. + + + + + Label Server. + + + + + TextBox Username. + + + + + TextBox Port. + + + + + TextBox Server. + + + + + TextBox Password. + + + + + PageControl pageControl1. + + + + + Represents proxy settings of the messenger. + + + + + Gets or sets the proxy server. + + + + + Gets or sets the port number of proxy server. + + + + + Gets or sets the username. + + + + + Gets or sets the user's password. + + + + + Gets or sets the type of proxy. + + + + + Initializes a new instance of the class. + + The proxy server. + The port number of server. + The username. + The user's password. + The type of proxy. + + + + Represents the type of rpoxy. + + + + + The HTTP proxy type. + + + + + The SOCKS4 proxy type. + + + + + The SOCKS5 proxy type. + + + + + Represents the IQ stanza. + + + + + Gets or sets the type of iq. + + + + + Initializes a new instance of the class with specified parameters. + + The namespace of the iq. + The type of iq. + The JID of the sender. + The JID of the recipient. + The ID of the iq. + The language of the iq. + The data of the iq. + + + + Initializes a new instance of the class using specified XmlElement instance. + + The XmlElement instance using like a data. + + + + Represents the XMPP message. + + + + + Gets or sets the type of message. + + + + + Initializes a new instance of the class with specified parameters. + + The namespace of the message. + The type of message. + The JID of the sender. + The JID of the recipient. + The ID of the message. + The language of the message. + The data of the message. + + + + Initializes a new instance of the class using specified XmlElement instance. + + The XmlElement instance using like a data. + + + + Represents the XMPP Presence. + + + + + Initializes a new instance of the class with specified parameters. + + The namespace of the presence. + The JID of the sender. + The JID of the recipient. + The ID of the presence. + The language of the presence. + The data of the presence. + + + + Initializes a new instance of the class using specified XmlElement instance. + + The XmlElement instance using like a data. + + + + Represents the base class for XML stanzas used in XMPP. + + + + + Gets the data of the stanza. + + + + + Gets or sets the JID of the sender. + + + + + Gets or sets the JID of the recipient. + + + + + Gets or sets the ID of the stanza. + + + + + Gets or sets the language of the stanza. + + + + + Initializes a new instance of the class with specified parameters. + + The namespace of the stanza. + The JID of the sender. + The JID of the recipient. + The ID of the stanza. + The language of the stanza. + The data of the stanza. + + + + Initializes a new instance of the class using specified XmlElement instance. + + The XmlElement instance using like a data. + + + + Converts stanza to string. + + String containing stanza value. + + + + The parser for XMPP XML-streams. + + + + + Initializes a new instance of the class. + + The stream for parsing. + True to leave the stream opened after closing the StreamReader instance. + + + + Read the XML stream up to opening "stream:stream" tag. + + + + + Reads the next XML element from the stream. + + The list of XML elements that are expected. + The XML element. + + + + Closes the stream parser. + + + + + Releases all resources used by the current instance of the class. + + + + + Represents a static class to simplify the work with XmlElement instance. + + + + + Creates a new XmlElement instance. + + The name of the element. + The namespace of the element. + A new instance of the class. + + + + Adds the specified child to the end of child nodes of element. + + The element for add the child to. + The child node to add. + A XmlElement instance. + + + + Adds the attribute to XmlElement with spefied name and value. + + The element for add the attribute to. + The name of attribute. + The value of attribute. + A XmlElement instance. + + + + Adds the specified text to the end of child nodes of element. + + The element for add the text to. + The text for add. + A XmlElement instance. + + + + Converts the XmlElement instance to a string. + + The element to convert to. + True if needed to include XML declaration. + True if needed to leave the tag of an empty element open. + The XmlElement instance as string. + + + + Represents the XMPP messenger. + + + + + Gets or sets the username. + + + + + Gets or sets the user's password. + + + + + Gets or sets the hostname of XMPP server. + + + + + Gets or sets the port number of the XMPP service of the server. + + + + + Gets or sets the username to send file to. + + + + + Gets or sets the JID to send from. + + + + + Gets or set the JID to send to. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with specified parameters. + + Username. + Password. + Hostname. + Port. + Username to send file to. + Send to user's resource. + + + + Initializes a new instance of the class with specified parameters. + + User's JID without resource. + User's password. + JID to send to with resource. + + + + Sends the specified string to the server. + + The string to send. + + + + Initiates the stream to the server. + + The hostname. + The features response of the server. + + + + Validates the server certificate. + + The sender object. + X509 certificate. + The X509 chain. + The SSL policy errors. + True if successfull. + + + + Secures the stream by TLS. + + The hostname. + The features response of the server. + + + + Selects the SASL authentication mechanism. + + List of mechanisms. + The string containing mechanism name. + + + + Authenticates the user on the server using Plain mechanism. + + + + + Authenticates the user on the server using Digest-MD5 mechanism. + + + + + Authenticates the user on the server. + + The SASL mechanisms list. + + + + Setups the connection with the server. + + + + + Binds resource and gets the full JID that will be associated with current session. + + The full session JID. + + + + Opens session between client and server. + + The id of the opened session. + + + + Connects to the server. + + + + + Sends the message. + + The text of the message. + True if message has been successfully sent. + + + + Sends the presence. + + The text of the presence. + True if presence has been successfully sent. + + + + Initiates the In Band Bytestream for sending the file (XEP-0047). + + True if bytestream has been successfully initiated. + + + + Sends the chunk to the XMPP server. + + The data of the chunk. + The number of the chunk. + + + + Sends the file using In Band Bytestream. + + The memory stream containing data of the file. + True if file has been successfully sent. + + + + Sends the file using FastReport Cloud as a proxy server. + + The report template. + The export filter to export report before sending. + True if file has been successfully sent. + + + + Disconnects from the server. + + + + + + + + + + + Closes the connection. + + + + + Releases all the resources used by the XMPP messenger. + + + + + Represents the form of the XMPP messenger. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with specified parameters. + + User's JID without resource. + User's password. + Send to user's JID. + Report template. + + + + + + + + + + + + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Provides a type converter for a property representing a reference to another component in a report. + + + + + + + + + + + + + + + + + Blocks keyboard editing, you need to select a value from the drop-down list for editing + + + + + Provides a type converter for a property representing a value measured in the current report units. + + + + + + + + + + + + + + + + + Provides a type converter for a property representing an expandable object. + + + + + + + + + + + + + + + + + Provides a type converter for a property representing a data type. + + + + + + + + + + + + + + + + + The FastReport.dll assembly initializer. + + + + + Registers all core objects, wizards, export filters. + + + + + The FastReport dll assembly initializer. + + + + + Registers all core objects, wizards, export filters. + + + + + Represents a collection of bands. + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with specified owner. + + Owner that owns this collection. + + + + The layout of the data band columns. + + + + + Print columns across then down. + + + + + Print columns down then across. + + + + + This class holds the band columns settings. It is used in the property. + + + + + Gets or sets the number of columns. + + + Set this property to 0 or 1 if you don't want to use columns. + + + + + The column width, in pixels. + + + + + Gets or sets the layout of the columns. + + + + + Gets or sets the minimum row count that must be printed. + + + This property is used if the Layout property is set to DownThenAcross. 0 means that + FastReport should calculate the optimal number of rows. + + + + + Assigns values from another source. + + Source to assign from. + + + + Initializes a new instance of the BandColumns class with default settings. + + + + + Specifies a set of actions that cannot be performed on the object in the design mode. + + + + + Specifies no restrictions. + + + + + Restricts moving the object. + + + + + Restricts resizing the object. + + + + + Restricts modifying the object's properties. + + + + + Restricts editing the object. + + + + + Restricts deleting the object. + + + + + Hides all properties of the object. + + + + + Specifies a set of actions that can be performed on the object in the design mode. + + + + + Specifies no actions. + + + + + Allows moving the object. + + + + + Allows resizing the object. + + + + + Allows deleting the object. + + + + + Allows editing the object. + + + + + Allows changing the Z-order of an object. + + + + + Allows moving the object to another parent. + + + + + Allows copying the object to the clipboard. + + + + + Allows drawing the object. + + + + + Allows grouping the object. + + + + + Allows write children in the preview mode by itself. + + + + + Allows write object's bounds into the report stream. + + + + + Allows the "smart tag" functionality. + + + + + Specifies that the object's name is global (this is true for all report objects + such as Text, Picture and so on). + + + + + Specifies that the object can display children in the designer's Report Tree window. + + + + + Specifies that the object supports mouse wheel in the preview window. + + + + + Specifies the style of a border line. + + + + + Specifies a solid line. + + + + + Specifies a line consisting of dashes. + + + + + Specifies a line consisting of dots. + + + + + Specifies a line consisting of a repeating pattern of dash-dot. + + + + + Specifies a line consisting of a repeating pattern of dash-dot-dot. + + + + + Specifies a double line. + + + + + Specifies a custom line. + + + + + Specifies the sides of a border. + + + + + Specifies no border lines. + + + + + Specifies the left border line. + + + + + Specifies the right border line. + + + + + Specifies the top border line. + + + + + Specifies the bottom border line. + + + + + Specifies all border lines. + + + + + Represents a single border line. + + + + + Gets or sets a color of the line. + + + + + Gets or sets a style of the line. + + + + + Gets or sets a width of the line, in pixels. + + + + + + + + + + + Represents a border around the report object. + + + Border consists of four lines. Each line has own color, style and width. Lines are accessible through + , , , properties. + + To turn on and off the lines, use the property. To set the same color, style or width + for each line, use , , properties of the Border. + + + + + Gets or sets a color of the border. + + + This property actually returns a color of the . When you assign a value + to this property, the value will be set to each border line. + + + + + Gets or sets a value determines whether to draw a shadow. + + + + + Gets or sets a shadow width, in pixels. + + + + + Gets or sets a shadow color. + + + + + Gets or sets a style of the border. + + + This property actually returns a style of the . When you assign a value + to this property, the value will be set to each border line. + + + + + Gets or sets a visible lines of a border. + + + + + Gets or sets a width of the border, in pixels. + + + This property actually returns a width of the . When you assign a value + to this property, the value will be set to each border line. + + + + + Gets or sets the left line of the border. + + + + + Gets or sets the top line of the border. + + + + + Gets or sets the right line of the border. + + + + + Gets or sets the bottom line of the border. + + + + + Gets or sets a value determines that Border must serialize only one line. + + + This property is for internal use only. + + + + + Creates the exact copy of this Border. + + A copy of this border. + + + + + + + + + + Serializes the border. + + Writer object. + Border property name. + Another Border to compare with. + + This method is for internal use only. + + + + + Draw the border using draw event arguments and specified bounding rectangle. + + Draw event arguments. + Bounding rectangle. + + This method is for internal use only. + + + + + Initializes a new instance of the class with default settings. + + + + + Base class for report components that can break across pages. + + + + + Gets or sets a value that determines if the component can break its contents across pages. + + + + + Gets or sets a reference to another similar object that will be used for displaying the + text that not fit in this object. + + + + + + + + + + + Breaks the contents of the object. + + Object to put the part of content to that does not fit in this object. These two + objects must have the same type. + true if there is enough space in this object to display at least one text line. + + + Do not call this method directly, it is used by the report engine. You should override it if + you are writing a new FastReport object. + + + This method must break the contents of the object. The part of content that fit in current object's + bounds should remain in this object, the part that does not fit should be transferred to breakTo + object. + + + + + + Initializes a new instance of the BreakableComponent class with default settings. + + + + + Specifies a line cap style. + + + + + Specifies a line without a cap. + + + + + Specifies a line with a circle cap. + + + + + Specifies a line with a square cap. + + + + + Specifies a line with a diamond cap. + + + + + Specifies a line with an arrow cap. + + + + + Specifies a start and end line caps. + + + + + Gets or sets a width of the cap. + + + + + Gets or sets a height of the cap. + + + + + Gets or sets a cap style. + + + + + Assigns values from another source. + + Source to assign from. + + + + Creates exact copy of this object. + + Copy of this object. + + + + + + + + + + Serializes the cap settings. + + Name of the cap property. + Writer object. + Another cap to compare with. + + This method is for internal use only. + + + + + Initializes a new instance of the CapSettings class with default settings. + + + + + Specifies a symbol that will be displayed when a is in the checked state. + + + + + Specifies a check symbol. + + + + + Specifies a diagonal cross symbol. + + + + + Specifies a plus symbol. + + + + + Specifies a filled rectangle. + + + + + Specifies a symbol that will be displayed when a is in the unchecked state. + + + + + Specifies no symbol. + + + + + Specifies a diagonal cross symbol. + + + + + Specifies a minus symbol. + + + + + Specifies a slash symbol. + + + + + Specifies a back slash symbol. + + + + + This class represents a column footer band. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + Initializes a new instance of the class with default settings. + + + + + This class represents a column header band. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + Initializes a new instance of the class with default settings. + + + + + Represents a collection of highlight conditions used in the property + of the . + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Adds the specified elements to the end of this collection. + + Array of elements to add. + + + + Adds an object to the end of this collection. + + Object to add. + Index of the added object. + + + + Inserts an object into this collection at the specified index. + + The zero-based index at which value should be inserted. + The object to insert. + + + + Removes the specified object from the collection. + + Object to remove. + + + + Returns the zero-based index of the first occurrence of an object. + + The object to locate in the collection. + The zero-based index of the first occurrence of value within the entire collection, if found; + otherwise, -1. + + + + Determines whether an element is in the collection. + + The object to locate in the collection. + true if object is found in the collection; otherwise, false. + + + + + + + + + + Copies conditions from another collection. + + Collection to copy from. + + + + + + + + + + This class represents a data band footer. + + + + + This class represents a header of the data band. + + + + + Specifies the image format in SVG export. + + + + + Specifies the .png format. + + + + + Specifies the .jpg format. + + + + + Drawing objects to a svg + + + + + For setting namespace, clear all attributes on setting, therefore use this property before setting other svg options + + + + + Initialize a new Graphics for SVG, it's rendered to xml, layer by layer, not one image, + set the Size of this graphics in Size property + + + + + Sets or gets prefix for style and object ids + + + + + Base class for all fills. + + + + + Returned true if Color = Transparent + + + + + Creates exact copy of this fill. + + Copy of this object. + + + + Creates the GDI+ Brush object. + + Drawing rectangle. + Brush object. + + + + Creates the GDI+ Brush object with scaling. + + Drawing rectangle. + X scaling coefficient. + Y scaling coefficient. + Brush object. + + + + Serializes the fill. + + Writer object. + Name of the fill property. + Fill object to compare with. + + This method is for internal use only. + + + + + Fills the specified rectangle. + + Draw event arguments. + Drawing rectangle. + + + + Class represents the solid fill. + + + + + Gets or sets the fill color. + + + + + + + + + + + + + + + + + + + + + + + Initializes the class with Transparent color. + + + + + Initializes the class with specified color. + + + + + + Class represents the linear gradient fill. + + + + + Gets or sets the start color of the gradient. + + + + + Gets or sets the end color of the gradient. + + + + + Gets or sets the angle of the gradient. + + + + + Gets or sets the focus point of the gradient. + + + Value is a floating point value from 0 to 1. + + + + + Gets or sets the gradient contrast. + + + Value is a floating point value from 0 to 1. + + + + + + + + + + + + + + + + + + + + Initializes the class with default settings. + + + + + Initializes the class with start and end colors. + + Start color. + End color. + + + + Initializes the class with start, end colors and angle. + + Start color. + End color. + Angle. + + + + Initializes the class with start and end colors, angle, focus and contrast. + + Start color. + End color. + Angle. + Focus. + Contrast. + + + + The style of the path gradient. + + + + + Elliptic gradient. + + + + + Rectangular gradient. + + + + + Class represents the path gradient fill. + + + + + Gets or sets the center color of the gradient. + + + + + Gets or sets the edge color of the gradient. + + + + + Gets or sets the style of the gradient. + + + + + + + + + + + + + + + + + + + + Initializes the class with default settings. + + + + + Initializes the class with center, edge colors and style. + + Center color. + Edge color. + Gradient style. + + + + Class represents the hatch fill. + + + + + Gets or sets the foreground color. + + + + + Gets or sets the background color. + + + + + Gets or sets the hatch style. + + + + + + + + + + + + + + + + + + + + Initializes the class with default settings. + + + + + Initializes the class with foreground, background colors and hatch style. + + Foreground color. + Background color. + Hatch style. + + + + Class represents the glass fill. + + + + + Gets or sets the fill color. + + + + + Gets or sets the blend value. + + Value must be between 0 and 1. + + + + + Gets or sets a value determines whether to draw a hatch or not. + + + + + + + + + + + + + + + + + + + + + + + Initializes the class with default settings. + + + + + Initializes the class with given color, blend ratio and hatch style. + + Color. + Blend ratio (0..1). + Display the hatch. + + + + Class represents the Texture fill. + + + + + Gets or sets value, indicating that image should preserve aspect ratio + + + + + Gets or sets the image width + + + + + Gets or sets the image height + + + + + Gets or sets the texture wrap mode + + + + + Gets or sets the image index + + + + + Gets or sets the image data + + + + + Image left offset + + + + + Image top offset + + + + + Sets image data to imageData + + input image data + + + + Set image + + input image + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes the class with default texture. + + + + + Initializes the class with specified image. + + + + + + Initializes the class with specified image. + + + + + Font header + + + + + Font name same as System.Drawing.Font.Name in modern Windows + + + + + Font name same as System.Drawing.Font.FontFamily.Name in modern Windows + + + + + This format found in Microsoft Windows Server 2016 + + + + + Adobe font name + + + + + Stream with raw font data. + + + + + Creates a new instance of the class. + + TrueType raw data stream + Keep open raw data stream after disposing FontStream + + + + FastName of font stream + + + + + TrueTypeFont object + + + + + Create outline for group of characters + + text as array of glyph's indexes + position of text + font size + text in form of outline vectors + + + + Create outline for text string + + text which will be transformed to outline + position of text + font size in px + text in form of outline vectors + + + + + + + Expected default behaviour as version 2020.3 + + + + + We use dictionary and pack "Index To Location" table (reorder glyph indexes) + + + + + Get or set current script + + + + + Get or set current Language + + + + + Get available scripts + + + + + Get available languages for script + + + + + + + Get available features for language and script + + + + + + + + Prepare tables for drawing, subsetting and so on + + always true + + + + Return raw image of the font + + Array of font bytes + + + + Return full raw image of the font + + Array of font bytes + + + + Cut some information from TTF file to reduce its size + + Alphabet subset dictionary + Describes how to pack font + + + + + Parse font supplement tables which store properties of the font + + + + + Create glyph outline assigned to specific position + + unicode character which will be drawn + size of the character + position of outline + outline of character + + + + Get glyph's outline + + unicode charter + outline image size + + + + + Constructor of TrueTypeFont object + + Strean with font + Disposition of subfont within collection file. Non-zero for font collections + + + + Description of SCRIPT_STATE structure + + + + + data + + + + + uBidiLevel + + + + + SetRtl + + + + + Description of SCRIPT_ANALYSIS structure + + + + + data + + + + + state + + + + + Description of SCRIPT_CONTROL structure + + + + + data + + + + + Description of SCRIPT_DIGITSUBSTITUTE structure + + + + + NationalDigitLanguage + + + + + TraditionalDigitLanguage + + + + + DigitSubstitute + + + + + dwReserved + + + + + Description of SCRIPT_ITEM structure + + + + + iCharPos + + + + + analysis + + + + + Description of SCRIPT_VISATTR structure + + + + + data + + + + + Description of GOFFSET structure + + + + + du + + + + + dv + + + + + Description of ABC structure + + + + + abcA + + + + + abcB + + + + + abcC + + + + + Description of FontRect structure + + + + + Description of FontPoint structure + + + + + Description of OutlineTextMetric structure + + + + + Emulation of Uniscribe GetOutlineTextMetrics + + Reference to metric structure + + + + Translate text to positions of glyphs in glyph tables and glyphs width + + + size in px + + + + + + + + + Destructor of TrueTypeFont object + + + + + Font descriptor + + + + + Indicates that the point is the start of a figure. + + + + + Indicates that the point is one of the two endpoints of a line. + + + + + Indicates that the point is an endpoint or control point of a cubic Bézier spline. + + + + + Masks all bits except for the three low-order bits, which indicate the point type. + + + + + Specifies that the point is a marker. + + + + + Specifies that the point is the last point in a closed subpath (figure). + + + + + FontHeader table + + + + + Define type of font file + + + + + Classic TrueType font + + + + + Collection of TrueType fonts + + + + + OpenType font format + + + + + + + + GlyphSubstitution table + + + + + Stream position must point to lookup record + + + + + + + Return true if was applied + + + + + + + + + Return coverageIndex for ApplyForce or if fail then return -1 + + + + + + + + Apply this Substitution with specified coverageIndex, cant be called only after IsApply + + + + + + + + + Table with encoded glyphs' outline + + + + + HorizontalMetrix table + + + + + IndexToLocation table + + + + + Kerning table + + + + + MaximumProfile table + + + + + Name table keep human friendly description about font properties, including font names, author and copyright notes + + + + + OS/2 and Windows Metrics table + + + + + Description of FontTextMetric structure + + + + + Description of FontPanose structure + + + + + Request font file + + System.Drawing.Font object + System/IO.Stream object + + + + Get full path to a font file by it's identifier + + font name with attributes + path to a font file + + + + assign full path to a font file to it's identifier + + font name with attributes + path to a font file + + + + Request font file location + + + + + Request font file location + + + + + Register font file + + + + + Will be removed soon + + + + + Different caching strategies + + + + + Progress callback type definition + + Progress information + + + + Progress callback event + + + + + Open and parse TrueType file + + + + + + + + Find all fonts files in directory and it's subdirectories + + Directory where find fond files + Defines file which collect found fonts + + + + Workaround function for avoid font duplicates + + if true then font append to collection, if false then font append to hash + Internal font structure + This parameter defines path to font file if file append to hash. Not used otherwise + + + + Parse raw image of font data and create TrueTypeFont objects from this image + + Defines font or collections + Pointer to memory of raw font data + + + + + + Build list of fonts + + Optional path to font.list folder. + + + + Enumerate available fonts + + + + + Base class which is parent of any table in TrueType font or collection + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines how boolean values are formatted and displayed. + + + + + Gets or sets a string that will be displayed if value is false. + + + + + Gets or sets a string that will be displayed if value is true. + + + + + + + + + + + + + + + + + Initializes a new instance of the BooleanFormat class with default settings. + + + + + Defines how currency values are formatted and displayed. + + + + + Gets or sets a value that determines whether to use system locale settings to format a value. + + + + + Gets or sets the number of decimal places to use in currency values. + + + + + Gets or sets the string to use as the decimal separator in currency values. + + + + + Gets or sets the string that separates groups of digits to the left of the decimal in currency values. + + + + + Gets or sets the string to use as the currency symbol. + + + + + Gets or sets the format pattern for positive currency values. + + This property can have one of the values in the following table. + The symbol "$" is the CurrencySymbol and n is a number. + + ValueAssociated Pattern + 0$n + 1n$ + 2$ n + 3n $ + + + + + + Gets or sets the format pattern for negative currency values. + + This property can have one of the values in the following table. + The symbol "$" is the CurrencySymbol and n is a number. + + ValueAssociated Pattern + 0 ($n) + 1 -$n + 2 $-n + 3 $n- + 4 (n$) + 5 -n$ + 6 n-$ + 7 n$- + 8 -n $ + 9 -$ n + 10n $- + 11$ n- + 12$ -n + 13n- $ + 14($ n) + 15(n $) + + + + + + + + + + + + + + + + + + Initializes a new instance of the CurrencyFormat class with default settings. + + + + + Represents a format that uses the Format string to display values. + + + + + Gets or sets a format string. + + + Default format is "G". For example, if you want to format a date, use the following + format string: "MM/dd/yyyy". See the System.String.Format method for list + of possible format strings. + + + + + + + + + + + + + + + + + Initializes a new instance of the CustomFormat class with default settings. + + + + + Defines how date values are formatted and displayed. + + + + + + + + Initializes a new instance of the DateFormat class with default settings. + + + + + Base class for all formats. + + + The format is used to format expression value in a object. + + + + + Gets the short format name (e.g. without a "Format" suffix). + + + + + Creates exact copy of this format. + + The copy of this format. + + + + Formats the specified value. + + The value to format. + The string that represents the formatted value. + + + + + + + + + + Represents a collection of formats used by the and + objects. + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Adds the specified elements to the end of this collection. + + Array of elements to add. + + + + Adds an object to the end of this collection. + + Object to add. + Index of the added object. + + + + Inserts an object into this collection at the specified index. + + The zero-based index at which value should be inserted. + The object to insert. + + + + Removes the specified object from the collection. + + Object to remove. + + + + Returns the zero-based index of the first occurrence of an object. + + The object to locate in the collection. + The zero-based index of the first occurrence of value within the entire collection, if found; + otherwise, -1. + + + + Determines whether an element is in the collection. + + The object to locate in the collection. + true if object is found in the collection; otherwise, false. + + + + + + + + + + Copies formats from another collection. + + Collection to copy from. + + + + + + + + + + Represents a format used to display values with no formatting. + + + + + + + + + + + + + + + + + Defines how numeric values are formatted and displayed. + + + + + Gets or sets a value that determines whether to use system locale settings to format a value. + + + + + Gets or sets the number of decimal places to use in numeric values. + + + + + Gets or sets the string to use as the decimal separator in numeric values. + + + + + Gets or sets the string that separates groups of digits to the left of the decimal in numeric values. + + + + + Gets or sets the format pattern for negative numeric values. + + This property can have one of the values in the following table. + The symbol n is a number. + + ValueAssociated Pattern + 0(n) + 1-n + 2- n + 3n- + 4n - + + + + + + + + + + + + + + + + + + Initializes a new instance of the NumberFormat class with default settings. + + + + + Defines how percent values are formatted and displayed. + + + + + Gets or sets a value that determines whether to use system locale settings to format a value. + + + + + Gets or sets the number of decimal places to use in percent values. + + + + + Gets or sets the string to use as the decimal separator in percent values. + + + + + Gets or sets the string that separates groups of digits to the left of the decimal in percent values. + + + + + Gets or sets the string to use as the percent symbol. + + + + + Gets or sets the format pattern for positive percent values. + + This property can have one of the values in the following table. + The symbol "%" is the PercentSymbol and n is a number. + + ValueAssociated Pattern + 0n % + 1n% + 2%n + 3% n + + + + + + Gets or sets the format pattern for negative percent values. + + This property can have one of the values in the following table. + The symbol "%" is the PercentSymbol and n is a number. + + ValueAssociated Pattern + 0 -n % + 1 -n% + 2 -%n + 3 %-n + 4 %n- + 5 n-% + 6 n%- + 7 -%n + 8 n %- + 9 % n- + 10% -n + 11n- % + + + + + + + + + + + + + + + + + + Initializes a new instance of the PercentFormat class with default settings. + + + + + Defines how time values are formatted and displayed. + + + + + + + + Initializes a new instance of the TimeFormat class with default settings. + + + + + Represents a group footer band. + + + + + Specifies a sort order. + + + This enumeration is used in the group header and in the "Matrix" object. + + + + + Specifies no sort (natural order). + + + + + Specifies an ascending sort order. + + + + + Specifies a descending sort order. + + + + + Represents a single highlight condition used by the property + of the . + + + + + Gets or sets a highlight expression. + + + This property can contain any valid boolean expression. If value of this expression is true, + the fill and font settings will be applied to the TextObject. + + + + + Gets or sets the visibility flag. + + + If this property is set to false, the Text object will be hidden if the + condition is met. + + + + + + + + + + + Creates exact copy of this condition. + + A copy of this condition. + + + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Specifies the hyperlink type. + + + + + Specifies the hyperlink to external URL such as "http://www.fast-report.com", "mailto:" + or any other system command. + + + + + Specifies hyperlink to a given page number. + + + + + Specifies hyperlink to a bookmark. + + + + + Specifies hyperlink to external report. This report will be run when you follow the hyperlink. + + + + + Specifies hyperlink to this report's page. The page will be run when you follow the hyperlink. + + + + + Specifies a custom hyperlink. No actions performed when you click it, you should handle it + in the object's Click event handler. + + + + + This class contains a hyperlink settings. + + + + + Gets or sets the kind of hyperlink. + + + Use the Kind property to define hyperlink's behavior. + The hyperlink may be used to navigate to the external url, the page number, + the bookmark defined by other report object, the external report, the other page of this report, + and custom hyperlink. + + + + + Gets or sets the expression which value will be used for navigation. + + + Normally you should set the Expression property to + any valid expression that will be calculated when this object is about to print. + The value of an expression will be used for navigation. + If you want to navigate to some fixed data (URL or page number, for example), + use the property instead. + + + + + Gets or sets a value that will be used for navigation. + + + Use this property to specify the fixed data (such as URL, page number etc). If you want to + navigate to some dynamically calculated value, use the property instead. + + + + + Gets or sets a value that indicate should be links open in new tab or not. + + + It works for HTML-export only! + + + + + Gets or sets an external report file name. + + + Use this property if is set to DetailReport. + When you follow the hyperlink, this report will be loaded and run. + You also may specify the report's parameter in the property. + + + + + Gets or sets the name of this report's page. + + + Use this property if is set to DetailPage. + When you follow the hyperlink, the specified page will be executed. It may contain the + detailed report. You also may specify the report's parameter in the + property. + + + + + Gets or sets a parameter's name that will be set to hyperlink's value. + + + Use this property if is set to DetailReport or DetailPage. + If you want to pass the hyperlink's value to the report's parameter, specify the + parameter name in this property. This parameter will be set to the hyperlink's value + before running a report. It may be used to display detailed information about clicked item. + It is also possible to pass multiple values to several parameters. If hyperlink's value + contains separators (the separator string can be set in the + property), it will be splitted to several values. That values will be passed to nested parameters + of the ReportParameter (you should create nested parameters by youself). For example, you have + the ReportParameter called "SelectedValue" which has two nested parameters: the first one is + "Employee" and the second is "Category". The hyperlink's value is "Andrew Fuller;Beverages". + It will be splitted to two values: "Andrew Fuller" and "Beverages". The first nested parameter + of the ReportParameter that is "Employee" in our case will be set to "Andrew Fuller"; + the second nested parameter ("Category") will be set to "Beverages". + Note: when you create a parameter in the detailed report, don't forget to set + its DataType property. It is used to convert string values to actual data type. + + + + + + Gets or sets a string that will be used as a separator to pass several values + to the external report parameters. + + + + + Assigns values from another source. + + Source to assign from. + + + + Provides the serialize/deserialize functionality. + + + + + Serializes the object. + + Writer object. + + + + Deserializes the object. + + Reader object. + + + + Implement this interface if your object can contain list of child objects. + + + + + Gets a value indicating that this object can contain the specified child object. + + Child object. + true if this object can contain the specified child object; otherwise, false. + + + + Gets a list of child objects. + + List to fill with values. + + + + Adds a child object to this object's childs. + + Object to add. + + + + Removes a specified object from this object's childs. + + + + + + Returns z-order of the specified child object. + + Child object. + Z-order of the specified object. + + This method must return the index of a specified child object in the internal child list. + + + + + Sets the z-order of the specified object. + + Child object. + New Z-order. + + This method must place the specified child object at the specified position in the internal child list. + + + + + Updates the children layout when the size of this object is changed by dx, dy values. + + X delta. + Y delta. + + This method must update positions/sizes of child objects whose Dock or Anchor properties + are set to non-default values. + + + + + Holds the list of objects of type. + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with specified owner. + + + + + Represents an overlay band. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + Initializes a new instance of the class with default settings. + + + + + Holds the list of objects of type. + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with specified owner. + + + + + This class contains the page columns settings. + It is used in the property. + + + + + Gets or sets the number of columns. + + + Set this property to 0 or 1 if you don't want to use columns. + + + + + Gets or sets the column width. + + + + + Gets or sets a list of column starting positions. + + + Each value represents a column starting position measured in the millimeters. + + + + + Assigns values from another source. + + Source to assign from. + + + + Represents a page footer band. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + + + + Initializes a new instance of the class with default settings. + + + + + Represents a page header band. + + + + + This property is not relevant to this class. + + + + + This property is not relevant to this class. + + + + + Initializes a new instance of the class with default settings. + + + + + Specifies the alignment of a image in the border. + + + + + Specifies that image is not aligned in the layout rectangle. + + + + + Specifies that image is aligned in the top-left of the layout rectangle. + + + + + Specifies that image is aligned in the top-center of the layout rectangle. + + + + + Specifies that image is aligned in the top-right of the layout rectangle. + + + + + Specifies that image is aligned in the center-left of the layout rectangle. + + + + + Specifies that image is aligned in the center-center of the layout rectangle. + + + + + Specifies that image is aligned in the center-right of the layout rectangle. + + + + + Specifies that image is aligned in the center-left of the layout rectangle. + + + + + Specifies that image is aligned in the center-center of the layout rectangle. + + + + + Specifies that image is aligned in the center-right of the layout rectangle. + + + + + Specifies the language of the report's script. + + + + + The C# language. + + + + + The VisualBasic.Net language. + + + + + Specifies the quality of text rendering. + + + + + The default text quality, depends on system settings. + + + + + The regular quality. + + + + + The "ClearType" quality. + + + + + The AntiAlias quality. This mode may be used to produce the WYSIWYG text. + + + + + The "SingleBitPerPixel" quality. + + + + + The "SingleBitPerPixelGridFit" quality. + + + + + Specifies the report operation. + + + + + Specifies no operation. + + + + + The report is running. + + + + + The report is printing. + + + + + The report is exporting. + + + + + Specifies the page range to print/export. + + + + + Print all pages. + + + + + Print current page. + + + + + Print pages specified in the PageNumbers property of the PrintSettings. + + + + + The automatic shift mode. + + + + + Do not shift the object. + + + + + Shift the object up or down if any object above it shrinks or grows. + + + + + Shift the object up or down if any object above it shrinks or grows. + Objects must have overlapped x-coordinates. + + + + + Specifies where to print an object. + + + + + Do not print the object. + + + + + Print the object on the first page. If this flag is not set, the object will not + be printed on the first page. + + + + + Print the object on the last page. If this flag is not set, the object will not + be printed on the last page. You should set the report's double pass option to make + it work correctly. + + + + + Print the object on odd pages only. + + + + + Print the object on even pages only. + + + + + Print the object on band with "Repeat on Every Page" flag when that band is repeated. + + + + + Print the object if the report has single page only. + + + + + Specifies the style properties to use when style is applied. + + + + + Use the fill property of the style. + + + + + Use all style properties. + + + + + Holds the list of objects of type. + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with specified owner. + + + + + Provides data for the event. + + + + + Gets a name of the file to load the report from. + + + + + The reference to a report. + + + + + Initializes a new instance of the class using the specified + file name and the report. + + The name of the file to load the report from. + The report. + + + + Provides data for the event. + + + + + Gets an expression. + + + + + Gets or sets a object. + + + + + The reference to a report. + + + + + Initializes a new instance of the class using the specified + file name and the report. + + The text of expression. + The name of the file to load the report from. + The report. + + + + Represents the method that will handle the event. + + The source of the event. + The event data. + + + + Represents the method that will handle the event. + + The source of the event. + The event data. + + + + Provides data for the Progress event. + + + + + Gets a progress message. + + + + + Gets the current page number. + + + + + Gets the number of total pages. + + + + + Initializes a new instance of the class using the specified + message, page number and total number of pages. + + The progress message. + Current page number. + Number of total pages. + + + + Represents the method that will handle the Progress event. + + The source of the event. + The event data. + + + + Provides data for the DatabaseLogin event. + + + + + Gets or sets the connection string. + + + + + Gets or sets an user name. + + + + + Gets or sets a password. + + + + + Initializes a new instance of the class using the specified + connection string. + + The connection string. + + + + Represents the method that will handle the DatabaseLogin event. + + The source of the event. + The event data. + + + + Provides data for the AfterDatabaseLogin event. + + + + + Gets the DbConnection object. + + + + + Initializes a new instance of the class using + the specified connection. + + The connection object. + + + + Represents the method that will handle the AfterDatabaseLogin event. + + The source of the event. + The event data. + + + + Provides data for the FilterProperties event. + + + + + Gets the property descriptor. + + + + + Gets or sets a value that indicates whether this property should be skipped. + + + + + Represents the method that will handle the FilterProperties event. + + The source of the event. + The event data. + + + + Provides data for the GetPropertyKind event. + + + + + Gets the property name. + + + + + Gets the property type. + + + + + Gets or sets the kind of property. + + + + + Represents the method that will handle the GetPropertyKind event. + + The source of the event. + The event data. + + + + Provides data for the GetTypeInstance event. + + + + + Gets the type. + + + + + Gets or sets the instance of type. + + + + + Represents the method that will handle the GetPropertyKind event. + + The source of the event. + The event data. + + + + Event arguments for custom Export parameters + + + + + Used to set custom export parameters + + + + + Specifies the Save Mode of designed report. + + + + + The saving allowed to all. + + + + + The saving in original place. + + + + + The saving allowed to current user. + + + + + The saving allowed to current role/group. + + + + + The saving allowed with other security permissions. + + + + + The saving not allowed. + + + + + Custom saving rules. + + + + + This class represents the report information such as name, author, description etc. + + + + + Gets or sets the name of a report. + + + + + Gets or sets the author of a report. + + + + + Gets or sets the report version. + + + + + Gets or sets the report description. + + + + + Gets or sets the picture associated with a report. + + + + + Gets or sets the report creation date and time. + + + + + Gets or sets a value indicating that report was modified in the designer. + + + + + Gets or sets a value that determines whether to fill the property + automatically. + + + + + Gets or sets the ratio that will be used when generating a preview picture. + + + + + Gets the version of FastReport that was created this report file. + + + + + Gets or sets the Tag string object for this report file. + + + + + Gets or sets SaveMode property. + + + + + Resets all properties to its default values. + + + + + Initializes a new instance of the class with default settings. + + + + + Specifies the default paper size used when creating a new report. + + + + + A4 paper (210 x 297 mm). + + + + + Letter paper (8.5 x 11 inches, 216 x 279 mm). + + + + + Represents a report title band. + + + + + Internal representation of RichText document + + + + + This class represents a RTF run. + + + + + Insert paragraph into list of paragraphs + + + + + Insert row into list of paragraphs + + + + + This class represents a RTF properies. + + + + + This class parses an entiry RTF document. + + + + + + + + + + + + + + + + + Get RTF structure based on range of elements + + + + + RichText document object + + + + + Save RTF document to text stream + + + + + This class represents a RTF document header. + + + Refer to RTF-1.7 spec for detail description + + + + + Parser of RTF header. + + + Return false on finish of header + + + + + This class represents a RTF text paragraph. + + + + + This class detect a RTF control sequences and text. + + + + + This class represents a RTF column description. + + + + + + Create RTF row + + + + + + + Save RTF document to plain text stream + + + + + Specifies a kind of the shape. + + + + + Specifies a rectangle shape. + + + + + Specifies a round rectangle shape. + + + + + Specifies an ellipse shape. + + + + + Specifies a triangle shape. + + + + + Specifies a diamond shape. + + + + + Represents a sort condition used in the . + + + + + Gets or sets an expression used to sort data band rows. + + + This property can contain any valid expression. + + + + + Gets or sets a value indicating that sort must be performed in descending order. + + + + + Serializes the class. + + Writer object. + + This method is for internal use only. + + + + + Deserializes the class. + + Reader object. + + This method is for internal use only. + + + + + Initializes a new instance of the class with default settings. + + + + + Initializes a new instance of the class with specified expression. + + + + + Initializes a new instance of the class with specified expression and sort order. + + + + + Represents a collection of sort conditions used in the . + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Adds the specified elements to the end of this collection. + + + + + + Adds an object to the end of this collection. + + Object to add. + Index of the added object. + + + + Inserts an object into this collection at the specified index. + + The zero-based index at which value should be inserted. + The object to insert. + + + + Removes the specified object from the collection. + + Object to remove. + + + + Returns the zero-based index of the first occurrence of an object. + + The object to locate in the collection. + The zero-based index of the first occurrence of value within the entire collection, if found; + otherwise, -1. + + + + Determines whether an element is in the collection. + + The object to locate in the collection. + true if object is found in the collection; otherwise, false. + + + + + + + + + + Assigns values from another collection. + + Collection to assign from. + + + + Represents a style. + + + + Style class holds border, fill, text fill and font settings. It can be applied to any report object of + type. + + + The Report object holds list of styles in its property. Each style has + unique name. To apply a style to the report component, set its + property to the style name. + + + + + + Gets or sets a name of the style. + + + The name must be unique. + + + + + + + + + + + Creates exact copy of this Style. + + Copy of this style. + + + + Initializes a new instance of the class with default settings. + + + + + Represents a collection of styles used in the . + + + + + Gets or sets the name of the style. + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Adds the specified elements to the end of this collection. + + + + + + Adds an object to the end of this collection. + + Object to add. + Index of the added object. + + + + Inserts an object into this collection at the specified index. + + The zero-based index at which value should be inserted. + The object to insert. + + + + Removes the specified object from the collection. + + Object to remove. + + + + Returns the zero-based index of the first occurrence of an object. + + The object to locate in the collection. + The zero-based index of the first occurrence of value within the entire collection, if found; + otherwise, -1. + + + + Returns the zero-based index of the first occurrence of a style with specified name. + + The name to locate in the collection. + The zero-based index of the first occurrence of value within the entire collection, if found; + otherwise, -1. + + + + Determines whether an element is in the collection. + + The object to locate in the collection. + true if object is found in the collection; otherwise, false. + + + + Determines whether a style with specified name is in the collection. + + The style name to locate in the collection. + true if object is found in the collection; otherwise, false. + + + + + + + + + + Saves the collection to a stream. + + Stream to save to. + + + + Saves the collection to a file. + + The name of the file. + + + + Loads the collection from a stream. + + Stream to load from. + + + + Loads the collection from a file. + + The name of the file. + + + + Creates exact copy of this collection. + + The copy of this collection. + + + + Initializes a new instance of the class with default settings. + + + + + Represents a collection of the objects. + + + + + Gets or sets the element at the specified index. + + Index of an element. + The element at the specified index. + + + + Adds the specified elements to the end of this collection. + + + + + + Adds an object to the end of this collection. + + Object to add. + Index of the added object. + + + + Inserts an object into this collection at the specified index. + + The zero-based index at which value should be inserted. + The object to insert. + + + + Removes the specified object from the collection. + + Object to remove. + + + + Returns the zero-based index of the first occurrence of an object. + + The object to locate in the collection. + The zero-based index of the first occurrence of value within the entire collection, if found; + otherwise, -1. + + + + Returns the zero-based index of the first occurrence of a style collection with specified name. + + The style collection name to locate in the collection. + The zero-based index of the first occurrence of value within the entire collection, if found; + otherwise, -1. + + + + Determines whether an element is in the collection. + + The object to locate in the collection. + true if object is found in the collection; otherwise, false. + + + + Determines whether a style collection with specified name is in the collection. + + The style collection name to locate in the collection. + true if object is found in the collection; otherwise, false. + + + + Gets an array containing all collection items. + + An array containing all collection items. + + + + Serializes the collection. + + Writer object. + + This method is for internal use only. + + + + + Deserializes the collection. + + Reader object. + + This method is for internal use only. + + + + + Saves the collection to a stream. + + Stream to save to. + + + + Saves the collection to a file with specified name. + + File name to save to. + + + + Loads the collection from a stream. + + Stream to load from. + + + + Loads the collection from a file with specified name. + + Name of a file. + + + + Specifies the horizontal alignment of a text in the TextObject object. + + + + + Specifies that text is aligned in the left of the layout rectangle. + + + + + Specifies that text is aligned in the center of the layout rectangle. + + + + + Specifies that text is aligned in the right of the layout rectangle. + + + + + Specifies that text is aligned in the left and right sides of the layout rectangle. + + + + + Specifies the vertical alignment of a text in the TextObject object. + + + + + Specifies that text is aligned in the top of the layout rectangle. + + + + + Specifies that text is aligned in the center of the layout rectangle. + + + + + Specifies that text is aligned in the bottom of the layout rectangle. + + + + + The type of text renderer + + + + + The default render + + + + + Render with some html tags and stable logic + + + + + Render with img tags, span etc. Experimental and unstable logic + + + + + Renders a text in a simplest way. For internal use only. + + + + + The format of paragraph + + + + + The first line on each paragraph. + + + + + The distance between lines, not effect if value less then 0 + + + + + The spacing type for distance between line calculation + + + + + The value for a multiplication line height for adding spacing + + + + + Skip the line indent in the first paragraph, for broken paragraphs + + + + + clone with new scale; + + + + + + + The spacing type between lines + + + + + Single spacing, not effect from LineSpacing + + + + + Minimal spacing in exactly size + + + + + The specific distance between the lines, for some exports, does not work if the distance value is too small. + + + + + The calculated distance between lines, for some exports, does not work if the distance value is too small. + + + + + Specifies the behavior of the AutoShrink feature of TextObject. + + + + + AutoShrink is disabled. + + + + + AutoShrink decreases the Font.Size property of the TextObject. + + + + + AutoShrink decreases the FontWidthRatio property of the TextObject. + + + + + Specifies the behavior of the MergeMode feature of TextObject. + + + + + Merge is disabled. + + + + + Allows horizontal merging. + + + + + Allows vertical merging. + + + + + Specifies how to display the duplicate values. + + + + + The TextObject can show duplicate values. + + + + + The TextObject with duplicate value will be hidden. + + + + + The TextObject with duplicate value will be shown but with no text. + + + + + Several TextObject objects with the same value will be merged into one TextObject object. + + + + + Specifies how the report engine processes the text objects. + + + + + Specifies the default process mode. The text object is processed just-in-time. + + + + + Specifies that the text object must be processed when the entire report is finished. This mode + can be used to print grand total value (which is normally calculated at the end of report) in the + report title band. + + + + + Specifies that the text object must be processed when the entire report page is finished. This mode + can be used if the report template consists of several report pages. + + + + + Specifies that the text object must be processed when any report page is finished. This mode + can be used to print the page total (which is normally calculated at the page footer) in the + page header band. + + + + + Specifies that the text object must be processed when the column is finished. This mode + can be used to print the column total (which is normally calculated at the column footer) in the + column header band. + + + + + Specifies that the text object must be processed when the data block is finished. This mode can be + used to print a total value in the data header (which is normally available + in the data footer only). + + + + + Specifies that the text object must be processed when the group is finished. This mode can be + used to print a total value in the group header (which is normally available + in the group footer only). + + + + + Specifies that the text object is processed manually when you call the Engine.ProcessObject + method in the report script. + + + + + Represents text outline. + + + + + Gets or sets a value indicating that outline is enabled. + + + + + Enable or disable draw the outline behind of text. + + + + + Gets or sets the outline color. + + + + + Gets or sets the outline width. + + + + + Specifies the style of an outline. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with specified parameters. + + True if outline enabled. + Outline color. + Outline width. + Outline style. + True if outline should be drawn behind text. + + + + Copies the content of another TextOutline. + + The TextOutline instance to copy the contents from. + + + + Creates the exact copy of this outline. + + Copy of this outline. + + + + Serializes the TextOutline. + + Writer object. + TextOutline property name. + Another TextOutline to compare with. + + + + Represents a cache of graphics objects such as pens, brushes, fonts and text formats. + + + Cache holds all used graphics objects. There is no need to dispose objects returned + by GetXXX calls. + + This example demonstrates how to use graphic cache. + + public void Draw(FRPaintEventArgs e) + { + Brush brush = e.Cache.GetBrush(BackColor); + Pen pen = e.Cache.GetPen(BorderColor, 1, BorderStyle); + e.Graphics.FillRectangle(brush, Bounds); + e.Graphics.DrawRectangle(pen, Bounds); + } + + + + + + Gets a pen with specified settings. + + Color of a pen. + Width of a pen. + Dash style of a pen. + The Pen object. + + + + Gets a pen with specified settings. + + Color of a pen. + Width of a pen. + Dash style of a pen. + Line join of a pen. + The Pen object. + + + + Gets a brush with specified color. + + Color of a brush. + The SolidBrush object. + + + + Gets a font with specified settings. + + Family of a font. + Size of a font. + Style of a font. + The Font object. + + + + Gets a string format with specified settings. + + Text alignment information on the vertical plane. + Line alignment on the horizontal plane. + StringTrimming enumeration. + StringFormatFlags enumeration that contains formatting information. + The number of spaces between the beginning of a line of text and the first tab stop. + Distance between tab stops. + The StringFormat object. + + + + Gets a string format with specified settings. + + Text alignment information on the vertical plane. + Line alignment on the horizontal plane. + StringTrimming enumeration. + StringFormatFlags enumeration that contains formatting information. + The number of spaces between the beginning of a line of text and the first tab stop. + Distance between tab stops. + Default distance between default tabs stops. + The StringFormat object. + + + + Disposes resources used by this object. + + + + + Initializes a new instance of the GraphicCache class with default settings. + + + + + A strongly typed object that readily casts an intrinsic + object to the other intrinsic types when possible. + + + The Variant class is an intrinsic object container structure + inspired by Visual Basic 6.0's Variant. The key features + of a Variant class include the ability to perform typecasts and + arithmetic between types that are not normally considered compatible. + For example, if a Variant class contains a string describing a + number, such as "1.1", then floating point arithmetic can be + performed on it. + Variants are normally considered dangerous because they + strip away the effectiveness of type safety, which is the + reason why the Visual Basic 6.0 Variant was left out of + Visual Basic .NET. However, this implementation restores the + Variant structure, both as a proof of concept and as a + restoration of the utility and positive merits of the Variant + where it can be used responsibly. + + + + + Creates a strongly typed object that readily casts a primitive + object to the other primitive types when possible. + + + + + The actual value being stored in its original , + returned as an . + + + + + The of the property. + + + + + Returns the for this instance. + + The enumerated constant that is the + of the class or value type that implements this interface. + + + + Returns the string equivalent of the property. + + + + + Attempts to convert or typecast to the specified type. + + The type to convert or cast to. + The object after typecasting. + + + + Attempts to convert or typecast to the specified type. + + The type to convert or cast to. + An + interface implementation that supplies culture-specific formatting information. + The object after typecasting. + + + + Returns true if the property implements + + + + + Returns true if the property + is a numeric intrinsic value. + + + + + Returns true if the property + is a numeric intrinsic value or else can be parsed into + a numeric intrinsic value. + + + + + Returns true if the value is a date or can be parsed into a date. + + + + + Returns true if the value is a TimeSpan. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance to + an equivalent value. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance to + an equivalent value using the specified culture-specific + formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 8-bit unsigned integer. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 8-bit unsigned integer using the specified + culture-specific formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 16-bit signed integer. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance to + an equivalent 16-bit signed integer using the specified + culture-specific formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 32-bit signed integer. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 32-bit signed integer using the specified + culture-specific formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 64-bit signed integer. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 64-bit signed integer using the specified + culture-specific formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent double-precision floating-point number. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent double-precision floating-point number using the + specified culture-specific formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent single-precision floating-point number. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent single-precision floating-point number using the + specified culture-specific formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance to + an equivalent Decimal number. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance to + an equivalent Decimal number using the specified culture-specific + formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 8-bit signed integer. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 8-bit signed integer using the specified + culture-specific formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 16-bit unsigned integer. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 16-bit unsigned integer using the specified + culture-specific formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 32-bit unsigned integer. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 32-bit unsigned integer using the specified + culture-specific formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 64-bit unsigned integer. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent 64-bit unsigned integer using the specified + culture-specific formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance to + an equivalent DateTime. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance to + an equivalent DateTime using the specified culture-specific + formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance to + an equivalent TimeSpan. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance to + an equivalent TimeSpan using the specified culture-specific + formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance to + an equivalent DateTimeOffset. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance to + an equivalent DateTimeOffset using the specified culture-specific + formatting information. + + The culture-specific formatting information. + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent Unicode character. + + + + + If is a , returns + as-is. Otherwise, attempts to convert the value of this instance + to an equivalent Unicode character using the specified + culture-specific formatting information. + + The culture-specific formatting information. + + + + Addition operator. + + + If the value on the right is a + or a , + the Variant is converted to a string and appended. + If the value on the right or the Variant + is a , arithmetic + is performed on the property and the + resulting value is set to the DateTime type. + Otherwise, if the value on the right is a number, both + the Variant and the value on the right are + converted to a , the arithmetic + is performed, and the resulting value is converted back to the + original type that the Variant previously represented. + If the type that the Variant previously represented + cannot contain the resulting value--such as if the type is a + and the value is -12--then the + type will be converted to a type that can contain + the value, such as . + + + + A new containing the resulting value. + + + + Subtraction operator. + + + If the value on the right or the Variant + is a , arithmetic + is performed on the property and the + resulting value is set to the DateTime type. + Otherwise, if the value on the right is a number, both + the Variant and the value on the right are + converted to a , the arithmetic + is performed, and the resulting value is converted back to the + original type that the Variant previously represented. + If the type that the Variant previously represented + cannot contain the resulting value--such as if the type is a + and the value is -12--then the + type will be converted to a type that can contain + the value, such as . + + + + A new containing the resulting value. + + + + Unary minus operator. + + + + + Greater than operator. + + + + + Greater than or equal operator. + + + + + Less than operator. + + + + + Less than or equal operator. + + + + + Multiplication operator. + + + If the value on the right or the Variant + is a , arithmetic + is performed on the property and the + resulting value is set to the DateTime type. + Otherwise, if the value on the right is a number, both + the Variant and the value on the right are + converted to a , the arithmetic + is performed, and the resulting value is converted back to the + original type that the Variant previously represented. + If the type that the Variant previously represented + cannot contain the resulting value--such as if the type is a + and the value is -12--then the + type will be converted to a type that can contain + the value, such as . + + + + A new containing the resulting value. + + + + Division operator. + + + If the value on the right or the Variant + is a , arithmetic + is performed on the property and the + resulting value is set to the DateTime type. + Otherwise, if the value on the right is a number, both + the Variant and the value on the right are + converted to a , the arithmetic + is performed, and the resulting value is converted back to the + original type that the Variant previously represented. + If the type that the Variant previously represented + cannot contain the resulting value--such as if the type is a + and the value is -12--then the + type will be converted to a type that can contain + the value, such as . + + + + A new containing the resulting value. + + + + Modulus operator. + + + If the value on the right or the Variant + is a , arithmetic + is performed on the property and the + resulting value is set to the DateTime type. + Otherwise, if the value on the right is a number, both + the Variant and the value on the right are + converted to a , the arithmetic + is performed, and the resulting value is converted back to the + original type that the Variant previously represented. + If the type that the Variant previously represented + cannot contain the resulting value--such as if the type is a + and the value is -12--then the + type will be converted to a type that can contain + the value, such as . + + + + A new containing the resulting value. + + + + Bitwise And operator. + + + If the value on the right or the Variant + is a , arithmetic + is performed on the property and the + resulting value is set to the DateTime type. + Otherwise, if the value on the right is a number, both + the Variant and the value on the right are + converted to a , the arithmetic + is performed, and the resulting value is converted back to the + original type that the Variant previously represented. + If the type that the Variant previously represented + cannot contain the resulting value--such as if the type is a + and the value is -12--then the + type will be converted to a type that can contain + the value, such as . + + + + A new containing the resulting value. + + + + Bitwise Or operator. + + + If the value on the right or the Variant + is a , arithmetic + is performed on the property and the + resulting value is set to the DateTime type. + Otherwise, if the value on the right is a number, both + the Variant and the value on the right are + converted to a , the arithmetic + is performed, and the resulting value is converted back to the + original type that the Variant previously represented. + If the type that the Variant previously represented + cannot contain the resulting value--such as if the type is a + and the value is -12--then the + type will be converted to a type that can contain + the value, such as . + + + + A new containing the resulting value. + + + + Inequality operator. + + + + + The opposite of == + + + + + Equality operator. + First attempts to compare the left value after + temporarily converting it to the type of the right value. + If the conversion cannot occur, such as if the value is not an + intrinsic value type, the comparison occurs at the + level using Object.Equals. + + + + + + + + Equality operator. + + + + + + + + Equality operator. + + + + + + + + Returns property unless the value on the right + is null. If the value on the right is null, returns "". + + + + + + Converts the value of this instance to an equivalent + using the specified culture-specific formatting information. + + + + + + + See . + + + + + + See . + + + + + + + Converts an object to a boolean. + For any type, if null, returns false. + For Boolean: true/false. + For String: "", "false", "0", etc. == false; + "1", "true", etc. == true, else true. + For numeric intrinsics: 0 == false, else true. + For any other non-null object, returns true. + + The string to be converted + The boolean value of this string. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the watermark image size mode. + + + + + Specifies the normal (original) size. + + + + + Specifies the centered image. + + + + + Specifies the stretched image. + + + + + Specifies the stretched image that keeps its aspect ratio. + + + + + Specifies the tiled image. + + + + + Specifies the watermark text rotation. + + + + + Specifies a horizontal text. + + + + + Specifies a vertical text. + + + + + Specifies a diagonal text. + + + + + Specifies a backward diagonal text. + + + + + Represents the report page watermark. + + + Watermark can draw text and/or image behind the page objects on in front of them. To enable + watermark, set its Enabled property to true. + + + + + Gets or sets avalue indicating that watermark is enabled. + + + + + Gets or sets the watermark image. + + + + + Gets or sets the watermark image size mode. + + + + + Gets or sets an image transparency. + + + Valid values are 0..1. 1 means totally transparent image. + + + + + Gets or sets the watermark text. + + + + + Gets or sets a font of the watermark text. + + + + + Gets or sets a text fill. + + + + + Gets or sets a text rotation. + + + + + Gets or sets a value indicates that the text should be displayed on top of all page objects. + + + + + Gets or sets a value indicates that the image should be displayed on top of all page objects. + + + + + + + + + + Draws watermark image. + + + + + + + + + Draws watermark text. + + + + + + + + + Serializes the watermark. + + Writer object. + The watermark property name. + Another Watermark object to compare with. + + This method is for internal use only. + + + + + Disposes resources used by the watermark. + + + + + Assigns values from another source. + + Source to assign from. + + + + Creates exact copy of this Watermark. + + Copy of this watermark. + + + + Initializes a new instance of the class with default settings. + + + + + An SVG element to render circles to the document. + + + + + Gets the center point of the circle. + + The center. + + + + Gets the representing this element. + + + + + Renders the circle to the specified object. + + The graphics object. + + + + Initializes a new instance of the class. + + + + + Represents and SVG ellipse element. + + + + + Gets the for this element. + + + + + + Renders the and contents to the specified object. + + The object to render to. + + + + Initializes a new instance of the class. + + + + + Represents and SVG image + + + + + Initializes a new instance of the class. + + + + + Gets an representing the top left point of the rectangle. + + + + + Gets or sets the aspect of the viewport. + + + + + + Gets the bounds of the element. + + The bounds. + + + + Gets the for this element. + + + + + Renders the and contents to the specified object. + + + + + Represents and SVG line element. + + + + + Gets or sets the marker (end cap) of the path. + + + + + Gets or sets the marker (start cap) of the path. + + + + + Gets or sets the marker (start cap) of the path. + + + + + Renders the stroke of the to the specified + + The object to render to. + + + + Represents an element that is using a GraphicsPath as rendering base. + + + + + SvgPolygon defines a closed shape consisting of a set of connected straight line segments. + + + + + The points that make up the SvgPolygon + + + + + Gets or sets the marker (end cap) of the path. + + + + + Gets or sets the marker (start cap) of the path. + + + + + Gets or sets the marker (start cap) of the path. + + + + + Renders the stroke of the to the specified + + The object to render to. + + + + SvgPolyline defines a set of connected straight line segments. Typically, defines open shapes. + + + + + Gets or sets the marker (end cap) of the path. + + + + + Gets or sets the marker (start cap) of the path. + + + + + Gets or sets the marker (start cap) of the path. + + + + + Renders the stroke of the to the specified + + The object to render to. + + + + Represents an SVG rectangle that could also have rounded edges. + + + + + Initializes a new instance of the class. + + + + + Gets an representing the top left point of the rectangle. + + + + + Gets or sets the position where the left point of the rectangle should start. + + + + + Gets or sets the position where the top point of the rectangle should start. + + + + + Gets or sets the width of the rectangle. + + + + + Gets or sets the height of the rectangle. + + + + + Gets or sets the X-radius of the rounded edges of this rectangle. + + + + + Gets or sets the Y-radius of the rounded edges of this rectangle. + + + + + Gets or sets a value to determine if anti-aliasing should occur when the element is being rendered. + + + + + Gets the for this element. + + + + + Renders the and contents to the specified object. + + + + + The class that all SVG elements should derive from when they are to be rendered. + + + + + Gets the for this element. + + + + + Gets the bounds of the element. + + The bounds. + + + + Gets the associated if one has been specified. + + + + + Gets the associated if one has been specified. + + + + + Gets or sets the algorithm which is to be used to determine the clipping region. + + + + + Gets the associated if one has been specified. + + + + + Gets or sets a value to determine if anti-aliasing should occur when the element is being rendered. + + + + + Initializes a new instance of the class. + + + + + Renders the and contents to the specified object. + + The object to render to. + + + + Renders the fill of the to the specified + + The object to render to. + + + + Renders the stroke of the to the specified + + The object to render to. + + + + Sets the clipping region of the specified . + + The to have its clipping region set. + + + + Resets the clipping region of the specified back to where it was before the method was called. + + The to have its clipping region reset. + + + + Sets the clipping region of the specified . + + The to have its clipping region set. + + + + Resets the clipping region of the specified back to where it was before the method was called. + + The to have its clipping region reset. + + + + Gets or sets a value to determine whether the element will be rendered. + + + + + Gets or sets a value to determine whether the element will be rendered. + Needed to support SVG attribute display="none" + + + + + Gets or sets the fill of this element. + + + + + Defines the methods and properties that an must implement to support clipping. + + + + + Gets or sets the ID of the associated if one has been specified. + + + + + Specifies the rule used to define the clipping region when the element is within a . + + + + + Sets the clipping region of the specified . + + The to have its clipping region set. + + + + Resets the clipping region of the specified back to where it was before the method was called. + + The to have its clipping region reset. + + + + Defines a path that can be used by other elements. + + + + + Specifies the coordinate system for the clipping path. + + + + + Initializes a new instance of the class. + + + + + Gets this 's region to be used as a clipping region. + + A new containing the to be used for clipping. + + + + + + + + + + + Called by the underlying when an element has been added to the + collection. + + The that has been added. + An representing the index where the element was added to the collection. + + + + Called by the underlying when an element has been removed from the + collection. + + The that has been removed. + + + + Renders the and contents to the specified object. + + The object to render to. + + + + Indicates the algorithm which is to be used to determine the clipping region. + + + This rule determines the "insideness" of a point on the canvas by drawing a ray from + that point to infinity in any direction and then examining the places where a segment of the + shape crosses the ray. + + + + + This rule determines the "insideness" of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray. Starting with a count of zero, add one each time a path segment crosses the ray from left to right and subtract one each time a path segment crosses the ray from right to left. After counting the crossings, if the result is zero then the point is outside the path. Otherwise, it is inside. + + + + + This rule determines the "insideness" of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses. If this number is odd, the point is inside; if even, the point is outside. + + + + + Provides properties and methods to be implemented by view port elements. + + + + + Gets or sets the viewport of the element. + + + + + Description of SvgAspectRatio. + + + + Specifies the color space for gradient interpolations, color animations and alpha compositing. + When a child element is blended into a background, the value of the ‘color-interpolation’ property on the child determines the type of blending, not the value of the ‘color-interpolation’ on the parent. For gradients which make use of the ‘xlink:href’ attribute to reference another gradient, the gradient uses the ‘color-interpolation’ property value from the gradient element which is directly referenced by the ‘fill’ or ‘stroke’ property. When animating colors, color interpolation is performed according to the value of the ‘color-interpolation’ property on the element being animated. + + + Indicates that the user agent can choose either the sRGB or linearRGB spaces for color interpolation. This option indicates that the author doesn't require that color interpolation occur in a particular color space. + + + Indicates that color interpolation should occur in the sRGB color space. + + + Indicates that color interpolation should occur in the linearized RGB color space as described above. + + + The value is inherited from the parent element. + + + Defines the coordinate system for attributes ‘markerWidth’, ‘markerHeight’ and the contents of the ‘marker’. + + + If markerUnits="strokeWidth", ‘markerWidth’, ‘markerHeight’ and the contents of the ‘marker’ represent values in a coordinate system which has a single unit equal the size in user units of the current stroke width (see the ‘stroke-width’ property) in place for the graphic object referencing the marker. + + + If markerUnits="userSpaceOnUse", ‘markerWidth’, ‘markerHeight’ and the contents of the ‘marker’ represent values in the current user coordinate system in place for the graphic object referencing the marker (i.e., the user coordinate system for the element referencing the ‘marker’ element via a ‘marker’, ‘marker-start’, ‘marker-mid’ or ‘marker-end’ property). + + + + Defines the various coordinate units certain SVG elements may use. + + + + + Indicates that the coordinate system of the owner element is to be used. + + + + + Indicates that the coordinate system of the entire document is to be used. + + + + This is the descriptor for the style of a font and takes the same values as the 'font-style' property, except that a comma-separated list is permitted. + + + Indicates that the font-face supplies all styles (normal, oblique and italic). + + + Specifies a font that is classified as 'normal' in the UA's font database. + + + Specifies a font that is classified as 'oblique' in the UA's font database. Fonts with Oblique, Slanted, or Incline in their names will typically be labeled 'oblique' in the font database. A font that is labeled 'oblique' in the UA's font database may actually have been generated by electronically slanting a normal font. + + + Specifies a font that is classified as 'italic' in the UA's font database, or, if that is not available, one labeled 'oblique'. Fonts with Italic, Cursive, or Kursiv in their names will typically be labeled 'italic' + + + The weight of a face relative to others in the same font family. + + + All font weights. + + + The value is inherited from the parent element. + + + Same as . + + + Same as . + + + One font weight darker than the parent element. + + + One font weight lighter than the parent element. + + + + + + + + + + + + Same as . + + + + + + + + + Same as . + + + + + + + + + + Represents an orientation in an Scalable Vector Graphics document. + + + + + Gets the value of the unit. + + + + + Gets the value of the unit. + + + + + Indicates whether this instance and a specified object are equal. + + Another object to compare to. + + true if and this instance are the same type and represent the same value; otherwise, false. + + + + + Performs an implicit conversion from to . + + The value. + The result of the conversion. + + + + Overflow is not rendered. + + + The value is inherited from the parent element. + + + The overflow is rendered - same as "visible". + + + Overflow is rendered. + + + Overflow causes a scrollbar to appear (horizontal, vertical or both). + + + + Represents a list of used with the and . + + + + + A class to convert string into instances. + + + + + Converts the given object to the type of this converter, using the specified context and culture information. + + An that provides a format context. + The to use as the current culture. + The to convert. + + An that represents the converted value. + + The conversion cannot be performed. + + + This property describes decorations that are added to the text of an element. Conforming SVG Viewers are not required to support the blink value. + + + The value is inherited from the parent element. + + + The text is not decorated + + + The text is underlined. + + + The text is overlined. + + + The text is struck through. + + + The text will blink. + + + Indicates the type of adjustments which the user agent shall make to make the rendered length of the text match the value specified on the ‘textLength’ attribute. + + The user agent is required to achieve correct start and end positions for the text strings, but the locations of intermediate glyphs are not predictable because user agents might employ advanced algorithms to stretch or compress text strings in order to balance correct start and end positioning with optimal typography. + Note that, for a text string that contains n characters, the adjustments to the advance values often occur only for n−1 characters (see description of attribute ‘textLength’), whereas stretching or compressing of the glyphs will be applied to all n characters. + + + + Indicates that only the advance values are adjusted. The glyphs themselves are not stretched or compressed. + + + Indicates that the advance values are adjusted and the glyphs themselves stretched or compressed in one axis (i.e., a direction parallel to the inline-progression-direction). + + + Indicates the method by which text should be rendered along the path. + + + Indicates that the glyphs should be rendered using simple 2x3 transformations such that there is no stretching/warping of the glyphs. Typically, supplemental rotation, scaling and translation transformations are done for each glyph to be rendered. As a result, with align, fonts where the glyphs are designed to be connected (e.g., cursive fonts), the connections may not align properly when text is rendered along a path. + + + Indicates that the glyph outlines will be converted into paths, and then all end points and control points will be adjusted to be along the perpendicular vectors from the path, thereby stretching and possibly warping the glyphs. With this approach, connected glyphs, such as in cursive scripts, will maintain their connections. + + + Indicates how the user agent should determine the spacing between glyphs that are to be rendered along a path. + + + Indicates that the glyphs should be rendered exactly according to the spacing rules as specified in Text on a path layout rules. + + + Indicates that the user agent should use text-on-a-path layout algorithms to adjust the spacing between glyphs in order to achieve visually appealing results. + + + + Represents a unit in an Scalable Vector Graphics document. + + + + + Gets and empty . + + + + + Gets an with a value of none. + + + + + Gets a value to determine whether the unit is empty. + + + + + Gets whether this unit is none. + + + + + Gets the value of the unit. + + + + + Gets the of unit. + + + + + Converts the current unit to one that can be used at render time. + + The container element used as the basis for calculations + The representation of the current unit in a device value (usually pixels). + + + + Converts the current unit to a percentage, if applicable. + + An of type . + + + + Performs an implicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value. + The result of the conversion. + + + + Initializes a new instance of the struct. + + The type. + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Defines the various types of unit an can be. + + + + + Indicates that the unit holds no value. + + + + + Indicates that the unit is in pixels. + + + + + Indicates that the unit is equal to the pt size of the current font. + + + + + Indicates that the unit is equal to the x-height of the current font. + + + + + Indicates that the unit is a percentage. + + + + + Indicates that the unit has no unit identifier and is a value in the current user coordinate system. + + + + + Indicates the the unit is in inches. + + + + + Indicates that the unit is in centimeters. + + + + + Indicates that the unit is in millimeters. + + + + + Indicates that the unit is in picas. + + + + + Indicates that the unit is in points, the smallest unit of measure, being a subdivision of the larger . There are 12 points in the . + + + + + Represents a list of . + + + + + A class to convert string into instances. + + + + + Converts the given object to the type of this converter, using the specified context and culture information. + + An that provides a format context. + The to use as the current culture. + The to convert. + + An that represents the converted value. + + The conversion cannot be performed. + + + + It is often desirable to specify that a given set of graphics stretch to fit a particular container element. The viewBox attribute provides this capability. + + + + + Gets or sets the position where the viewport starts horizontally. + + + + + Gets or sets the position where the viewport starts vertically. + + + + + Gets or sets the width of the viewport. + + + + + Gets or sets the height of the viewport. + + + + + Performs an implicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value. + The result of the conversion. + + + + Initializes a new instance of the struct. + + The min X. + The min Y. + The width. + The height. + + + + Converts the given object to the type of this converter, using the specified context and culture information. + + An that provides a format context. + The to use as the current culture. + The to convert. + + An that represents the converted value. + + The conversion cannot be performed. + + + + Represents a list of re-usable SVG components. + + + + + Initializes a new instance of the class. + + + + + Renders the and contents to the specified object. + + The object to render to. + + + + Represents a list of re-usable SVG components. + + + + + Initializes a new instance of the class. + + + + + Renders the and contents to the specified object. + + The object to render to. + + + + An represents an SVG fragment that can be the root element or an embedded fragment of an SVG document. + + + + + Gets the SVG namespace string. + + + + + Gets or sets the position where the left point of the svg should start. + + + + + Gets or sets the position where the top point of the svg should start. + + + + + Gets or sets the width of the fragment. + + The width. + + + + Gets or sets the height of the fragment. + + The height. + + + + Gets or sets the viewport of the element. + + + + + + Gets or sets the aspect of the viewport. + + + + + + Refers to the size of the font from baseline to baseline when multiple lines of text are set solid in a multiline layout environment. + + + + + Indicates which font family is to be used to render the text. + + + + + Applies the required transforms to . + + The to be transformed. + + + + Gets the for this element. + + + + + + Gets the bounds of the svg element. + + The bounds. + + + + Initializes a new instance of the class. + + + + + An element used to group SVG shapes. + + + + + Gets the for this element. + + + + + + Gets the bounds of the element. + + The bounds. + + + + The �switch� element evaluates the �requiredFeatures�, �requiredExtensions� and �systemLanguage� attributes on its direct child elements in order, and then processes and renders the first child for which these attributes evaluate to true + + + + + Gets the for this element. + + + + + + Gets the bounds of the element. + + The bounds. + + + + Renders the and contents to the specified object. + + The object to render to. + + + + An element used to group SVG shapes. + + + + + Gets or sets the viewport of the element. + + + + + + Gets or sets the aspect of the viewport. + + + + + + Gets the for this element. + + + + + + Gets the bounds of the element. + + The bounds. + + + + Applies the required transforms to . + + The to be transformed. + + + + Applies the required transforms to . + + The to be transformed. + + + + Initializes a new instance of the class. + + + + + The �foreignObject� element allows for inclusion of a foreign namespace which has its graphical content drawn by a different user agent + + + + + Gets the for this element. + + + + + + Gets the bounds of the element. + + The bounds. + + + + Note: this is not used in calculations to bitmap - used only to allow for svg xml output + + + + + matrix | saturate | hueRotate | luminanceToAlpha + Indicates the type of matrix operation. The keyword 'matrix' indicates that a full 5x4 matrix of values will be provided. The other keywords represent convenience shortcuts to allow commonly used color operations to be performed without specifying a complete matrix. If attribute �type� is not specified, then the effect is as if a value of matrix were specified. + Note: this is not used in calculations to bitmap - used only to allow for svg xml output + + + + + + Gets or sets the radius of the blur (only allows for one value - not the two specified in the SVG Spec) + + + + + Note: this is not used in calculations to bitmap - used only to allow for svg xml output + + + + + The amount to offset the input graphic along the x-axis. The offset amount is expressed in the coordinate system established by attribute �primitiveUnits� on the �filter� element. + If the attribute is not specified, then the effect is as if a value of 0 were specified. + Note: this is not used in calculations to bitmap - used only to allow for svg xml output + + + + + The amount to offset the input graphic along the y-axis. The offset amount is expressed in the coordinate system established by attribute �primitiveUnits� on the �filter� element. + If the attribute is not specified, then the effect is as if a value of 0 were specified. + Note: this is not used in calculations to bitmap - used only to allow for svg xml output + + + + + A filter effect consists of a series of graphics operations that are applied to a given source graphic to produce a modified graphical result. + + + + + Gets or sets the position where the left point of the filter. + + + + + Gets or sets the position where the top point of the filter. + + + + + Gets or sets the width of the resulting filter graphic. + + + + + Gets or sets the height of the resulting filter graphic. + + + + + Gets or sets the color-interpolation-filters of the resulting filter graphic. + NOT currently mapped through to bitmap + + + + + Initializes a new instance of the class. + + + + + Renders the and contents to the specified object. + + The object to render to. + + + + Creates a new object that is a copy of the current instance. + + + A new object that is a copy of this instance. + + + + + Publish the element name to be able to differentiate non-svg elements. + + + + If specified, upon conversion, the default value will result in 'null'. + + + Creates a new instance. + + + Creates a new instance. + Specified the default value of the enum. + + + Attempts to convert the provided value to . + + + Attempts to convert the value to the destination type. + + + + Defines the methods and properties required for an SVG element to be styled. + + + + + Converts string representations of colours into objects. + + + + + Converts the given object to the converter's native type. + + A that provides a format context. You can use this object to get additional information about the environment from which this converter is being invoked. + A that specifies the culture to represent the color. + The object to convert. + + An representing the converted value. + + The conversion cannot be performed. + + + + + + + Converts HSL color (with HSL specified from 0 to 1) to RGB color. + Taken from http://www.geekymonkey.com/Programming/CSharp/RGB2HSL_HSL2RGB.htm + + + + + + + + + An unspecified . + + + + + A that should inherit from its parent. + + + + + A wrapper for a paint server which isn't defined currently in the parse process, but + should be defined by the time the image needs to render. + + + + + A wrapper for a paint server has a fallback if the primary server doesn't work. + + + + + Provides the base class for all paint servers that wish to render a gradient. + + + + + Initializes a new instance of the class. + + + + + Called by the underlying when an element has been added to the + collection. + + The that has been added. + An representing the index where the element was added to the collection. + + + + Called by the underlying when an element has been removed from the + collection. + + The that has been removed. + + + + Gets the ramp of colors to use on a gradient. + + + + + Specifies what happens if the gradient starts or ends inside the bounds of the target rectangle. + + + + + Gets or sets the coordinate system of the gradient. + + + + + Gets or sets another gradient fill from which to inherit the stops from. + + + + + Gets a representing the 's gradient stops. + + The parent . + The opacity of the colour blend. + + + Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle. + + Possible values are: 'pad', which says to use the terminal colors of the gradient to fill the remainder of the target region, 'reflect', which says to reflect the gradient pattern start-to-end, end-to-start, start-to-end, etc. continuously until the target rectangle is filled, and repeat, which says to repeat the gradient pattern start-to-end, start-to-end, start-to-end, etc. continuously until the target region is filled. + If the attribute is not specified, the effect is as if a value of 'pad' were specified. + + + + Use the terminal colors of the gradient to fill the remainder of the target region. + + + Reflect the gradient pattern start-to-end, end-to-start, start-to-end, etc. continuously until the target rectangle is filled. + + + Repeat the gradient pattern start-to-end, start-to-end, start-to-end, etc. continuously until the target region is filled. + + + + Represents a colour stop in a gradient. + + + + + Gets or sets the offset, i.e. where the stop begins from the beginning, of the gradient stop. + + + + + Gets or sets the colour of the gradient stop. + + + + + Gets or sets the opacity of the gradient stop (0-1). + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The offset. + The colour. + + + + + Render this marker using the slope of the given line segment + + + + + + + + + Render this marker using the average of the slopes of the two given line segments + + + + + + + + + + Common code for rendering a marker once the orientation angle has been calculated + + + + + + + + + Create a pen that can be used to render this marker + + + + + + + Get a clone of the current path, scaled for the stroke width + + + + + + Adjust the given value to account for the width of the viewbox in the viewport + + + + + + + Adjust the given value to account for the height of the viewbox in the viewport + + + + + + + Represents the base class for all paint servers that are intended to be used as a fill or stroke. + + + + + An unspecified . + + + + + Initializes a new instance of the class. + + + + + Renders the and contents to the specified object. + + The object to render to. + + + + Gets a representing the current paint server. + + The owner . + The opacity of the brush. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + A pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated ("tiled") at fixed intervals in x and y to cover the areas to be painted. + + + + + Specifies a supplemental transformation which is applied on top of any + transformations necessary to create a new pattern coordinate system. + + + + + Gets or sets the aspect of the viewport. + + + + + + Gets or sets the width of the pattern. + + + + + Gets or sets the width of the pattern. + + + + + Gets or sets the width of the pattern. + + + + + Gets or sets the height of the pattern. + + + + + Gets or sets the X-axis location of the pattern. + + + + + Gets or sets the Y-axis location of the pattern. + + + + + Gets or sets another gradient fill from which to inherit the stops from. + + + + + Initializes a new instance of the class. + + + + + Gets a representing the current paint server. + + The owner . + The opacity of the brush. + + + + Determine how much (approximately) the path must be scaled to contain the rectangle + + Bounds that the path must contain + Path of the gradient + Scale factor + + This method continually transforms the rectangle (fewer points) until it is contained by the path + and returns the result of the search. The scale factor is set to a constant 95% + + + + Specifies the shape to be used at the end of open subpaths when they are stroked. + + + The value is inherited from the parent element. + + + The ends of the subpaths are square but do not extend past the end of the subpath. + + + The ends of the subpaths are rounded. + + + The ends of the subpaths are square. + + + Specifies the shape to be used at the corners of paths or basic shapes when they are stroked. + + + The value is inherited from the parent element. + + + The corners of the paths are joined sharply. + + + The corners of the paths are rounded off. + + + The corners of the paths are "flattened". + + + + Represents an SVG path element. + + + + + Gets or sets a of path data. + + + + + Gets or sets the length of the path. + + + + + Gets or sets the marker (end cap) of the path. + + + + + Gets or sets the marker (start cap) of the path. + + + + + Gets or sets the marker (start cap) of the path. + + + + + Gets the for this element. + + + + + Gets the bounds of the element. + + The bounds. + + + + Initializes a new instance of the class. + + + + + Renders the stroke of the to the specified + + The object to render to. + + + + Parses the specified string into a collection of path segments. + + A containing path data. + + + + Creates point with absolute coorindates. + + Raw X-coordinate value. + Raw Y-coordinate value. + Current path segments. + true if and contains relative coordinate values, otherwise false. + that contains absolute coordinates. + + + + Creates point with absolute coorindates. + + Raw X-coordinate value. + Raw Y-coordinate value. + Current path segments. + true if contains relative coordinate value, otherwise false. + true if contains relative coordinate value, otherwise false. + that contains absolute coordinates. + + + + Convenience wrapper around a graphics object + + + + + Initializes a new instance of the class. + + + + + Creates a new from the specified . + + from which to create the new . + + + + Creates a new from the specified . + + The to create the renderer from. + + + + + Indicates that the SVG shape rendering properties from the parent will be used. + + Based of parent. If parents are also not set, then + + + + Indicates that the user agent shall make appropriate tradeoffs to balance speed, crisp edges and geometric precision, but with geometric precision given more importance than speed and crisp edges. + + true + + + + Indicates that the user agent shall emphasize rendering speed over geometric precision and crisp edges. This option will sometimes cause the user agent to turn off shape anti-aliasing. + + false + + + + Indicates that the user agent shall attempt to emphasize the contrast between clean edges of artwork over rendering speed and geometric precision. To achieve crisp edges, the user agent might turn off anti-aliasing for all lines and curves or possibly just for straight lines which are close to vertical or horizontal. Also, the user agent might adjust line positions and line widths to align edges with device pixels. + + false + + + + Indicates that the user agent shall emphasize geometric precision over speed and crisp edges. + + false + + + + The creator of SVG content might want to provide a hint about what tradeoffs to make as the browser renders text. The text-rendering attribute provides these hints. + + https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text-rendering + Not Implemented yet. + + + + Indicates that the SVG shape rendering properties from the parent will be used. + + + + + Indicates that the browser shall make appropriate tradeoffs to balance speed, legibility and geometric precision, but with legibility given more importance than speed and geometric precision. + + + + + Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision. This option will sometimes cause some browsers to turn off text anti-aliasing. + + + + + Indicates that the browser shall emphasize legibility over rendering speed and geometric precision. The user agent will often choose whether to apply anti-aliasing techniques, built-in font hinting or both to produce the most legible text. + + + + + Indicates that the browser shall emphasize geometric precision over legibility and rendering speed. This option will usually cause the user agent to suspend the use of hinting so that glyph outlines are drawn with comparable geometric precision to the rendering of path data. + + + + + The image-rendering attribute provides a hint to the browser about how to make speed vs. quality tradeoffs as it performs image processing. + + https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/image-rendering + Not Implemented yet. + + + + Indicates that the SVG shape rendering properties from the parent will be used. + + + + + Indicates that the user agent shall make appropriate tradeoffs to balance speed and quality, but quality shall be given more importance than speed. + + + + + Indicates that the user agent shall emphasize rendering speed over quality. + + + + + Indicates that the user agent shall emphasize quality over rendering speed. + + + + + Specifies the SVG attribute name of the associated property. + + + + + Gets a containing the XLink namespace (http://www.w3.org/1999/xlink). + + + + + When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. + + An to compare with this instance of . + + true if this instance equals ; otherwise, false. + + + + + Gets the name of the SVG attribute. + + + + + Gets the name of the SVG attribute. + + + + + Gets the namespace of the SVG attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified attribute name. + + The name of the SVG attribute. + + + + Initializes a new instance of the class with the specified SVG attribute name and namespace. + + The name of the SVG attribute. + The namespace of the SVG attribute (e.g. http://www.w3.org/2000/svg). + + + + A collection of Scalable Vector Attributes that can be inherited from the owner elements ancestors. + + + + + Initialises a new instance of a with the given as the owner. + + The owner of the collection. + + + + Gets the attribute with the specified name. + + The type of the attribute value. + A containing the name of the attribute. + The attribute value if available; otherwise the default value of . + + + + Gets the attribute with the specified name. + + The type of the attribute value. + A containing the name of the attribute. + The value to return if a value hasn't already been specified. + The attribute value if available; otherwise the default value of . + + + + Gets the attribute with the specified name and inherits from ancestors if there is no attribute set. + + The type of the attribute value. + A containing the name of the attribute. + The attribute value if available; otherwise the ancestors value for the same attribute; otherwise the default value of . + + + + Gets the attribute with the specified name. + + A containing the attribute name. + The attribute value associated with the specified name; If there is no attribute the parent's value will be inherited. + + + + Fired when an Atrribute has changed + + + + + A collection of Custom Attributes + + + + + Initialises a new instance of a with the given as the owner. + + The owner of the collection. + + + + Gets the attribute with the specified name. + + A containing the attribute name. + The attribute value associated with the specified name; If there is no attribute the parent's value will be inherited. + + + + Fired when an Atrribute has changed + + + + + Create a deep copy of this . + + A deep copy of this + + + + Holds a dictionary of the default values of the SVG specification + + + + + Checks whether the property value is the default value of the svg definition. + + Name of the svg attribute + .NET value of the attribute + + + + The class used to create and load SVG documents. + + + + + Initializes a new instance of the class. + + + + + Gets an for this document. + + + + + Overwrites the current IdManager with a custom implementation. + Be careful with this: If elements have been inserted into the document before, + you have to take care that the new IdManager also knows of them. + + + + + + Gets or sets the Pixels Per Inch of the rendered image. + + + + + Gets or sets an external Cascading Style Sheet (CSS) + + + + + Retrieves the with the specified ID. + + A containing the ID of the element to find. + An of one exists with the specified ID; otherwise false. + + + + Retrieves the with the specified ID. + + A containing the ID of the element to find. + An of one exists with the specified ID; otherwise false. + + + + Opens the document at the specified path and loads the SVG contents. + + A containing the path of the file to open. + An with the contents loaded. + The document at the specified cannot be found. + + + + Opens the document at the specified path and loads the SVG contents. + + A containing the path of the file to open. + An with the contents loaded. + The document at the specified cannot be found. + + + + Opens the document at the specified path and loads the SVG contents. + + A containing the path of the file to open. + A dictionary of custom entity definitions to be used when resolving XML entities within the document. + An with the contents loaded. + The document at the specified cannot be found. + + + + Attempts to open an SVG document from the specified . + + The containing the SVG document to open. + + + + Attempts to create an SVG document from the specified string data. + + The SVG data. + + + + Opens an SVG document from the specified and adds the specified entities. + + The containing the SVG document to open. + Custom entity definitions. + The parameter cannot be null. + + + + Opens an SVG document from the specified . + + The containing the SVG document XML. + The parameter cannot be null. + + + + Renders the to the specified . + + The to render the document with. + The parameter cannot be null. + + + + Renders the to the specified . + + The to be rendered to. + The parameter cannot be null. + + + + Renders the and returns the image as a . + + A containing the rendered document. + + + + Renders the into a given Bitmap . + + + + + Renders the in given size and returns the image as a . + + A containing the rendered document. + + + + If both or one of raster height and width is not given (0), calculate that missing value from original SVG size + while keeping original SVG size ratio + + + + + + + + Maps a URI to an object containing the actual resource. + + The URI returned from + The current implementation does not use this parameter when resolving URIs. This is provided for future extensibility purposes. For example, this can be mapped to the xlink:role and used as an implementation specific argument in other scenarios. + The type of object to return. The current implementation only returns System.IO.Stream objects. + + A System.IO.Stream object or null if a type other than stream is specified. + + + is neither null nor a Stream type. + The specified URI is not an absolute URI. + + is null. + There is a runtime error (for example, an interrupted server connection). + + + + The base class of which all SVG elements are derived from. + + + + + Gets the name of the element. + + + + + Gets or sets the color of this element which drives the currentColor property. + + + + + Gets or sets the content of the element. + + + + + Gets an of all events belonging to the element. + + + + + Occurs when the element is loaded. + + + + + Gets a collection of all child . + + + + + Gets a value to determine whether the element has children. + + + + + Gets the parent . + + An if one exists; otherwise null. + + + + Gets the owner . + + + + + Gets a collection of element attributes. + + + + + Gets a collection of custom attributes + + + + + Applies the required transforms to . + + The to be transformed. + + + + Removes any previously applied transforms from the specified . + + The that should have transforms removed. + + + + Applies the required transforms to . + + The to be transformed. + + + + Removes any previously applied transforms from the specified . + + The that should have transforms removed. + + + + Gets or sets the element transforms. + + The transforms. + + + + Gets or sets the ID of the element. + + The ID is already used within the . + + + + Gets or sets the space handling. + + The space handling. + + + + Only used by the ID Manager + + + + + + Called by the underlying when an element has been added to the + collection. + + The that has been added. + An representing the index where the element was added to the collection. + + + + Fired when an Element was added to the children of this Element + + + + + Calls the method with the specified parameters. + + The that has been added. + An representing the index where the element was added to the collection. + + + + Called by the underlying when an element has been removed from the + collection. + + The that has been removed. + + + + Calls the method with the specified as the parameter. + + The that has been removed. + + + + Initializes a new instance of the class. + + + + + Renders this element to the . + + The that the element should use to render itself. + + + Derrived classes may decide that the element should not be written. For example, the text element shouldn't be written if it's empty. + + + + Renders the and contents to the specified object. + + The object to render to. + + + + Renders the children of this . + + The to render the child s to. + + + + Renders the and contents to the specified object. + + The object to render to. + + + + Recursive method to add up the paths of all children + + + + + + + Recursive method to add up the paths of all children + + + + + + + Creates a new object that is a copy of the current instance. + + + A new object that is a copy of this instance. + + + + + Fired when an Atrribute of this Element has changed + + + + + Fired when an Atrribute of this Element has changed + + + + + Gets or sets a value indicating whether this element's is dirty. + + + true if the path is dirty; otherwise, false. + + + + + Force recreation of the paths for the element and it's children. + + + + + Gets or sets the fill of this element. + + + + + Gets or sets the to be used when rendering a stroke around this element. + + + + + Gets or sets the opacity of this element's . + + + + + Gets or sets the width of the stroke (if the property has a valid value specified. + + + + + Gets or sets the opacity of the stroke, if the property has been specified. 1.0 is fully opaque; 0.0 is transparent. + + + + + Gets or sets the colour of the gradient stop. + + + + + Gets or sets the opacity of the element. 1.0 is fully opaque; 0.0 is transparent. + + + + + Refers to the AnitAlias rendering of shapes. + + + + + Gets or sets the text anchor. + + + + + Specifies dominant-baseline positioning of text. + + + + + Indicates which font family is to be used to render the text. + + + + + Refers to the size of the font from baseline to baseline when multiple lines of text are set solid in a multiline layout environment. + + + + + Refers to the style of the font. + + + + + Refers to the varient of the font. + + + + + Refers to the boldness of the font. + + + + + Refers to the boldness of the font. + + + + + Set all font information. + + + + + Get the font information based on data stored with the text object or inherited from the parent. + + + + + + Describes the Attribute which was set + + + + + Content of this whas was set + + + + + Describes the Attribute which was set + + + + + Represents the state of the mouse at the moment the event occured. + + + + + 1 = left, 2 = middle, 3 = right + + + + + Amount of mouse clicks, e.g. 2 for double click + + + + + Alt modifier key pressed + + + + + Shift modifier key pressed + + + + + Control modifier key pressed + + + + + Represents a string argument + + + + + Alt modifier key pressed + + + + + Shift modifier key pressed + + + + + Control modifier key pressed + + + + + Create a deep copy of this . + + A deep copy of this + + + This interface mostly indicates that a node is not to be drawn when rendering the SVG. + + + + Specifies the SVG name of an . + + + + + Gets the name of the SVG element. + + + + + Initializes a new instance of the class with the specified element name; + + The name of the SVG element. + + + + Represents a collection of s. + + + + + Initialises a new instance of an class. + + The owner of the collection. + + + + Returns the index of the specified in the collection. + + The to search for. + The index of the element if it is present; otherwise -1. + + + + Inserts the given to the collection at the specified index. + + The index that the should be added at. + The to be added. + + + + expensive recursive search for nodes of type T + + + + + + + expensive recursive search for first node of type T + + + + + + + Provides the methods required in order to parse and create instances from XML. + + + + + Gets a list of available types that can be used when creating an . + + + + + Creates an from the current node in the specified . + + The containing the node to parse into an . + The parameter cannot be null. + The CreateDocument method can only be used to parse root <svg> elements. + + + + Creates an from the current node in the specified . + + The containing the node to parse into a subclass of . + The that the created element belongs to. + The and parameters cannot be null. + + + + Contains information about a type inheriting from . + + + + + Gets the SVG name of the . + + + + + Gets the of the subclass. + + + + + Initializes a new instance of the struct. + + Name of the element. + Type of the element. + + + + Initializes a new instance of the class. + + + + + Provides methods to ensure element ID's are valid and unique. + + + + + Retrieves the with the specified ID. + + A containing the ID of the element to find. + An of one exists with the specified ID; otherwise false. + + + + Adds the specified for ID management. + + The to be managed. + + + + Adds the specified for ID management. + And can auto fix the ID if it already exists or it starts with a number. + + The to be managed. + Pass true here, if you want the ID to be fixed + If not null, the action is called before the id is fixed + true, if ID was altered + + + + Removed the specified from ID management. + + The to be removed from ID management. + + + + Ensures that the specified ID is valid within the containing . + + A containing the ID to validate. + Creates a new unique id . + + The ID cannot start with a digit. + An element with the same ID already exists within the containing . + + + + + Initialises a new instance of an . + + The containing the s to manage. + + + + Svg helpers + + + + + Gets the text value of the current node. + + + The value returned depends on the of the node. The following table lists node types that have a value to return. All other node types return String.Empty.Node Type Value AttributeThe value of the attribute. CDATAThe content of the CDATA section. CommentThe content of the comment. DocumentTypeThe internal subset. ProcessingInstructionThe entire content, excluding the target. SignificantWhitespaceThe white space within an xml:space= 'preserve' scope. TextThe content of the text node. WhitespaceThe white space between markup. XmlDeclarationThe content of the declaration. + + + + Gets the local name of the current node. + + + The name of the current node with the prefix removed. For example, LocalName is book for the element <bk:book>.For node types that do not have a name (like Text, Comment, and so on), this property returns String.Empty. + + + + Moves to the next attribute. + + + true if there is a next attribute; false if there are no more attributes. + + + + + Reads the next node from the stream. + + + true if the next node was read successfully; false if there are no more nodes to read. + + An error occurred while parsing the XML. + + + + Resolves the entity reference for EntityReference nodes. + + + + + Gets the text value of the current node. + + + The value returned depends on the of the node. The following table lists node types that have a value to return. All other node types return String.Empty.Node Type Value AttributeThe value of the attribute. CDATAThe content of the CDATA section. CommentThe content of the comment. DocumentTypeThe internal subset. ProcessingInstructionThe entire content, excluding the target. SignificantWhitespaceThe white space within an xml:space= 'preserve' scope. TextThe content of the text node. WhitespaceThe white space between markup. XmlDeclarationThe content of the declaration. + + + + Gets the local name of the current node. + + + The name of the current node with the prefix removed. For example, LocalName is book for the element <bk:book>.For node types that do not have a name (like Text, Comment, and so on), this property returns String.Empty. + + + + Moves to the next attribute. + + + true if there is a next attribute; false if there are no more attributes. + + + + + Reads the next node from the stream. + + + true if the next node was read successfully; false if there are no more nodes to read. + + An error occurred while parsing the XML. + + + + Resolves the entity reference for EntityReference nodes. + + + + + http://stackoverflow.com/questions/3633000/net-enumerate-winforms-font-styles + + + + + Evaluates the integral of the function over the integral using the specified number of points + + + + + + + + http://en.wikipedia.org/wiki/B%C3%A9zier_curve + + + http://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/Bezier/bezier-der.html + + + + Indicates which font family is to be used to render the text. + + + + + Refers to the size of the font from baseline to baseline when multiple lines of text are set solid in a multiline layout environment. + + + + + Refers to the style of the font. + + + + + Refers to the varient of the font. + + + + + Refers to the boldness of the font. + + + + + Gets or sets a of path data. + + + + + Gets the for this element. + + + + + Initializes a new instance of the class. + + + + + The element defines a graphics element consisting of text. + + + + + Initializes the class. + + + + + Initializes a new instance of the class. + + The text. + + + + Text anchor is used to align (start-, middle- or end-alignment) a string of text relative to a given point. + + + + The value is inherited from the parent element. + + + + The rendered characters are aligned such that the start of the text string is at the initial current text position. + + + + + The rendered characters are aligned such that the middle of the text string is at the current text position. + + + + + The rendered characters are aligned such that the end of the text string is at the initial current text position. + + + + + Gets or sets the text to be rendered. + + + + + Gets or sets the X. + + The X. + + + + Gets or sets the dX. + + The dX. + + + + Gets or sets the Y. + + The Y. + + + + Gets or sets the dY. + + The dY. + + + + Gets or sets the rotate. + + The rotate. + + + + The pre-calculated length of the text + + + + + Gets or sets the text anchor. + + The text anchor. + + + + Specifies spacing behavior between text characters. + + + + + Specifies spacing behavior between words. + + + + + Gets or sets the fill. + + + Unlike other s, has a default fill of black rather than transparent. + + The fill. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + Gets the bounds of the element. + + The bounds. + + + + Renders the and contents to the specified object. + + The object to render to. + Necessary to make sure that any internal tspan elements get rendered as well + + + + Gets the for this element. + + + + + + Sets the path on this element and all child elements. Uses the state + object to track the state of the drawing + + State of the drawing operation + + + + Prepare the text according to the whitespace handling rules. SVG Spec. + + Text to be prepared + Prepared text + + + Empty text elements are not legal - only write this element if it has children. + + + + The element defines a graphics element consisting of text. + + + + + Represents and element that may be transformed. + + + + + Gets or sets an of element transforms. + + + + + Applies the required transforms to . + + The to be transformed. + + + + Removes any previously applied transforms from the specified . + + The that should have transforms removed. + + + + The class which applies custom transform to this Matrix (Required for projects created by the Inkscape). + + + + + The class which applies the specified shear vector to this Matrix. + + + + + The class which applies the specified skew vector to this Matrix. + + + + + Multiplies all matrices + + The result of all transforms + + + + Fired when an SvgTransform has changed + + + + + Converts the given object to the type of this converter, using the specified context and culture information. + + An that provides a format context. + The to use as the current culture. + The to convert. + + An that represents the converted value. + + The conversion cannot be performed. + + + The maximum allowed codepoint (defined in Unicode). + + + + Return the shortest form possible + + + + + exposed enumeration for the adding of separators into term lists + + + + + An implementation that generates + human-readable description of the selector. + + + + + Initializes the text. + + + + + Gets the generated human-readable description text. + + + + + Generates human-readable for a selector in a group. + + + + + Concludes the text. + + + + + Adds to the generated human-readable text. + + + + + Generates human-readable text of this type selector. + + + + + Generates human-readable text of this universal selector. + + + + + Generates human-readable text of this ID selector. + + + + + Generates human-readable text of this class selector. + + + + + Generates human-readable text of this attribute selector. + + + + + Generates human-readable text of this attribute selector. + + + + + Generates human-readable text of this attribute selector. + + + + + Generates human-readable text of this attribute selector. + + + + + Generates human-readable text of this attribute selector. + + + + + Generates human-readable text of this attribute selector. + + + + + Generates human-readable text of this attribute selector. + + + + + Generates human-readable text of this pseudo-class selector. + + + + + Generates human-readable text of this pseudo-class selector. + + + + + Generates human-readable text of this pseudo-class selector. + + + + + Generates human-readable text of this pseudo-class selector. + + + + + Generates human-readable text of this pseudo-class selector. + + + + + Generates human-readable text of this combinator. + + + + + Generates human-readable text of this combinator. + + + + + Generates human-readable text of this combinator. + + + + + Generates a combinator, + which separates two sequences of simple selectors. The elements represented + by the two sequences share the same parent in the document tree and the + element represented by the first sequence precedes (not necessarily + immediately) the element represented by the second one. + + + + + Generates human-readable text of this combinator. + + + + + Represents a selectors implementation for an arbitrary document/node system. + + + + + Generates a type selector, + which represents an instance of the element type in the document tree. + + + + + Generates a universal selector, + any single element in the document tree in any namespace + (including those without a namespace) if no default namespace + has been specified for selectors. + + + + + Generates a ID selector, + which represents an element instance that has an identifier that + matches the identifier in the ID selector. + + + + + Generates a class selector, + which is an alternative when + representing the class attribute. + + + + + Generates an attribute selector + that represents an element with the given attribute + whatever the values of the attribute. + + + + + Generates an attribute selector + that represents an element with the given attribute + and whose value is exactly . + + + + + Generates an attribute selector + that represents an element with the given attribute + and whose value is a whitespace-separated list of words, one of + which is exactly . + + + + + Generates an attribute selector + that represents an element with the given attribute , + its value either being exactly or beginning + with immediately followed by "-" (U+002D). + + + + + Generates an attribute selector + that represents an element with the attribute + whose value begins with the prefix . + + + + + Generates an attribute selector + that represents an element with the attribute + whose value ends with the suffix . + + + + + Generates an attribute selector + that represents an element with the attribute + whose value contains at least one instance of the substring . + + + + + Generates a pseudo-class selector, + which represents an element that is the first child of some other element. + + + + + Generates a pseudo-class selector, + which represents an element that is the last child of some other element. + + + + + Generates a pseudo-class selector, + which represents an element that is the N-th child of some other element. + + + + + Generates a pseudo-class selector, + which represents an element that has a parent element and whose parent + element has no other element children. + + + + + Generates a pseudo-class selector, + which represents an element that has no children at all. + + + + + Generates a combinator, + which represents a childhood relationship between two elements. + + + + + Generates a combinator, + which represents a relationship between two elements where one element is an + arbitrary descendant of some ancestor element. + + + + + Generates a combinator, + which represents elements that share the same parent in the document tree and + where the first element immediately precedes the second element. + + + + + Generates a combinator, + which separates two sequences of simple selectors. The elements represented + by the two sequences share the same parent in the document tree and the + element represented by the first sequence precedes (not necessarily + immediately) the element represented by the second one. + + + + + Generates a pseudo-class selector, + which represents an element that is the N-th child from bottom up of some other element. + + + + + Represent an implementation that is responsible for generating + an implementation for a selector. + + + + + Delimits the initialization of a generation. + + + + + Delimits the closing/conclusion of a generation. + + + + + Delimits a selector generation in a group of selectors. + + + + + Generates a type selector, + which represents an instance of the element type in the document tree. + + + + + Generates a universal selector, + any single element in the document tree in any namespace + (including those without a namespace) if no default namespace + has been specified for selectors. + + + + + Generates a ID selector, + which represents an element instance that has an identifier that + matches the identifier in the ID selector. + + + + + Generates a class selector, + which is an alternative when + representing the class attribute. + + + + + Generates an attribute selector + that represents an element with the given attribute + whatever the values of the attribute. + + + + + Generates an attribute selector + that represents an element with the given attribute + and whose value is exactly . + + + + + Generates an attribute selector + that represents an element with the given attribute + and whose value is a whitespace-separated list of words, one of + which is exactly . + + + + + Generates an attribute selector + that represents an element with the given attribute , + its value either being exactly or beginning + with immediately followed by "-" (U+002D). + + + + + Generates an attribute selector + that represents an element with the attribute + whose value begins with the prefix . + + + + + Generates an attribute selector + that represents an element with the attribute + whose value ends with the suffix . + + + + + Generates an attribute selector + that represents an element with the attribute + whose value contains at least one instance of the substring . + + + + + Generates a pseudo-class selector, + which represents an element that is the first child of some other element. + + + + + Generates a pseudo-class selector, + which represents an element that is the last child of some other element. + + + + + Generates a pseudo-class selector, + which represents an element that is the N-th child of some other element. + + + + + Generates a pseudo-class selector, + which represents an element that has a parent element and whose parent + element has no other element children. + + + + + Generates a pseudo-class selector, + which represents an element that has no children at all. + + + + + Generates a combinator, + which represents a childhood relationship between two elements. + + + + + Generates a combinator, + which represents a relationship between two elements where one element is an + arbitrary descendant of some ancestor element. + + + + + Generates a combinator, + which represents elements that share the same parent in the document tree and + where the first element immediately precedes the second element. + + + + + Generates a combinator, + which separates two sequences of simple selectors. The elements represented + by the two sequences share the same parent in the document tree and the + element represented by the first sequence precedes (not necessarily + immediately) the element represented by the second one. + + + + + Generates a pseudo-class selector, + which represents an element that is the N-th child from bottom up of some other element. + + + + + Represent a type or attribute name. + + + + + Represents a name from either the default or any namespace + in a target document, depending on whether a default namespace is + in effect or not. + + + + + Represents an empty namespace. + + + + + Represents any namespace. + + + + + Initializes an instance with a namespace prefix specification. + + + + + Gets the raw text value of this instance. + + + + + Indicates whether this instance represents a name + from either the default or any namespace in a target + document, depending on whether a default namespace is + in effect or not. + + + + + Indicates whether this instance represents a name + from any namespace (including one without one) + in a target document. + + + + + Indicates whether this instance represents a name + without a namespace in a target document. + + + + + Indicates whether this instance represents a name from a + specific namespace or not. + + + + + Indicates whether this instance and a specified object are equal. + + + + + Indicates whether this instance and another are equal. + + + + + Returns the hash code for this instance. + + + + + Returns a string representation of this instance. + + + + + Formats this namespace together with a name. + + + + + Semantic parser for CSS selector grammar. + + + + + Parses a CSS selector group and generates its implementation. + + + + + Parses a CSS selector group and generates its implementation. + + + + + Parses a tokenized stream representing a CSS selector group and + generates its implementation. + + + + + Parses a tokenized stream representing a CSS selector group and + generates its implementation. + + + + + Adds reading semantics to a base with the + option to un-read and insert new elements while consuming the source. + + + + + Initialize a new with a base + object. + + + + + Initialize a new with a base + object. + + + + + Indicates whether there is, at least, one value waiting to be read or not. + + + + + Pushes back a new value that will be returned on the next read. + + + + + Reads and returns the next value. + + + + + Peeks the next value waiting to be read. + + + Thrown if there is no value waiting to be read. + + + + + Returns an enumerator that iterates through the remaining + values to be read. + + + + + Disposes the enumerator used to initialize this object + if that enumerator supports . + + + + + Represents a selector implementation over an arbitrary type of elements. + + + + + A selector generator implementation for an arbitrary document/element system. + + + + + Initializes a new instance of this object with an instance + of and the default equality + comparer that is used for determining if two elements are equal. + + + + + Initializes a new instance of this object with an instance + of and an equality comparer + used for determining if two elements are equal. + + + + + Gets the selector implementation. + + + If the generation is not complete, this property returns the + last generated selector. + + + + + Gets the instance that this object + was initialized with. + + + + + Returns the collection of selector implementations representing + a group. + + + If the generation is not complete, this method return the + selectors generated so far in a group. + + + + + Adds a generated selector. + + + + + Delimits the initialization of a generation. + + + + + Delimits a selector generation in a group of selectors. + + + + + Delimits the closing/conclusion of a generation. + + + + + Generates a ID selector, + which represents an element instance that has an identifier that + matches the identifier in the ID selector. + + + + + Generates a class selector, + which is an alternative when + representing the class attribute. + + + + + Generates a type selector, + which represents an instance of the element type in the document tree. + + + + + Generates a universal selector, + any single element in the document tree in any namespace + (including those without a namespace) if no default namespace + has been specified for selectors. + + + + + Generates an attribute selector + that represents an element with the given attribute + whatever the values of the attribute. + + + + + Generates an attribute selector + that represents an element with the given attribute + and whose value is exactly . + + + + + Generates an attribute selector + that represents an element with the given attribute + and whose value is a whitespace-separated list of words, one of + which is exactly . + + + + + Generates an attribute selector + that represents an element with the given attribute , + its value either being exactly or beginning + with immediately followed by "-" (U+002D). + + + + + Generates an attribute selector + that represents an element with the attribute + whose value begins with the prefix . + + + + + Generates an attribute selector + that represents an element with the attribute + whose value ends with the suffix . + + + + + Generates an attribute selector + that represents an element with the attribute + whose value contains at least one instance of the substring . + + + + + Generates a pseudo-class selector, + which represents an element that is the first child of some other element. + + + + + Generates a pseudo-class selector, + which represents an element that is the last child of some other element. + + + + + Generates a pseudo-class selector, + which represents an element that is the N-th child of some other element. + + + + + Generates a pseudo-class selector, + which represents an element that has a parent element and whose parent + element has no other element children. + + + + + Generates a pseudo-class selector, + which represents an element that has no children at all. + + + + + Generates a combinator, + which represents a childhood relationship between two elements. + + + + + Generates a combinator, + which represents a relationship between two elements where one element is an + arbitrary descendant of some ancestor element. + + + + + Generates a combinator, + which represents elements that share the same parent in the document tree and + where the first element immediately precedes the second element. + + + + + Generates a combinator, + which separates two sequences of simple selectors. The elements represented + by the two sequences share the same parent in the document tree and the + element represented by the first sequence precedes (not necessarily + immediately) the element represented by the second one. + + + + + Generates a pseudo-class selector, + which represents an element that is the N-th child from bottom up of some other element. + + + + + An implementation that delegates + to two other objects, which + can be useful for doing work in a single pass. + + + + + Gets the first generator used to initialize this generator. + + + + + Gets the second generator used to initialize this generator. + + + + + Initializes a new instance of + with the two other objects + it delegates to. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Delegates to then generator. + + + + + Implementation for a selectors compiler that supports caching. + + + This class is primarily targeted for developers of selection + over an arbitrary document model. + + + + + Creates a caching selectors compiler on top on an existing compiler. + + + + + Creates a caching selectors compiler on top on an existing compiler. + An addition parameter specified a dictionary to use as the cache. + + + If is null then this method uses a + the implementation with an + ordinally case-insensitive selectors text comparer. + + + + + Represent a token and optionally any text associated with it. + + + + + Gets the kind/type/class of the token. + + + + + Gets text, if any, associated with the token. + + + + + Creates an end-of-input token. + + + + + Creates a star token. + + + + + Creates a dot token. + + + + + Creates a colon token. + + + + + Creates a comma token. + + + + + Creates a right parenthesis token. + + + + + Creates an equals token. + + + + + Creates a left bracket token. + + + + + Creates a right bracket token. + + + + + Creates a pipe (vertical line) token. + + + + + Creates a plus token. + + + + + Creates a greater token. + + + + + Creates an includes token. + + + + + Creates a dash-match token. + + + + + Creates a prefix-match token. + + + + + Creates a suffix-match token. + + + + + Creates a substring-match token. + + + + + Creates a general sibling token. + + + + + Creates an identifier token. + + + + + Creates an integer token. + + + + + Creates a hash-name token. + + + + + Creates a white-space token. + + + + + Creates a string token. + + + + + Creates a function token. + + + + + Creates an arbitrary character token. + + + + + Indicates whether this instance and a specified object are equal. + + + + + Returns the hash code for this instance. + + + + + Indicates whether the current object is equal to another object of the same type. + + + + + Gets a string representation of the token. + + + + + Performs a logical comparison of the two tokens to determine + whether they are equal. + + + + + Performs a logical comparison of the two tokens to determine + whether they are inequal. + + + + + Lexer for tokens in CSS selector grammar. + + + + + Parses tokens from a given text source. + + + + + Parses tokens from a given string. + + + + + Represents the classification of a token. + + + + + Represents end of input/file/stream + + + + + Represents {ident} + + + + + Represents "#" {name} + + + + + Represents "~=" + + + + + Represents "|=" + + + + + Represents "^=" + + + + + Represents "$=" + + + + + Represents "*=" + + + + + Represents {string} + + + + + Represents S* "+" + + + + + Represents S* ">" + + + + + Represents [ \t\r\n\f]+ + + + + + Represents {ident} ")" + + + + + Represents [0-9]+ + + + + + Represents S* "~" + + + + + Represents an arbitrary character + + +
+
diff --git a/vbBarcodes/bin/Debug/Model.dll b/vbBarcodes/bin/Debug/Model.dll index 69e9105c..6721748c 100644 Binary files a/vbBarcodes/bin/Debug/Model.dll and b/vbBarcodes/bin/Debug/Model.dll differ diff --git a/vbBarcodes/bin/Debug/Model.pdb b/vbBarcodes/bin/Debug/Model.pdb index c6224b79..b46440a6 100644 Binary files a/vbBarcodes/bin/Debug/Model.pdb and b/vbBarcodes/bin/Debug/Model.pdb differ diff --git a/vbBarcodes/bin/Debug/QRCoder.dll b/vbBarcodes/bin/Debug/QRCoder.dll new file mode 100644 index 00000000..c33a1fa8 Binary files /dev/null and b/vbBarcodes/bin/Debug/QRCoder.dll differ diff --git a/vbBarcodes/bin/Debug/vbBarcodes.dll b/vbBarcodes/bin/Debug/vbBarcodes.dll index b5f44b4d..10b0a86b 100644 Binary files a/vbBarcodes/bin/Debug/vbBarcodes.dll and b/vbBarcodes/bin/Debug/vbBarcodes.dll differ diff --git a/vbBarcodes/bin/Debug/vbBarcodes.pdb b/vbBarcodes/bin/Debug/vbBarcodes.pdb index 0f6a4e0c..ecc2b08b 100644 Binary files a/vbBarcodes/bin/Debug/vbBarcodes.pdb and b/vbBarcodes/bin/Debug/vbBarcodes.pdb differ diff --git a/vbBarcodes/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/vbBarcodes/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index d5134364..fe654694 100644 Binary files a/vbBarcodes/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/vbBarcodes/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/vbBarcodes/obj/Debug/vbBarcodes.dll b/vbBarcodes/obj/Debug/vbBarcodes.dll index b5f44b4d..10b0a86b 100644 Binary files a/vbBarcodes/obj/Debug/vbBarcodes.dll and b/vbBarcodes/obj/Debug/vbBarcodes.dll differ diff --git a/vbBarcodes/obj/Debug/vbBarcodes.pdb b/vbBarcodes/obj/Debug/vbBarcodes.pdb index 0f6a4e0c..ecc2b08b 100644 Binary files a/vbBarcodes/obj/Debug/vbBarcodes.pdb and b/vbBarcodes/obj/Debug/vbBarcodes.pdb differ diff --git a/vbBarcodes/obj/Debug/vbBarcodes.vbproj.AssemblyReference.cache b/vbBarcodes/obj/Debug/vbBarcodes.vbproj.AssemblyReference.cache index dcc6c444..307cd1fd 100644 Binary files a/vbBarcodes/obj/Debug/vbBarcodes.vbproj.AssemblyReference.cache and b/vbBarcodes/obj/Debug/vbBarcodes.vbproj.AssemblyReference.cache differ diff --git a/vbBarcodes/obj/Debug/vbBarcodes.vbproj.CoreCompileInputs.cache b/vbBarcodes/obj/Debug/vbBarcodes.vbproj.CoreCompileInputs.cache index df52e1ab..aad78c49 100644 --- a/vbBarcodes/obj/Debug/vbBarcodes.vbproj.CoreCompileInputs.cache +++ b/vbBarcodes/obj/Debug/vbBarcodes.vbproj.CoreCompileInputs.cache @@ -1 +1 @@ -6a3dea8b13a4c83596f5b3ebdfb5f683b169c57ed3b1a7c17e5bd888aea78ebb +75971f8adf5489ea475f3bcef42885347d08df8d5c150741162bd2e0971449e9 diff --git a/vbBarcodes/obj/Debug/vbBarcodes.vbproj.FileListAbsolute.txt b/vbBarcodes/obj/Debug/vbBarcodes.vbproj.FileListAbsolute.txt index 0fb13e10..f1c86650 100644 --- a/vbBarcodes/obj/Debug/vbBarcodes.vbproj.FileListAbsolute.txt +++ b/vbBarcodes/obj/Debug/vbBarcodes.vbproj.FileListAbsolute.txt @@ -23,3 +23,12 @@ E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\VBFileManagement.pdb E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\VBFileManagement.xml E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\Helper.pdb E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\Logging.pdb +E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\BarcodeLib.dll +E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\FastReport.dll +E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\QRCoder.dll +E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\FastReport.Compat.dll +E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\FastReport.Bars.dll +E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\FastReport.DataVisualization.dll +E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\FastReport.Editor.dll +E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\BarcodeLib.pdb +E:\Software-Projekte\OnDoc\OnDoc\vbBarcodes\bin\Debug\FastReport.xml diff --git a/vbBarcodes/vbBarcodes.vbproj b/vbBarcodes/vbBarcodes.vbproj index 7f1996ab..0c8c99ad 100644 --- a/vbBarcodes/vbBarcodes.vbproj +++ b/vbBarcodes/vbBarcodes.vbproj @@ -44,6 +44,9 @@ On + + ..\BarcodeLib\bin\Debug\BarcodeLib.dll + ..\Database\bin\Debug\Database.dll